pub struct PinnedVariableNode<'pr> { /* private fields */ }Expand description
Represents the use of the ^ operator for pinning a variable in a pattern matching expression.
foo in ^bar
^^^^Implementations§
Source§impl<'pr> PinnedVariableNode<'pr>
impl<'pr> PinnedVariableNode<'pr>
Sourcepub fn flags(&self) -> pm_node_flags_t
pub fn flags(&self) -> pm_node_flags_t
Returns the flags of this node.
Sourcepub fn operator_loc(&self) -> Location<'pr>
pub fn operator_loc(&self) -> Location<'pr>
Returns the operator_loc param