Package gw.lang.ir.expression
Class IRArithmeticExpression
- java.lang.Object
-
- gw.lang.ir.IRElement
-
- gw.lang.ir.IRExpression
-
- gw.lang.ir.expression.IRArithmeticExpression
-
public class IRArithmeticExpression extends IRExpression
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IRArithmeticExpression.Operation
The operation being performed.
-
Constructor Summary
Constructors Constructor Description IRArithmeticExpression(IRType type, IRExpression lhs, IRExpression rhs, IRArithmeticExpression.Operation op)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IRExpression
getLhs()
IRArithmeticExpression.Operation
getOp()
IRExpression
getRhs()
IRType
getType()
-
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
-
-
-
-
Constructor Detail
-
IRArithmeticExpression
public IRArithmeticExpression(IRType type, IRExpression lhs, IRExpression rhs, IRArithmeticExpression.Operation op)
-
-
Method Detail
-
getType
public IRType getType()
- Specified by:
getType
in classIRExpression
-
getLhs
public IRExpression getLhs()
-
getRhs
public IRExpression getRhs()
-
getOp
public IRArithmeticExpression.Operation getOp()
-
-