Paraslash Audio Streaming | |
About News Download Documentation Development |
The possible values of a node in the abstract syntax tree (AST). More...
#include <mp.h>
Data Fields | |
bool | boolval |
Comparators, =~ and =|. More... | |
char * | strval |
String literals, tags, path. More... | |
int64_t | intval |
Constants, bitrate, frequency, etc. More... | |
struct mp_wc_pattern | wc_pattern |
Right-hand side operand of =|. More... | |
struct mp_re_pattern | re_pattern |
Right-hand side operand of =~. More... | |
The possible values of a node in the abstract syntax tree (AST).
Constant semantic values (string literals, numeric constants, wildcard and regex patterns which are part of the mood definition) are determined during mp_init() while values which depend on the audio file (path, bitrate, etc.) are determined during mp_eval_row().
This union, and the mp_ast_node structure below are used extensively in mp.y. However, both need to be public because the lexer must be able to create AST nodes for the constant semantic values.
bool boolval |
Comparators, =~ and =|.
char* strval |
String literals, tags, path.
int64_t intval |
Constants, bitrate, frequency, etc.
struct mp_wc_pattern wc_pattern |
Right-hand side operand of =|.
struct mp_re_pattern re_pattern |
Right-hand side operand of =~.