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

Comments appearing after a previous arm, but before the start of a pattern.

Pattern alternatives which all correspond to the same case arm.

A comment appearing at the end of the pattern declaration on the same line.

Trait Implementations

impl<W: Debug> Debug for CasePatternFragments<W>
[src]

Formats the value using the given formatter.

impl<W: PartialEq> PartialEq for CasePatternFragments<W>
[src]

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

This method tests for !=.

impl<W: Eq> Eq for CasePatternFragments<W>
[src]

impl<W: Clone> Clone for CasePatternFragments<W>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more