private ILrParserTable BuildCanonicalLRTable(ILrDfa dfa)
        {
            ILrParserTable result = new CanonicalLrDfaTable(dfa, this.data);
            if (result.RequiresGlr || !FillAmbiguousTokenActions(dfa.States, isGlr:false))
            {
                result = null;
            }

            return result;
        }
Beispiel #2
0
        private ILrParserTable BuildCanonicalLRTable(ILrDfa dfa)
        {
            ILrParserTable result = new CanonicalLrDfaTable(dfa, this.data);

            if (result.RequiresGlr || !FillAmbiguousTokenActions(dfa.States, isGlr: false))
            {
                result = null;
            }

            return(result);
        }