public TerminalSet GetShiftReduceConflicts() { var result = new TerminalSet(); result.UnionWith(Conflicts); result.IntersectWith(ShiftTerminals); return(result); }
public TerminalSet GetLookaheadsInConflict() { var lkhc = new TerminalSet(); lkhc.UnionWith(Lookaheads); lkhc.IntersectWith(State.BuilderData.Conflicts); return(lkhc); }