Struct lib_ruby_parser::nodes::Super[][src]

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

Represents a super keyword

Fields

args: Vec<Node>

A list of arguments given to super

keyword_l: Loc

Location of the super keyword

super(1, 2)
~~~~~
begin_l: Option<Loc>

Location of the open parenthesis

super(1, 2)
     ~

None if there are no parentheses

end_l: Option<Loc>

Location of the closing parenthesis

super(1, 2)
          ~

None if there are no parentheses

expression_l: Loc

Location of the full expression

super(1, 2)
~~~~~~~~~~~

Trait Implementations

impl Clone for Super[src]

impl Debug for Super[src]

impl PartialEq<Super> for Super[src]

impl StructuralPartialEq for Super[src]

Auto Trait Implementations

impl RefUnwindSafe for Super

impl Send for Super

impl Sync for Super

impl Unpin for Super

impl UnwindSafe for Super

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.