pub type pm_alias_method_node_t = pm_alias_method_node;Expand description
AliasMethodNode
Represents the use of the alias keyword to alias a method.
alias foo bar
^^^^^^^^^^^^^Type: ::PM_ALIAS_METHOD_NODE
@extends pm_node_t
Aliased Type§
#[repr(C)]pub struct pm_alias_method_node_t {
pub base: pm_node,
pub new_name: *mut pm_node,
pub old_name: *mut pm_node,
pub keyword_loc: pm_location_t,
}Fields§
§base: pm_nodeThe embedded base node.
new_name: *mut pm_nodeAliasMethodNode#new_name
Represents the new name of the method that will be aliased.
alias foo bar
^^^ alias :foo :bar
^^^^ alias :"#{foo}" :"#{bar}"
^^^^^^^^^old_name: *mut pm_nodeAliasMethodNode#old_name
Represents the old name of the method that will be aliased.
alias foo bar
^^^ alias :foo :bar
^^^^ alias :"#{foo}" :"#{bar}"
^^^^^^^^^keyword_loc: pm_location_tAliasMethodNode#keyword_loc
Represents the location of the alias keyword.
alias foo bar
^^^^^