pub struct MultiTargetNode<'pr> { /* private fields */ }Expand description
Represents a multi-target expression.
a, (b, c) = 1, 2, 3
^^^^^^This can be a part of MultiWriteNode as above, or the target of a for loop
for a, b in [[1, 2], [3, 4]]
^^^^Implementations§
Source§impl<'pr> MultiTargetNode<'pr>
impl<'pr> MultiTargetNode<'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 lparen_loc(&self) -> Option<Location<'pr>>
pub fn lparen_loc(&self) -> Option<Location<'pr>>
Returns the lparen_loc param
Sourcepub fn rparen_loc(&self) -> Option<Location<'pr>>
pub fn rparen_loc(&self) -> Option<Location<'pr>>
Returns the rparen_loc param