pub struct DefinedNode<'pr> { /* private fields */ }Expand description
Represents the use of the defined? keyword.
defined?(a)
^^^^^^^^^^^Implementations§
Source§impl<'pr> DefinedNode<'pr>
impl<'pr> DefinedNode<'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
Sourcepub fn keyword_loc(&self) -> Location<'pr>
pub fn keyword_loc(&self) -> Location<'pr>
Returns the keyword_loc param