Struct conch_parser::ast::builder::IfFragments [] [src]

pub struct IfFragments<C> {
    pub conditionals: Vec<GuardBodyPairGroup<C>>,
    pub else_branch: Option<CommandGroup<C>>,
}

Parsed fragments relating to a shell if command.

Fields

A list of conditionals branches.

The else branch, if any,

Trait Implementations

impl<C: Debug> Debug for IfFragments<C>
[src]

Formats the value using the given formatter.

impl<C: PartialEq> PartialEq for IfFragments<C>
[src]

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

This method tests for !=.

impl<C: Eq> Eq for IfFragments<C>
[src]

impl<C: Clone> Clone for IfFragments<C>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more