Module op

Source
Expand description

Structs to help parse binary and unary operators.

Structs§

AssignOp
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§

AssignOpKind
The kind of assignment operator.
Associativity
The associativity of a binary or unary operation.
BinOpKind
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).
UnaryOpKind
The unary operation that is being performed.