Lines Matching refs:ruleMemo
110 … for (int i = 0; state.ruleMemo != null && i < state.ruleMemo.Length; i++) { // wipe cache in Reset()
111 state.ruleMemo[i] = null; in Reset()
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()
899 if (state.ruleMemo == null) { in Memoize()
903 if (ruleIndex >= state.ruleMemo.Length) { in Memoize()
905 …TraceDestination.WriteLine("!!!!!!!!! memo size is " + state.ruleMemo.Length + ", but rule index i… in Memoize()
907 if (state.ruleMemo[ruleIndex] != null) { in Memoize()
908 state.ruleMemo[ruleIndex][ruleStartIndex] = stopTokenIndex; in Memoize()
917 for (int i = 0; state.ruleMemo != null && i < state.ruleMemo.Length; i++) { in GetRuleMemoizationCacheSize()
918 var ruleMap = state.ruleMemo[i]; in GetRuleMemoizationCacheSize()