pub type pm_class_variable_and_write_node_t = pm_class_variable_and_write_node;Expand description
ClassVariableAndWriteNode
Represents the use of the &&= operator for assignment to a class variable.
@@target &&= value
^^^^^^^^^^^^^^^^^^Type: ::PM_CLASS_VARIABLE_AND_WRITE_NODE
@extends pm_node_t
Aliased Type§
#[repr(C)]pub struct pm_class_variable_and_write_node_t {
pub base: pm_node,
pub name: u32,
pub name_loc: pm_location_t,
pub operator_loc: pm_location_t,
pub value: *mut pm_node,
}Fields§
§base: pm_nodeThe embedded base node.
name: u32ClassVariableAndWriteNode#name
The name of the class variable, which is a @@ followed by an identifier.
@@target &&= value # name `:@@target`
^^^^^^^^name_loc: pm_location_tClassVariableAndWriteNode#name_loc
Represents the Location of the variable name.
@@target &&= value
^^^^^^^^operator_loc: pm_location_tClassVariableAndWriteNode#operator_loc
Represents the Location of the &&= operator.
@@target &&= value
^^^value: *mut pm_nodeClassVariableAndWriteNode#value
Represents the value being assigned. This can be any non-void expression.
@@target &&= value
^^^^^