pub type pm_assoc_splat_node_t = pm_assoc_splat_node;Expand description
AssocSplatNode
Represents a splat in a hash literal.
{ **foo }
^^^^^Type: ::PM_ASSOC_SPLAT_NODE
@extends pm_node_t
Aliased Type§
#[repr(C)]pub struct pm_assoc_splat_node_t {
pub base: pm_node,
pub value: *mut pm_node,
pub operator_loc: pm_location_t,
}Fields§
§base: pm_nodeThe embedded base node.
value: *mut pm_nodeAssocSplatNode#value
The value to be splatted, if present. Will be missing when keyword rest argument forwarding is used.
{ **foo }
^^^operator_loc: pm_location_tAssocSplatNode#operator_loc
The location of the ** operator.
{ **x }
^^