/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
RecognizerSharedState.js | 39 /** If 0, no backtracking is going on. Safe to exec actions etc... 40 * If >0 then it's the level of backtracking. 42 this.backtracking = 0;
|
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/ |
ParseTreeBuilder.cs | 47 int backtracking = 0; field in class:Antlr.Runtime.Debug.ParseTreeBuilder 73 /** <summary>Backtracking or cyclic DFA, don't want to add nodes to tree</summary> */ 75 backtracking++; 78 backtracking--; 82 if (backtracking > 0) 91 if (backtracking > 0) 101 if (backtracking > 0) 111 if (backtracking > 0) 117 if (backtracking > 0)
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/ |
ParseTreeBuilder.cs | 49 int backtracking = 0; field in class:Antlr.Runtime.Debug.ParseTreeBuilder 80 /** <summary>Backtracking or cyclic DFA, don't want to add nodes to tree</summary> */ 83 backtracking++; 87 backtracking--; 92 if ( backtracking > 0 ) 102 if ( backtracking > 0 ) 114 if ( backtracking > 0 ) 125 if ( backtracking > 0 ) 132 if ( backtracking > 0 )
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/ |
ParseTreeBuilder.java | 46 int backtracking = 0; field in class:ParseTreeBuilder 68 /** Backtracking or cyclic DFA, don't want to add nodes to tree */ 69 public void enterDecision(int d, boolean couldBacktrack) { backtracking++; } 70 public void exitDecision(int i) { backtracking--; } 73 if ( backtracking>0 ) return; 81 if ( backtracking>0 ) return; 90 if ( backtracking>0 ) return; 99 if ( backtracking>0 ) return; 104 if ( backtracking>0 ) return;
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/ |
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> ) <endif>adaptor.addChild(root_0, <createNodeFromToken(...)>);})> 118 <super.matchSet(..., postmatchCode={<if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>root_0 = <ASTLabelType>(adaptor.becomeRoot(<createNodeFromToken(...)>, root_0));})> 126 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>adaptor.addChild(root_0, <label>.tree); 135 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>root_0 = <ASTLabelType>(adaptor.becomeRoot(<label>.tree, root_0)); 160 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 163 <if(backtracking)>}<endif [all...] |
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...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/ |
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>adaptor.addChild(root_0, <createNodeFromToken(...)>);}, ...)> 117 <super.matchSet(postmatchCode={<if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>root_0 = (<ASTLabelType>)adaptor.becomeRoot(<createNodeFromToken(...)>, root_0);},...)> 125 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>adaptor.addChild(root_0, <label>.getTree()); 134 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>root_0 = (<ASTLabelType>)adaptor.becomeRoot(<label>.getTree(), root_0); 159 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 162 <if(backtracking)>}<endif [all...] |
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...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/ |
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> ) <endif>this.adaptor.addChild(root_0, <createNodeFromToken(...)>);})> 89 <super.matchSet(..., postmatchCode={<if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>root_0 = this.adaptor.becomeRoot(<createNodeFromToken(...)>, root_0);})> 97 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>this.adaptor.addChild(root_0, <label>.getTree()); 106 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>root_0 = this.adaptor.becomeRoot(<label>.getTree(), root_0); 131 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif> 134 <if(backtracking)>}<endif [all...] |
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/Perl5/ |
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 [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/ |
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 [all...] |
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>ADAPTOR->addChild(ADAPTOR, root_0, <createNodeFromToken(...)>);},...)> 121 <super.matchSet(postmatchCode={<if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>root_0 = (<ASTLabelType>)(ADAPTOR->becomeRoot(ADAPTOR, <createNodeFromToken(...)>, root_0));},...)> 129 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>ADAPTOR->addChild(ADAPTOR, root_0, <label>.tree); 138 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) <endif>root_0 = (<ASTLabelType>)(ADAPTOR->becomeRoot(ADAPTOR, <label>.tree, root_0)); 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/CSharp2/ |
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>adaptor.AddChild(root_0, <createNodeFromToken(...)>);}, ...)> 120 <super.matchSet(postmatchCode={<if(backtracking)>if (<actions.(actionScope).synpredgate>) <endif>root_0 = (<ASTLabelType>)adaptor.BecomeRoot(<createNodeFromToken(...)>, root_0);}, ...)> 128 <if(backtracking)>if (<actions.(actionScope).synpredgate>) <endif>adaptor.AddChild(root_0, <label>.Tree); 137 <if(backtracking)>if (<actions.(actionScope).synpredgate>) <endif>root_0 = (<ASTLabelType>)adaptor.BecomeRoot(<label>.Tree, root_0); 162 <if(backtracking)>if (<actions.(actionScope).synpredgate>) {<endif [all...] |
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/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/ |
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.(actionScope).synpredgate>) <endif>adaptor.AddChild(root_0, <createNodeFromToken(...)>);<endif>}, ...)> 125 <super.matchSet(postmatchCode={<if(!ruleDescriptor.isSynPred)><if(backtracking)>if (<actions.(actionScope).synpredgate>) <endif>root_0 = (<ASTLabelType>)adaptor.BecomeRoot(<createNodeFromToken(...)>, root_0);<endif>}, ...)> 134 <\n><if(backtracking)>if (<actions.(actionScope).synpredgate>) <endif>adaptor.AddChild(root_0, <label>.Tree); 144 <if(backtracking)>if (<actions.(actionScope).synpredgate>) <endif>root_0 = (<ASTLabelType>)adaptor.BecomeRoot(<label>.Tree, root_0); 170 <if(backtracking)>if (<actions.(actionScope).synpredgate>) {<endif [all...] |
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...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Delphi/ |
ASTParser.stg | 55 <if(backtracking)> 56 if (State.Backtracking = 0) then 61 <if(backtracking)> 72 <if(backtracking)> 73 if (State.Backtracking = 0) then 78 <if(backtracking)> 115 <super.matchSet(..., postmatchCode={<if(backtracking)>if (State.Backtracking = 0) then <endif>Adaptor.AddChild(Root[0], <createNodeFromToken(...)>);})> 131 <super.matchSet(..., postmatchCode={<if(backtracking)>if (State.Backtracking = 0) then <endif>Root[0] := Adaptor.BecomeRoot(<createNodeFromToken(...)>, Root[0]) as I<ASTLabelT (…) [all...] |
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)> 129 if (State.Backtracking = 0) then 138 <if(backtracking)> 142 <if(backtracking)>if (State.Backtracking = 0) then <endif [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/ |
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...] |
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...] |
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/modes/ |
filter.rb | 29 @state.backtracking = 1 37 # token! backtracks with synpred at backtracking==2 43 # shouldn't happen in backtracking mode, but... 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/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
RecognizerSharedState.cs | 90 * If 0, no backtracking is going on. Safe to exec actions etc... 91 * If >0 then it's the level of backtracking. 94 public int backtracking; field in class:Antlr.Runtime.RecognizerSharedState 169 backtracking = state.backtracking;
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
RecognizerSharedState.cs | 92 * If 0, no backtracking is going on. Safe to exec actions etc... 93 * If >0 then it's the level of backtracking. 96 public int backtracking; field in class:Antlr.Runtime.RecognizerSharedState 173 backtracking = state.backtracking;
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
RecognizerSharedState.java | 68 /** If 0, no backtracking is going on. Safe to exec actions etc... 69 * If >0 then it's the level of backtracking. 71 public int backtracking = 0; field in class:RecognizerSharedState 132 this.backtracking = state.backtracking;
|