Enum gallop::ParseTree [] [src]

pub enum ParseTree<'a> {
    Terminal(char),
    NonTerminal {
        symbol: &'a str,
        children: Vec<ParseTree<'a>>,
    },
}

Variants

Fields of NonTerminal

Trait Implementations

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Formats the value using the given formatter.

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

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

This method tests for !=.