Searched refs:grammarTree (Results 1 – 3 of 3) sorted by relevance
457 protected GrammarAST grammarTree = null; field in Grammar713 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() argument941 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 …]
364 for (GrammarAST r : g.grammarTree.findAllType(ANTLRParser.RULE)) { in translateLeftRecursiveRules()
115 private boolean grammarTree; field in ANTLR3268 grammarTree = enable; in setGrammartree()544 if (grammarTree) { in populateAttributes()