Lines Matching refs:ruleIndex
850 public virtual int GetRuleMemoization(int ruleIndex, int ruleStartIndex) { in GetRuleMemoization() argument
851 if (state.ruleMemo[ruleIndex] == null) { in GetRuleMemoization()
852 state.ruleMemo[ruleIndex] = new Dictionary<int, int>(); in GetRuleMemoization()
856 if (!state.ruleMemo[ruleIndex].TryGetValue(ruleStartIndex, out stopIndex)) in GetRuleMemoization()
875 public virtual bool AlreadyParsedRule(IIntStream input, int ruleIndex) { in AlreadyParsedRule() argument
876 int stopIndex = GetRuleMemoization(ruleIndex, input.Index); in AlreadyParsedRule()
896 int ruleIndex, in Memoize() argument
903 if (ruleIndex >= state.ruleMemo.Length) { in Memoize()
905 ….WriteLine("!!!!!!!!! memo size is " + state.ruleMemo.Length + ", but rule index is " + ruleIndex); in Memoize()
907 if (state.ruleMemo[ruleIndex] != null) { in Memoize()
908 state.ruleMemo[ruleIndex][ruleStartIndex] = stopTokenIndex; in Memoize()
927 public virtual void TraceIn(string ruleName, int ruleIndex, object inputSymbol) { in TraceIn() argument
939 public virtual void TraceOut(string ruleName, int ruleIndex, object inputSymbol) { in TraceOut() argument