Struct lib_ruby_parser::nodes::EFlipFlop
source · #[repr(C)]pub struct EFlipFlop {
pub left: Option<Box<Node>>,
pub right: Option<Box<Node>>,
pub operator_l: Loc,
pub expression_l: Loc,
}
Expand description
Represents exclusive 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§
source§impl PartialEq for EFlipFlop
impl PartialEq for EFlipFlop
impl StructuralPartialEq for EFlipFlop
Auto Trait Implementations§
impl Freeze for EFlipFlop
impl RefUnwindSafe for EFlipFlop
impl Send for EFlipFlop
impl Sync for EFlipFlop
impl Unpin for EFlipFlop
impl UnwindSafe for EFlipFlop
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more