Struct lib_ruby_parser::nodes::And [−][src]
#[repr(C)]pub struct And {
pub lhs: Box<Node>,
pub rhs: Box<Node>,
pub operator_l: Loc,
pub expression_l: Loc,
}Expand description
Represents foo && bar (or foo and bar) statement.
Fields
lhs: Box<Node>Left hand statament of the && operation.
Lvar("foo") node for foo && bar
rhs: Box<Node>Right hand statement of the && operation.
Lvar("bar") node for foo && bar
operator_l: LocLocation of the && (or and) operator
a && b
~~expression_l: LocLocation of the full expression
a && b
~~~~~~Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for And
impl UnwindSafe for And
Blanket Implementations
Mutably borrows from an owned value. Read more