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