Searched refs:findFirstType (Results 1 – 6 of 6) sorted by relevance
211 : {_t.findFirstType(RULE_REF)!=null && _t.findFirstType(RULE_REF).getText().equals(ruleName)}?
578 GrammarAST firstRewriteAST = $rew.start.findFirstType(REWRITE);
475 GrammarAST c1 = blockAST.findFirstType(ANTLRParser.SYN_SEMPRED); in blockHasSynPred()476 GrammarAST c2 = blockAST.findFirstType(ANTLRParser.BACKTRACK_SEMPRED); in blockHasSynPred()
365 GrammarAST blk = tree.findFirstType(ANTLRParser.BLOCK); in hasRewrite()369 if ( alt.findFirstType(ANTLRParser.REWRITES)!=null ) return true; in hasRewrite()
387 public GrammarAST findFirstType(int ttype) { in findFirstType() method in GrammarAST
716 if ( grammarTree.findFirstType(ANTLRParser.RULE)==null ) { in parseAndBuildAST()