/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
RecognizerSharedState.java | 74 * the stop token index for each rule. ruleMemo[ruleIndex] is 80 public Map[] ruleMemo; 133 if ( state.ruleMemo!=null ) { 134 this.ruleMemo = new Map[state.ruleMemo.length]; 135 System.arraycopy(state.ruleMemo, 0, this.ruleMemo, 0, state.ruleMemo.length);
|
BaseRecognizer.java | 83 for (int i = 0; state.ruleMemo!=null && i < state.ruleMemo.length; i++) { // wipe cache 84 state.ruleMemo[i] = null; 794 if ( state.ruleMemo[ruleIndex]==null ) { 795 state.ruleMemo[ruleIndex] = new HashMap(); 798 (Integer)state.ruleMemo[ruleIndex].get(new Integer(ruleStartIndex)); 838 if ( state.ruleMemo==null ) { 841 if ( ruleIndex >= state.ruleMemo.length ) { 842 System.err.println("!!!!!!!!! memo size is "+state.ruleMemo.length+", but rule index is "+ruleIndex); 844 if ( state.ruleMemo[ruleIndex]!=null ) [all...] |
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/ |
RecognizerSharedState.js | 45 * the stop token index for each rule. ruleMemo[ruleIndex] is 51 this.ruleMemo = null;
|
BaseRecognizer.js | 85 if (this.state.ruleMemo) { 86 for (i=0, len=this.state.ruleMemo.length; i<len; i++) { 87 this.state.ruleMemo[i] = null; [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
RecognizerSharedState.cs | 98 * the stop token index for each rule. ruleMemo[ruleIndex] is 105 public IDictionary<int, int>[] ruleMemo; 171 if (state.ruleMemo != null) 172 ruleMemo = (IDictionary<int, int>[])state.ruleMemo.Clone();
|
BaseRecognizer.cs | 110 for (int i = 0; state.ruleMemo != null && i < state.ruleMemo.Length; i++) { // wipe cache 111 state.ruleMemo[i] = null; [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
RecognizerSharedState.cs | 100 * the stop token index for each rule. ruleMemo[ruleIndex] is 107 public IDictionary<int, int>[] ruleMemo; 175 if ( state.ruleMemo != null ) 176 ruleMemo = (IDictionary<int, int>[])state.ruleMemo.Clone();
|
BaseRecognizer.cs | 119 for ( int i = 0; state.ruleMemo != null && i < state.ruleMemo.Length; i++ ) 121 state.ruleMemo[i] = null; [all...] |
/external/antlr/antlr-3.4/runtime/C/include/ |
antlr3recognizersharedstate.h | 114 * Tracks the stop token index for each rule. ruleMemo[ruleIndex] is 120 pANTLR3_INT_TRIE ruleMemo;
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/ |
ANTLRRecognizerSharedState.h | 40 ANTLRRuleStack *ruleMemo; // store previous results of matching rules so we don't have to do it again. Hook in incremental stuff here, too. 58 @property (retain, getter=getRuleMemo, setter=setRuleMemo:) ANTLRRuleStack *ruleMemo;
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/ |
ANTLRRecognizerSharedState.h | 40 ANTLRRuleStack *ruleMemo; // store previous results of matching rules so we don't have to do it again. Hook in incremental stuff here, too. 58 @property (retain, getter=getRuleMemo, setter=setRuleMemo:) ANTLRRuleStack *ruleMemo;
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/ |
ANTLRRecognizerSharedState.h | 40 ANTLRRuleStack *ruleMemo; // store previous results of matching rules so we don't have to do it again. Hook in incremental stuff here, too. 58 @property (retain, getter=getRuleMemo, setter=setRuleMemo:) ANTLRRuleStack *ruleMemo;
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ANTLRRecognizerSharedState.h | 41 __strong ANTLRRuleStack *ruleMemo; // store previous results of matching rules so we don't have to do it again. Hook in incremental stuff here, too. 59 @property (retain, getter=getRuleMemo, setter=setRuleMemo:) ANTLRRuleStack *ruleMemo;
|
/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3baserecognizer.c | 121 recognizer->state->ruleMemo = NULL; 208 if (recognizer->state->ruleMemo != NULL) 210 recognizer->state->ruleMemo->free(recognizer->state->ruleMemo); 211 recognizer->state->ruleMemo = NULL; [all...] |
/external/antlr/antlr-3.4/runtime/Python/antlr3/ |
recognizers.py | 80 # the stop token index for each rule. ruleMemo[ruleIndex] is 85 self.ruleMemo = None 193 if self._state.ruleMemo is not None: 194 self._state.ruleMemo = {} [all...] |
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/ |
BaseRecognizer.as | 48 for (var i:int = 0; state.ruleMemo!=null && i < state.ruleMemo.length; i++) { // wipe cache 49 state.ruleMemo[i] = null; 722 if ( state.ruleMemo[ruleIndex]==undefined ) { 723 state.ruleMemo[ruleIndex] = new Array(); 725 var stopIndex:* = state.ruleMemo[ruleIndex][ruleStartIndex]; 765 if ( state.ruleMemo==null ) { 768 if ( ruleIndex >= state.ruleMemo.length ) { 769 trace("!!!!!!!!! memo size is "+state.ruleMemo.length+", but rule index is "+ruleIndex); 772 if ( state.ruleMemo[ruleIndex]!=null ) [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/ |
ObjC.stg | 332 if ( state.ruleMemo == nil ) { 333 state.ruleMemo = [[ANTLRRuleStack newANTLRRuleStackWithSize:<numRules>+1] retain]; 335 if ( [state.ruleMemo count] == 0 ) { 337 <! [state.ruleMemo addObject:[NSNull null]]; /* dummy entry to ensure 1-basedness. */ !> 339 [state.ruleMemo addObject:[ANTLRHashRule newANTLRHashRuleWithLen:17]]; 756 state.ruleMemo = [[ANTLRRuleStack newANTLRRuleStack:<numRules>+1] retain];<\n> <! index from 1..n !> [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ActionScript/ |
ActionScript.stg | 84 this.state.ruleMemo = new Array(<numRules>+1);<\n> <! index from 1..n !> 228 this.state.ruleMemo = new Array(<length(grammar.allImportedRules)>+1);<\n> <! index from 1..n !> [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/ |
Java.stg | 110 state.ruleMemo = new HashMap[<numRules>+1];<\n> <! index from 1..n !> 266 this.state.ruleMemo = new HashMap[<length(grammar.allImportedRules)>+1];<\n> <! index from 1..n !> [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Python/ |
Python.stg | 125 self._state.ruleMemo = {} 254 self._state.ruleMemo = {} [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Scala/ |
Scala.stg | 94 state.ruleMemo = new Array[java.util.Map[_,_]](<numRules>+1)<\n> <! index from 1..n !> 247 this.state.ruleMemo = new Array[java.util.Map[_,_]](<length(grammar.allImportedRules)>+1)<\n> <! index from 1..n !> [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/ |
C.stg | 203 #undef RULEMEMO 279 #define RULEMEMO LEXSTATE->ruleMemo 365 #undef RULEMEMO 406 #define RULEMEMO PSRSTATE->ruleMemo 443 #undef RULEMEMO 478 #define RULEMEMO PSRSTATE->ruleMemo 897 if (RULEMEMO != NULL [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/ |
CSharp2.stg | 135 state.ruleMemo = new System.Collections.Generic.Dictionary\<int, int>[<numRules>+1];<\n><! index from 1..n !> 396 this.state.ruleMemo = new System.Collections.Generic.Dictionary\<int, int>[<length(grammar.allImportedRules)>+1];<\n><! index from 1..n !> [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/ |
CSharp3.stg | 134 state.ruleMemo = new System.Collections.Generic.Dictionary\<int, int>[<numRules>+1];<\n><! index from 1..n !> 378 this.state.ruleMemo = new System.Collections.Generic.Dictionary\<int, int>[<length(grammar.allImportedRules)>+1];<\n><! index from 1..n !> [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/CPP/ |
CPP.stg | 130 // @TODO backtracking ruleMemo = new HashMap[<numRules>+1];<\n> <! index from 1..n !> 288 ruleMemo = new HashMap[<numRules>+1];<\n> <! index from 1..n !> [all...] |