Enum conch_parser::ast::ComplexWord [] [src]

pub enum ComplexWord<W> {
    Concat(Vec<W>),
    Single(W),
}

Represents whitespace delimited text.

Generic over the representation of a whitespace delimited word.

Variants

Several distinct words concatenated together.

A regular word.

Trait Implementations

impl<W: Debug> Debug for ComplexWord<W>
[src]

Formats the value using the given formatter.

impl<W: PartialEq> PartialEq for ComplexWord<W>
[src]

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

This method tests for !=.

impl<W: Eq> Eq for ComplexWord<W>
[src]

impl<W: Clone> Clone for ComplexWord<W>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more