NumericLiteral
;- Type Hierarchy:
java.lang.Object
beaver.Symbol
AST.ASTNode<ASTNode>
AST.Expr
AST.PrimaryExpr
AST.Literal
AST.NumericLiteral
AST.IntegerLiteral
- All Implemented Interfaces:
- java.lang.Cloneable, java.lang.Iterable<ASTNode>
|
|||||||
FRAMES NO FRAMES |
NumericLiteral
;java.lang.Objectbeaver.Symbol
AST.ASTNode<ASTNode>
AST.Expr
AST.PrimaryExpr
AST.Literal
AST.NumericLiteral
AST.IntegerLiteral
Java7Frontend/Literals.ast
at line 48
public IntegerLiteral(int i)
Java1.4Frontend/NodeConstructors.jrag
at line 48
public IntegerLiteral()
public IntegerLiteral(java.lang.String p0)
public IntegerLiteral(beaver.Symbol p0)
NumericLiteral
type
in class NumericLiteral
Java1.4Frontend/TypeAnalysis.jrag
at line 300
syn boolean needsRewrite()
needsRewrite
in class NumericLiteral
Java7Frontend/Literals.jrag
at line 334
public void flushCache()
flushCache
in class NumericLiteral
public void flushCollectionCache()
flushCollectionCache
in class NumericLiteral
public IntegerLiteral clone() throws java.lang.CloneNotSupportedException
clone
in class NumericLiteral
java.lang.CloneNotSupportedException
public IntegerLiteral copy()
copy
in class NumericLiteral
public IntegerLiteral fullCopy()
fullCopy
in class NumericLiteral
public static void push(CodeGeneration gen, int value)
Java1.4Backend/CodeGeneration.jrag
at line 456
public void emitPushConstant(CodeGeneration gen)
emitPushConstant
in class Literal
Java1.4Backend/CodeGeneration.jrag
at line 554
public void init$Children()
init$Children
in class NumericLiteral
protected int numChildren()
numChildren
in class NumericLiteral
public boolean mayHaveRewrite()
mayHaveRewrite
in class NumericLiteral
public void setLITERAL(java.lang.String value)
setLITERAL
in class NumericLiteral
value
- The new value for the lexeme LITERAL.public void setLITERAL(beaver.Symbol symbol)
setLITERAL
in class NumericLiteral
public java.lang.String getLITERAL()
getLITERAL
in class NumericLiteral
public void typeCheck()
public boolean isPositive()
rewriteTo
in class NumericLiteral
protected boolean type_computed
protected TypeDecl type_value
protected boolean constant_computed
protected Constant constant_value
|
|||||||
FRAMES NO FRAMES |