Expand description
Data structure, parser, and ir generator for binary operation.
Structs§
BinaryCalculaterepresents a binary operation statement.
Enums§
BinaryOperationrepresents a binary operation operator.
Statics§
Functions§
- Parse ir code to get a
BinaryOperation. - Generate a
BinaryOperationfrom anast::expression::BinaryOperatorResult, and append it to the current basic block. Return aRegisterNamewhich contains the result. - Parse ir code to get a
BinaryCalculate.