Package gw.lang.ir.expression
Class IRNumericLiteral
- java.lang.Object
-
- gw.lang.ir.IRElement
-
- gw.lang.ir.IRExpression
-
- gw.lang.ir.expression.IRNumericLiteral
-
public class IRNumericLiteral extends IRExpression
-
-
Constructor Summary
Constructors Constructor Description IRNumericLiteral(Number value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IRType
getType()
Number
getValue()
-
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
-
IRNumericLiteral
public IRNumericLiteral(Number value)
-
-
Method Detail
-
getValue
public Number getValue()
-
getType
public IRType getType()
- Specified by:
getType
in classIRExpression
-
-