Expand description
Structs to help parse binary and unary operators.
Structs§
- Assign
Op - An assignment operator that takes two operands, assigning the value of the right operand to the left operand, possibly with an intermediate operation.
- BinOp
- A binary operator that takes two operands.
- UnaryOp
- A unary operator that takes one operand.
Enums§
- Assign
OpKind - The kind of assignment operator.
- Associativity
- The associativity of a binary or unary operation.
- BinOp
Kind - The binary operation that is being performed.
- Precedence
- The precedence of an operation, in order from lowest precedence (evaluated last) to highest precedence (evaluated first).
- Unary
OpKind - The unary operation that is being performed.