Binary and unary expressions. More...
Data Fields | |
struct expr_s * | e1 |
left side of binary, sole of unary More... | |
struct expr_s * | e2 |
right side of binary, null for unary More... | |
int | op |
op-code of this expression More... | |
struct type_s * | type |
the type of the result of this expression More... | |
Binary and unary expressions.
This is used for both binary and unary expressions. Unary expressions do not use e2. The opcode is generally the parser token for the expression, though special codes are used for non-math expressions.
struct expr_s* e1 |
left side of binary, sole of unary
struct expr_s* e2 |
right side of binary, null for unary
int op |
op-code of this expression
struct type_s* type |
the type of the result of this expression