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