pub struct ClassVariableOperatorWriteNode<'pr> { /* private fields */ }
Expand description
Represents assigning to a class variable using an operator that isn’t =
.
@@target += value
^^^^^^^^^^^^^^^^^
Implementations§
source§impl<'pr> ClassVariableOperatorWriteNode<'pr>
impl<'pr> ClassVariableOperatorWriteNode<'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 binary_operator_loc(&self) -> Location<'pr>
pub fn binary_operator_loc(&self) -> Location<'pr>
Returns the binary_operator_loc
param
sourcepub fn binary_operator(&self) -> ConstantId<'pr>
pub fn binary_operator(&self) -> ConstantId<'pr>
Returns the binary_operator
param
Trait Implementations§
Auto Trait Implementations§
impl<'pr> RefUnwindSafe for ClassVariableOperatorWriteNode<'pr>
impl<'pr> !Send for ClassVariableOperatorWriteNode<'pr>
impl<'pr> !Sync for ClassVariableOperatorWriteNode<'pr>
impl<'pr> Unpin for ClassVariableOperatorWriteNode<'pr>
impl<'pr> !UnwindSafe for ClassVariableOperatorWriteNode<'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