Struct ruby_prism::NextNode
source · pub struct NextNode<'pr> { /* private fields */ }
Expand description
Represents the use of the next
keyword.
next 1
^^^^^^
Implementations§
source§impl<'pr> NextNode<'pr>
impl<'pr> NextNode<'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 arguments(&self) -> Option<ArgumentsNode<'pr>>
pub fn arguments(&self) -> Option<ArgumentsNode<'pr>>
Returns the arguments
param
sourcepub fn keyword_loc(&self) -> Location<'pr>
pub fn keyword_loc(&self) -> Location<'pr>
Returns the keyword_loc
param
Trait Implementations§
Auto Trait Implementations§
impl<'pr> RefUnwindSafe for NextNode<'pr>
impl<'pr> !Send for NextNode<'pr>
impl<'pr> !Sync for NextNode<'pr>
impl<'pr> Unpin for NextNode<'pr>
impl<'pr> !UnwindSafe for NextNode<'pr>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more