Enum conch_parser::ast::Word
[−]
[src]
pub enum Word<L, W> {
Simple(W),
DoubleQuoted(Vec<W>),
SingleQuoted(L),
}Represents whitespace delimited single, double, or non quoted text.
Generic over the representation of single-quoted literals, and non-quoted words.
Variants
Simple(W)A regular word.
DoubleQuoted(Vec<W>)List of words concatenated within double quotes.
SingleQuoted(L)List of words concatenated within single quotes. Virtually identical as a literal, but makes a distinction between the two.
Trait Implementations
impl<L: Debug, W: Debug> Debug for Word<L, W>[src]
impl<L: PartialEq, W: PartialEq> PartialEq for Word<L, W>[src]
fn eq(&self, __arg_0: &Word<L, W>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Word<L, W>) -> bool
This method tests for !=.
impl<L: Eq, W: Eq> Eq for Word<L, W>[src]
impl<L: Clone, W: Clone> Clone for Word<L, W>[src]
fn clone(&self) -> Word<L, W>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more