|
marco 1.29.1
Window manager
|
A computed expression in our simple vector drawing language. More...
#include <src/ui/theme.h>
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? | |
A computed expression in our simple vector drawing language.
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?
| gboolean _MetaDrawSpec::constant |
Does the expression contain any variables?
Referenced by meta_draw_spec_new(), meta_parse_position_expression(), and meta_parse_size_expression().
| int _MetaDrawSpec::n_tokens |
How many tokens are in the tokens list.
Referenced by meta_draw_spec_free(), meta_draw_spec_new(), and pos_eval().
| PosToken* _MetaDrawSpec::tokens |
A list of tokens in the expression.
Referenced by meta_draw_spec_free(), meta_draw_spec_new(), and pos_eval().
| int _MetaDrawSpec::value |
If this spec is constant, this is the value of the constant; otherwise it is zero.
Referenced by meta_draw_spec_new(), meta_parse_position_expression(), and meta_parse_size_expression().