Home
last modified time | relevance | path

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

/external/antlr/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.java226 predicateAST.getType()==ANTLRParser.SEMPRED ); in hasUserSemanticPredicate()
/external/antlr/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/tool/src/main/antlr3/org/antlr/grammar/v3/
DANTLRv3.g65 SEMPRED;
249 | SEMPRED ( g='=>' -> GATED_SEMPRED[$g] | -> SEMPRED )
355 : (rew+='->' preds+=SEMPRED predicated+=rewrite_alternative)*
550 : NESTED_ACTION ( '?' {$type = SEMPRED;} )?
DANTLRv3Tree.g147 | SEMPRED
189 : (^('->' SEMPRED rewrite_alternative))* ^('->' rewrite_alternative)
DANTLRTreePrinter.g347 ( SEMPRED {out(" {"+$SEMPRED.text+"}?");}
390 | pred=SEMPRED
DDefineGrammarItemsWalker.g447 | SEMPRED
449 $SEMPRED.outerAltNum = this.outerAltNum;
450 trackInlineAction($SEMPRED);
563 ( ^( REWRITE (pred=SEMPRED)? rewrite_alternative )
DLeftRecursiveRuleWalker.g240 : ^(REWRITES ( ^( REWRITE SEMPRED? (^(ALT .*)|^(TEMPLATE .*)|ACTION|ETC) ) )* )
256 | SEMPRED
DANTLR.g748 | p=SEMPRED ( IMPLIES! {$p.setType(GATED_SEMPRED);} )?
938 : REWRITE^ SEMPRED rewrite_alternative
1078 fragment SEMPRED : ;
1274 ('?' {$type = SEMPRED;})?
1283 action = action.substring(n,action.length()-n - ($type==SEMPRED ? 1 : 0));
DAssignTokenTypesWalker.g373 | SEMPRED
DCodeGenTreeWalker.g762 | (sp=SEMPRED|sp=GATED_SEMPRED)
1240 ^( r=REWRITE (pred=SEMPRED)? alt=rewrite_alternative)
DTreeToNFAConverter.g370 | pred=SEMPRED {$g = factory.build_SemanticPredicate($pred);}
/external/antlr/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.java117 wiz.visit(t, ANTLRv3Parser.SEMPRED, // comment out semantic predicates in rewrite()
190 if ( child.getType()==ANTLRv3Parser.SEMPRED ) { in rewrite()
DCompositeGrammar.java132 typeToTokenList.set(Label.NUM_FAUX_LABELS+Label.SEMPRED, "<SEMPRED>"); in initTokenSymbolTables()
141 tokenIDToTypeMap.put("<SEMPRED>", Utils.integer(Label.SEMPRED)); in initTokenSymbolTables()
DGrammar.java1636 else if ( t.getType()==ANTLRParser.SEMPRED || in defineLexerRuleFoundInParser()