/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Perl5/ |
D | ASTTreeParser.stg | 54 <if(backtracking)>if ( state.backtracking==0 ) {<endif> 60 <if(backtracking)>}<endif> 77 <if(backtracking)>if ( state.backtracking==0 )<endif> 118 <if(backtracking)>if ( state.backtracking==0 ) {<endif> 125 <if(backtracking)>}<endif> 127 <if(backtracking)>if ( state.backtracking==0 )<endif> 143 <if(backtracking)>if ( state.backtracking==0 ) {<endif> 150 <if(backtracking)>}<endif> 166 <if(backtracking)>if ( state.backtracking==0 ) {<endif> 173 <if(backtracking)>}<endif> [all …]
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/ |
D | ParseTreeBuilder.cs | 47 int backtracking = 0; field in Antlr.Runtime.Debug.ParseTreeBuilder 75 backtracking++; in EnterDecision() 78 backtracking--; in ExitDecision() 82 if (backtracking > 0) in EnterRule() 91 if (backtracking > 0) in ExitRule() 101 if (backtracking > 0) in ConsumeToken() 111 if (backtracking > 0) in ConsumeHiddenToken() 117 if (backtracking > 0) in RecognitionException()
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/ |
D | ParseTreeBuilder.cs | 49 int backtracking = 0; field in Antlr.Runtime.Debug.ParseTreeBuilder 83 backtracking++; in EnterDecision() 87 backtracking--; in ExitDecision() 92 if ( backtracking > 0 ) in EnterRule() 102 if ( backtracking > 0 ) in ExitRule() 114 if ( backtracking > 0 ) in ConsumeToken() 125 if ( backtracking > 0 ) in ConsumeHiddenToken() 132 if ( backtracking > 0 ) in RecognitionException()
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/ |
D | ParseTreeBuilder.java | 46 int backtracking = 0; field in ParseTreeBuilder 69 public void enterDecision(int d, boolean couldBacktrack) { backtracking++; } in enterDecision() 70 public void exitDecision(int i) { backtracking--; } in exitDecision() 73 if ( backtracking>0 ) return; in enterRule() 81 if ( backtracking>0 ) return; in exitRule() 90 if ( backtracking>0 ) return; in consumeToken() 99 if ( backtracking>0 ) return; in consumeHiddenToken() 104 if ( backtracking>0 ) return; in recognitionException()
|
/external/doclava/src/com/google/doclava/parser/ |
D | JavaParser.java | 474 if ( state.backtracking>0 && alreadyParsedRule(input, 1) ) { return ; } in compilationUnit() 636 if ( state.backtracking>0 ) { memoize(input, 1, compilationUnit_StartIndex); } in compilationUnit() 662 if ( state.backtracking>0 && alreadyParsedRule(input, 2) ) { return ; } in packageDeclaration() 687 if ( state.backtracking>0 ) { memoize(input, 2, packageDeclaration_StartIndex); } in packageDeclaration() 713 if ( state.backtracking>0 && alreadyParsedRule(input, 3) ) { return ; } in importDeclaration() 739 if (state.backtracking>0) {state.failed=true; return ;} in importDeclaration() 748 if (state.backtracking>0) {state.failed=true; return ;} in importDeclaration() 757 if (state.backtracking>0) {state.failed=true; return ;} in importDeclaration() 778 if (state.backtracking>0) {state.failed=true; return ;} in importDeclaration() 787 if (state.backtracking>0) {state.failed=true; return ;} in importDeclaration() [all …]
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/ |
D | ASTTreeParser.stg | 61 <if(backtracking)>if ( BACKTRACKING ==0 ) {<endif> 69 <if(backtracking)>}<endif> 91 <if(backtracking)>if ( BACKTRACKING ==0 ) {<endif> 97 <if(backtracking)>}<endif> 133 <if(backtracking)>if ( BACKTRACKING ==0 ) {<endif> 140 <if(backtracking)>}<endif> 142 <if(backtracking)>if ( BACKTRACKING ==0 ) {<endif> 144 <if(backtracking)>}<endif> 159 <if(backtracking)>if ( BACKTRACKING == 0 ) {<endif> 166 <if(backtracking)>}<endif> [all …]
|
D | ASTParser.stg | 53 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 56 <if(backtracking)>}<endif> 65 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 68 <if(backtracking)>}<endif> 105 <super.matchSet(postmatchCode={<if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>… 121 <super.matchSet(postmatchCode={<if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>… 129 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>ADAPTOR->addChild(ADAPTOR, root… 138 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>root_0 = (<ASTLabelType>)(ADAPT… 163 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 166 <if(backtracking)>}<endif> [all …]
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/ |
D | ASTParser.stg | 23 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 26 <if(backtracking)>}<endif> 35 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 38 <if(backtracking)>}<endif> 73 <super.matchSet(..., postmatchCode={<if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <e… 89 <super.matchSet(..., postmatchCode={<if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <e… 97 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>this.adaptor.addChild(root_0, <… 106 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>root_0 = this.adaptor.becomeRoo… 131 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 134 <if(backtracking)>}<endif> [all …]
|
D | ASTTreeParser.stg | 25 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 31 <if(backtracking)>}<endif> 48 <if(backtracking)>if ( <actions.(actionScope).synpredgate> )<endif> 89 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 96 <if(backtracking)>}<endif> 98 <if(backtracking)>if ( <actions.(actionScope).synpredgate> )<endif> 114 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 121 <if(backtracking)>}<endif> 137 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 144 <if(backtracking)>}<endif> [all …]
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/ |
D | ASTTreeParser.stg | 52 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 58 <if(backtracking)>}<endif> 75 <if(backtracking)>if ( <actions.(actionScope).synpredgate> )<endif> 116 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 123 <if(backtracking)>}<endif> 125 <if(backtracking)>if ( <actions.(actionScope).synpredgate> )<endif> 141 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 148 <if(backtracking)>}<endif> 163 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 166 <if(backtracking)>}<endif> [all …]
|
D | ASTParser.stg | 51 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 54 <if(backtracking)>}<endif> 63 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 66 <if(backtracking)>}<endif> 101 <super.matchSet(postmatchCode={<if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>… 117 <super.matchSet(postmatchCode={<if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>… 125 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>adaptor.addChild(root_0, <label… 134 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>root_0 = (<ASTLabelType>)adapto… 159 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 162 <if(backtracking)>}<endif> [all …]
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/ |
D | ASTTreeParser.stg | 53 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 59 <if(backtracking)>}<endif> 76 <if(backtracking)>if ( <actions.(actionScope).synpredgate> )<endif> 117 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 124 <if(backtracking)>}<endif> 126 <if(backtracking)>if ( <actions.(actionScope).synpredgate> )<endif> 142 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 149 <if(backtracking)>}<endif> 164 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 167 <if(backtracking)>}<endif> [all …]
|
D | ASTParser.stg | 52 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 55 <if(backtracking)>}<endif> 64 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 67 <if(backtracking)>}<endif> 102 <super.matchSet(..., postmatchCode={<if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <e… 118 <super.matchSet(..., postmatchCode={<if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <e… 126 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>adaptor.addChild(root_0, <label… 135 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>root_0 = <ASTLabelType>(adaptor… 160 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 163 <if(backtracking)>}<endif> [all …]
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/ |
D | ASTTreeParser.stg | 97 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 103 <if(backtracking)>}<endif> 121 <if(backtracking)>if ( <actions.(actionScope).synpredgate> )<endif> 164 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 171 <if(backtracking)>}<endif> 173 <if(backtracking)>if ( <actions.(actionScope).synpredgate> )<endif> 191 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 198 <if(backtracking)>}<endif> 215 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 218 <if(backtracking)>}<endif> [all …]
|
D | ASTParser.stg | 52 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 55 <if(backtracking)>}<endif> 65 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 68 <if(backtracking)>}<endif> 107 <super.matchSet(postmatchCode={<if(backtracking)>if ( <actions.(actionScope).synpredgate> )<endif> 126 <super.matchSet(postmatchCode={<if(backtracking)>if ( <actions.(actionScope).synpredgate> )<endif> 136 <if(backtracking)>if ( <actions.(actionScope).synpredgate> )<endif> 147 <if(backtracking)>if ( <actions.(actionScope).synpredgate> )<endif> 177 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 179 <if(backtracking)>}<endif> [all …]
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/modes/ |
D | filter.rb | 29 @state.backtracking = 1 47 @state.backtracking = 0 51 super( rule, start_index, success ) if @state.backtracking > 1 55 @state.backtracking > 1 ? super( rule ) : false
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/ |
D | ASTParser.stg | 54 <if(backtracking)>if (state.backtracking == 0) {<endif> 57 <if(backtracking)>}<endif> 66 <if(backtracking)>if (<actions.(actionScope).synpredgate>) {<endif> 69 <if(backtracking)>}<endif> 104 <super.matchSet(postmatchCode={<if(backtracking)>if (<actions.(actionScope).synpredgate>) <endif>ad… 120 <super.matchSet(postmatchCode={<if(backtracking)>if (<actions.(actionScope).synpredgate>) <endif>ro… 128 <if(backtracking)>if (<actions.(actionScope).synpredgate>) <endif>adaptor.AddChild(root_0, <label>.… 137 <if(backtracking)>if (<actions.(actionScope).synpredgate>) <endif>root_0 = (<ASTLabelType>)adaptor.… 162 <if(backtracking)>if (<actions.(actionScope).synpredgate>) {<endif> 165 <if(backtracking)>}<endif> [all …]
|
D | ASTTreeParser.stg | 55 <if(backtracking)>if (<actions.(actionScope).synpredgate>) {<endif> 61 <if(backtracking)>}<endif> 78 <if(backtracking)>if (<actions.(actionScope).synpredgate>)<endif> 119 <if(backtracking)>if (<actions.(actionScope).synpredgate>) {<endif> 126 <if(backtracking)>}<endif> 128 <if(backtracking)>if (<actions.(actionScope).synpredgate>)<endif> 144 <if(backtracking)>if (<actions.(actionScope).synpredgate>) {<endif> 151 <if(backtracking)>}<endif> 166 <if(backtracking)>if (<actions.(actionScope).synpredgate>) {<endif> 169 <if(backtracking)>}<endif> [all …]
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
D | ANTLRRecognizerSharedState.m | 41 @synthesize backtracking; 76 backtracking = 0; // the level of backtracking 107 backtracking = 0; // the level of backtracking 139 backtracking = aState.backtracking; 294 - (NSInteger) backtracking 296 return backtracking; 301 backtracking = value; 306 backtracking++; 311 backtracking--; 316 return backtracking > 0;
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/ |
D | ASTTreeParser.stg | 56 <if(backtracking)>if (<actions.(actionScope).synpredgate>) {<endif> 62 <if(backtracking)>}<endif> 79 <if(backtracking)>if (<actions.(actionScope).synpredgate>)<endif> 120 <if(backtracking)>if (<actions.(actionScope).synpredgate>) {<endif> 127 <if(backtracking)>}<endif> 129 <if(backtracking)>if (<actions.(actionScope).synpredgate>)<endif> 145 <if(backtracking)>if (<actions.(actionScope).synpredgate>) {<endif> 152 <if(backtracking)>}<endif> 167 <if(backtracking)>if (<actions.(actionScope).synpredgate>) {<endif> 170 <if(backtracking)>}<endif> [all …]
|
D | ASTParser.stg | 56 <if(backtracking)><\n>if (state.backtracking == 0) {<endif> 59 <if(backtracking)><\n>}<endif> 70 <if(backtracking)><\n>if (<actions.(actionScope).synpredgate>) {<endif> 73 <if(backtracking)><\n>}<endif> 109 <super.matchSet(postmatchCode={<if(!ruleDescriptor.isSynPred)><if(backtracking)>if (<actions.(actio… 125 <super.matchSet(postmatchCode={<if(!ruleDescriptor.isSynPred)><if(backtracking)>if (<actions.(actio… 134 <\n><if(backtracking)>if (<actions.(actionScope).synpredgate>) <endif>adaptor.AddChild(root_0, <lab… 144 <if(backtracking)>if (<actions.(actionScope).synpredgate>) <endif>root_0 = (<ASTLabelType>)adaptor.… 170 <if(backtracking)>if (<actions.(actionScope).synpredgate>) {<endif> 173 <if(backtracking)>}<endif> [all …]
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Delphi/ |
D | ASTParser.stg | 55 <if(backtracking)> 61 <if(backtracking)> 72 <if(backtracking)> 78 <if(backtracking)> 115 <super.matchSet(..., postmatchCode={<if(backtracking)>if (State.Backtracking = 0) then <endif>Adapt… 131 <super.matchSet(..., postmatchCode={<if(backtracking)>if (State.Backtracking = 0) then <endif>Root[… 139 <if(backtracking)>if (State.Backtracking = 0) then <endif>Adaptor.AddChild(Root[0], <label>.Tree); 148 <if(backtracking)>if (State.Backtracking = 0) then <endif>Root[0] := Adaptor.BecomeRoot(<label>.Tre… 173 <if(backtracking)> 179 <if(backtracking)> [all …]
|
D | ASTTreeParser.stg | 62 <if(backtracking)>if (State.Backtracking = 0) then 69 <if(backtracking)>end;<endif> 86 <if(backtracking)>if (State.Backtracking = 0) then <endif> 128 <if(backtracking)> 138 <if(backtracking)> 142 <if(backtracking)>if (State.Backtracking = 0) then <endif> 158 <if(backtracking)> 168 <if(backtracking)> 186 <if(backtracking)>if (State.Backtracking = 0) then begin <endif> 193 <if(backtracking)>end;<endif> [all …]
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/ |
D | recognizers.rb | 112 self.backtracking = 0 392 raise( BacktrackingFailed ) if @state.backtracking > 0 828 @state.backtracking > 0 832 @state.backtracking 836 @state.backtracking = n 840 @state.backtracking += 1 850 @state.backtracking -= 1 857 alias backtracking backtracking_level 858 alias backtracking= backtracking_level= 885 @state.backtracking > 0 and @error_output.printf( [all …]
|
D | debug.rb | 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 -= 1
|