Uses of Interface
antlr.collections.AST

Packages that use AST
antlr   
antlr.collections   
antlr.collections.impl   
antlr.debug.misc   
 

Uses of AST in antlr
 

Classes in antlr that implement AST
 class ASTNULLType
          There is only one instance of this class
 class BaseAST
          A Child-Sibling Tree.
 class CommonAST
          Common AST node implementation
 class CommonASTWithHiddenTokens
          A CommonAST whose initialization copies hidden token information from the Token used to create a node.
 class ParseTree
           
 class ParseTreeRule
           
 class ParseTreeToken
           
 

Fields in antlr declared as AST
protected  AST TreeParser._retTree
          Where did this rule leave off parsing; avoids a return parameter
 AST ASTPair.child
           
protected  AST ASTIterator.cursor
           
 AST MismatchedTokenException.node
           
 AST NoViableAltException.node
           
protected  AST ASTIterator.original
           
protected  AST TreeParser.returnAST
          AST return value for a rule is squirreled away here
protected  AST Parser.returnAST
          AST return value for a rule is squirreled away here
 AST ASTPair.root
           
 

Methods in antlr that return AST
 AST ASTFactory.create()
          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(AST tr)
          Create a new empty AST node; if the user did not specify an AST node type, then create a default one: CommonAST.
protected  AST ASTFactory.create(Class c)
           
 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.create(String className)
           
 AST ASTFactory.create(Token tok)
           
 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.
protected  AST ASTFactory.createUsingCtor(Token token, String className)
           
 AST ASTFactory.dup(AST t)
          Copy a single node with same Java AST objec type.
 AST ASTFactory.dupList(AST t)
          Duplicate tree including siblings of root.
 AST ASTFactory.dupTree(AST t)
          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 TreeParser.getAST()
          Get the AST return value squirreled away in the parser
 AST Parser.getAST()
          Get the AST return value squirreled away in the parser
 AST BaseAST.getFirstChild()
          Get the first child of this node; null if not children
 AST ASTNULLType.getFirstChild()
           
 AST BaseAST.getNextSibling()
          Get the next sibling in line after this one
 AST ASTNULLType.getNextSibling()
           
 AST ASTFactory.make(AST[] nodes)
          Make a tree from a list of nodes.
 AST ASTFactory.make(ASTArray nodes)
          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'.
 

Methods in antlr with parameters of type AST
 void ASTFactory.addASTChild(ASTPair currentAST, AST child)
          Add a child to the current AST
 void BaseAST.addChild(AST node)
          Add a node to the end of the child list for this node
 void ASTNULLType.addChild(AST c)
           
 AST ASTFactory.create(AST tr)
          Create a new empty AST node; if the user did not specify an AST node type, then create a default one: CommonAST.
 AST ASTFactory.dup(AST t)
          Copy a single node with same Java AST objec type.
 AST ASTFactory.dupList(AST t)
          Duplicate tree including siblings of root.
 AST ASTFactory.dupTree(AST t)
          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 BaseAST.equals(AST t)
          Is node t equal to this in terms of token type and text?
 boolean ASTNULLType.equals(AST t)
           
 boolean BaseAST.equalsList(AST t)
          Is t an exact structural and equals() match of this tree.
 boolean ASTNULLType.equalsList(AST t)
           
 boolean BaseAST.equalsListPartial(AST sub)
          Is 'sub' a subtree of this list? The siblings of the root are NOT ignored.
 boolean ASTNULLType.equalsListPartial(AST t)
           
 boolean BaseAST.equalsTree(AST t)
          Is tree rooted at 'this' equal to 't'? The siblings of 'this' are ignored.
 boolean ASTNULLType.equalsTree(AST t)
           
 boolean BaseAST.equalsTreePartial(AST sub)
          Is 't' a subtree of the tree rooted at 'this'? The siblings of 'this' are ignored.
 boolean ASTNULLType.equalsTreePartial(AST t)
           
 ASTEnumeration BaseAST.findAll(AST target)
          Walk the tree looking for all exact subtree matches.
 ASTEnumeration ASTNULLType.findAll(AST tree)
           
 ASTEnumeration BaseAST.findAllPartial(AST sub)
          Walk the tree looking for all subtrees.
 ASTEnumeration ASTNULLType.findAllPartial(AST subtree)
           
abstract  void BaseAST.initialize(AST t)
           
 void ASTNULLType.initialize(AST t)
           
 void CommonAST.initialize(AST t)
           
 void CommonASTWithHiddenTokens.initialize(AST t)
           
 void ParseTree.initialize(AST ast)
           
 boolean ASTIterator.isSubtree(AST t, AST sub)
          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 TreeParser.match(AST t, BitSet b)
          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.
protected  void TreeParser.match(AST t, int ttype)
           
protected  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 BaseAST.setFirstChild(AST c)
           
 void ASTNULLType.setFirstChild(AST c)
           
 void BaseAST.setNextSibling(AST n)
           
 void ASTNULLType.setNextSibling(AST n)
           
 void TreeParser.traceIn(String rname, AST t)
           
 void TreeParser.traceOut(String rname, AST t)
           
 void DumpASTVisitor.visit(AST node)
           
 void ASTVisitor.visit(AST node)
           
 

Constructors in antlr with parameters of type AST
ASTIterator(AST t)
           
MismatchedTokenException(String[] tokenNames_, AST node_, BitSet set_, boolean matchNot)
           
MismatchedTokenException(String[] tokenNames_, AST node_, int expecting_, boolean matchNot)
           
MismatchedTokenException(String[] tokenNames_, AST node_, int lower, int upper_, boolean matchNot)
           
NoViableAltException(AST t)
           
 

Uses of AST in antlr.collections
 

Methods in antlr.collections that return AST
 AST AST.getFirstChild()
          Get the first child of this node; null if no children
 AST AST.getNextSibling()
          Get the next sibling in line after this one
 AST ASTEnumeration.nextNode()
           
 

Methods in antlr.collections with parameters of type AST
 void AST.addChild(AST c)
          Add a (rightmost) child to this node
 boolean AST.equals(AST t)
           
 boolean AST.equalsList(AST t)
           
 boolean AST.equalsListPartial(AST t)
           
 boolean AST.equalsTree(AST t)
           
 boolean AST.equalsTreePartial(AST t)
           
 ASTEnumeration AST.findAll(AST tree)
           
 ASTEnumeration AST.findAllPartial(AST subtree)
           
 void AST.initialize(AST t)
           
 void AST.setFirstChild(AST c)
          Set the first child of a node.
 void AST.setNextSibling(AST n)
          Set the next sibling after this one.
 

Uses of AST in antlr.collections.impl
 

Fields in antlr.collections.impl declared as AST
 AST[] ASTArray.array
           
 

Methods in antlr.collections.impl that return AST
 AST ASTEnumerator.nextNode()
           
 

Methods in antlr.collections.impl with parameters of type AST
 ASTArray ASTArray.add(AST node)
           
 

Uses of AST in antlr.debug.misc
 

Fields in antlr.debug.misc declared as AST
(package private)  AST JTreeASTModel.root
           
 

Constructors in antlr.debug.misc with parameters of type AST
ASTFrame(String lab, AST r)
           
JTreeASTModel(AST t)