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 IRExpressionprivate IRTypeprivate IRExpressionprivate IRExpression -
Constructor Summary
ConstructorsConstructorDescriptionIRTernaryExpression(IRExpression test, IRExpression trueValue, IRExpression falseValue, IRType resultType) -
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
-
_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:
getTypein classIRExpression
-