pub struct ClassVariableOrWriteNode<'pr> { /* private fields */ }Expand description
Represents the use of the ||= operator for assignment to a class variable.
@@target ||= value
^^^^^^^^^^^^^^^^^^Implementations§
Source§impl<'pr> ClassVariableOrWriteNode<'pr>
impl<'pr> ClassVariableOrWriteNode<'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