Searched refs:findFirstType (Results 1 – 6 of 6) sorted by relevance
210 : {_t.findFirstType(RULE_REF)!=null && _t.findFirstType(RULE_REF).getText().equals(ruleName)}?
577 GrammarAST firstRewriteAST = (GrammarAST)$rew.start.findFirstType(REWRITE);
477 GrammarAST c1 = blockAST.findFirstType(ANTLRParser.SYN_SEMPRED); in blockHasSynPred()478 GrammarAST c2 = blockAST.findFirstType(ANTLRParser.BACKTRACK_SEMPRED); in blockHasSynPred()
359 GrammarAST blk = tree.findFirstType(ANTLRParser.BLOCK); in hasRewrite()363 if ( alt.findFirstType(ANTLRParser.REWRITES)!=null ) return true; in hasRewrite()
672 if ( grammarTree==null || grammarTree.findFirstType(ANTLRParser.RULE)==null ) { in parseAndBuildAST()2048 block.findFirstType(ANTLRParser.TOKEN_REF); in isEmptyRule()2050 block.findFirstType(ANTLRParser.STRING_LITERAL); in isEmptyRule()2052 block.findFirstType(ANTLRParser.CHAR_LITERAL); in isEmptyRule()2054 block.findFirstType(ANTLRParser.WILDCARD); in isEmptyRule()2056 block.findFirstType(ANTLRParser.RULE_REF); in isEmptyRule()
386 public GrammarAST findFirstType(int ttype) { in findFirstType() method in GrammarAST