Home
last modified time | relevance | path

Searched refs:CompositeGrammarTree (Results 1 – 4 of 4) sorted by relevance

/external/antlr/tool/src/main/java/org/antlr/tool/
DCompositeGrammarTree.java34 public class CompositeGrammarTree { class
35 protected List<CompositeGrammarTree> children;
39 public CompositeGrammarTree parent;
41 public CompositeGrammarTree(Grammar g) { in CompositeGrammarTree() method in CompositeGrammarTree
45 public void addChild(CompositeGrammarTree t) { in addChild()
51 children = new ArrayList<CompositeGrammarTree>(); in addChild()
63 CompositeGrammarTree child = children.get(i); in getRule()
85 public CompositeGrammarTree findNode(Grammar g) { in findNode()
92 CompositeGrammarTree n = null; in findNode()
94 CompositeGrammarTree child = children.get(i); in findNode()
[all …]
DCompositeGrammar.java62 public CompositeGrammarTree delegateGrammarTreeRoot;
162 delegateGrammarTreeRoot = new CompositeGrammarTree(root); in setDelegationRoot()
177 delegator.compositeTreeNode = new CompositeGrammarTree(delegator); in addGrammar()
179 delegator.compositeTreeNode.addChild(new CompositeGrammarTree(delegate)); in addGrammar()
191 CompositeGrammarTree me = delegateGrammarTreeRoot.findNode(g); in getDelegator()
206 CompositeGrammarTree t = delegateGrammarTreeRoot.findNode(g); in getDelegates()
216 CompositeGrammarTree t = delegateGrammarTreeRoot.findNode(g); in getDirectDelegates()
217 List<CompositeGrammarTree> children = t.children; in getDirectDelegates()
223 CompositeGrammarTree child = children.get(i); in getDirectDelegates()
247 CompositeGrammarTree t = delegateGrammarTreeRoot.findNode(g); in getDelegators()
[all …]
DGrammar.java351 public CompositeGrammarTree compositeTreeNode;
2349 CompositeGrammarTree t = composite.delegateGrammarTreeRoot.findNode(this); in addDelegateGrammar()
2350 t.addChild(new CompositeGrammarTree(delegateGrammar)); in addDelegateGrammar()
/external/antlr/tool/
DCHANGES.txt1415 src/org/antlr/tool/CompositeGrammarTree.java # add
1491 src/org/antlr/tool/CompositeGrammarTree.java