AST
node type FloatType

General Info

Production
FloatType : FloatingPointType;
Type Hierarchy:
java.lang.Object
  extended by beaver.Symbol
      extended by AST.ASTNode<ASTNode>
          extended by AST.TypeDecl
              extended by AST.PrimitiveType
                  extended by AST.NumericType
                      extended by AST.FloatingPointType
                          extended by AST.FloatType
All Implemented Interfaces:
SimpleSet, VariableScope, java.lang.Cloneable, java.lang.Iterable<ASTNode>, java.util.Iterator

Nested classes/interfaces inherited from interface AST.SimpleSet

Description

Source
Declared in Java1.4Frontend/java.ast at line 62

Member Filters

API level:

Aspect:

Constructors

public FloatType()
 
public FloatType(Modifiers p0,
                 java.lang.String p1,
                 Opt<Access> p2,
                 List<BodyDecl> p3)
 
public FloatType(Modifiers p0,
                 beaver.Symbol p1,
                 Opt<Access> p2,
                 List<BodyDecl> p3)
 

Attributes

Overrides:cast in class TypeDecl
Source
Declared in Java7Frontend/ConstantExpression.jrag at line 160
Aspect
ConstantExpression
Overrides:plus in class TypeDecl
Source
Declared in Java7Frontend/ConstantExpression.jrag at line 174
Aspect
ConstantExpression
Overrides:minus in class TypeDecl
Source
Declared in Java7Frontend/ConstantExpression.jrag at line 183
Aspect
ConstantExpression
syn Constant mul(Constant c1,
             Constant c2)
Overrides:mul in class TypeDecl
Source
Declared in Java7Frontend/ConstantExpression.jrag at line 199
Aspect
ConstantExpression
syn Constant div(Constant c1,
             Constant c2)
Overrides:div in class TypeDecl
Source
Declared in Java7Frontend/ConstantExpression.jrag at line 208
Aspect
ConstantExpression
syn Constant mod(Constant c1,
             Constant c2)
Overrides:mod in class TypeDecl
Source
Declared in Java7Frontend/ConstantExpression.jrag at line 217
Aspect
ConstantExpression
syn Constant add(Constant c1,
             Constant c2)
Overrides:add in class TypeDecl
Source
Declared in Java7Frontend/ConstantExpression.jrag at line 226
Aspect
ConstantExpression
syn Constant sub(Constant c1,
             Constant c2)
Overrides:sub in class TypeDecl
Source
Declared in Java7Frontend/ConstantExpression.jrag at line 236
Aspect
ConstantExpression
Overrides:questionColon in class TypeDecl
Source
Declared in Java7Frontend/ConstantExpression.jrag at line 290
Aspect
ConstantExpression
syn boolean eqIsTrue(Expr left,
                 Expr right)
Overrides:eqIsTrue in class TypeDecl
Source
Declared in Java7Frontend/ConstantExpression.jrag at line 394
Aspect
ConstantExpression
syn boolean ltIsTrue(Expr left,
                 Expr right)
Overrides:ltIsTrue in class TypeDecl
Source
Declared in Java7Frontend/ConstantExpression.jrag at line 405
Aspect
ConstantExpression
syn boolean leIsTrue(Expr left,
                 Expr right)
Overrides:leIsTrue in class TypeDecl
Source
Declared in Java7Frontend/ConstantExpression.jrag at line 411
Aspect
ConstantExpression
syn boolean isFloat()
Overrides:isFloat in class TypeDecl
Source
Declared in Java1.4Frontend/TypeAnalysis.jrag at line 195
Aspect
TypeAnalysis
syn byte arrayLoad()
Overrides:arrayLoad in class TypeDecl
Source
Declared in Java1.4Backend/CodeGeneration.jrag at line 621
Aspect
CodeGeneration
syn byte arrayStore()
Overrides:arrayStore in class TypeDecl
Source
Declared in Java1.4Backend/CodeGeneration.jrag at line 723
Aspect
CodeGeneration
syn java.lang.String typeDescriptor()
Overrides:typeDescriptor in class TypeDecl
Source
Declared in Java1.4Backend/ConstantPoolNames.jrag at line 23
Aspect
ConstantPoolNames
Overrides:arrayPrimitiveTypeDescriptor in class TypeDecl
Source
Declared in Java1.4Backend/CreateBCode.jrag at line 825
Aspect
CreateBCode
syn java.lang.String jvmName()
Overrides:jvmName in class TypeDecl
Source
Declared in Java1.4Backend/Java2Rewrites.jrag at line 40
Aspect
Java2Rewrites
syn java.lang.String primitiveClassName()
Overrides:primitiveClassName in class TypeDecl
Source
Declared in Java1.4Backend/Java2Rewrites.jrag at line 44
Aspect
Java2Rewrites
Overrides:boxed in class TypeDecl
Source
Declared in Java1.5Frontend/AutoBoxing.jrag at line 42
Aspect
AutoBoxing

Methods

public void flushCache()
Overrides:flushCache in class FloatingPointType
public FloatType clone()
                throws java.lang.CloneNotSupportedException
Overrides:clone in class FloatingPointType
Throws:
java.lang.CloneNotSupportedException
public FloatType copy()
Overrides:copy in class FloatingPointType
Create a deep copy of the AST subtree at this node. The copy is dangling, i.e. has no parent.
Overrides:fullCopy in class FloatingPointType
Returns:
dangling copy of the subtree at this node
public void toString(java.lang.StringBuffer s)
Overrides:toString in class ASTNode<ASTNode>
Source
Declared in Java1.4Frontend/PrettyPrint.jadd at line 850
Aspect
PrettyPrint
public int addConstant(ConstantPool p,
                       Constant c)
Overrides:addConstant in class TypeDecl
Source
Declared in Java1.4Backend/Attributes.jrag at line 65
Aspect
Attributes
public void emitPushConstant(CodeGeneration gen,
                             int value)
Overrides:emitPushConstant in class TypeDecl
Source
Declared in Java1.4Backend/CodeGeneration.jrag at line 546
Aspect
CodeGeneration
public void emitReturn(CodeGeneration gen)
Overrides:emitReturn in class PrimitiveType
Source
Declared in Java1.4Backend/CodeGeneration.jrag at line 616
Aspect
CodeGeneration
public void emitLoadLocal(CodeGeneration gen,
                          int pos)
Overrides:emitLoadLocal in class PrimitiveType
Source
Declared in Java1.4Backend/CodeGeneration.jrag at line 653
Aspect
CodeGeneration
public void emitStoreLocal(CodeGeneration gen,
                           int pos)
Overrides:emitStoreLocal in class PrimitiveType
Source
Declared in Java1.4Backend/CodeGeneration.jrag at line 766
Aspect
CodeGeneration
public void branchLT(CodeGeneration gen,
                     int label)
Overrides:branchLT in class TypeDecl
Source
Declared in Java1.4Backend/CodeGeneration.jrag at line 1111
Aspect
CodeGenerationBranch
public void branchLE(CodeGeneration gen,
                     int label)
Overrides:branchLE in class TypeDecl
Source
Declared in Java1.4Backend/CodeGeneration.jrag at line 1117
Aspect
CodeGenerationBranch
public void branchGE(CodeGeneration gen,
                     int label)
Overrides:branchGE in class TypeDecl
Source
Declared in Java1.4Backend/CodeGeneration.jrag at line 1123
Aspect
CodeGenerationBranch
public void branchGT(CodeGeneration gen,
                     int label)
Overrides:branchGT in class TypeDecl
Source
Declared in Java1.4Backend/CodeGeneration.jrag at line 1129
Aspect
CodeGenerationBranch
public void branchEQ(CodeGeneration gen,
                     int label)
Overrides:branchEQ in class TypeDecl
Source
Declared in Java1.4Backend/CodeGeneration.jrag at line 1135
Aspect
CodeGenerationBranch
public void branchNE(CodeGeneration gen,
                     int label)
Overrides:branchNE in class TypeDecl
Source
Declared in Java1.4Backend/CodeGeneration.jrag at line 1144
Aspect
CodeGenerationBranch
Description copied from class: TypeDeclAdd an annotation parameter constant to the constant pool.
Overrides:addAnnotConstant in class TypeDecl
See Also:
TypeDecl.addConstant(ConstantPool, Constant)
Source
Declared in Java1.5Backend/AnnotationsCodegen.jrag at line 186
Aspect
AnnotationsCodegen
public void init$Children()
Initializes the child array to the correct size. Initializes List and Opt nta children.
Overrides:init$Children in class FloatingPointType
protected int numChildren()
Overrides:numChildren in class FloatingPointType
public boolean mayHaveRewrite()
Overrides:mayHaveRewrite in class FloatingPointType
public void setModifiers(Modifiers node)
Replaces the Modifiers child.
Overrides:setModifiers in class FloatingPointType
Parameters:
node - The new node to replace the Modifiers child.
Retrieves the Modifiers child.
Overrides:getModifiers in class FloatingPointType
Returns:
The current node used as the Modifiers child.
Retrieves the Modifiers child.

This method does not invoke AST transformations.

Overrides:getModifiersNoTransform in class FloatingPointType
Returns:
The current node used as the Modifiers child.
public void setID(java.lang.String value)
Replaces the lexeme ID.
Overrides:setID in class FloatingPointType
Parameters:
value - The new value for the lexeme ID.
public void setID(beaver.Symbol symbol)
JastAdd-internal setter for lexeme ID using the Beaver parser.
Overrides:setID in class FloatingPointType
public java.lang.String getID()
Retrieves the value for the lexeme ID.
Overrides:getID in class FloatingPointType
Returns:
The value for the lexeme ID.
public void setSuperClassAccessOpt(Opt<Access> opt)
Replaces the optional node for the SuperClassAccess child. This is the Opt node containing the child SuperClassAccess, not the actual child!
Overrides:setSuperClassAccessOpt in class FloatingPointType
Parameters:
opt - The new node to be used as the optional node for the SuperClassAccess child.
public boolean hasSuperClassAccess()
Check whether the optional SuperClassAccess child exists.
Overrides:hasSuperClassAccess in class FloatingPointType
Returns:
true if the optional SuperClassAccess child exists, false if it does not.
Retrieves the (optional) SuperClassAccess child.
Overrides:getSuperClassAccess in class FloatingPointType
Returns:
The SuperClassAccess child, if it exists. Returns null otherwise.
public void setSuperClassAccess(Access node)
Replaces the (optional) SuperClassAccess child.
Overrides:setSuperClassAccess in class FloatingPointType
Parameters:
node - The new node to be used as the SuperClassAccess child.
Retrieves the optional node for child SuperClassAccess. This is the Opt node containing the child SuperClassAccess, not the actual child!

This method does not invoke AST transformations.

Overrides:getSuperClassAccessOptNoTransform in class FloatingPointType
Returns:
The optional node for child SuperClassAccess.
public void setBodyDeclList(List<BodyDecl> list)
Replaces the BodyDecl list.
Overrides:setBodyDeclList in class FloatingPointType
Parameters:
list - The new list node to be used as the BodyDecl list.
public int getNumBodyDecl()
Retrieves the number of children in the BodyDecl list.
Overrides:getNumBodyDecl in class FloatingPointType
Returns:
Number of children in the BodyDecl list.
Retrieves the number of children in the BodyDecl list. Calling this method will not trigger rewrites..
Overrides:getNumBodyDeclNoTransform in class FloatingPointType
Returns:
Number of children in the BodyDecl list.
public BodyDecl getBodyDecl(int i)
Retrieves the element at index i in the BodyDecl list..
Overrides:getBodyDecl in class FloatingPointType
Parameters:
i - Index of the element to return.
Returns:
The element at position i in the BodyDecl list.
public void addBodyDecl(BodyDecl node)
Append an element to the BodyDecl list.
Overrides:addBodyDecl in class FloatingPointType
Parameters:
node - The element to append to the BodyDecl list.
public void setBodyDecl(BodyDecl node,
                        int i)
Replaces the BodyDecl list element at index i with the new node node.
Overrides:setBodyDecl in class FloatingPointType
Parameters:
node - The new node to replace the old list element.
i - The list index of the node to be replaced.
Retrieves the BodyDecl list.
Overrides:getBodyDecls in class FloatingPointType
Returns:
The node representing the BodyDecl list.
Retrieves the BodyDecl list.

This method does not invoke AST transformations.

Overrides:getBodyDeclsNoTransform in class FloatingPointType
Returns:
The node representing the BodyDecl list.
Retrieves the BodyDecl list.
Overrides:getBodyDeclList in class FloatingPointType
Returns:
The node representing the BodyDecl list.
Retrieves the BodyDecl list.

This method does not invoke AST transformations.

Overrides:getBodyDeclListNoTransform in class FloatingPointType
Returns:
The node representing the BodyDecl list.
Overrides:rewriteTo in class FloatingPointType

Fields

protected boolean typeDescriptor_computed
protected java.lang.String typeDescriptor_value
protected boolean jvmName_computed
protected java.lang.String jvmName_value
protected boolean boxed_computed

Inherited Members

Attributes inherited from AST.NumericType

Attributes inherited from AST.PrimitiveType

Attributes inherited from AST.TypeDecl

Attributes inherited from AST.ASTNode

Methods inherited from class AST.PrimitiveType

Methods inherited from class AST.TypeDecl

Methods inherited from class AST.ASTNode

Methods inherited from class beaver.Symbol

getColumn
getEnd
getId
getLine
getStart
makePosition

Methods inherited from class java.lang.Object

equals
finalize
getClass
hashCode
notify
notifyAll
wait
wait
wait

Methods inherited from interface AST.SimpleSet

Methods inherited from interface AST.VariableScope

Fields inherited from AST.NumericType

Fields inherited from AST.PrimitiveType

Fields inherited from AST.TypeDecl

Fields inherited from AST.ASTNode

Fields inherited from beaver.Symbol

end
id
start
value

Fields inherited from interface AST.SimpleSet