Home
last modified time | relevance | path

Searched refs:ruleStartIndex (Results 1 – 25 of 33) sorted by relevance

12

/external/antlr/runtime/JavaScript/src/org/antlr/runtime/
DBaseRecognizer.js842 getRuleMemoization: function(ruleIndex, ruleStartIndex) { argument
847 this.state.ruleMemo[ruleIndex][ruleStartIndex];
889 ruleStartIndex) argument
900 this.state.ruleMemo[ruleIndex][ruleStartIndex] = stopTokenIndex;
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/
DBaseRecognizer.java793 public int getRuleMemoization(int ruleIndex, int ruleStartIndex) { in getRuleMemoization() argument
798 state.ruleMemo[ruleIndex].get(ruleStartIndex); in getRuleMemoization()
835 int ruleStartIndex) in memoize() argument
845 state.ruleMemo[ruleIndex].put(ruleStartIndex, stopTokenIndex); in memoize()
/external/antlr/runtime/ObjC/Framework/
DBaseRecognizer.h159 - (NSInteger) getRuleMemoization:(NSInteger)ruleIndex StartIndex:(NSInteger)ruleStartIndex;
163 StartIndex:(NSInteger)ruleStartIndex;
DBaseRecognizer.m1002 - (NSInteger)getRuleMemoization:(NSInteger)ruleIndex StartIndex:(NSInteger)ruleStartIndex
1010 stopIndexI = [aHashRule getRuleMemoStopIndex:ruleStartIndex];
1049 StartIndex:(NSInteger)ruleStartIndex
1065 … [aRuleStack putHashRuleAtRuleIndex:ruleIndex StartIndex:ruleStartIndex StopIndex:stopTokenIndex];
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/
DBaseRecognizer.cs850 public virtual int GetRuleMemoization(int ruleIndex, int ruleStartIndex) { in GetRuleMemoization() argument
856 if (!state.ruleMemo[ruleIndex].TryGetValue(ruleStartIndex, out stopIndex)) in GetRuleMemoization()
897 int ruleStartIndex) { in Memoize() argument
908 state.ruleMemo[ruleIndex][ruleStartIndex] = stopTokenIndex; in Memoize()
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/
DBaseRecognizer.cs960 public virtual int GetRuleMemoization( int ruleIndex, int ruleStartIndex ) in GetRuleMemoization() argument
968 if ( !state.ruleMemo[ruleIndex].TryGetValue( ruleStartIndex, out stopIndex ) ) in GetRuleMemoization()
1014 int ruleStartIndex ) in Memoize() argument
1029 state.ruleMemo[ruleIndex][ruleStartIndex] = stopTokenIndex; in Memoize()
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
DDbg.stg84 …d) memoize:(id<IntStream>)input RuleIndex:(NSInteger)ruleIndex StartIndex:(NSInteger)ruleStartIndex
86 …[((Profiler)dbg) memoize:input RuleIndex:ruleIndex StartIndex:ruleStartIndex [<grammar.composite.r…
87 [super memoize:input RuleIndex:ruleIndex StartIndex:ruleStartIndex];
/external/antlr/runtime/Python/antlr3/
Drecognizers.py911 def getRuleMemoization(self, ruleIndex, ruleStartIndex): argument
924 ruleStartIndex, self.MEMO_RULE_UNKNOWN
953 def memoize(self, input, ruleIndex, ruleStartIndex, success): argument
965 self._state.ruleMemo[ruleIndex][ruleStartIndex] = stopTokenIndex
/external/antlr/runtime/Python3/antlr3/
Drecognizers.py886 def getRuleMemoization(self, ruleIndex, ruleStartIndex): argument
899 ruleStartIndex, self.MEMO_RULE_UNKNOWN
928 def memoize(self, input, ruleIndex, ruleStartIndex, success): argument
940 self._state.ruleMemo[ruleIndex][ruleStartIndex] = stopTokenIndex
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
DDbg.stg74 public override void Memoize( IIntStream input, int ruleIndex, int ruleStartIndex )
76 …((Profiler)dbg).Memoize(input, ruleIndex, ruleStartIndex, <grammar.composite.rootGrammar.recognize…
77 base.Memoize(input, ruleIndex, ruleStartIndex);
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Java/
DDbg.stg74 int ruleStartIndex)
76 …((Profiler)dbg).memoize(input, ruleIndex, ruleStartIndex, <grammar.composite.rootGrammar.recognize…
77 super.memoize(input, ruleIndex, ruleStartIndex);
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Test/BuildOptions/
DProfileTreeGrammar.cs83 public virtual void Memoize( IIntStream input, int ruleIndex, int ruleStartIndex ) in Memoize() argument
85 …((Profiler)dbg).Memoize(input, ruleIndex, ruleStartIndex, ProfileTreeGrammar.ruleNames[ruleIndex]); in Memoize()
86 super.Memoize(input, ruleIndex, ruleStartIndex); in Memoize()
DProfileGrammarParser.cs93 public virtual void Memoize( IIntStream input, int ruleIndex, int ruleStartIndex ) in Memoize() argument
95 …((Profiler)dbg).Memoize(input, ruleIndex, ruleStartIndex, ProfileGrammarParser.ruleNames[ruleIndex… in Memoize()
96 super.Memoize(input, ruleIndex, ruleStartIndex); in Memoize()
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
DDbg.stg75 public override void Memoize( IIntStream input, int ruleIndex, int ruleStartIndex )
77 …((Profiler)dbg).Memoize(input, ruleIndex, ruleStartIndex, <grammar.composite.rootGrammar.recognize…
78 base.Memoize(input, ruleIndex, ruleStartIndex);
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python3/
DDbg.stg109 int ruleStartIndex)
111 …((Profiler)self._dbg).memoize(input, ruleIndex, ruleStartIndex, <grammar.composite.rootGrammar.rec…
112 super.memoize(input, ruleIndex, ruleStartIndex);
DPython3.stg206 def memoize(self, input, ruleIndex, ruleStartIndex, success):
209 super().memoize(input, ruleIndex, ruleStartIndex, success)
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Python/
DDbg.stg109 int ruleStartIndex)
111 …((Profiler)self._dbg).memoize(input, ruleIndex, ruleStartIndex, <grammar.composite.rootGrammar.rec…
112 super.memoize(input, ruleIndex, ruleStartIndex);
/external/cldr/tools/java/org/unicode/cldr/json/
DLdml2JsonConverter.java537 int ruleStartIndex = fullpath.indexOf("/ruleset["); in convertCldrItems() local
538 String checkString = fullpath.substring(ruleStartIndex); in convertCldrItems()
542 ruleEndIndex = fullpath.indexOf("/", ruleStartIndex + 1); in convertCldrItems()
544 if (ruleEndIndex > ruleStartIndex) { in convertCldrItems()
545 … String oldRulePath = fullpath.substring(ruleStartIndex, ruleEndIndex); in convertCldrItems()
/external/antlr/runtime/ActionScript/project/src/org/antlr/runtime/
DRecognizerSharedState.as47 * the memoization table for ruleIndex. For key ruleStartIndex, you
DBaseRecognizer.as721 public function getRuleMemoization(ruleIndex:int, ruleStartIndex:int):int {
725 var stopIndex:* = state.ruleMemo[ruleIndex][ruleStartIndex];
762 ruleStartIndex:int):void
773 state.ruleMemo[ruleIndex][ruleStartIndex] = stopTokenIndex;
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/
DProfiler.cs150 int ruleStartIndex, in Memoize() argument
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/
DProfiler.cs142 int ruleStartIndex, in Memoize() argument
/external/antlr/runtime/Java/src/main/java/org/antlr/runtime/debug/
DProfiler.java201 int ruleStartIndex, in memoize() argument
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/JavaScript/
DJavaScript.stg129 memoize: function(input, ruleIndex, ruleStartIndex) {
131 …<grammar.recognizerName>.superclass.prototype.memoize.call(this, input, ruleIndex, ruleStartIndex);
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Perl5/
DPerl5.stg172 int ruleStartIndex)
174 if ( backtracking>1 ) super.memoize(input, ruleIndex, ruleStartIndex);

12