paraslash Paraslash Audio Streaming
About   News   Download   Documentation   Development

Data Fields
mp_semantic_value Union Reference

Data Fields

bool boolval
 
char * strval
 
int64_t intval
 
struct mp_wc_pattern wc_pattern
 
struct mp_re_pattern re_pattern
 

Detailed Description

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.

Field Documentation

◆ boolval

bool boolval

Comparators, =~ and =|.

◆ strval

char* strval

String literals, tags, path.

◆ intval

int64_t intval

Constants, bitrate, frequency, etc.

◆ wc_pattern

struct mp_wc_pattern wc_pattern

Right-hand side operand of =|.

◆ re_pattern

struct mp_re_pattern re_pattern

Right-hand side operand of =~.


The documentation for this union was generated from the following file: