pub type pm_def_node_t = pm_def_node;Expand description
DefNode
Represents a method definition.
def method
end
^^^^^^^^^^Type: ::PM_DEF_NODE
@extends pm_node_t
Aliased Type§
#[repr(C)]pub struct pm_def_node_t {Show 13 fields
pub base: pm_node,
pub name: u32,
pub name_loc: pm_location_t,
pub receiver: *mut pm_node,
pub parameters: *mut pm_parameters_node,
pub body: *mut pm_node,
pub locals: pm_constant_id_list_t,
pub def_keyword_loc: pm_location_t,
pub operator_loc: pm_location_t,
pub lparen_loc: pm_location_t,
pub rparen_loc: pm_location_t,
pub equal_loc: pm_location_t,
pub end_keyword_loc: pm_location_t,
}Fields§
§base: pm_nodeThe embedded base node.
name: u32DefNode#name
name_loc: pm_location_tDefNode#name_loc
receiver: *mut pm_nodeDefNode#receiver
parameters: *mut pm_parameters_nodeDefNode#parameters
body: *mut pm_nodeDefNode#body
locals: pm_constant_id_list_tDefNode#locals
def_keyword_loc: pm_location_tDefNode#def_keyword_loc
operator_loc: pm_location_tDefNode#operator_loc
lparen_loc: pm_location_tDefNode#lparen_loc
rparen_loc: pm_location_tDefNode#rparen_loc
equal_loc: pm_location_tDefNode#equal_loc
end_keyword_loc: pm_location_tDefNode#end_keyword_loc