Package gw.lang.ir.expression
Class IRArithmeticExpression
java.lang.Object
gw.lang.ir.IRElement
gw.lang.ir.IRExpression
gw.lang.ir.expression.IRArithmeticExpression
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe operation being performed. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate IRExpressionprivate IRArithmeticExpression.Operationprivate IRExpressionprivate IRType -
Constructor Summary
ConstructorsConstructorDescriptionIRArithmeticExpression(IRType type, IRExpression lhs, IRExpression rhs, IRArithmeticExpression.Operation op) -
Method Summary
Methods inherited from class gw.lang.ir.IRExpression
getConditionContextMethods inherited from class gw.lang.ir.IRElement
getLineNumber, getParent, isImplicit, maybeEraseStructuralSymbolTypes, maybeEraseStructuralType, maybeEraseStructuralType, maybeEraseStructuralTypes, setImplicit, setLineNumber, setParent, setParentToThis
-
Field Details
-
_type
-
_lhs
-
_rhs
-
_op
-
-
Constructor Details
-
IRArithmeticExpression
public IRArithmeticExpression(IRType type, IRExpression lhs, IRExpression rhs, IRArithmeticExpression.Operation op)
-
-
Method Details
-
getType
- Specified by:
getTypein classIRExpression
-
getLhs
-
getRhs
-
getOp
-