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 7
public 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 CompilationUnit
public void flushCollectionCache()
flushCollectionCache
in class CompilationUnit
public PrimitiveCompilationUnit clone() throws java.lang.CloneNotSupportedException
clone
in class CompilationUnit
java.lang.CloneNotSupportedException
public PrimitiveCompilationUnit copy()
copy
in class CompilationUnit
public PrimitiveCompilationUnit fullCopy()
fullCopy
in class CompilationUnit
public void init$Children()
init$Children
in class CompilationUnit
protected int numChildren()
numChildren
in class CompilationUnit
public boolean mayHaveRewrite()
mayHaveRewrite
in class CompilationUnit
public void setPackageDecl(java.lang.String value)
setPackageDecl
in class CompilationUnit
value
- The new value for the lexeme PackageDecl.public void setPackageDecl(beaver.Symbol symbol)
setPackageDecl
in class CompilationUnit
public java.lang.String getPackageDecl()
getPackageDecl
in class CompilationUnit
public void setImportDeclList(List<ImportDecl> list)
setImportDeclList
in class CompilationUnit
list
- The new list node to be used as the ImportDecl list.public int getNumImportDecl()
getNumImportDecl
in class CompilationUnit
public int getNumImportDeclNoTransform()
getNumImportDeclNoTransform
in class CompilationUnit
public ImportDecl getImportDecl(int i)
i
in the ImportDecl list..getImportDecl
in class CompilationUnit
i
- Index of the element to return.
i
in the ImportDecl list.public void addImportDecl(ImportDecl node)
addImportDecl
in class CompilationUnit
node
- The element to append to the ImportDecl list.public void addImportDeclNoTransform(ImportDecl node)
addImportDeclNoTransform
in class CompilationUnit
public void setImportDecl(ImportDecl node, int i)
i
with the new node node
.setImportDecl
in class CompilationUnit
node
- 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 CompilationUnit
public List<ImportDecl> getImportDeclsNoTransform()
This method does not invoke AST transformations.
getImportDeclsNoTransform
in class CompilationUnit
public List<ImportDecl> getImportDeclList()
getImportDeclList
in class CompilationUnit
public List<ImportDecl> getImportDeclListNoTransform()
This method does not invoke AST transformations.
getImportDeclListNoTransform
in class CompilationUnit
public void setTypeDeclList(List<TypeDecl> list)
setTypeDeclList
in class CompilationUnit
list
- The new list node to be used as the TypeDecl list.public int getNumTypeDecl()
getNumTypeDecl
in class CompilationUnit
public int getNumTypeDeclNoTransform()
getNumTypeDeclNoTransform
in class CompilationUnit
public TypeDecl getTypeDecl(int i)
i
in the TypeDecl list..getTypeDecl
in class CompilationUnit
i
- Index of the element to return.
i
in the TypeDecl list.public void addTypeDecl(TypeDecl node)
addTypeDecl
in class CompilationUnit
node
- The element to append to the TypeDecl list.public void addTypeDeclNoTransform(TypeDecl node)
addTypeDeclNoTransform
in class CompilationUnit
public void setTypeDecl(TypeDecl node, int i)
i
with the new node node
.setTypeDecl
in class CompilationUnit
node
- 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 CompilationUnit
public List<TypeDecl> getTypeDeclsNoTransform()
This method does not invoke AST transformations.
getTypeDeclsNoTransform
in class CompilationUnit
public List<TypeDecl> getTypeDeclList()
getTypeDeclList
in class CompilationUnit
public List<TypeDecl> getTypeDeclListNoTransform()
This method does not invoke AST transformations.
getTypeDeclListNoTransform
in class CompilationUnit
public TypeDecl typeBoolean()
rewriteTo
in class CompilationUnit
protected 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 |