pm_class_variable_and_write_node_t

Type Alias pm_class_variable_and_write_node_t 

Source
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_node

The embedded base node.

§name: u32

ClassVariableAndWriteNode#name

The name of the class variable, which is a @@ followed by an identifier.

 @@target &&= value # name `:@@target`
 ^^^^^^^^
§name_loc: pm_location_t

ClassVariableAndWriteNode#name_loc

Represents the Location of the variable name.

 @@target &&= value
 ^^^^^^^^
§operator_loc: pm_location_t

ClassVariableAndWriteNode#operator_loc

Represents the Location of the &&= operator.

 @@target &&= value
          ^^^
§value: *mut pm_node

ClassVariableAndWriteNode#value

Represents the value being assigned. This can be any non-void expression.

 @@target &&= value
              ^^^^^