Struct ruby_prism::LocalVariableWriteNode
source · pub struct LocalVariableWriteNode<'pr> { /* private fields */ }
Expand description
Represents writing to a local variable.
foo = 1
^^^^^^^
Implementations§
source§impl<'pr> LocalVariableWriteNode<'pr>
impl<'pr> LocalVariableWriteNode<'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 name(&self) -> ConstantId<'pr>
pub fn name(&self) -> ConstantId<'pr>
Returns the name
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 LocalVariableWriteNode<'pr>
impl<'pr> !Send for LocalVariableWriteNode<'pr>
impl<'pr> !Sync for LocalVariableWriteNode<'pr>
impl<'pr> Unpin for LocalVariableWriteNode<'pr>
impl<'pr> !UnwindSafe for LocalVariableWriteNode<'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