Struct ruby_prism::MultiWriteNode
source · pub struct MultiWriteNode<'pr> { /* private fields */ }
Expand description
Represents a write to a multi-target expression.
a, b, c = 1, 2, 3
^^^^^^^^^^^^^^^^^
Implementations§
source§impl<'pr> MultiWriteNode<'pr>
impl<'pr> MultiWriteNode<'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 operator_loc(&self) -> Location<'pr>
pub fn operator_loc(&self) -> Location<'pr>
Returns the operator_loc
param
Trait Implementations§
Auto Trait Implementations§
impl<'pr> RefUnwindSafe for MultiWriteNode<'pr>
impl<'pr> !Send for MultiWriteNode<'pr>
impl<'pr> !Sync for MultiWriteNode<'pr>
impl<'pr> Unpin for MultiWriteNode<'pr>
impl<'pr> !UnwindSafe for MultiWriteNode<'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