HomeSort by relevance Sort by last modified time
    Searched refs:backtracking (Results 51 - 75 of 106) sorted by null

1 23 4 5

  /external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
Lexer.cs 257 if ( state.backtracking > 0 )
281 if ( state.backtracking > 0 )
298 if ( state.backtracking > 0 )
  /external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Test/SlimParsing/
SlimLexer.cs 273 if ( state.backtracking > 0 )
297 if ( state.backtracking > 0 )
314 if ( state.backtracking > 0 )
  /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
Lexer.java 172 if ( state.backtracking>0 ) {
193 if ( state.backtracking>0 ) {
210 if ( state.backtracking>0 ) {
  /external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/
Lexer.js 130 if ( this.state.backtracking>0 ) {
144 if ( this.state.backtracking>0 ) {
163 if ( this.state.backtracking>0 ) {
DFA.js 94 if (this.recognizer.state.backtracking>0) {
  /external/antlr/antlr-3.4/runtime/Python/antlr3/
recognizers.py 75 # If 0, no backtracking is going on. Safe to exec actions etc...
76 # If >0 then it's the level of backtracking.
77 self.backtracking = 0
133 backtracking.
191 # wack everything related to backtracking and memoization
192 self._state.backtracking = 0
217 if self._state.backtracking > 0:
    [all...]
dfa.py 51 ## Which recognizer encloses this DFA? Needed to check backtracking
153 if self.recognizer._state.backtracking > 0:
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/
AST.stg 96 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>stream_<token>.add(<label>);<\n>
110 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>stream_<token>.add(<label>);<\n>
122 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>stream_<rule.name>.add(<label>.tree);
134 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>stream_<rule>.add(<label>.tree);
163 <if(backtracking)>
188 <if(backtracking)>
ActionScript.stg 45 backtracking, synpreds, memoize, numRules,
109 * a token and then try again. backtracking needs to be set as well.
111 * at backtracking==1.
127 this.state.backtracking=1; <! means we won't throw slow exception !>
130 this.state.backtracking=0;
131 <! mTokens backtracks with synpred at backtracking==2
143 // shouldn't happen in backtracking mode, but...
156 if ( this.state.backtracking>1 ) super.memoize(input, ruleIndex, ruleStartIndex);
160 if ( this.state.backtracking>1 ) return super.alreadyParsedRule(input, ruleIndex);
165 actionGate() ::= "this.state.backtracking==0
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
AST.stg 122 <if(backtracking)>if (<actions.(actionScope).synpredgate>) <endif>stream_<token>.Add(<label>);<\n>
136 <if(backtracking)>if (<actions.(actionScope).synpredgate>) <endif>stream_<token>.Add(<label>);
148 <if(backtracking)>if (<actions.(actionScope).synpredgate>) <endif>stream_<rule.name>.Add(<label>.Tree);
160 <if(backtracking)>if (<actions.(actionScope).synpredgate>) <endif>stream_<rule>.Add(<label>.Tree);
189 <if(backtracking)>
208 <if(backtracking)>
CSharp2.stg 47 backtracking, synpreds, memoize, numRules,
201 * a token and then try again. backtracking needs to be set as well.
203 * at backtracking==1.
226 state.backtracking=1;<! means we won't throw slow exception !>
229 state.backtracking=0;
230 <! mTokens backtracks with synpred at backtracking==2
245 // shouldn't happen in backtracking mode, but...
254 if (state.backtracking > 1)
260 if (state.backtracking > 1)
267 actionGate() ::= "state.backtracking == 0
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
AST.stg 120 <if(backtracking)>if (<actions.(actionScope).synpredgate>) <endif>stream_<token>.Add(<label>);<\n>
134 <if(backtracking)>if (<actions.(actionScope).synpredgate>) <endif>stream_<token>.Add(<label>);
146 <if(backtracking)>if (<actions.(actionScope).synpredgate>) <endif>stream_<rule.name>.Add(<label>.Tree);
158 <if(backtracking)>if (<actions.(actionScope).synpredgate>) <endif>stream_<rule>.Add(<label>.Tree);
187 <if(backtracking)>
206 <if(backtracking)>
CSharp3.stg 48 backtracking, synpreds, memoize, numRules,
196 * a token and then try again. backtracking needs to be set as well.
198 * at backtracking==1.
221 state.backtracking=1;<! means we won't throw slow exception !>
224 state.backtracking=0;
225 <! mTokens backtracks with synpred at backtracking==2
240 // shouldn't happen in backtracking mode, but...
249 if (state.backtracking > 1)
255 if (state.backtracking > 1)
262 actionGate() ::= "state.backtracking == 0
    [all...]
ST.stg 66 <if(backtracking)>
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Delphi/
AST.stg 140 <if(backtracking)>if (State.Backtracking = 0) then <endif>(Locals['Stream_<token>'] as IRewriteRuleElementStream).Add(<label>);<\n>
154 <if(backtracking)>if (State.Backtracking = 0) then <endif>(Locals['Stream_<token>'] as IRewriteRuleElementStream).Add(<label>);<\n>
170 <if(backtracking)>if (State.Backtracking = 0) then <endif>(Locals['Stream_<rule.name>'] as IRewriteRuleElementStream).Add(<label>.Tree);<\n>
182 <if(backtracking)>if (State.Backtracking = 0) then <endif>(Locals['Stream_<rule>'] as IRewriteRuleElementStream).Add(<label>.Tree);
211 <if(backtracking)>
212 if (State.Backtracking = 0) the
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/
AST.stg 95 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>stream_<token>.add(<label>);<\n>
109 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>stream_<token>.add(<label>);<\n>
121 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>stream_<rule.name>.add(<label>.getTree());
133 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>stream_<rule>.add(<label>.getTree());
163 <if(backtracking)>
188 <if(backtracking)>
ST.stg 81 <if(backtracking)>
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/
AST.stg 91 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>stream_<token>.add(<label>);<\n>
105 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>stream_<token>.add(<label>);<\n>
121 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>stream_<rule.name>.add(<label>.getTree());
133 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>stream_<rule>.add(<label>.getTree());
162 <if(backtracking)>
187 <if(backtracking)>
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Scala/
Scala.stg 49 backtracking, synpreds, memoize, numRules,
117 * a token and then try again. backtracking needs to be set as well.
119 * at backtracking==1.
140 state.backtracking=1 <! means we won't throw slow exception !>
143 state.backtracking=0
144 <! mTokens backtracks with synpred at backtracking==2
157 // shouldn't happen in backtracking mode, but...
167 if ( state.backtracking>1 ) super.memoize(input, ruleIndex, ruleStartIndex)
171 if ( state.backtracking>1 ) return super.alreadyParsedRule(input, ruleIndex)
176 actionGate() ::= "state.backtracking==0
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
ObjC.stg 97 backtracking,
169 backtracking,
224 backtracking,
383 * a token and then try again. backtracking needs to be set as well.
385 * at backtracking==1.
402 state.backtracking = 1; /* means we won't throw slow exception */
405 state.backtracking = 0;
406 /* mTokens backtracks with synpred at backtracking==2
417 // shouldn't happen in backtracking mode, but...
428 if ( state.backtracking > 1 ) [super memoize:anInput RuleIndex:ruleIndex StartIndex:ruleStartIndex]
    [all...]
  /external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
RecognizerSharedState.as 40 /** If 0, no backtracking is going on. Safe to exec actions etc...
41 * If >0 then it's the level of backtracking.
43 public var backtracking:int = 0; variable
  /external/antlr/antlr-3.4/runtime/C/src/
antlr3cyclicdfa.c 55 // In backtracking mode, we just set the failed flag so that the
59 if (rec->state->backtracking > 0)
  /external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/
DFA.pm 49 # Which recognizer encloses this DFA? Needed to check backtracking
141 if ($self->recognizer->state->backtracking > 0) {
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Python/
ST.stg 80 <if(backtracking)>
  /external/v8/test/webkit/fast/regex/
non-capturing-backtracking.js 25 "This page tests for proper backtracking with greedy quantifiers and non-capturing parentheses."

Completed in 3471 milliseconds

1 23 4 5