NumericLiteral
;- Type Hierarchy:
java.lang.Object
beaver.Symbol
AST.ASTNode<ASTNode>
AST.Expr
AST.PrimaryExpr
AST.Literal
AST.NumericLiteral
AST.FloatingPointLiteral
- 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.FloatingPointLiteral
Java7Frontend/Literals.ast
at line 60
public FloatingPointLiteral()
public FloatingPointLiteral(java.lang.String p0)
public FloatingPointLiteral(beaver.Symbol p0)
NumericLiteral
type
in class NumericLiteral
Java1.4Frontend/TypeAnalysis.jrag
at line 302
syn boolean isZero()
Java7Frontend/Literals.jrag
at line 22
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 FloatingPointLiteral clone() throws java.lang.CloneNotSupportedException
clone
in class NumericLiteral
java.lang.CloneNotSupportedException
public FloatingPointLiteral copy()
copy
in class NumericLiteral
public FloatingPointLiteral fullCopy()
fullCopy
in class NumericLiteral
public void typeCheck()
public static void push(CodeGeneration gen, float value)
Java1.4Backend/CodeGeneration.jrag
at line 515
public void emitPushConstant(CodeGeneration gen)
emitPushConstant
in class Literal
Java1.4Backend/CodeGeneration.jrag
at line 562
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)
rewriteTo
in class NumericLiteral
protected boolean type_computed
protected TypeDecl type_value
protected boolean isZero_computed
protected boolean isZero_value
protected boolean constant_computed
protected Constant constant_value
|
|||||||
FRAMES NO FRAMES |