/external/antlr/tool/src/test/java/org/antlr/test/ |
D | TestTreeWizard.java | 33 import org.antlr.runtime.tree.TreeWizard; 49 TreeWizard wiz = new TreeWizard(adaptor, tokens); in testSingleNode() 57 TreeWizard wiz = new TreeWizard(adaptor, tokens); in testSingleNodeWithArg() 65 TreeWizard wiz = new TreeWizard(adaptor, tokens); in testSingleNodeTree() 73 TreeWizard wiz = new TreeWizard(adaptor, tokens); in testSingleLevelTree() 81 TreeWizard wiz = new TreeWizard(adaptor, tokens); in testListTree() 89 TreeWizard wiz = new TreeWizard(adaptor, tokens); in testInvalidListTree() 95 TreeWizard wiz = new TreeWizard(adaptor, tokens); in testDoubleLevelTree() 103 TreeWizard wiz = new TreeWizard(adaptor, tokens); in testSingleNodeIndex() 112 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/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/runtime/Python3/unittests/ |
D | testtreewizard.py | 7 from antlr3.treewizard import TreeWizard, computeTokenTypes, \ 140 self.wizard = TreeWizard(self.adaptor, tokenNames=self.tokens) 247 wiz = TreeWizard( 262 wiz = TreeWizard( 283 wiz = TreeWizard(self.adaptor, self.tokens) 291 wiz = TreeWizard(self.adaptor, self.tokens) 299 wiz = TreeWizard(self.adaptor, self.tokens) 307 wiz = TreeWizard(self.adaptor, self.tokens) 315 wiz = TreeWizard(self.adaptor, self.tokens) 323 wiz = TreeWizard(self.adaptor, self.tokens) [all …]
|
D | testtree.py | 9 from antlr3.treewizard import TreeWizard 908 wiz = TreeWizard(adaptor, self.tokenNames) 927 wiz = TreeWizard(adaptor, self.tokenNames) 946 wiz = TreeWizard(adaptor, self.tokenNames) 965 wiz = TreeWizard(adaptor, self.tokenNames) 984 wiz = TreeWizard(adaptor, self.tokenNames) 1003 wiz = TreeWizard(adaptor, self.tokenNames) 1022 wiz = TreeWizard(adaptor, self.tokenNames) 1041 wiz = TreeWizard(adaptor, self.tokenNames) 1060 wiz = TreeWizard(adaptor, self.tokenNames) [all …]
|
/external/antlr/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() 83 new TreeWizard.Visitor() { in rewrite() 98 new TreeWizard.Visitor() { in rewrite() 108 new TreeWizard.Visitor() { in rewrite() 118 new TreeWizard.Visitor() { in rewrite() 126 new TreeWizard.Visitor() { in rewrite() 138 new TreeWizard.Visitor() { in rewrite() 148 new TreeWizard.Visitor() { in rewrite() [all …]
|
/external/antlr/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/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/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 125 public TreeWizard(TreeAdaptor adaptor) { in TreeWizard() method in TreeWizard 129 public TreeWizard(TreeAdaptor adaptor, Map<String, Integer> tokenNameToTypeMap) { in TreeWizard() method in TreeWizard 134 public TreeWizard(TreeAdaptor adaptor, String[] tokenNames) { in TreeWizard() method in TreeWizard 139 public TreeWizard(String[] tokenNames) { in TreeWizard() method in TreeWizard 205 visit(t, ttype, new TreeWizard.Visitor() { in find() 230 visit(t, rootTokenType, new TreeWizard.ContextVisitor() { in find() 293 visit(t, rootTokenType, new TreeWizard.ContextVisitor() { in visit()
|
/external/antlr/runtime/ObjC/Framework/ |
D | TreePatternParser.h | 41 TreeWizard *wizard; 47 Wizard:(TreeWizard *)aWizard 51 Wizard:(TreeWizard *)aWizard 61 @property (retain) TreeWizard *wizard;
|
D | TreeWizard.h | 97 @interface TreeWizard : NSObject { 101 + (TreeWizard *) newTreeWizard:(id<TreeAdaptor>)anAdaptor; 102 + (TreeWizard *)newTreeWizard:(id<TreeAdaptor>)adaptor Map:(Map *)aTokenNameToTypeMap; 103 + (TreeWizard *)newTreeWizard:(id<TreeAdaptor>)adaptor TokenNames:(NSArray *)theTokNams; 104 + (TreeWizard *)newTreeWizardWithTokenNames:(NSArray *)theTokNams; 116 - (TreeWizard *)findFirst:(CommonTree *) t Type:(NSInteger)ttype; 117 - (TreeWizard *)findFirst:(CommonTree *) t Pattern:(NSString *)pattern;
|
D | TreeWizard.m | 2 // TreeWizard.m 32 #import "TreeWizard.h" 74 … if ( [(TreeWizard *)actor _parse:t Pattern:object1/* tpattern */ Map:object2 /* labels */] ) { 79 if ( [(TreeWizard *)actor _parse:t Pattern:object1/* tpattern */ Map:nil] ) { 182 @implementation TreeWizard implementation 205 + (TreeWizard *) newTreeWizard:(id<TreeAdaptor>)anAdaptor 207 return [[TreeWizard alloc] initWithAdaptor:anAdaptor]; 210 + (TreeWizard *)newTreeWizard:(id<TreeAdaptor>)anAdaptor Map:(Map *)aTokenNameToTypeMap 212 return [[TreeWizard alloc] initWithAdaptor:anAdaptor Map:aTokenNameToTypeMap]; 215 + (TreeWizard *)newTreeWizard:(id<TreeAdaptor>)anAdaptor TokenNames:(NSArray *)theTokNams [all …]
|
D | TreePatternParser.m | 38 Wizard:(TreeWizard *)aWizard 56 Wizard:(TreeWizard *)aWizard
|
/external/antlr/runtime/Python/antlr3/ |
D | extras.py | 41 from treewizard import TreeWizard
|
D | treewizard.py | 303 class TreeWizard(object): class
|
/external/antlr/runtime/Python/ |
D | TODO | 28 - TreeWizard:
|
/external/antlr/runtime/Python3/antlr3/ |
D | treewizard.py | 303 class TreeWizard(object): class
|
/external/antlr/runtime/ObjC/Framework/ANTLR.xcodeproj/ |
D | project.pbxproj | 152 …A4A851E11CBCF3700E4BF1B /* TreeWizard.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A4A851C11C… 153 …A4A851F11CBCF3700E4BF1B /* TreeWizard.m in Sources */ = {isa = PBXBuildFile; fileRef = 1A4A851D11C… 669 …1CBCF3700E4BF1B /* TreeWizard.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType … 670 …CBCF3700E4BF1B /* TreeWizard.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType =… 1519 1A4A851C11CBCF3700E4BF1B /* TreeWizard.h */, 1520 1A4A851D11CBCF3700E4BF1B /* TreeWizard.m */, 1815 1A4A851E11CBCF3700E4BF1B /* TreeWizard.h in Headers */, 2711 1A4A851F11CBCF3700E4BF1B /* TreeWizard.m in Sources */,
|
/external/antlr/tool/ |
D | CHANGES.txt | 236 * TreeWizard ctor needed a default tree adapator. 1516 * Moved token type index stuff from CommonTreeNodeStream to TreeWizard
|