Struct lib_ruby_parser::nodes::Super
source · [−]#[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)
~~~~~~~~~~~
Trait Implementations
impl StructuralPartialEq for Super
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more