Home
last modified time | relevance | path

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

/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/
DParseTreeBuilder.cs36 using ParseTree = Antlr.Runtime.Tree.ParseTree; typedef
47 Stack<ParseTree> callStack = new Stack<ParseTree>();
53 ParseTree root = Create( "<grammar " + grammarName + ">" ); in ParseTreeBuilder()
57 public virtual ParseTree Tree
61 ParseTree[] stack = callStack.ToArray();
71 public virtual ParseTree Create( object payload ) in Create()
73 return new ParseTree( payload ); in Create()
76 public virtual ParseTree EpsilonNode() in EpsilonNode()
95 ParseTree parentRuleNode = callStack.Peek(); in EnterRule()
96 ParseTree ruleNode = Create( ruleName ); in EnterRule()
[all …]
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/
DParseTreeBuilder.cs35 using ParseTree = Antlr.Runtime.Tree.ParseTree; typedef
45 Stack<ParseTree> callStack = new Stack<ParseTree>();
50 ParseTree root = Create("<grammar " + grammarName + ">"); in ParseTreeBuilder()
54 public virtual ParseTree GetTree() { in GetTree()
65 public virtual ParseTree Create(object payload) { in Create()
66 return new ParseTree(payload); in Create()
69 public virtual ParseTree EpsilonNode() { in EpsilonNode()
84 ParseTree parentRuleNode = callStack.Peek(); in EnterRule()
85 ParseTree ruleNode = Create(ruleName); in EnterRule()
93 ParseTree ruleNode = callStack.Peek(); in ExitRule()
[all …]
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/debug/
DParseTreeBuilder.java32 import org.antlr.runtime.tree.ParseTree;
44 Stack<ParseTree> callStack = new Stack<ParseTree>();
49 ParseTree root = create("<grammar "+grammarName+">"); in ParseTreeBuilder()
53 public ParseTree getTree() { in getTree()
60 public ParseTree create(Object payload) { in create()
61 return new ParseTree(payload); in create()
64 public ParseTree epsilonNode() { in epsilonNode()
77 ParseTree parentRuleNode = callStack.peek(); in enterRule()
78 ParseTree ruleNode = create(ruleName); in enterRule()
86 ParseTree ruleNode = callStack.peek(); in exitRule()
[all …]
/external/doclava/src/com/google/doclava/
DInfoBuilder.java27 import org.antlr.runtime.tree.ParseTree;
76 ParseTree tree = builder.getTree(); in parseFile()
343 private void parseFile(ParseTree tree) { in parseFile()
384 parseFile((ParseTree) tree.getChild(i)); in parseFile()
393 private PackageInfo buildPackage(ParseTree tree) { in buildPackage()
395 ParseTree child = (ParseTree) tree.getChild(i); in buildPackage()
413 private static String buildQualifiedName(ParseTree tree) { in buildQualifiedName()
428 private String buildImport(ParseTree tree) { in buildImport()
451 private ClassInfo buildClass(ParseTree tree, ClassInfo containingClass) { in buildClass()
457 Iterator<ParseTree> it = (Iterator<ParseTree>) tree.getChildren().iterator(); in buildClass()
[all …]
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/
DParseTree.cs46 public class ParseTree : BaseTree { class
50 public ParseTree(object label) { in ParseTree() method in Antlr.Runtime.Tree.ParseTree
136 ParseTree t = (ParseTree)Children[i]; in ToStringLeaves()
DTreePatternParser.cs51 return ParseTree(); in Pattern()
62 public virtual object ParseTree() { in ParseTree() method in Antlr.Runtime.Tree.TreePatternParser
76 object subtree = ParseTree(); in ParseTree()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/
DParseTree.cs47 public class ParseTree : BaseTree class
52 public ParseTree( object label ) in ParseTree() method in Antlr.Runtime.Tree.ParseTree
162 ParseTree t = (ParseTree)Children[i]; in ToStringLeaves()
DTreePatternParser.cs56 return ParseTree(); in Pattern()
70 public virtual object ParseTree() in ParseTree() method in Antlr.Runtime.Tree.TreePatternParser
88 object subtree = ParseTree(); in ParseTree()
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/tree/
DParseTree.java39 public class ParseTree extends BaseTree { class
43 public ParseTree(Object label) { in ParseTree() method in ParseTree
123 ParseTree t = (ParseTree)children.get(i); in _toStringLeaves()
/external/antlr/tool/src/test/java/org/antlr/test/
DTestInterpretedParsing.java32 import org.antlr.runtime.tree.ParseTree;
72 ParseTree t = parseEngine.parse("prog"); in testSimpleParse()
107 ParseTree t = parseEngine.parse("prog"); in testMismatchedTokenError()
142 ParseTree t = parseEngine.parse("prog"); in testMismatchedSetError()
177 ParseTree t = parseEngine.parse("prog"); in testNoViableAltError()
/external/antlr/runtime/ObjC/Framework/
DParseTree.m2 // ParseTree.m
32 #import "ParseTree.h"
39 @implementation ParseTree implementation
40 + (ParseTree *)newParseTree:(id<Token>)label
42 return [[ParseTree alloc] initWithLabel:label];
139 ParseTree *t = (ParseTree *) [children objectAtIndex:i];
DParseTree.h37 @interface ParseTree : BaseTree <BaseTree> {
/external/antlr/tool/src/main/java/org/antlr/tool/
DInterp.java32 import org.antlr.runtime.tree.ParseTree;
128 ParseTree t = parseEngine.parse(startRule); in main()
DInterpreter.java37 import org.antlr.runtime.tree.ParseTree;
191 public ParseTree parse(String startRule) in parse()
197 public ParseTree parse(String startRule, List<NFAState> visitedStates) in parse()
/external/antlr/runtime/Cpp/include/
Dantlr3interfaces.hpp192 class ParseTree;
/external/antlr/runtime/Python/
DTODO57 - tree.ParseTree
/external/antlr/runtime/Delphi/Sources/Antlr3.Runtime/
DAntlr.Runtime.Tree.pas1047 function ParseTree: IANTLRInterface;
1851 function ParseTree: IANTLRInterface;
4328 function TTreePatternParser.ParseTree: IANTLRInterface; in ParseTree() function
4348 Subtree := ParseTree;
4374 Exit(ParseTree);
/external/antlr/runtime/ObjC/Framework/ANTLR.xcodeproj/
Dproject.pbxproj172 …1A86B91B11EB9F6300C67A03 /* ParseTree.h in Headers */ = {isa = PBXBuildFile; fileRef = 1A86B91911E…
173 …1A86B91C11EB9F6300C67A03 /* ParseTree.m in Sources */ = {isa = PBXBuildFile; fileRef = 1A86B91A11E…
683 …11EB9F6300C67A03 /* ParseTree.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType …
684 …1EB9F6300C67A03 /* ParseTree.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType =…
1614 1A86B91911EB9F6300C67A03 /* ParseTree.h */,
1615 1A86B91A11EB9F6300C67A03 /* ParseTree.m */,
1827 1A86B91B11EB9F6300C67A03 /* ParseTree.h in Headers */,
2725 1A86B91C11EB9F6300C67A03 /* ParseTree.m in Sources */,