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: 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)
~~~~~~~~~~~
Implementations
Returns keyword_l
field
Returns begin_l
field
Returns expression_l
field
Sets keyword_l
field
Sets begin_l
field
Sets expression_l
field
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Super
impl UnwindSafe for Super
Blanket Implementations
Mutably borrows from an owned value. Read more