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
SemiA semicolon appears between commands, normally indicating a sequence.
AmpAn ampersand appears between commands, normally indicating an asyncronous job.
NewlineA newline (and possibly a comment) appears at the end of a command before the next.
OtherThe 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]
impl PartialEq for SeparatorKind[src]
fn eq(&self, __arg_0: &SeparatorKind) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0
This method tests for !=.
impl Eq for SeparatorKind[src]
impl Clone for SeparatorKind[src]
fn clone(&self) -> SeparatorKind
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