pub type pm_block_parameters_node_t = pm_block_parameters_node;Expand description
BlockParametersNode
Represents a block’s parameters declaration.
-> (a, b = 1; local) { }
^^^^^^^^^^^^^^^^^ foo do |a, b = 1; local|
^^^^^^^^^^^^^^^^^
endType: ::PM_BLOCK_PARAMETERS_NODE
@extends pm_node_t
Aliased Type§
#[repr(C)]pub struct pm_block_parameters_node_t {
pub base: pm_node,
pub parameters: *mut pm_parameters_node,
pub locals: pm_node_list,
pub opening_loc: pm_location_t,
pub closing_loc: pm_location_t,
}Fields§
§base: pm_nodeThe embedded base node.
parameters: *mut pm_parameters_nodeBlockParametersNode#parameters
Represents the parameters of the block.
-> (a, b = 1; local) { }
^^^^^^^^ foo do |a, b = 1; local|
^^^^^^^^
endlocals: pm_node_listBlockParametersNode#locals
Represents the local variables of the block.
-> (a, b = 1; local) { }
^^^^^ foo do |a, b = 1; local|
^^^^^
endopening_loc: pm_location_tBlockParametersNode#opening_loc
Represents the opening location of the block parameters.
-> (a, b = 1; local) { }
^ foo do |a, b = 1; local|
^
endclosing_loc: pm_location_tBlockParametersNode#closing_loc
Represents the closing location of the block parameters.
-> (a, b = 1; local) { }
^ foo do |a, b = 1; local|
^
end