Data Fields | |
| int | value |
| If this spec is constant, this is the value of the constant; otherwise it is zero. | |
| PosToken * | tokens |
| A list of tokens in the expression. | |
| int | n_tokens |
| How many tokens are in the tokens list. | |
| gboolean | constant: 1 |
| Does the expression contain any variables? | |
While it appears to take the form of a tree, this is actually merely a list; concerns such as precedence of operators are currently recomputed on every recalculation.
Created by meta_draw_spec_new(), destroyed by meta_draw_spec_free(). pos_eval() fills this with ...FIXME. Are tokens a tree or a list?
Definition at line 396 of file theme.h.
If this spec is constant, this is the value of the constant; otherwise it is zero.
Definition at line 402 of file theme.h.
Referenced by meta_draw_spec_new(), meta_parse_position_expression(), and meta_parse_size_expression().
A list of tokens in the expression.
Definition at line 405 of file theme.h.
Referenced by meta_draw_spec_free(), meta_draw_spec_new(), and pos_eval().
How many tokens are in the tokens list.
Definition at line 408 of file theme.h.
Referenced by meta_draw_spec_free(), meta_draw_spec_new(), and pos_eval().
| gboolean _MetaDrawSpec::constant |
Does the expression contain any variables?
Definition at line 411 of file theme.h.
Referenced by meta_draw_spec_new(), meta_parse_position_expression(), and meta_parse_size_expression().
1.5.5