pub struct ParenthesesNode<'pr> { /* private fields */ }Expand description
Represents a parenthesized expression
(10 + 34)
^^^^^^^^^Implementations§
Source§impl<'pr> ParenthesesNode<'pr>
impl<'pr> ParenthesesNode<'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 is_multiple_statements(&self) -> bool
pub fn is_multiple_statements(&self) -> bool
parentheses that contain multiple potentially void statements
Sourcepub fn opening_loc(&self) -> Location<'pr>
pub fn opening_loc(&self) -> Location<'pr>
Returns the opening_loc param
Sourcepub fn closing_loc(&self) -> Location<'pr>
pub fn closing_loc(&self) -> Location<'pr>
Returns the closing_loc param