Struct ruby_prism::AliasMethodNode
source · pub struct AliasMethodNode<'pr> { /* private fields */ }
Expand description
Represents the use of the alias
keyword to alias a method.
alias foo bar
^^^^^^^^^^^^^
Implementations§
source§impl<'pr> AliasMethodNode<'pr>
impl<'pr> AliasMethodNode<'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
Trait Implementations§
Auto Trait Implementations§
impl<'pr> RefUnwindSafe for AliasMethodNode<'pr>
impl<'pr> !Send for AliasMethodNode<'pr>
impl<'pr> !Sync for AliasMethodNode<'pr>
impl<'pr> Unpin for AliasMethodNode<'pr>
impl<'pr> !UnwindSafe for AliasMethodNode<'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