pub struct AlternationPatternNode<'pr> { /* private fields */ }Expand description
Represents an alternation pattern in pattern matching.
foo => bar | baz
^^^^^^^^^Implementations§
Source§impl<'pr> AlternationPatternNode<'pr>
impl<'pr> AlternationPatternNode<'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