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

1 23 4 5 6 7 8 910

  /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
IntStream.java 92 * move backwards such as when backtracking.
99 * backtracking using the mark/rewind mechanism that restores state and
102 * Currently, this method is only used for efficient backtracking using
BaseRecognizer.java 38 * backtracking.
81 // wack everything related to backtracking and memoization
82 state.backtracking = 0;
111 if ( state.backtracking>0 ) {
747 public int getBacktrackingLevel() { return state.backtracking; }
749 public void setBacktrackingLevel(int n) { state.backtracking = n; }
751 /** Return whether or not a backtracking attempt failed. */
867 if ( state.backtracking>0 ) {
868 System.out.print(" backtracking="+state.backtracking);
    [all...]
  /external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/misc/
LookaheadStream.java 35 * in the buffer for backtracking purposes. Any markers force the FastQueue
75 * it's the same, just checks for backtracking.
80 // have we hit end of buffer and not backtracking?
  /external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/
ANTLRIntStream.h 68 // move backwards such as when backtracking.
74 // backtracking using the mark/rewind mechanism that restores state and
77 // Currently, this method is only used for efficient backtracking, but
  /external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/
ANTLRIntStream.h 68 // move backwards such as when backtracking.
74 // backtracking using the mark/rewind mechanism that restores state and
77 // Currently, this method is only used for efficient backtracking, but
  /external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/
ANTLRIntStream.h 68 // move backwards such as when backtracking.
74 // backtracking using the mark/rewind mechanism that restores state and
77 // Currently, this method is only used for efficient backtracking, but
  /external/antlr/antlr-3.4/runtime/ObjC/Framework/
ANTLRIntStream.h 76 // move backwards such as when backtracking.
82 // backtracking using the mark/rewind mechanism that restores state and
85 // Currently, this method is only used for efficient backtracking, but
ANTLRBaseRecognizer.m 112 state.backtracking = 0; // the level of backtracking
133 state.backtracking = 0; // the level of backtracking
156 state.backtracking = 0; // the level of backtracking
188 state.backtracking = 0; // the level of backtracking
239 if (state.backtracking > 0) {
    [all...]
  /external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/
BaseRecognizer.pm 58 # wack everything related to backtracking and memoization
59 $state->backtracking(0);
77 if ($self->state->backtracking > 0) {
482 return $self->state->backtracking;
487 $self->state->backtracking($n);
582 if ($self->state->backtracking > 0) {
583 print ' backtracking=', $self->state->backtracking;
597 if ($self->state->backtracking > 0) {
598 print ' backtracking=', $self->state->backtracking
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Ruby/
Ruby.stg 20 profile, backtracking, synpreds, memoize, numRules, fileName, ANTLRVersion, generatedTimestamp,
423 <if(backtracking)>
424 @state.backtracking > 0 and raise( ANTLR3::Error::BacktrackingFailed )<\n>
429 <if(memoize)><if(backtracking)>
434 <if(memoize)><if(backtracking)>
541 if @state.backtracking > 0 and already_parsed_rule?( __method__ )
558 <if(memoize)><if(backtracking)>
559 memoize( __method__, <ruleDescriptor.name>_start_index, success ) if @state.backtracking > 0<\n>
570 actionGate() ::= "@state.backtracking == 0"
753 <if(backtracking)>
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Delphi/
Delphi.stg 69 * backtracking (Boolean): backtracking mode?
85 backtracking, synpreds, memoize, numRules,
233 * a token and then try again. backtracking needs to be set as well.
236 * at backtracking==1.
256 State.Backtracking := 1; <! means we won't throw slow exception !>
259 State.Backtracking := 0;
261 mTokens backtracks with synpred at backtracking==2
277 // shouldn't happen in backtracking mode, but...
288 if (State.Backtracking > 1) the
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
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...]
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)>
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
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...]
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)>
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/
C.stg 93 backtracking,
226 #undef BACKTRACKING
254 #define BACKTRACKING LEXSTATE->backtracking
402 #define BACKTRACKING PSRSTATE->backtracking
441 #undef BACKTRACKING
474 #define BACKTRACKING PSRSTATE->backtracking
547 backtracking,
    [all...]
  /external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/
debug.rb 74 # tracks the backtracking depth
75 :backtracking,
111 # self.backtracking = 0
121 self.backtracking = 0
210 @debug_listener.begin_backtrack( @state.backtracking )
214 @debug_listener.end_backtrack( @state.backtracking, successful )
218 @state.backtracking += 1
219 @debug_listener.begin_backtrack( @state.backtracking )
229 @debug_listener.end_backtrack( @state.backtracking, ( success rescue nil ) )
230 @state.backtracking -=
    [all...]
  /external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
BaseRecognizer.as 6 * backtracking.
46 // wack everything related to backtracking and memoization
47 state.backtracking = 0;
73 if ( state.backtracking>0 ) {
668 return state.backtracking;
672 state.backtracking = n;
675 /** Return whether or not a backtracking attempt failed. */
793 if ( state.backtracking>0 ) {
794 trace(" backtracking="+state.backtracking);
    [all...]
  /external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/
DefineGrammarItemsWalker.g 322 // must run during backtracking
349 // if ( state.backtracking == 0 )
554 currentRewriteRule = $start; // has to execute during backtracking
555 if ( state.backtracking == 0 )
580 if ( state.backtracking == 0 )
627 if ( 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)>
  /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)>
  /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/runtime/C/include/
antlr3intstream.h 164 * move backwards such as when backtracking.
171 * backtracking using the mark/rewind mechanism that restores state and
174 * Currently, this method is only used for efficient backtracking, but
antlr3recognizersharedstate.h 108 /** If 0, no backtracking is going on. Safe to exec actions etc...
109 * If >0 then it's the level of backtracking.
111 ANTLR3_INT32 backtracking; member in struct:ANTLR3_RECOGNIZER_SHARED_STATE_struct
  /external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
IIntStream.cs 122 /// will use seek to move backwards such as when backtracking.
129 /// backtracking using the
134 /// Currently, this method is only used for efficient backtracking using

Completed in 429 milliseconds

1 23 4 5 6 7 8 910