Home
last modified time | relevance | path

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

/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/
DParseTreeBuilder.java32 import org.antlr.runtime.tree.ParseTree;
49 ParseTree root = create("<grammar "+grammarName+">"); in ParseTreeBuilder()
53 public ParseTree getTree() { in getTree()
54 return (ParseTree)callStack.elementAt(0); in getTree()
60 public ParseTree create(Object payload) { in create()
61 return new ParseTree(payload); in create()
64 public ParseTree epsilonNode() { in epsilonNode()
74 ParseTree parentRuleNode = (ParseTree)callStack.peek(); in enterRule()
75 ParseTree ruleNode = create(ruleName); in enterRule()
82 ParseTree ruleNode = (ParseTree)callStack.peek(); in exitRule()
[all …]
/external/antlr/antlr-3.4/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
70 public virtual ParseTree Create( object payload ) in Create()
72 return new ParseTree( payload ); in Create()
75 public virtual ParseTree EpsilonNode() in EpsilonNode()
94 ParseTree parentRuleNode = callStack.Peek(); in EnterRule()
95 ParseTree ruleNode = Create( ruleName ); in EnterRule()
104 ParseTree ruleNode = callStack.Peek(); in ExitRule()
[all …]
/external/antlr/antlr-3.4/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/doclava/src/com/google/doclava/
DInfoBuilder.java27 import org.antlr.runtime.tree.ParseTree;
75 ParseTree tree = builder.getTree(); in parseFile()
342 private void parseFile(ParseTree tree) { in parseFile()
383 parseFile((ParseTree) tree.getChild(i)); in parseFile()
392 private PackageInfo buildPackage(ParseTree tree) { in buildPackage()
394 ParseTree child = (ParseTree) tree.getChild(i); in buildPackage()
412 private static String buildQualifiedName(ParseTree tree) { in buildQualifiedName()
427 private String buildImport(ParseTree tree) { in buildImport()
450 private ClassInfo buildClass(ParseTree tree, ClassInfo containingClass) { in buildClass()
456 Iterator<ParseTree> it = (Iterator<ParseTree>) tree.getChildren().iterator(); in buildClass()
[all …]
/external/antlr/antlr-3.4/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/antlr-3.4/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/antlr-3.4/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
115 ParseTree t = (ParseTree)children.get(i); in _toStringLeaves()
/external/antlr/antlr-3.4/tool/src/test/java/org/antlr/test/
DTestInterpretedParsing.java32 import org.antlr.runtime.tree.ParseTree;
70 ParseTree t = parseEngine.parse("prog"); in testSimpleParse()
105 ParseTree t = parseEngine.parse("prog"); in testMismatchedTokenError()
140 ParseTree t = parseEngine.parse("prog"); in testMismatchedSetError()
175 ParseTree t = parseEngine.parse("prog"); in testNoViableAltError()
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DInterp.java32 import org.antlr.runtime.tree.ParseTree;
126 ParseTree t = parseEngine.parse(startRule); in main()
DInterpreter.java37 import org.antlr.runtime.tree.ParseTree;
189 public ParseTree parse(String startRule) in parse()
195 public ParseTree parse(String startRule, List visitedStates) in parse()
/external/antlr/antlr-3.4/runtime/Python/
DTODO57 - tree.ParseTree
/external/antlr/antlr-3.4/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);