pub struct ElseNode<'pr> { /* private fields */ }Expand description
Represents an else clause in a case, if, or unless statement.
if a then b else c end
^^^^^^^^^^Implementations§
Source§impl<'pr> ElseNode<'pr>
impl<'pr> ElseNode<'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 else_keyword_loc(&self) -> Location<'pr>
pub fn else_keyword_loc(&self) -> Location<'pr>
Returns the else_keyword_loc param
Sourcepub fn statements(&self) -> Option<StatementsNode<'pr>>
pub fn statements(&self) -> Option<StatementsNode<'pr>>
Returns the statements param
Sourcepub fn end_keyword_loc(&self) -> Option<Location<'pr>>
pub fn end_keyword_loc(&self) -> Option<Location<'pr>>
Returns the end_keyword_loc param