Enum gallop::GrammarError [] [src]

pub enum GrammarError<'a> {
    NoStartSymbol,
    EmptyGrammar,
    InvalidGrammar {
        non_terminal: NonTerminal<'a>,
        rule: Rule<'a>,
        rule_element: RuleElement<'a>,
    },
    Conflict {
        non_terminal: NonTerminal<'a>,
        rule: Rule<'a>,
        rule_element: RuleElement<'a>,
    },
}

Variants

Fields of InvalidGrammar

Fields of Conflict

Trait Implementations

impl<'a> Clone for GrammarError<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Debug for GrammarError<'a>
[src]

Formats the value using the given formatter.

impl<'a> PartialEq for GrammarError<'a>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.