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: Loc
Location of the &&
(or and
) operator
a && b
~~
expression_l: Loc
Location of the full expression
a && b
~~~~~~
Implementations
Returns operator_l
field
Returns expression_l
field
Sets operator_l
field
Sets expression_l
field
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for And
impl UnwindSafe for And
Blanket Implementations
Mutably borrows from an owned value. Read more