Struct conch_parser::parse::CommandGroupDelimiters
[−]
[src]
pub struct CommandGroupDelimiters<'a, 'b, 'c> {
pub reserved_tokens: &'a [Token],
pub reserved_words: &'b [&'static str],
pub exact_tokens: &'c [Token],
}Used to configure when Parser::command_group stops parsing commands.
Fields
reserved_tokens: &'a [Token]
Any token which appears after a complete command separator (e.g. ;, &, or a
newline) will be considered a delimeter for the command group.
reserved_words: &'b [&'static str]
Any Literal or Name token that matches any of these entries completely
and appear after a complete command will be considered a delimeter.
exact_tokens: &'c [Token]
Any token which matches this provided set will be considered a delimeter.
Trait Implementations
impl<'a, 'b, 'c> Debug for CommandGroupDelimiters<'a, 'b, 'c>[src]
impl<'a, 'b, 'c> PartialEq for CommandGroupDelimiters<'a, 'b, 'c>[src]
fn eq(&self, __arg_0: &CommandGroupDelimiters<'a, 'b, 'c>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &CommandGroupDelimiters<'a, 'b, 'c>) -> bool
This method tests for !=.
impl<'a, 'b, 'c> Eq for CommandGroupDelimiters<'a, 'b, 'c>[src]
impl<'a, 'b, 'c> Clone for CommandGroupDelimiters<'a, 'b, 'c>[src]
fn clone(&self) -> CommandGroupDelimiters<'a, 'b, '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