ACT Library
|
Contains extra expression types beyond the standard ones from expr.h defined in the generic expression parser included with the parser generator. More...
Go to the source code of this file.
Macros | |
#define | E_TYPE (E_END + 10) |
the "l" field will point to an InstType | |
#define | E_ARRAY (E_END + 11) |
#define | E_SUBRANGE (E_END + 12) |
#define | E_SELF (E_END + 20) |
used for "self" | |
#define | E_SELF_ACK (E_END + 19) |
used for "selfack" | |
#define | E_ANDLOOP (E_END + 21) |
#define | E_ORLOOP (E_END + 22) |
#define | E_BUILTIN_BOOL (E_END + 23) |
for bool(x) | |
#define | E_BUILTIN_INT (E_END + 24) |
for int(x) or int(x,v) | |
#define | E_ENUM_CONST (E_END + 25) |
used for an enumeration constant | |
#define | E_NEWEND E_END + 26 |
new "end" of expression options | |
Functions | |
Expr * | act_parse_expr_syn_loop_bool (LFILE *l) |
Expr * | act_parse_expr_intexpr_base (LFILE *l) |
Expr * | act_expr_any_basecase (LFILE *l) |
int | act_expr_parse_newtokens (LFILE *l) |
int | act_expr_free_default (Expr *) |
Contains extra expression types beyond the standard ones from expr.h defined in the generic expression parser included with the parser generator.
Some of these are only used during expansion of expressions to return new result types (e.g. an array result)
#define E_ANDLOOP (E_END + 21) |
used for (&i:lo..hi:expr)
expressions. l->l = id, r->l
= lo, r->r->l = hi, r->r->r = expr
#define E_ARRAY (E_END + 11) |
#define E_BUILTIN_BOOL (E_END + 23) |
for bool(x)
#define E_BUILTIN_INT (E_END + 24) |
for int(x) or int(x,v)
#define E_ENUM_CONST (E_END + 25) |
used for an enumeration constant
#define E_NEWEND E_END + 26 |
new "end" of expression options
#define E_ORLOOP (E_END + 22) |
used for (|i:lo..hi:expr)
expressions. l->l = id, r->l
= lo, r->r->l = hi, r->r->r = expr
#define E_SELF (E_END + 20) |
used for "self"
#define E_SELF_ACK (E_END + 19) |
used for "selfack"
#define E_SUBRANGE (E_END + 12) |
Expr * act_expr_any_basecase | ( | LFILE * | l | ) |
int act_expr_free_default | ( | Expr * | ) |
int act_expr_parse_newtokens | ( | LFILE * | l | ) |
Expr * act_parse_expr_intexpr_base | ( | LFILE * | l | ) |
Expr * act_parse_expr_syn_loop_bool | ( | LFILE * | l | ) |