NumericLiteral
;- Type Hierarchy:
java.lang.Object
beaver.Symbol
AST.ASTNode<ASTNode>
AST.Expr
AST.PrimaryExpr
AST.Literal
AST.NumericLiteral
AST.DoubleLiteral
- 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.DoubleLiteral
Java7Frontend/Literals.ast
at line 67
public DoubleLiteral()
public DoubleLiteral(java.lang.String p0)
public DoubleLiteral(beaver.Symbol p0)
NumericLiteral
type
in class NumericLiteral
Java1.4Frontend/TypeAnalysis.jrag
at line 303
syn boolean isZero()
Java7Frontend/Literals.jrag
at line 36
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 DoubleLiteral clone() throws java.lang.CloneNotSupportedException
clone
in class NumericLiteral
java.lang.CloneNotSupportedException
public DoubleLiteral copy()
copy
in class NumericLiteral
public DoubleLiteral fullCopy()
fullCopy
in class NumericLiteral
public void typeCheck()
public static void push(CodeGeneration gen, double value)
Java1.4Backend/CodeGeneration.jrag
at line 505
public void emitPushConstant(CodeGeneration gen)
emitPushConstant
in class Literal
Java1.4Backend/CodeGeneration.jrag
at line 570
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 |