pub struct SuperNode<'pr> { /* private fields */ }Expand description
Represents the use of the super keyword with parentheses or arguments.
super()
^^^^^^^super foo, bar
^^^^^^^^^^^^^^If no arguments are provided (except for a block), it would be a ForwardingSuperNode instead.
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