ASTNode
::= Block
PredefinedType:TypeDecl
*;- Type Hierarchy:
java.lang.Object
AST.ASTNode<ASTNode>
AST.Program
- All Implemented Interfaces:
- java.lang.Cloneable, java.lang.Iterable<ASTNode>
|
|||||||
FRAMES NO FRAMES |
spec/picojava.ast
at line 2
syn java.util.Collection errors()
spec/ErrorCheck.jadd
at line 5
syn Decl localLookup(java.lang.String name)
spec/NameResolution.jrag
at line 92
syn UnknownDecl unknownDecl()
spec/NullObjects.jrag
at line 16
syn nta List getPredefinedTypeList()
spec/PredefinedTypes.jrag
at line 3
syn PrimitiveDecl booleanType()
spec/PredefinedTypes.jrag
at line 10
public java.lang.String prettyPrint()
spec/PrettyPrint.jadd
at line 26
public void init$Children()
init$Children
in class ASTNode<ASTNode>
protected int numChildren()
numChildren
in class ASTNode<ASTNode>
public boolean mayHaveRewrite()
mayHaveRewrite
in class ASTNode<ASTNode>
public void flushCache()
flushCache
in class ASTNode<ASTNode>
public void flushCollectionCache()
flushCollectionCache
in class ASTNode<ASTNode>
node
- The new node to replace the Block child.public Block getBlockNoTransform()
This method does not invoke AST transformations.
public void setPredefinedTypeList(List<TypeDecl> list)
list
- The new list node to be used as the PredefinedType list.public int getNumPredefinedType()
public int getNumPredefinedTypeNoTransform()
public TypeDecl getPredefinedType(int i)
i
in the PredefinedType list.i
- Index of the element to return.
i
in the PredefinedType list.public boolean hasPredefinedType()
true
if it has at least one child, false
otherwise.public void addPredefinedType(TypeDecl node)
node
- The element to append to the PredefinedType list.public void addPredefinedTypeNoTransform(TypeDecl node)
public void setPredefinedType(TypeDecl node, int i)
i
with the new node node
.node
- The new node to replace the old list element.i
- The list index of the node to be replaced.protected int getPredefinedTypeListChildPosition()
public List<TypeDecl> getPredefinedTypeListNoTransform()
This method does not invoke AST transformations.
public List<TypeDecl> getPredefinedTypes()
public List<TypeDecl> getPredefinedTypesNoTransform()
This method does not invoke AST transformations.
public boolean Define_boolean_isQualified(ASTNode caller, ASTNode child)
Define_boolean_isQualified
in class ASTNode<ASTNode>
spec/ErrorCheck.jadd
at line 56
public Access Define_Access_qualifier(ASTNode caller, ASTNode child)
Define_Access_qualifier
in class ASTNode<ASTNode>
spec/ErrorCheck.jadd
at line 64
public Decl Define_Decl_lookup(ASTNode caller, ASTNode child, java.lang.String name)
Define_Decl_lookup
in class ASTNode<ASTNode>
spec/NameResolution.jrag
at line 21
public Decl Define_Decl_unknownDecl(ASTNode caller, ASTNode child)
Define_Decl_unknownDecl
in class ASTNode<ASTNode>
spec/NullObjects.jrag
at line 18
public PrimitiveDecl Define_PrimitiveDecl_booleanType(ASTNode caller, ASTNode child)
Define_PrimitiveDecl_booleanType
in class ASTNode<ASTNode>
spec/PredefinedTypes.jrag
at line 12
protected int errors_visited
protected boolean errors_computed
protected java.util.Collection errors_value
protected java.util.Map localLookup_String_visited
protected java.util.Map localLookup_String_values
protected int unknownDecl_visited
protected boolean unknownDecl_computed
protected UnknownDecl unknownDecl_value
protected int getPredefinedTypeList_visited
protected boolean getPredefinedTypeList_computed
protected List getPredefinedTypeList_value
protected int booleanType_visited
protected boolean booleanType_computed
protected PrimitiveDecl booleanType_value
|
|||||||
FRAMES NO FRAMES |