Searched refs:blockAST (Results 1 – 4 of 4) sorted by relevance
443 GrammarAST blockAST = in issueWarnings() local445 if ( blockAST!=null ) { in issueWarnings()446 String greedyS = (String)blockAST.getBlockOption("greedy"); in issueWarnings()502 GrammarAST blockAST = in stripWildCardAlts() local506 if ( blockAST.getChild(0).getType()==ANTLRParser.OPTIONS ) { in stripWildCardAlts()508 lastAltAST = (GrammarAST)blockAST.getChild(lastAlt.intValue()); in stripWildCardAlts()511 lastAltAST = (GrammarAST)blockAST.getChild(lastAlt -1); in stripWildCardAlts()
1062 GrammarAST blockAST = nfa.grammar.getDecisionBlockAST(decisionNumber);1063 Object v = nfa.grammar.getBlockOption(blockAST,"greedy");
155 if ( blockHasSynPred(d.blockAST) ) blocksWithSynPreds++; in getReportData()474 public static boolean blockHasSynPred(GrammarAST blockAST) { in blockHasSynPred() argument475 GrammarAST c1 = blockAST.findFirstType(ANTLRParser.SYN_SEMPRED); in blockHasSynPred()476 GrammarAST c2 = blockAST.findFirstType(ANTLRParser.BACKTRACK_SEMPRED); in blockHasSynPred()
201 public GrammarAST blockAST; field in Grammar.Decision1366 d.blockAST.setBlockOption(this, "k", Utils.integer(1)); in createLookaheadDFA()1495 public String defineSyntacticPredicate(GrammarAST blockAST, in defineSyntacticPredicate() argument1503 blockAST.setTreeEnclosingRuleNameDeeply(predName); in defineSyntacticPredicate()1504 nameToSynpredASTMap.put(predName, blockAST); in defineSyntacticPredicate()2588 public Object getBlockOption(GrammarAST blockAST, String key) { in getBlockOption() argument2589 String v = (String)blockAST.getBlockOption(key); in getBlockOption()2601 GrammarAST blockAST = nfa.grammar.getDecisionBlockAST(decision); in getUserMaxLookahead() local2602 Object k = blockAST.getBlockOption("k"); in getUserMaxLookahead()2845 return d.blockAST; in getDecisionBlockAST()[all …]