Uses of Interface antlr.collections.AST

Uses in package antlr

Classes implementing antlr.collections.AST

class
There is only one instance of this class *
class
A Child-Sibling Tree.
class
Common AST node implementation
class
A CommonAST whose initialization copies hidden token information from the Token used to create a node.
class
class
class

Constructors with parameter type antlr.collections.AST

MismatchedTokenException.MismatchedTokenException(String[] tokenNames_, AST node_, BitSet set_, boolean matchNot)
MismatchedTokenException.MismatchedTokenException(String[] tokenNames_, AST node_, int expecting_, boolean matchNot)
MismatchedTokenException.MismatchedTokenException(String[] tokenNames_, AST node_, int lower, int upper_, boolean matchNot)

Fields of type antlr.collections.AST

AST
Where did this rule leave off parsing; avoids a return parameter
AST
AST
AST
AST
AST
AST
AST return value for a rule is squirreled away here
AST
AST return value for a rule is squirreled away here
AST

Methods with parameter type antlr.collections.AST

void
ASTFactory.addASTChild(ASTPair currentAST, AST child)
Add a child to the current AST
void
Add a (rightmost) child to this node
void
Add a node to the end of the child list for this node
AST
Create a new empty AST node; if the user did not specify an AST node type, then create a default one: CommonAST.
AST
Copy a single node with same Java AST objec type.
AST
Duplicate tree including siblings of root.
AST
Duplicate a tree, assuming this is a root node of a tree-- duplicate that node and what's below; ignore siblings of root node.
boolean
boolean
Is node t equal to this in terms of token type and text?
boolean
boolean
Is t an exact structural and equals() match of this tree.
boolean
boolean
Is 'sub' a subtree of this list? The siblings of the root are NOT ignored.
boolean
boolean
Is tree rooted at 'this' equal to 't'? The siblings of 'this' are ignored.
boolean
boolean
Is 't' a subtree of the tree rooted at 'this'? The siblings of 'this' are ignored.
ASTEnumeration
ASTEnumeration
Walk the tree looking for all exact subtree matches.
ASTEnumeration
ASTEnumeration
Walk the tree looking for all subtrees.
void
void
void
void
void
boolean
Is 'sub' a subtree of 't' beginning at the root?
AST
ASTFactory.make(AST[] nodes)
Make a tree from a list of nodes.
void
ASTFactory.makeASTRoot(ASTPair currentAST, AST root)
Make an AST the root of current AST
void
Make sure current lookahead symbol matches the given set Throw an exception upon mismatch, which is catch by either the error handler or by the syntactic predicate.
void
TreeParser.match(AST t, int ttype)
void
TreeParser.matchNot(AST t, int ttype)
AST
ASTIterator.next(AST template)
Find the next subtree with structure and token types equal to those of 'template'.
void
Set the first child of a node.
void
Set the first child of a node.
void
Set the next sibling after this one.
void
Set the next sibling after this one.
void
TreeParser.traceIn(String rname, AST t)
void
TreeParser.traceOut(String rname, AST t)
void
void

Methods with return type antlr.collections.AST

AST
Create a new empty AST node; if the user did not specify an AST node type, then create a default one: CommonAST.
AST
ASTFactory.create(Class c)
AST
ASTFactory.create(String className)
AST
AST
ASTFactory.create(Token tok, String className)
ANTLR generates reference to this when you reference a token that has a specified heterogeneous AST node type.
AST
Create a new empty AST node; if the user did not specify an AST node type, then create a default one: CommonAST.
AST
ASTFactory.create(int type)
AST
ASTFactory.create(int type, String txt)
AST
ASTFactory.create(int type, String txt, String className)
Create an AST node with the token type and text passed in, but with a specific Java object type.
AST
ASTFactory.createUsingCtor(Token token, String className)
AST
Copy a single node with same Java AST objec type.
AST
Duplicate tree including siblings of root.
AST
Duplicate a tree, assuming this is a root node of a tree-- duplicate that node and what's below; ignore siblings of root node.
AST
Get the AST return value squirreled away in the parser
AST
Get the AST return value squirreled away in the parser
AST
Get the first child of this node; null if no children
AST
Get the first child of this node; null if not children
AST
Get the next sibling in line after this one
AST
Get the next sibling in line after this one
AST
ASTFactory.make(AST[] nodes)
Make a tree from a list of nodes.
AST
Make a tree from a list of nodes, where the nodes are contained in an ASTArray object
AST
ASTIterator.next(AST template)
Find the next subtree with structure and token types equal to those of 'template'.

Uses in package antlr.collections

Methods with parameter type antlr.collections.AST

void
Add a (rightmost) child to this node
boolean
boolean
boolean
boolean
boolean
ASTEnumeration
AST.findAll(AST tree)
ASTEnumeration
void
void
Set the first child of a node.
void
Set the next sibling after this one.

Methods with return type antlr.collections.AST

AST
Get the first child of this node; null if no children
AST
Get the next sibling in line after this one
AST

Uses in package antlr.debug.misc

Constructors with parameter type antlr.collections.AST

ASTFrame.ASTFrame(String lab, AST r)

Fields of type antlr.collections.AST

AST

Uses in package antlr.collections.impl

Fields of type antlr.collections.AST

AST[]

Methods with parameter type antlr.collections.AST

ASTArray

Methods with return type antlr.collections.AST

AST