NumericLiteral
;- Type Hierarchy:
java.lang.Object
beaver.Symbol
AST.ASTNode<ASTNode>
AST.Expr
AST.PrimaryExpr
AST.Literal
AST.NumericLiteral
AST.LongLiteral
- 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.LongLiteral
Java7Frontend/Literals.ast
at line 54
NumericLiteral
type
in class NumericLiteral
Java1.4Frontend/TypeAnalysis.jrag
at line 301
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 LongLiteral clone() throws java.lang.CloneNotSupportedException
clone
in class NumericLiteral
java.lang.CloneNotSupportedException
public LongLiteral copy()
copy
in class NumericLiteral
public LongLiteral fullCopy()
fullCopy
in class NumericLiteral
public static void push(CodeGeneration gen, long value)
Java1.4Backend/CodeGeneration.jrag
at line 495
public void emitPushConstant(CodeGeneration gen)
emitPushConstant
in class Literal
Java1.4Backend/CodeGeneration.jrag
at line 566
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 toString(java.lang.StringBuffer s)
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 |