Package gw.lang.ir.expression
Class IRTernaryExpression
java.lang.Object
gw.lang.ir.IRElement
gw.lang.ir.IRExpression
gw.lang.ir.expression.IRTernaryExpression
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate IRExpression
private IRType
private IRExpression
private IRExpression
-
Constructor Summary
ConstructorsConstructorDescriptionIRTernaryExpression
(IRExpression test, IRExpression trueValue, IRExpression falseValue, IRType resultType) -
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
-
_test
-
_trueValue
-
_falseValue
-
_resultType
-
-
Constructor Details
-
IRTernaryExpression
public IRTernaryExpression(IRExpression test, IRExpression trueValue, IRExpression falseValue, IRType resultType)
-
-
Method Details
-
getTest
-
getTrueValue
-
getFalseValue
-
getResultType
-
getType
- Specified by:
getType
in classIRExpression
-