TypeDecl
;- Type Hierarchy:
java.lang.Object
beaver.Symbol
AST.ASTNode<ASTNode>
AST.TypeDecl
AST.VoidType
- 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.VoidType
Java1.4Frontend/java.ast
at line 48
syn boolean stringConversion()
stringConversion
in class TypeDecl
Java1.4Frontend/TypeAnalysis.jrag
at line 55
syn boolean isVoid()
syn boolean instanceOf(TypeDecl type)
instanceOf
in class TypeDecl
Java1.5Frontend/GenericsSubtype.jrag
at line 392
syn boolean isSupertypeOfVoidType(VoidType type)
isSupertypeOfVoidType
in class TypeDecl
Java1.4Frontend/TypeAnalysis.jrag
at line 486
syn java.lang.String typeDescriptor()
typeDescriptor
in class TypeDecl
Java1.4Backend/ConstantPoolNames.jrag
at line 25
syn java.lang.String primitiveClassName()
primitiveClassName
in class TypeDecl
Java1.4Backend/Java2Rewrites.jrag
at line 44
syn boolean supertypeVoidType(VoidType type)
supertypeVoidType
in class TypeDecl
Java1.5Frontend/GenericsSubtype.jrag
at line 483
syn java.lang.String fieldTypeSignature()
fieldTypeSignature
in class TypeDecl
Java1.5Backend/GenericsCodegen.jrag
at line 450
syn java.lang.String classTypeSignature()
classTypeSignature
in class TypeDecl
Java1.5Backend/GenericsCodegen.jrag
at line 456
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 613
public void emitDup(CodeGeneration gen)
public void emitDup_x1(CodeGeneration gen)
emitDup_x1
in class TypeDecl
Java1.4Backend/CodeGeneration.jrag
at line 850
public void emitDup_x2(CodeGeneration gen)
emitDup_x2
in class TypeDecl
Java1.4Backend/CodeGeneration.jrag
at line 855
public void emitPop(CodeGeneration gen)
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 boolean typeDescriptor_computed
protected java.lang.String typeDescriptor_value
protected java.util.Map subtype_TypeDecl_values
protected boolean fieldTypeSignature_computed
protected java.lang.String fieldTypeSignature_value
protected boolean classTypeSignature_computed
protected java.lang.String classTypeSignature_value
|
|||||||
FRAMES NO FRAMES |