CompilationUnit;- Type Hierarchy:
java.lang.Object
beaver.Symbol
AST.ASTNode<ASTNode>
AST.CompilationUnit
AST.PrimitiveCompilationUnit
- All Implemented Interfaces:
- java.lang.Cloneable, java.lang.Iterable<ASTNode>
|
|||||||
| FRAMES NO FRAMES | |||||||
CompilationUnit;java.lang.Objectbeaver.Symbol
AST.ASTNode<ASTNode>
AST.CompilationUnit
AST.PrimitiveCompilationUnit
Java1.4Frontend/java.ast at line 7public PrimitiveCompilationUnit()
public PrimitiveCompilationUnit(java.lang.String p0, List<ImportDecl> p1, List<TypeDecl> p2)
public PrimitiveCompilationUnit(beaver.Symbol p0, List<ImportDecl> p1, List<TypeDecl> p2)
Java1.4Frontend/PrimitiveTypes.jrag at line 120
Java1.4Frontend/PrimitiveTypes.jrag at line 127
Java1.4Frontend/PrimitiveTypes.jrag at line 134
Java1.4Frontend/PrimitiveTypes.jrag at line 141
Java1.4Frontend/PrimitiveTypes.jrag at line 148
Java1.4Frontend/PrimitiveTypes.jrag at line 156
syn TypeDecl typeDouble()
Java1.4Frontend/PrimitiveTypes.jrag at line 163
Java1.4Frontend/PrimitiveTypes.jrag at line 170
Java1.4Frontend/PrimitiveTypes.jrag at line 176
syn TypeDecl unknownType()
Java1.4Frontend/PrimitiveTypes.jrag at line 182
public void flushCache()
flushCache in class CompilationUnitpublic void flushCollectionCache()
flushCollectionCache in class CompilationUnitpublic PrimitiveCompilationUnit clone() throws java.lang.CloneNotSupportedException
clone in class CompilationUnitjava.lang.CloneNotSupportedExceptionpublic PrimitiveCompilationUnit copy()
copy in class CompilationUnitpublic PrimitiveCompilationUnit fullCopy()
fullCopy in class CompilationUnitpublic void init$Children()
init$Children in class CompilationUnitprotected int numChildren()
numChildren in class CompilationUnitpublic boolean mayHaveRewrite()
mayHaveRewrite in class CompilationUnitpublic void setPackageDecl(java.lang.String value)
setPackageDecl in class CompilationUnitvalue - The new value for the lexeme PackageDecl.public void setPackageDecl(beaver.Symbol symbol)
setPackageDecl in class CompilationUnitpublic java.lang.String getPackageDecl()
getPackageDecl in class CompilationUnitpublic void setImportDeclList(List<ImportDecl> list)
setImportDeclList in class CompilationUnitlist - The new list node to be used as the ImportDecl list.public int getNumImportDecl()
getNumImportDecl in class CompilationUnitpublic int getNumImportDeclNoTransform()
getNumImportDeclNoTransform in class CompilationUnitpublic ImportDecl getImportDecl(int i)
i in the ImportDecl list..getImportDecl in class CompilationUniti - Index of the element to return.
i in the ImportDecl list.public void addImportDecl(ImportDecl node)
addImportDecl in class CompilationUnitnode - The element to append to the ImportDecl list.public void addImportDeclNoTransform(ImportDecl node)
addImportDeclNoTransform in class CompilationUnitpublic void setImportDecl(ImportDecl node, int i)
i with the new node node.setImportDecl in class CompilationUnitnode - The new node to replace the old list element.i - The list index of the node to be replaced.public List<ImportDecl> getImportDecls()
getImportDecls in class CompilationUnitpublic List<ImportDecl> getImportDeclsNoTransform()
This method does not invoke AST transformations.
getImportDeclsNoTransform in class CompilationUnitpublic List<ImportDecl> getImportDeclList()
getImportDeclList in class CompilationUnitpublic List<ImportDecl> getImportDeclListNoTransform()
This method does not invoke AST transformations.
getImportDeclListNoTransform in class CompilationUnitpublic void setTypeDeclList(List<TypeDecl> list)
setTypeDeclList in class CompilationUnitlist - The new list node to be used as the TypeDecl list.public int getNumTypeDecl()
getNumTypeDecl in class CompilationUnitpublic int getNumTypeDeclNoTransform()
getNumTypeDeclNoTransform in class CompilationUnitpublic TypeDecl getTypeDecl(int i)
i in the TypeDecl list..getTypeDecl in class CompilationUniti - Index of the element to return.
i in the TypeDecl list.public void addTypeDecl(TypeDecl node)
addTypeDecl in class CompilationUnitnode - The element to append to the TypeDecl list.public void addTypeDeclNoTransform(TypeDecl node)
addTypeDeclNoTransform in class CompilationUnitpublic void setTypeDecl(TypeDecl node, int i)
i with the new node node.setTypeDecl in class CompilationUnitnode - The new node to replace the old list element.i - The list index of the node to be replaced.public List<TypeDecl> getTypeDecls()
getTypeDecls in class CompilationUnitpublic List<TypeDecl> getTypeDeclsNoTransform()
This method does not invoke AST transformations.
getTypeDeclsNoTransform in class CompilationUnitpublic List<TypeDecl> getTypeDeclList()
getTypeDeclList in class CompilationUnitpublic List<TypeDecl> getTypeDeclListNoTransform()
This method does not invoke AST transformations.
getTypeDeclListNoTransform in class CompilationUnitpublic TypeDecl typeBoolean()
rewriteTo in class CompilationUnitprotected boolean typeBoolean_computed
protected TypeDecl typeBoolean_value
protected boolean typeByte_computed
protected TypeDecl typeByte_value
protected boolean typeShort_computed
protected TypeDecl typeShort_value
protected boolean typeChar_computed
protected TypeDecl typeChar_value
protected boolean typeInt_computed
protected TypeDecl typeInt_value
protected boolean typeLong_computed
protected TypeDecl typeLong_value
protected boolean typeFloat_computed
protected TypeDecl typeFloat_value
protected boolean typeDouble_computed
protected TypeDecl typeDouble_value
protected boolean typeVoid_computed
protected TypeDecl typeVoid_value
protected boolean typeNull_computed
protected TypeDecl typeNull_value
protected boolean unknownType_computed
protected TypeDecl unknownType_value
|
|||||||
| FRAMES NO FRAMES | |||||||