/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/ |
D | TestTreeWizard.java | 33 import org.antlr.runtime.tree.TreeWizard; 48 TreeWizard wiz = new TreeWizard(adaptor, tokens); in testSingleNode() 56 TreeWizard wiz = new TreeWizard(adaptor, tokens); in testSingleNodeWithArg() 64 TreeWizard wiz = new TreeWizard(adaptor, tokens); in testSingleNodeTree() 72 TreeWizard wiz = new TreeWizard(adaptor, tokens); in testSingleLevelTree() 80 TreeWizard wiz = new TreeWizard(adaptor, tokens); in testListTree() 88 TreeWizard wiz = new TreeWizard(adaptor, tokens); in testInvalidListTree() 94 TreeWizard wiz = new TreeWizard(adaptor, tokens); in testDoubleLevelTree() 102 TreeWizard wiz = new TreeWizard(adaptor, tokens); in testSingleNodeIndex() 111 TreeWizard wiz = new TreeWizard(adaptor, tokens); in testNoRepeatsIndex() [all …]
|
D | TestTreeIterator.java | 42 TreeWizard wiz = new TreeWizard(adaptor, tokens); in testNode() 53 TreeWizard wiz = new TreeWizard(adaptor, tokens); in testFlatAB() 64 TreeWizard wiz = new TreeWizard(adaptor, tokens); in testAB() 75 TreeWizard wiz = new TreeWizard(adaptor, tokens); in testABC() 86 TreeWizard wiz = new TreeWizard(adaptor, tokens); in testVerticalList() 97 TreeWizard wiz = new TreeWizard(adaptor, tokens); in testComplex() 108 TreeWizard wiz = new TreeWizard(adaptor, tokens); in testReset()
|
/external/antlr/antlr-3.4/runtime/Python/unittests/ |
D | testtreewizard.py | 8 from antlr3.treewizard import TreeWizard, computeTokenTypes, \ 141 self.wizard = TreeWizard(self.adaptor, tokenNames=self.tokens) 248 wiz = TreeWizard( 263 wiz = TreeWizard( 284 wiz = TreeWizard(self.adaptor, self.tokens) 292 wiz = TreeWizard(self.adaptor, self.tokens) 300 wiz = TreeWizard(self.adaptor, self.tokens) 308 wiz = TreeWizard(self.adaptor, self.tokens) 316 wiz = TreeWizard(self.adaptor, self.tokens) 324 wiz = TreeWizard(self.adaptor, self.tokens) [all …]
|
D | testtree.py | 10 from antlr3.treewizard import TreeWizard 917 wiz = TreeWizard(adaptor, self.tokenNames) 936 wiz = TreeWizard(adaptor, self.tokenNames) 955 wiz = TreeWizard(adaptor, self.tokenNames) 974 wiz = TreeWizard(adaptor, self.tokenNames) 993 wiz = TreeWizard(adaptor, self.tokenNames) 1012 wiz = TreeWizard(adaptor, self.tokenNames) 1031 wiz = TreeWizard(adaptor, self.tokenNames) 1050 wiz = TreeWizard(adaptor, self.tokenNames) 1069 wiz = TreeWizard(adaptor, self.tokenNames) [all …]
|
D | testdottreegen.py | 11 from antlr3.treewizard import TreeWizard 23 self.wiz = TreeWizard(self.adaptor, self.tokens)
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
D | Strip.java | 36 import org.antlr.runtime.tree.TreeWizard; 73 TreeWizard wiz = new TreeWizard(adaptor, tokenNames); in rewrite() 77 new TreeWizard.Visitor() { in rewrite() 82 new TreeWizard.Visitor() { in rewrite() 96 new TreeWizard.Visitor() { in rewrite() 105 new TreeWizard.Visitor() { in rewrite() 114 new TreeWizard.Visitor() { in rewrite() 121 new TreeWizard.Visitor() { in rewrite() 132 new TreeWizard.Visitor() { in rewrite() 141 new TreeWizard.Visitor() { in rewrite() [all …]
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
D | TreePatternParser.cs | 39 protected TreeWizard wizard; 42 … public TreePatternParser(TreePatternLexer tokenizer, TreeWizard wizard, ITreeAdaptor adaptor) { in TreePatternParser() 114 TreeWizard.TreePattern node = in ParseNode() 115 new TreeWizard.WildcardTreePattern(wildcardPayload); in ParseNode() 147 if (label != null && node2.GetType() == typeof(TreeWizard.TreePattern)) { in ParseNode() 148 ((TreeWizard.TreePattern)node2).label = label; in ParseNode() 150 if (arg != null && node2.GetType() == typeof(TreeWizard.TreePattern)) { in ParseNode() 151 ((TreeWizard.TreePattern)node2).hasTextArg = true; in ParseNode()
|
D | TreeWizard.cs | 64 public class TreeWizard { class 156 public TreeWizard(ITreeAdaptor adaptor) { in TreeWizard() method in Antlr.Runtime.Tree.TreeWizard 160 public TreeWizard(ITreeAdaptor adaptor, IDictionary<string, int> tokenNameToTypeMap) { in TreeWizard() method in Antlr.Runtime.Tree.TreeWizard 165 public TreeWizard(ITreeAdaptor adaptor, string[] tokenNames) { in TreeWizard() method in Antlr.Runtime.Tree.TreeWizard 170 public TreeWizard(string[] tokenNames) : in TreeWizard() method in Antlr.Runtime.Tree.TreeWizard 240 class FindTreeWizardVisitor : TreeWizard.Visitor { 249 class FindTreeWizardContextVisitor : TreeWizard.IContextVisitor { 250 TreeWizard _outer; 253 … public FindTreeWizardContextVisitor(TreeWizard outer, TreePattern tpattern, IList subtrees) { in FindTreeWizardContextVisitor() 330 class VisitTreeWizardContextVisitor : TreeWizard.IContextVisitor { [all …]
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
D | TreePatternParser.cs | 41 protected TreeWizard wizard; 44 … public TreePatternParser( TreePatternLexer tokenizer, TreeWizard wizard, ITreeAdaptor adaptor ) in TreePatternParser() 134 TreeWizard.TreePattern node = in ParseNode() 135 new TreeWizard.WildcardTreePattern( wildcardPayload ); in ParseNode() 172 if ( label != null && node2.GetType() == typeof( TreeWizard.TreePattern ) ) in ParseNode() 174 ( (TreeWizard.TreePattern)node2 ).label = label; in ParseNode() 176 if ( arg != null && node2.GetType() == typeof( TreeWizard.TreePattern ) ) in ParseNode() 178 ( (TreeWizard.TreePattern)node2 ).hasTextArg = true; in ParseNode()
|
D | TreeWizard.cs | 65 public class TreeWizard class 174 public TreeWizard( ITreeAdaptor adaptor ) in TreeWizard() method in Antlr.Runtime.Tree.TreeWizard 179 public TreeWizard( ITreeAdaptor adaptor, IDictionary<string, int> tokenNameToTypeMap ) in TreeWizard() method in Antlr.Runtime.Tree.TreeWizard 185 public TreeWizard( ITreeAdaptor adaptor, string[] tokenNames ) in TreeWizard() method in Antlr.Runtime.Tree.TreeWizard 191 public TreeWizard( string[] tokenNames ) in TreeWizard() method in Antlr.Runtime.Tree.TreeWizard 272 class FindTreeWizardVisitor : TreeWizard.Visitor 284 class FindTreeWizardContextVisitor : TreeWizard.IContextVisitor 286 TreeWizard _outer; 289 … public FindTreeWizardContextVisitor( TreeWizard outer, TreePattern tpattern, IList subtrees ) in FindTreeWizardContextVisitor() 380 class VisitTreeWizardContextVisitor : TreeWizard.IContextVisitor [all …]
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/tree/ |
D | TreePatternParser.java | 36 protected TreeWizard wizard; 39 public TreePatternParser(TreePatternLexer tokenizer, TreeWizard wizard, TreeAdaptor adaptor) { in TreePatternParser() 113 TreeWizard.TreePattern node = in parseNode() 114 new TreeWizard.WildcardTreePattern(wildcardPayload); in parseNode() 146 if ( label!=null && node.getClass()==TreeWizard.TreePattern.class ) { in parseNode() 147 ((TreeWizard.TreePattern)node).label = label; in parseNode() 149 if ( arg!=null && node.getClass()==TreeWizard.TreePattern.class ) { in parseNode() 150 ((TreeWizard.TreePattern)node).hasTextArg = true; in parseNode()
|
D | TreeWizard.java | 53 public class TreeWizard { class 122 public TreeWizard(TreeAdaptor adaptor) { in TreeWizard() method in TreeWizard 126 public TreeWizard(TreeAdaptor adaptor, Map tokenNameToTypeMap) { in TreeWizard() method in TreeWizard 131 public TreeWizard(TreeAdaptor adaptor, String[] tokenNames) { in TreeWizard() method in TreeWizard 136 public TreeWizard(String[] tokenNames) { in TreeWizard() method in TreeWizard 202 visit(t, ttype, new TreeWizard.Visitor() { in find() 226 visit(t, rootTokenType, new TreeWizard.ContextVisitor() { in find() 288 visit(t, rootTokenType, new TreeWizard.ContextVisitor() { in visit()
|
/external/antlr/antlr-3.4/runtime/Python/antlr3/ |
D | extras.py | 41 from treewizard import TreeWizard
|
D | treewizard.py | 303 class TreeWizard(object): class
|
/external/antlr/antlr-3.4/runtime/Python/ |
D | TODO | 28 - TreeWizard:
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
D | ANTLRTreeWizard.m | 352 visit(t, ttype, new TreeWizard.Visitor() { 383 visit(t, rootTokenType, new TreeWizard.ContextVisitor() { 459 visit(t, rootTokenType, new TreeWizard.ContextVisitor() { 597 * this instance of a TreeWizard.
|
/external/antlr/antlr-3.4/lib/ |
D | antlr-3.4-complete.jar | META-INF/
META-INF/MANIFEST.MF
org/
org/antlr/
org/ ... |
/external/antlr/antlr-3.4/tool/ |
D | CHANGES.txt | 165 * TreeWizard ctor needed a default tree adapator. 1445 * Moved token type index stuff from CommonTreeNodeStream to TreeWizard
|