Struct lib_ruby_parser::nodes::IFlipFlop
source · [−]#[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
~~~~~~~~
Trait Implementations
impl StructuralPartialEq for IFlipFlop
Auto Trait Implementations
impl RefUnwindSafe for IFlipFlop
impl Send for IFlipFlop
impl Sync for IFlipFlop
impl Unpin for IFlipFlop
impl UnwindSafe for IFlipFlop
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more