/// <summary>Validates the row.</summary>
    /// <param name="inputRow">The input row.</param>
    /// <returns></returns>
    public bool ValidateRow(string inputRow)
    {
        stackAutomat = new LL_StackAutomat(grammar);


        foreach (char input in inputRow)
        {
            if (!stackAutomat.Transition(input))
            {
                return(false);
            }
        }

        return(true);
    }
    /// <summary>Initializes a new instance of the <see cref="LL" /> class.</summary>
    /// <param name="grammar">The grammar.</param>
    public LL(GenericGrammar grammar)
    {
        this.grammar = grammar;

        stackAutomat = new LL_StackAutomat(grammar);
    }