pm_def_node_t

Type Alias pm_def_node_t 

Source
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_node

The embedded base node.

§name: u32

DefNode#name

§name_loc: pm_location_t

DefNode#name_loc

§receiver: *mut pm_node

DefNode#receiver

§parameters: *mut pm_parameters_node

DefNode#parameters

§body: *mut pm_node

DefNode#body

§locals: pm_constant_id_list_t

DefNode#locals

§def_keyword_loc: pm_location_t

DefNode#def_keyword_loc

§operator_loc: pm_location_t

DefNode#operator_loc

§lparen_loc: pm_location_t

DefNode#lparen_loc

§rparen_loc: pm_location_t

DefNode#rparen_loc

§equal_loc: pm_location_t

DefNode#equal_loc

§end_keyword_loc: pm_location_t

DefNode#end_keyword_loc