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
Simple(SimpleWordKind<C>)A regular word.
DoubleQuoted(Vec<SimpleWordKind<C>>)List of words concatenated within double quotes.
SingleQuoted(String)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]
impl<C: PartialEq> PartialEq for WordKind<C>[src]
fn eq(&self, __arg_0: &WordKind<C>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &WordKind<C>) -> bool
This method tests for !=.
impl<C: Eq> Eq for WordKind<C>[src]
impl<C: Clone> Clone for WordKind<C>[src]
fn clone(&self) -> WordKind<C>
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