Struct lib_ruby_parser::nodes::Super [−][src]
#[repr(C)]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, }
Expand description
Represents a super keyword
Fields
args: Vec<Node>A list of arguments given to super
keyword_l: LocLocation 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: LocLocation of the full expression
super(1, 2)
~~~~~~~~~~~
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Superimpl UnwindSafe for SuperBlanket Implementations
Mutably borrows from an owned value. Read more