Struct conch_parser::ast::builder::CasePatternFragments
[−]
[src]
pub struct CasePatternFragments<W> {
pub pre_pattern_comments: Vec<Newline>,
pub pattern_alternatives: Vec<W>,
pub pattern_comment: Option<Newline>,
}Parsed fragments relating to patterns in a shell case command.
Fields
pre_pattern_comments: Vec<Newline>
Comments appearing after a previous arm, but before the start of a pattern.
pattern_alternatives: Vec<W>
Pattern alternatives which all correspond to the same case arm.
pattern_comment: Option<Newline>
A comment appearing at the end of the pattern declaration on the same line.
Trait Implementations
impl<W: Debug> Debug for CasePatternFragments<W>[src]
impl<W: PartialEq> PartialEq for CasePatternFragments<W>[src]
fn eq(&self, __arg_0: &CasePatternFragments<W>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &CasePatternFragments<W>) -> bool
This method tests for !=.
impl<W: Eq> Eq for CasePatternFragments<W>[src]
impl<W: Clone> Clone for CasePatternFragments<W>[src]
fn clone(&self) -> CasePatternFragments<W>
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