Struct ruby_prism::SuperNode
source · pub struct SuperNode<'pr> { /* private fields */ }
Expand description
Represents the use of the super
keyword with parentheses or arguments.
super()
^^^^^^^
super foo, bar
^^^^^^^^^^^^^^
Implementations§
source§impl<'pr> SuperNode<'pr>
impl<'pr> SuperNode<'pr>
sourcepub fn flags(&self) -> pm_node_flags_t
pub fn flags(&self) -> pm_node_flags_t
Returns the flags of this node.
sourcepub fn keyword_loc(&self) -> Location<'pr>
pub fn keyword_loc(&self) -> Location<'pr>
Returns the keyword_loc
param
sourcepub fn lparen_loc(&self) -> Option<Location<'pr>>
pub fn lparen_loc(&self) -> Option<Location<'pr>>
Returns the lparen_loc
param
sourcepub fn arguments(&self) -> Option<ArgumentsNode<'pr>>
pub fn arguments(&self) -> Option<ArgumentsNode<'pr>>
Returns the arguments
param
sourcepub fn rparen_loc(&self) -> Option<Location<'pr>>
pub fn rparen_loc(&self) -> Option<Location<'pr>>
Returns the rparen_loc
param
Trait Implementations§
Auto Trait Implementations§
impl<'pr> RefUnwindSafe for SuperNode<'pr>
impl<'pr> !Send for SuperNode<'pr>
impl<'pr> !Sync for SuperNode<'pr>
impl<'pr> Unpin for SuperNode<'pr>
impl<'pr> !UnwindSafe for SuperNode<'pr>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more