public virtual int GetRuleMemoization( int ruleIndex, int ruleStartIndex )
{
if ( state.ruleMemo[ruleIndex] == null )
{
state.ruleMemo[ruleIndex] = new Dictionary<int, int>();
}
int stopIndex;
if ( !state.ruleMemo[ruleIndex].TryGetValue( ruleStartIndex, out stopIndex ) )
return MemoRuleUnknown;
return stopIndex;
}