Expand description
Data structure, parser, and ir generator for unary operation.
Structs§
UnaryCalculate
represents the result of a unary operator.
Enums§
UnaryOperation
represents a unary operation operator.
Statics§
Functions§
- Generate a
UnaryCalculate
from anast::expression::UnaryOperatorResult
, and append it to the current basic block. Return aQuantity
which contains the result. - Parse ir code to get a
UnaryCalculate
. - Parse ir code to get a
UnaryOperation
.