Home
last modified time | relevance | path

Searched refs:synpreds (Results 1 – 22 of 22) sorted by relevance

/external/antlr/tool/src/main/java/org/antlr/analysis/
DDFAState.java662 Set<SemanticContext> synpreds = new HashSet<SemanticContext>(); in getGatedSyntacticPredicatesInNFAConfigurations() local
671 synpreds.add(configuration.semanticContext); in getGatedSyntacticPredicatesInNFAConfigurations()
674 if ( synpreds.isEmpty() ) { in getGatedSyntacticPredicatesInNFAConfigurations()
677 return synpreds; in getGatedSyntacticPredicatesInNFAConfigurations()
DDFA.java988 Set<? extends SemanticContext> synpreds = a.getGatedSyntacticPredicatesInNFAConfigurations();
989 if ( synpreds!=null ) {
991 for (SemanticContext semctx : synpreds) {
/external/antlr/runtime/Cpp/tests/
Dt051lexer.g1 // Lexer grammar using synpreds
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
DObjC.stg109 synpreds,
181 synpreds,
236 synpreds,
276 <synpreds:{pred | SEL <pred>Selector;}; separator="\n">
357 <synpreds:{pred | <lexerSynpred(name=pred)>};separator="\n">
472 synpreds,
503 synpreds,
534 synpreds,
600 <synpreds:{pred | SEL <pred>Selector;}; separator="\n">
717 <synpreds:{pred | <synpred(pred)>}>
[all …]
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
DCSharp3.stg48 backtracking, synpreds, memoize, numRules,
185 <insertLexerSynpreds(synpreds)>
343 <insertSynpreds(synpreds)>
459 insertLexerSynpreds(synpreds) ::= <<
460 <insertSynpreds(synpreds)>
463 insertSynpreds(synpreds) ::= <<
464 <if(synpreds)>
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
DCSharp2.stg47 backtracking, synpreds, memoize, numRules,
190 <insertLexerSynpreds(synpreds)>
351 <insertSynpreds(synpreds)>
478 insertLexerSynpreds(synpreds) ::= <<
479 <insertSynpreds(synpreds)>
482 insertSynpreds(synpreds) ::= <<
483 <if(synpreds)>
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Delphi/
DDelphi.stg70 * synpreds (): syntactic predicates
85 backtracking, synpreds, memoize, numRules,
164 <synpreds:{p | <lexerSynpredDeclaration(p)>}; separator="\n">
216 <synpreds:{p | <lexerSynpred(p)>}>
357 <synpreds:{p | <synpredDeclaration(p)>}; separator="\n">
438 <synpreds:{p | <synpred(p)>}>
/external/antlr/runtime/C/
DREADME889 * added warning that interpreter doesn't do synpreds yet
941 * bad location event generated with -debug for synpreds in autobacktrack mode.
951 * was not making synpreds on (C)* type loops with backtrack=true
953 * was copying tree stuff and actions into synpreds with backtrack=true
955 * was making synpreds on even single alt rules / blocks with backtrack=true
1077 * Detecting use of synpreds in analysis now instead of codegen. In
1078 this way, I can avoid analyzing decisions in synpreds for synpreds
1404 * Bug fix: location 0, 0 emitted for synpreds and empty alts.
/external/antlr/tool/
DCHANGES.txt62 * Dieter Habelitz reported bug in java code gen with synpreds. labels were
63 being carried from grammar into synpreds but weren't typed properly (they
69 * (Sam) Fix labels in synpreds
614 * Labels on tokens, rules carry into synpreds now so semantic predicates work.
2530 * added warning that interpreter doesn't do synpreds yet
2582 * bad location event generated with -debug for synpreds in autobacktrack mode.
2592 * was not making synpreds on (C)* type loops with backtrack=true
2594 * was copying tree stuff and actions into synpreds with backtrack=true
2596 * was making synpreds on even single alt rules / blocks with backtrack=true
2718 * Detecting use of synpreds in analysis now instead of codegen. In
[all …]
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Cpp/
DCpp.stg90 synpreds,
222 synpreds,
707 <if(synpreds)>
712 <synpreds:{p | <lexerSynpred(predname=p)>}>
984 <synpreds:{p | <synpred(predname=p)>}>
2097 <if(synpreds)>
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/
DJavaScript.stg10 backtracking, synpreds, memoize, numRules,
75 <synpreds:{p | <lexerSynpred(p)>}; separator=",\n">
211 <synpreds:{p | <synpred(p)>}; separator=",\n">
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Perl5/
DPerl5.stg39 backtracking, synpreds, memoize, numRules,
98 <synpreds:{p | <lexerSynpred(p)>}>
239 <synpreds:{p | <synpred(p)>}>
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python3/
DPython3.stg41 backtracking, synpreds, memoize, numRules,
155 <synpreds:{p | <lexerSynpred(p)>}>
297 <synpreds:{p | <synpred(p)>}>
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Scala/
DScala.stg49 backtracking, synpreds, memoize, numRules,
110 <synpreds:{p | <lexerSynpred(p)>}>
238 <synpreds:{p | <synpred(p)>}>
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Java/
DJava.stg58 backtracking, synpreds, memoize, numRules,
127 <synpreds:{p | <lexerSynpred(p)>}>
257 <synpreds:{p | <synpred(p)>}>
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/
DActionScript.stg44 backtracking, synpreds, memoize, numRules,
99 <synpreds:{p | <lexerSynpred(p)>}>
215 <synpreds:{p | <synpred(p)>}>
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python/
DPython.stg51 backtracking, synpreds, memoize, numRules,
152 <synpreds:{p | <lexerSynpred(p)>}>
290 <synpreds:{p | <synpred(p)>}>
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/C/
DC.stg94 synpreds,
548 synpreds,
1067 <if(synpreds)>
1072 <synpreds:{p | <lexerSynpred(predname=p)>}>
1462 <synpreds:{p | <synpred(predname=p)>}>
/external/antlr/runtime/ObjC/Framework/
DBaseRecognizer.m1071 * TODO: this includes synpreds. :(
1109 … call a syntactic predicate methods using its selector. this way we can support arbitrary synpreds.
/external/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/
DANTLR.g388 // track how many decisions have synpreds
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/
DBaseRecognizer.as778 * TODO: this includes synpreds. :(
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Ruby/
DRuby.stg20 profile, backtracking, synpreds, memoize, numRules, fileName, ANTLRVersion, generatedTimestamp,