Audacious $Id:Doxyfile42802007-03-2104:39:00Znenolod$
|
Go to the source code of this file.
Classes | |
struct | TupleEvalVar |
struct | TupleEvalFunc |
struct | TupleEvalNode |
struct | TupleEvalContext |
Defines | |
#define | TUPLEZ_MAX_VARS (4) |
Enumerations | |
enum | { OP_RAW = 0, OP_FIELD, OP_EXISTS, OP_DEF_STRING, OP_DEF_INT, OP_EQUALS, OP_NOT_EQUALS, OP_GT, OP_GTEQ, OP_LT, OP_LTEQ, OP_IS_EMPTY, OP_FUNCTION, OP_EXPRESSION } |
enum | { TUPLE_VAR_FIELD = 0, TUPLE_VAR_CONST, TUPLE_VAR_DEF } |
Functions | |
TupleEvalContext * | tuple_evalctx_new (void) |
void | tuple_evalctx_reset (TupleEvalContext *ctx) |
void | tuple_evalctx_free (TupleEvalContext *ctx) |
gint | tuple_evalctx_add_var (TupleEvalContext *ctx, const gchar *name, const gboolean istemp, const gint type, const TupleValueType ctype) |
void | tuple_evalnode_free (TupleEvalNode *expr) |
gint | tuple_formatter_print (FILE *f, gint *level, TupleEvalContext *ctx, TupleEvalNode *expr) |
TupleEvalNode * | tuple_formatter_compile (TupleEvalContext *ctx, gchar *expr) |
gchar * | tuple_formatter_eval (TupleEvalContext *ctx, TupleEvalNode *expr, const Tuple *tuple) |
#define TUPLEZ_MAX_VARS (4) |
Definition at line 29 of file tuple_compiler.h.
anonymous enum |
OP_RAW | |
OP_FIELD | |
OP_EXISTS | |
OP_DEF_STRING | |
OP_DEF_INT | |
OP_EQUALS | |
OP_NOT_EQUALS | |
OP_GT | |
OP_GTEQ | |
OP_LT | |
OP_LTEQ | |
OP_IS_EMPTY | |
OP_FUNCTION | |
OP_EXPRESSION |
Definition at line 32 of file tuple_compiler.h.
anonymous enum |
Definition at line 51 of file tuple_compiler.h.
gint tuple_evalctx_add_var | ( | TupleEvalContext * | ctx, |
const gchar * | name, | ||
const gboolean | istemp, | ||
const gint | type, | ||
const TupleValueType | ctype | ||
) |
Definition at line 125 of file tuple_compiler.c.
Referenced by tc_get_variable().
void tuple_evalctx_free | ( | TupleEvalContext * | ctx | ) |
Definition at line 102 of file tuple_compiler.c.
Referenced by tuple_formatter_process_string().
TupleEvalContext* tuple_evalctx_new | ( | void | ) |
Definition at line 76 of file tuple_compiler.c.
Referenced by tuple_formatter_process_string().
void tuple_evalctx_reset | ( | TupleEvalContext * | ctx | ) |
Definition at line 84 of file tuple_compiler.c.
Referenced by tuple_formatter_process_string().
void tuple_evalnode_free | ( | TupleEvalNode * | expr | ) |
Definition at line 202 of file tuple_compiler.c.
Referenced by tc_parse_construct(), tuple_compiler_pass1(), tuple_evalnode_free(), tuple_formatter_compile(), and tuple_formatter_process_string().
TupleEvalNode* tuple_formatter_compile | ( | TupleEvalContext * | ctx, |
gchar * | expr | ||
) |
Definition at line 549 of file tuple_compiler.c.
Referenced by tuple_formatter_process_string().
gchar* tuple_formatter_eval | ( | TupleEvalContext * | ctx, |
TupleEvalNode * | expr, | ||
const Tuple * | tuple | ||
) |
Definition at line 819 of file tuple_compiler.c.
Referenced by tuple_formatter_process_string().
gint tuple_formatter_print | ( | FILE * | f, |
gint * | level, | ||
TupleEvalContext * | ctx, | ||
TupleEvalNode * | expr | ||
) |
Definition at line 861 of file tuple_compiler.c.
Referenced by tuple_formatter_print(), and tuple_formatter_process_string().