using System;
using Piglet.Parser.Configuration;

namespace Piglet.Parser.Construction
{
    internal interface IProductionRule<T>
    {
        ISymbol<T>[] Symbols { get; }
        ISymbol<T> ResultSymbol { get; }
        Func<ParseException, T[], T> ReduceAction { get; }
        IPrecedenceGroup ContextPrecedence { get; }
    }
}