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
conditionals: Vec<GuardBodyPairGroup<C>>
A list of conditionals branches.
else_branch: Option<CommandGroup<C>>
The else branch, if any,
Trait Implementations
impl<C: Debug> Debug for IfFragments<C>[src]
impl<C: PartialEq> PartialEq for IfFragments<C>[src]
fn eq(&self, __arg_0: &IfFragments<C>) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &IfFragments<C>) -> bool
This method tests for !=.
impl<C: Eq> Eq for IfFragments<C>[src]
impl<C: Clone> Clone for IfFragments<C>[src]
fn clone(&self) -> IfFragments<C>
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