pm_assoc_splat_node_t

Type Alias pm_assoc_splat_node_t 

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

The embedded base node.

§value: *mut pm_node

AssocSplatNode#value

The value to be splatted, if present. Will be missing when keyword rest argument forwarding is used.

 { **foo }
     ^^^
§operator_loc: pm_location_t

AssocSplatNode#operator_loc

The location of the ** operator.

 { **x }
   ^^