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

pub enum SeparatorKind {
    Semi,
    Amp,
    Newline,
    Other,
}

An indicator to the builder of how complete commands are separated.

Variants

A semicolon appears between commands, normally indicating a sequence.

An ampersand appears between commands, normally indicating an asyncronous job.

A newline (and possibly a comment) appears at the end of a command before the next.

The command was delimited by a token (e.g. a compound command delimiter) or the end of input, but is not followed by another sequential command.

Trait Implementations

impl Debug for SeparatorKind
[src]

Formats the value using the given formatter.

impl PartialEq for SeparatorKind
[src]

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

This method tests for !=.

impl Eq for SeparatorKind
[src]

impl Clone for SeparatorKind
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for SeparatorKind
[src]