Expand description
Defines operators for each symbol and their precedence.
Structs§
- ADD
- BINARY_
OPS - The list of binary operators.
- COMMA
- DIV
- MULT
- Op
- An operator with a given left and right precedence. Precedence is defined as an
Option<u8>where 0 is the entire expression’s precedence and lower values means higher-priority.Noneindicates that the operator doesn’t support that mode of operation. - PM
- POWER
- SUB
- UNARY_
MINUS - UNARY_
OPS - The list of unary operators.
- UNARY_
PLUS - UNARY_
PM