Home
last modified time | relevance | path

Searched refs:TreeWizard (Results 1 – 18 of 18) sorted by relevance

/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
DTestTreeWizard.java33 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 …]
DTestTreeIterator.java42 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/
Dtesttreewizard.py8 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 …]
Dtesttree.py10 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 …]
Dtestdottreegen.py11 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/
DStrip.java36 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/
DTreePatternParser.cs39 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()
DTreeWizard.cs64 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/
DTreePatternParser.cs41 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()
DTreeWizard.cs65 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/
DTreePatternParser.java36 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()
DTreeWizard.java53 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/
Dextras.py41 from treewizard import TreeWizard
Dtreewizard.py303 class TreeWizard(object): class
/external/antlr/antlr-3.4/runtime/Python/
DTODO28 - TreeWizard:
/external/antlr/antlr-3.4/runtime/ObjC/Framework/
DANTLRTreeWizard.m352 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/
Dantlr-3.4-complete.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/ ...
/external/antlr/antlr-3.4/tool/
DCHANGES.txt165 * TreeWizard ctor needed a default tree adapator.
1445 * Moved token type index stuff from CommonTreeNodeStream to TreeWizard