Struct ruby_prism::LocalVariableTargetNode
source · pub struct LocalVariableTargetNode<'pr> { /* private fields */ }
Expand description
Represents writing to a local variable in a context that doesn’t have an explicit value.
foo, bar = baz
^^^ ^^^
Implementations§
source§impl<'pr> LocalVariableTargetNode<'pr>
impl<'pr> LocalVariableTargetNode<'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
Trait Implementations§
Auto Trait Implementations§
impl<'pr> RefUnwindSafe for LocalVariableTargetNode<'pr>
impl<'pr> !Send for LocalVariableTargetNode<'pr>
impl<'pr> !Sync for LocalVariableTargetNode<'pr>
impl<'pr> Unpin for LocalVariableTargetNode<'pr>
impl<'pr> !UnwindSafe for LocalVariableTargetNode<'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