ASTNode ::= BlockStmt*;- Type Hierarchy:
java.lang.Object
AST.ASTNode<ASTNode>
AST.Block
- All Implemented Interfaces:
- java.lang.Cloneable, java.lang.Iterable<ASTNode>
|
|||||||
| FRAMES NO FRAMES | |||||||
ASTNode ::= BlockStmt*;java.lang.ObjectAST.ASTNode<ASTNode>
AST.Block
spec/picojava.ast at line 3syn Decl localLookup(java.lang.String name)
spec/NameResolution.jrag at line 84
spec/NameResolution.jrag at line 79
inh Decl unknownDecl()
spec/NullObjects.jrag at line 21
public void prettyPrint(java.lang.StringBuilder sb, int t)
spec/PrettyPrint.jadd at line 31
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>public void setBlockStmtList(List<BlockStmt> list)
list - The new list node to be used as the BlockStmt list.public int getNumBlockStmt()
public int getNumBlockStmtNoTransform()
public BlockStmt getBlockStmt(int i)
i in the BlockStmt list.i - Index of the element to return.
i in the BlockStmt list.public boolean hasBlockStmt()
true if it has at least one child, false otherwise.public void addBlockStmt(BlockStmt node)
node - The element to append to the BlockStmt list.public void addBlockStmtNoTransform(BlockStmt node)
public void setBlockStmt(BlockStmt 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.public List<BlockStmt> getBlockStmtList()
public List<BlockStmt> getBlockStmtListNoTransform()
This method does not invoke AST transformations.
public List<BlockStmt> getBlockStmts()
public List<BlockStmt> getBlockStmtsNoTransform()
This method does not invoke AST transformations.
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 23protected java.util.Map localLookup_String_visited
protected java.util.Map localLookup_String_values
protected java.util.Map lookup_String_visited
protected int unknownDecl_visited
|
|||||||
| FRAMES NO FRAMES | |||||||