Set properties of expressions.
More...
Set properties of expressions.
- Since
- version
1.0.0
These functions allow the user to set the properties of an expression. Please set coherent properties. If you are not confident a given set of properties would be coherent, please fallback to the functions from Constructors / Destructors and Operations. The functions from these modules automatically set the appropriate properties.
| void expression_set_boolean |
( |
expression * |
e, |
|
|
bool |
boolean |
|
) |
| |
|
related |
Set the boolean value of a boolean expression.
- Since
- version
1.0.0
- Parameters
-
| e | Target expression. |
| boolean | Boolean value. |
| void expression_set_identifier |
( |
expression * |
e, |
|
|
const char * |
identifier |
|
) |
| |
|
related |
Set the identifier of an identifier expression.
- Since
- version
1.0.0
- Parameters
-
| e | Target expression. |
| identifier | Identifier. |
Set the left operand of a binary expression.
- Since
- version
1.0.0
- Parameters
-
| e | Target expression. |
| left | Left operand. |
| void expression_set_number |
( |
expression * |
e, |
|
|
long int |
number |
|
) |
| |
|
related |
Set the value of a number expression.
- Since
- version
1.0.0
- Parameters
-
| e | Target expression. |
| number | value. |
Set the right operand of a binary expression.
- Since
- version
1.0.0
- Parameters
-
| e | Target expression. |
| right | Right operand. |
Set the type of an expression.
- Since
- version
1.0.0
- Parameters
-
| e | Target expression. |
| t | Expression type. |