pub struct YieldNode<'pr> { /* private fields */ }Expand description
Represents the use of the yield keyword.
yield 1
^^^^^^^Implementations§
Source§impl<'pr> YieldNode<'pr>
impl<'pr> YieldNode<'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 keyword_loc(&self) -> Location<'pr>
pub fn keyword_loc(&self) -> Location<'pr>
Returns the keyword_loc param
Sourcepub fn lparen_loc(&self) -> Option<Location<'pr>>
pub fn lparen_loc(&self) -> Option<Location<'pr>>
Returns the lparen_loc param
Sourcepub fn arguments(&self) -> Option<ArgumentsNode<'pr>>
pub fn arguments(&self) -> Option<ArgumentsNode<'pr>>
Returns the arguments param
Sourcepub fn rparen_loc(&self) -> Option<Location<'pr>>
pub fn rparen_loc(&self) -> Option<Location<'pr>>
Returns the rparen_loc param