Home
last modified time | relevance | path

Searched refs:grammarTree (Results 1 – 3 of 3) sorted by relevance

/external/antlr/tool/src/main/java/org/antlr/tool/
DGrammar.java457 protected GrammarAST grammarTree = null; field in Grammar
713 grammarTree.setUnknownTokenBoundaries(); in parseAndBuildAST()
716 if ( grammarTree.findFirstType(ANTLRParser.RULE)==null ) { in parseAndBuildAST()
775 addRule(grammarTree, t); in translateLeftRecursiveRule()
784 System.out.println(grammarTree.toStringList()); in defineGrammarSymbols()
939 public void addRule(GrammarAST grammarTree, GrammarAST t) { in addRule() argument
941 for (int i = 0; i < grammarTree.getChildCount(); i++ ) { in addRule()
942 p = (GrammarAST)grammarTree.getChild(i); in addRule()
949 grammarTree.addChild(t); in addRule()
962 boolean isLexer = grammarTree.getType()==ANTLRParser.LEXER_GRAMMAR; in getArtificialRulesForSyntacticPredicates()
[all …]
DCompositeGrammar.java364 for (GrammarAST r : g.grammarTree.findAllType(ANTLRParser.RULE)) { in translateLeftRecursiveRules()
/external/antlr/antlr-ant/main/antlr3-task/antlr3-src/org/apache/tools/ant/antlr/
DANTLR3.java115 private boolean grammarTree; field in ANTLR3
268 grammarTree = enable; in setGrammartree()
544 if (grammarTree) { in populateAttributes()