Struct lib_ruby_parser::nodes::IFlipFlop[][src]

#[repr(C)]pub struct IFlipFlop {
    pub left: MaybePtr<Node>,
    pub right: MaybePtr<Node>,
    pub operator_l: LocPtr,
    pub expression_l: LocPtr,
}

Represents inclusive flip-flop (i.e. in if foo..bar; end)

Fields

left: MaybePtr<Node>

Left part of the flip-flop. None if based on a range without begin (..bar)

right: MaybePtr<Node>

Right part of the flip-flop. None if based on a range without end (foo..)

operator_l: LocPtr

Location of the .. operator

if foo..bar; end
      ~~
expression_l: LocPtr

Location of the full expression

if foo..bar; end
   ~~~~~~~~

Trait Implementations

impl Clone for IFlipFlop[src]

impl Debug for IFlipFlop[src]

impl PartialEq<IFlipFlop> for IFlipFlop[src]

impl StructuralPartialEq for IFlipFlop[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.