Struct lib_ruby_parser::nodes::Masgn [−][src]
#[repr(C)]pub struct Masgn { pub lhs: Box<Node>, pub rhs: Box<Node>, pub operator_l: Loc, pub expression_l: Loc, }
Expand description
Represents mass-assignment (i.e. foo, bar = 1, 2
)
Fields
lhs: Box<Node>
Left hand statement of the assignment
rhs: Box<Node>
Left hand statement of the assignment
operator_l: Loc
Location of the =
operator
foo, bar = 1, 2
~
expression_l: Loc
Location of the full expression
foo, bar = 1, 2
~~~~~~~~~~~~~~~
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Masgn
impl UnwindSafe for Masgn
Blanket Implementations
Mutably borrows from an owned value. Read more