public EarleyItem NextState(EarleyItem state) { if (state.DottedRule.IsComplete) { return(null); } var dottedRule = DottedRuleRegistry.GetNext(state.DottedRule); return(NewState(dottedRule, state.Origin)); }
public bool Enqueue(int location, EarleyItem state) { return(state.Enqueue(GetEarleySet(location))); }