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 enum
The operation being performed. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate IRExpression
private IRArithmeticExpression.Operation
private IRExpression
private IRType
-
Constructor Summary
ConstructorsConstructorDescriptionIRArithmeticExpression
(IRType type, IRExpression lhs, IRExpression rhs, IRArithmeticExpression.Operation op) -
Method Summary
Methods inherited from class gw.lang.ir.IRExpression
getConditionContext
Methods 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:
getType
in classIRExpression
-
getLhs
-
getRhs
-
getOp
-