TypeDecl
;- Type Hierarchy:
java.lang.Object
beaver.Symbol
AST.ASTNode<ASTNode>
AST.TypeDecl
AST.NullType
- All Implemented Interfaces:
- SimpleSet, VariableScope, java.lang.Cloneable, java.lang.Iterable<ASTNode>, java.util.Iterator
|
|||||||
FRAMES NO FRAMES |
TypeDecl
;java.lang.Objectbeaver.Symbol
AST.ASTNode<ASTNode>
AST.TypeDecl
AST.NullType
Java1.4Frontend/java.ast
at line 47
syn boolean isNull()
syn boolean instanceOf(TypeDecl type)
instanceOf
in class TypeDecl
Java1.5Frontend/GenericsSubtype.jrag
at line 391
syn boolean isSupertypeOfNullType(NullType type)
isSupertypeOfNullType
in class TypeDecl
Java1.4Frontend/TypeAnalysis.jrag
at line 482
syn TypeDecl stringPromotion()
stringPromotion
in class TypeDecl
Java1.4Backend/InnerClasses.jrag
at line 82
syn int variableSize()
variableSize
in class TypeDecl
Java1.4Backend/LocalNum.jrag
at line 124
syn boolean supertypeNullType(NullType type)
supertypeNullType
in class TypeDecl
Java1.5Frontend/GenericsSubtype.jrag
at line 479
public void flushCache()
flushCache
in class TypeDecl
public void flushCollectionCache()
flushCollectionCache
in class TypeDecl
public void toString(java.lang.StringBuffer s)
public void emitReturn(CodeGeneration gen)
emitReturn
in class TypeDecl
Java1.4Backend/CodeGeneration.jrag
at line 619
public void emitLoadLocal(CodeGeneration gen, int pos)
emitLoadLocal
in class TypeDecl
Java1.4Backend/CodeGeneration.jrag
at line 674
public void emitStoreLocal(CodeGeneration gen, int pos)
emitStoreLocal
in class TypeDecl
Java1.4Backend/CodeGeneration.jrag
at line 787
public void branchEQ(CodeGeneration gen, int label)
public void branchNE(CodeGeneration gen, int label)
public void init$Children()
init$Children
in class TypeDecl
protected int numChildren()
numChildren
in class TypeDecl
public boolean mayHaveRewrite()
mayHaveRewrite
in class TypeDecl
public void setModifiers(Modifiers node)
setModifiers
in class TypeDecl
node
- The new node to replace the Modifiers child.public Modifiers getModifiers()
getModifiers
in class TypeDecl
public Modifiers getModifiersNoTransform()
This method does not invoke AST transformations.
getModifiersNoTransform
in class TypeDecl
public void setID(java.lang.String value)
public void setID(beaver.Symbol symbol)
public java.lang.String getID()
public void setBodyDeclList(List<BodyDecl> list)
setBodyDeclList
in class TypeDecl
list
- The new list node to be used as the BodyDecl list.public int getNumBodyDecl()
getNumBodyDecl
in class TypeDecl
public int getNumBodyDeclNoTransform()
getNumBodyDeclNoTransform
in class TypeDecl
public BodyDecl getBodyDecl(int i)
i
in the BodyDecl list..getBodyDecl
in class TypeDecl
i
- Index of the element to return.
i
in the BodyDecl list.public void addBodyDecl(BodyDecl node)
addBodyDecl
in class TypeDecl
node
- The element to append to the BodyDecl list.public void addBodyDeclNoTransform(BodyDecl node)
addBodyDeclNoTransform
in class TypeDecl
public void setBodyDecl(BodyDecl node, int i)
i
with the new node node
.setBodyDecl
in class TypeDecl
node
- The new node to replace the old list element.i
- The list index of the node to be replaced.public List<BodyDecl> getBodyDecls()
getBodyDecls
in class TypeDecl
public List<BodyDecl> getBodyDeclsNoTransform()
This method does not invoke AST transformations.
getBodyDeclsNoTransform
in class TypeDecl
public List<BodyDecl> getBodyDeclList()
getBodyDeclList
in class TypeDecl
public List<BodyDecl> getBodyDeclListNoTransform()
This method does not invoke AST transformations.
getBodyDeclListNoTransform
in class TypeDecl
protected java.util.Map instanceOf_TypeDecl_values
protected java.util.Map subtype_TypeDecl_values
|
|||||||
FRAMES NO FRAMES |