Lines Matching refs:ruleIndex
960 public virtual int GetRuleMemoization( int ruleIndex, int ruleStartIndex ) in GetRuleMemoization() argument
962 if ( state.ruleMemo[ruleIndex] == null ) in GetRuleMemoization()
964 state.ruleMemo[ruleIndex] = new Dictionary<int, int>(); in GetRuleMemoization()
968 if ( !state.ruleMemo[ruleIndex].TryGetValue( ruleStartIndex, out stopIndex ) ) in GetRuleMemoization()
987 public virtual bool AlreadyParsedRule( IIntStream input, int ruleIndex ) in AlreadyParsedRule() argument
989 int stopIndex = GetRuleMemoization( ruleIndex, input.Index ); in AlreadyParsedRule()
1013 int ruleIndex, in Memoize() argument
1022 if ( ruleIndex >= state.ruleMemo.Length ) in Memoize()
1025 ….WriteLine("!!!!!!!!! memo size is " + state.ruleMemo.Length + ", but rule index is " + ruleIndex); in Memoize()
1027 if ( state.ruleMemo[ruleIndex] != null ) in Memoize()
1029 state.ruleMemo[ruleIndex][ruleStartIndex] = stopTokenIndex; in Memoize()
1050 public virtual void TraceIn(string ruleName, int ruleIndex, object inputSymbol) in TraceIn() argument
1063 public virtual void TraceOut(string ruleName, int ruleIndex, object inputSymbol) in TraceOut() argument