Enum conch_parser::ast::builder::WordKind [] [src]

pub enum WordKind<C> {
    Simple(SimpleWordKind<C>),
    DoubleQuoted(Vec<SimpleWordKind<C>>),
    SingleQuoted(String),
}

An indicator to the builder what kind of word was parsed.

Variants

A regular word.

List of words concatenated within double quotes.

List of words concatenated within single quotes. Virtually identical as a literal, but makes a distinction between the two.

Trait Implementations

impl<C: Debug> Debug for WordKind<C>
[src]

Formats the value using the given formatter.

impl<C: PartialEq> PartialEq for WordKind<C>
[src]

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

This method tests for !=.

impl<C: Eq> Eq for WordKind<C>
[src]

impl<C: Clone> Clone for WordKind<C>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more