Struct lib_ruby_parser::nodes::IFlipFlop [−][src]
#[repr(C)]pub struct IFlipFlop {
pub left: Option<Box<Node>>,
pub right: Option<Box<Node>>,
pub operator_l: Loc,
pub expression_l: Loc,
}
Expand description
Represents inclusive flip-flop (i.e. in if foo..bar; end
)
Fields
left: Option<Box<Node>>
Left part of the flip-flop. None
if based on a range without begin (..bar
)
right: Option<Box<Node>>
Right part of the flip-flop. None
if based on a range without end (foo..
)
operator_l: Loc
Location of the ..
operator
if foo..bar; end
~~
expression_l: Loc
Location of the full expression
if foo..bar; end
~~~~~~~~
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 IFlipFlop
impl UnwindSafe for IFlipFlop
Blanket Implementations
Mutably borrows from an owned value. Read more