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

Any token which appears after a complete command separator (e.g. ;, &, or a newline) will be considered a delimeter for the command group.

Any Literal or Name token that matches any of these entries completely and appear after a complete command will be considered a delimeter.

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]

Formats the value using the given formatter.

impl<'a, 'b, 'c> PartialEq for CommandGroupDelimiters<'a, 'b, 'c>
[src]

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

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]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for CommandGroupDelimiters<'static, 'static, 'static>
[src]

Returns the "default value" for a type. Read more