Searched refs:CompositeGrammarTree (Results 1 – 4 of 4) sorted by relevance
34 public class CompositeGrammarTree { class35 protected List<CompositeGrammarTree> children;39 public CompositeGrammarTree parent;41 public CompositeGrammarTree(Grammar g) { in CompositeGrammarTree() method in CompositeGrammarTree45 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 …]
62 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 …]
351 public CompositeGrammarTree compositeTreeNode;2349 CompositeGrammarTree t = composite.delegateGrammarTreeRoot.findNode(this); in addDelegateGrammar()2350 t.addChild(new CompositeGrammarTree(delegateGrammar)); in addDelegateGrammar()
1415 src/org/antlr/tool/CompositeGrammarTree.java # add1491 src/org/antlr/tool/CompositeGrammarTree.java