pub type pm_pinned_variable_node_t = pm_pinned_variable_node;Expand description
PinnedVariableNode
Represents the use of the ^ operator for pinning a variable in a pattern matching expression.
foo in ^bar
^^^^Type: ::PM_PINNED_VARIABLE_NODE
@extends pm_node_t
Aliased Type§
#[repr(C)]pub struct pm_pinned_variable_node_t {
pub base: pm_node,
pub variable: *mut pm_node,
pub operator_loc: pm_location_t,
}Fields§
§base: pm_nodeThe embedded base node.
variable: *mut pm_nodePinnedVariableNode#variable
The variable used in the pinned expression
foo in ^bar
^^^operator_loc: pm_location_tPinnedVariableNode#operator_loc
The location of the ^ operator
foo in ^bar
^