Uses of Interface
org.antlr.runtime.tree.Tree
-
Packages that use Tree Package Description org.antlr.runtime.debug org.antlr.runtime.tree -
-
Uses of Tree in org.antlr.runtime.debug
Classes in org.antlr.runtime.debug that implement Tree Modifier and Type Class Description static classRemoteDebugEventSocketListener.ProxyTreeMethods in org.antlr.runtime.debug that return Tree Modifier and Type Method Description TreeRemoteDebugEventSocketListener.ProxyTree. dupNode() -
Uses of Tree in org.antlr.runtime.tree
Classes in org.antlr.runtime.tree that implement Tree Modifier and Type Class Description classBaseTreeA generic tree implementation with no payload.classCommonErrorNodeA node representing erroneous token range in token streamclassCommonTreeA tree node that is wrapper for a Token object.classParseTreeA record of the rules used to match a token sequence.static classTreeWizard.TreePatternWhen using %label:TOKENNAME in a tree for parse(), we must track the label.static classTreeWizard.WildcardTreePatternFields in org.antlr.runtime.tree declared as Tree Modifier and Type Field Description static TreeTree. INVALID_NODEMethods in org.antlr.runtime.tree that return Tree Modifier and Type Method Description TreeCommonTree. dupNode()TreeParseTree. dupNode()TreeTree. dupNode()TreeBaseTree. getAncestor(int ttype)Walk upwards and get first ancestor with this token type.TreeTree. getAncestor(int ttype)Walk upwards and get first ancestor with this token type.TreeBaseTree. getChild(int i)TreeTree. getChild(int i)TreeBaseTree. getFirstChildWithType(int type)TreeBaseTree. getParent()BaseTree doesn't track parent pointers.TreeCommonTree. getParent()TreeTree. getParent()Methods in org.antlr.runtime.tree that return types with arguments of type Tree Modifier and Type Method Description List<? extends Tree>BaseTree. getAncestors()Return a list of all ancestors of this node.Methods in org.antlr.runtime.tree with parameters of type Tree Modifier and Type Method Description voidBaseTree. addChild(Tree t)Add t as child of this node.voidTree. addChild(Tree t)Add t as a child to this node.voidBaseTree. sanityCheckParentAndChildIndexes(Tree parent, int i)voidBaseTree. setChild(int i, Tree t)voidTree. setChild(int i, Tree t)Set ith child (0..n-1) to t; t must be non-null and non-nil nodevoidBaseTree. setParent(Tree t)voidCommonTree. setParent(Tree t)voidTree. setParent(Tree t)org.antlr.stringtemplate.StringTemplateDOTTreeGenerator. toDOT(Tree tree)Generate DOT (graphviz) for a whole tree not just a node.Method parameters in org.antlr.runtime.tree with type arguments of type Tree Modifier and Type Method Description voidBaseTree. addChildren(List<? extends Tree> kids)Add all elements of kids list as children of this nodeConstructors in org.antlr.runtime.tree with parameters of type Tree Constructor Description BaseTree(Tree node)Create a new node from an existing node does nothing for BaseTree as there are no fields other than the children list, which cannot be copied as the children are not considered part of this node.
-