Ejemplo n.º 1
0
        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);
        }