pub struct PinnedExpressionNode<'pr> { /* private fields */ }Expand description
Represents the use of the ^ operator for pinning an expression in a pattern matching expression.
foo in ^(bar)
^^^^^^Implementations§
Source§impl<'pr> PinnedExpressionNode<'pr>
impl<'pr> PinnedExpressionNode<'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 expression(&self) -> Node<'pr>
pub fn expression(&self) -> Node<'pr>
Returns the expression param
Sourcepub fn operator_loc(&self) -> Location<'pr>
pub fn operator_loc(&self) -> Location<'pr>
Returns the operator_loc param
Sourcepub fn lparen_loc(&self) -> Location<'pr>
pub fn lparen_loc(&self) -> Location<'pr>
Returns the lparen_loc param
Sourcepub fn rparen_loc(&self) -> Location<'pr>
pub fn rparen_loc(&self) -> Location<'pr>
Returns the rparen_loc param