Home
last modified time | relevance | path

Searched refs:synpred (Results 1 – 25 of 32) sorted by relevance

12

/external/antlr/tool/src/main/java/org/antlr/analysis/
DLL1DFA.java131 SemanticContext.Predicate synpred = in LL1DFA() local
133 if ( synpred == null ) { in LL1DFA()
134 synpred = new SemanticContext.TruePredicate(); in LL1DFA()
136 s.addTransition(predDFATarget, new PredicateLabel(synpred)); in LL1DFA()
DSemanticContext.java103 protected boolean synpred = false; field in SemanticContext.Predicate
125 this.synpred = in Predicate()
133 this.synpred = p.synpred; in Predicate()
180 if ( synpred ) { in genExpr()
238 if ( synpred ) { in trackUseOfSyntacticPredicates()
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
DDbg.stg135 * methods for each synpred
137 @synpred.start() ::= "[debugListener beginBacktrack:state.backtracking];"
139 @synpred.stop() ::= "[debugListener endBacktrack:state.backtracking wasSuccessful:success];"
DObjC.stg420 /* mTokens backtracks with synpred at backtracking==2
717 <synpreds:{pred | <synpred(pred)>}>
811 synpred(name) ::= <<
835 <synpred(name)>
/external/antlr/runtime/C/include/
Dantlr3baserecognizer.h340 ANTLR3_BOOLEAN (*synpred) ( struct ANTLR3_BASE_RECOGNIZER_struct * recognizer, void * ctx, member
/external/antlr/runtime/Cpp/include/
Dantlr3baserecognizer.hpp487 bool synpred( ClassForwarder<Predicate> );
Dantlr3baserecognizer.inl801 bool BaseRecognizer<ImplTraits, StreamType>::synpred(ClassForwarder<Predicate> pred) function in BaseRecognizer
815 this->get_super()->synpred( pred );
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/C/
DDbg.stg157 @synpred.start() ::= "DBG->beginBacktrack(DBG, BACKTRACKING);"
159 @synpred.stop() ::= "DBG->endBacktrack(DBG, BACKTRACKING, success);"
DC.stg660 // constant conditional, - ANTLR realizes that a prediction is always true (synpred
1148 <! mTokens backtracks with synpred at BACKTRACKING==2
1462 <synpreds:{p | <synpred(predname=p)>}>
1537 synpred(predname) ::= <<
1557 <synpred(predname)>
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Java/
DDbg.stg177 @synpred.start() ::= "dbg.beginBacktrack(state.backtracking);"
179 @synpred.stop() ::= "dbg.endBacktrack(state.backtracking, success);"
DJava.stg165 <! mTokens backtracks with synpred at backtracking==2
257 <synpreds:{p | <synpred(p)>}>
327 synpred(name) ::= <<
347 <synpred(name)>
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python/
DDbg.stg204 @synpred.start() ::= "self._dbg.beginBacktrack(self._state.backtracking)"
206 @synpred.stop() ::= "self._dbg.endBacktrack(self._state.backtracking, success)"
DPython.stg188 # mTokens backtracks with synpred at backtracking==2
290 <synpreds:{p | <synpred(p)>}>
359 synpred(name) ::= <<
379 <synpred(name)>
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python3/
DDbg.stg204 @synpred.start() ::= "self._dbg.beginBacktrack(self._state.backtracking)"
206 @synpred.stop() ::= "self._dbg.endBacktrack(self._state.backtracking, success)"
DPython3.stg191 # mTokens backtracks with synpred at backtracking==2
297 <synpreds:{p | <synpred(p)>}>
366 synpred(name) ::= <<
386 <synpred(name)>
/external/antlr/runtime/C/src/
Dantlr3baserecognizer.c75 static ANTLR3_BOOLEAN synpred (pANTLR3_BASE_RECOGNIZER recognizer, void * ctx, void (*predica…
182 recognizer->synpred = synpred; in antlr3BaseRecognizerNew()
2055 synpred (pANTLR3_BASE_RECOGNIZER recognizer, void * ctx, void (*predicate)(void * ctx)) in synpred() function
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/
DJavaScript.stg106 <! mTokens backtracks with synpred at backtracking==2
211 <synpreds:{p | <synpred(p)>}; separator=",\n">
276 synpred(name) ::= <<
296 <synpred(name)>
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Perl5/
DPerl5.stg151 <! mTokens backtracks with synpred at backtracking==2
239 <synpreds:{p | <synpred(p)>}>
290 synpred(name) ::= <<
310 <synpred(name)>
/external/antlr/tool/src/main/antlr3/org/antlr/grammar/v3/
DANTLR.g105 SYN_SEMPRED; // (...) => it's a manually-specified synpred converted to sempred
341 /** Rewrite alt to have a synpred as first element;
357 // duplicate alt and make a synpred block around that dup'd alt
DANTLRv3.g67 SYN_SEMPRED; // (...) => it's a manually-specified synpred converted to sempred
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/
DActionScript.stg130 <! mTokens backtracks with synpred at backtracking==2
215 <synpreds:{p | <synpred(p)>}>
280 synpred(name) ::= <<
300 <synpred(name)>
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Scala/
DScala.stg144 <! mTokens backtracks with synpred at backtracking==2
238 <synpreds:{p | <synpred(p)>}>
299 synpred(name) ::= <<
320 <synpred(name)>
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Delphi/
DDelphi.stg261 mTokens backtracks with synpred at backtracking==2
438 <synpreds:{p | <synpred(p)>}>
530 synpred(name) ::= <<
556 <synpred(name)>
/external/antlr/gunit/src/main/antlr3/org/antlr/gunit/swingui/parsers/
DANTLRv3.g68 SYN_SEMPRED; // (...) => it's a manually-specified synpred converted to sempred
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Cpp/
DCpp.stg307 // constant conditional, - ANTLR realizes that a prediction is always true (synpred
784 <! mTokens backtracks with synpred at BACKTRACKING==2
984 <synpreds:{p | <synpred(predname=p)>}>
1070 synpred(predname) ::= <<
1091 <synpred(predname)>

12