Type Alias ruby_prism_sys::pm_def_node_t

source ·
pub type pm_def_node_t = pm_def_node;
Expand description

DefNode

Type: PM_DEF_NODE

@extends pm_node_t

Aliased Type§

struct pm_def_node_t {
Show 14 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 locals_body_index: u32, 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

§locals_body_index: u32

DefNode#locals_body_index

§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