pub type pm_lambda_node_t = pm_lambda_node;Expand description
LambdaNode
Represents using a lambda literal (not the lambda method call).
->(value) { value * 2 }
^^^^^^^^^^^^^^^^^^^^^^^Type: ::PM_LAMBDA_NODE
@extends pm_node_t
Aliased Type§
#[repr(C)]pub struct pm_lambda_node_t {
pub base: pm_node,
pub locals: pm_constant_id_list_t,
pub operator_loc: pm_location_t,
pub opening_loc: pm_location_t,
pub closing_loc: pm_location_t,
pub parameters: *mut pm_node,
pub body: *mut pm_node,
}Fields§
§base: pm_nodeThe embedded base node.
locals: pm_constant_id_list_tLambdaNode#locals
operator_loc: pm_location_tLambdaNode#operator_loc
opening_loc: pm_location_tLambdaNode#opening_loc
closing_loc: pm_location_tLambdaNode#closing_loc
parameters: *mut pm_nodeLambdaNode#parameters
body: *mut pm_nodeLambdaNode#body