[][src]Struct lib_ruby_parser::nodes::Next

pub struct Next {
    pub args: Vec<Node>,
    pub keyword_l: Range,
    pub begin_l: Option<Range>,
    pub end_l: Option<Range>,
    pub expression_l: Range,
}

Represents next keyword

Fields

args: Vec<Node>

Arguments given to next

keyword_l: Range

Location of the next keyword

next 42
begin_l: Option<Range>

Location of the open parenthesis

next(42)
    ~

None if there are no parentheses

end_l: Option<Range>

Location of the closing parenthesis

next(42)
       ~

None if there are no parentheses

expression_l: Range

Location of the full expression

next(42)
~~~~~~~~

Trait Implementations

impl Clone for Next[src]

impl Debug for Next[src]

impl PartialEq<Next> for Next[src]

impl StructuralPartialEq for Next[src]

Auto Trait Implementations

impl !RefUnwindSafe for Next

impl !Send for Next

impl !Sync for Next

impl Unpin for Next

impl UnwindSafe for Next

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.