#[repr(C)]pub struct pm_super_node {
pub base: pm_node_t,
pub keyword_loc: pm_location_t,
pub lparen_loc: pm_location_t,
pub arguments: *mut pm_arguments_node,
pub rparen_loc: pm_location_t,
pub block: *mut pm_node,
}
Expand description
SuperNode
Represents the use of the super
keyword with parentheses or arguments.
super()
^^^^^^^
super foo, bar
^^^^^^^^^^^^^^
Type: ::PM_SUPER_NODE
@extends pm_node_t
Fields§
§base: pm_node_t
The embedded base node.
keyword_loc: pm_location_t
SuperNode#keyword_loc
lparen_loc: pm_location_t
SuperNode#lparen_loc
arguments: *mut pm_arguments_node
SuperNode#arguments
rparen_loc: pm_location_t
SuperNode#rparen_loc
block: *mut pm_node
SuperNode#block
Trait Implementations§
Source§impl Clone for pm_super_node
impl Clone for pm_super_node
Source§fn clone(&self) -> pm_super_node
fn clone(&self) -> pm_super_node
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for pm_super_node
impl Debug for pm_super_node
Source§impl Default for pm_super_node
impl Default for pm_super_node
impl Copy for pm_super_node
Auto Trait Implementations§
impl Freeze for pm_super_node
impl RefUnwindSafe for pm_super_node
impl !Send for pm_super_node
impl !Sync for pm_super_node
impl Unpin for pm_super_node
impl UnwindSafe for pm_super_node
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