Home
last modified time | relevance | path

Searched refs:SEMPRED (Results 1 – 18 of 18) sorted by relevance

/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/analysis/
DPredicateLabel.java43 super(SEMPRED); in PredicateLabel()
49 super(SEMPRED); in PredicateLabel()
DLabel.java50 public static final int SEMPRED = -4; field in Label
DSemanticContext.java223 predicateAST.getType()==ANTLRParser.SEMPRED ); in hasUserSemanticPredicate()
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/
DANTLRv3.g64 SEMPRED;
248 | SEMPRED ( g='=>' -> GATED_SEMPRED[$g] | -> SEMPRED )
354 : (rew+='->' preds+=SEMPRED predicated+=rewrite_alternative)*
549 : NESTED_ACTION ( '?' {$type = SEMPRED;} )?
DANTLRv3Tree.g146 | SEMPRED
188 : (^('->' SEMPRED rewrite_alternative))* ^('->' rewrite_alternative)
DANTLRTreePrinter.g346 ( SEMPRED {out(" {"+$SEMPRED.text+"}?");}
389 | pred=SEMPRED
DDefineGrammarItemsWalker.g446 | SEMPRED
448 $SEMPRED.outerAltNum = this.outerAltNum;
449 trackInlineAction($SEMPRED);
562 ( ^( REWRITE (pred=SEMPRED)? rewrite_alternative )
DLeftRecursiveRuleWalker.g239 : ^(REWRITES ( ^( REWRITE SEMPRED? (^(ALT .*)|^(TEMPLATE .*)|ACTION|ETC) ) )* )
255 | SEMPRED
DANTLR.g732 | p=SEMPRED ( IMPLIES! {$p.setType(GATED_SEMPRED);} )?
911 : REWRITE^ SEMPRED rewrite_alternative
1051 fragment SEMPRED : ;
1255 ('?' {$type = SEMPRED;})?
1264 action = action.substring(n,action.length()-n - ($type==SEMPRED ? 1 : 0));
DAssignTokenTypesWalker.g372 | SEMPRED
DCodeGenTreeWalker.g761 | (sp=SEMPRED|sp=GATED_SEMPRED)
1239 ^( r=REWRITE (pred=SEMPRED)? alt=rewrite_alternative)
DTreeToNFAConverter.g369 | pred=SEMPRED {$g = factory.build_SemanticPredicate($pred);}
/external/antlr/antlr-3.4/gunit/src/main/antlr3/org/antlr/gunit/swingui/parsers/
DANTLRv3.g66 SEMPRED;
256 | SEMPRED ( '=>' -> GATED_SEMPRED | -> SEMPRED )
350 : (rew+='->' preds+=SEMPRED predicated+=rewrite_alternative)*
543 : NESTED_ACTION ( '?' {$type = SEMPRED;} )?
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DGrammarSanity.java287 case ANTLRParser.SEMPRED : in ensureAltIsSimpleNodeOrTree()
317 t.getType()==ANTLRParser.SEMPRED ) in isNextNonActionElementEOA()
Dserialize.g193 : ( #( REWRITE (SEMPRED)? (ALT|TEMPLATE|ACTION|ETC) ) )*
210 | SEMPRED
DStrip.java113 wiz.visit(t, ANTLRv3Parser.SEMPRED, // comment out semantic predicates in rewrite()
179 if ( child.getType()==ANTLRv3Parser.SEMPRED ) { in rewrite()
DCompositeGrammar.java125 typeToTokenList.set(Label.NUM_FAUX_LABELS+Label.SEMPRED, "<SEMPRED>"); in initTokenSymbolTables()
134 tokenIDToTypeMap.put("<SEMPRED>", Utils.integer(Label.SEMPRED)); in initTokenSymbolTables()
DGrammar.java1595 else if ( t.getType()==ANTLRParser.SEMPRED || in defineLexerRuleFoundInParser()