aboutsummaryrefslogtreecommitdiffstats
path: root/yarp/config.yml
diff options
context:
space:
mode:
Diffstat (limited to 'yarp/config.yml')
-rw-r--r--yarp/config.yml302
1 files changed, 261 insertions, 41 deletions
diff --git a/yarp/config.yml b/yarp/config.yml
index 3662c17609..24e8d0e227 100644
--- a/yarp/config.yml
+++ b/yarp/config.yml
@@ -399,19 +399,6 @@ nodes:
left and right
^^^^^^^^^^^^^^
- - name: AndWriteNode
- child_nodes:
- - name: target
- type: node
- - name: value
- type: node
- - name: operator_loc
- type: location
- comment: |
- Represents the use of the `&&=` operator.
-
- target &&= value
- ^^^^^^^^^^^^^^^^
- name: ArgumentsNode
child_nodes:
- name: arguments
@@ -738,6 +725,47 @@ nodes:
class Foo end
^^^^^^^^^^^^^
+ - name: ClassVariableAndWriteNode
+ child_nodes:
+ - name: name_loc
+ type: location
+ - name: operator_loc
+ type: location
+ - name: value
+ type: node
+ comment: |
+ Represents the use of the `&&=` operator for assignment to a class variable.
+
+ @@target &&= value
+ ^^^^^^^^^^^^^^^^
+ - name: ClassVariableOperatorWriteNode
+ child_nodes:
+ - name: name_loc
+ type: location
+ - name: operator_loc
+ type: location
+ - name: value
+ type: node
+ - name: operator
+ type: constant
+ comment: |
+ Represents assigning to a class variable using an operator that isn't `=`.
+
+ @@target += value
+ ^^^^^^^^^^^^^^^^^
+ - name: ClassVariableOrWriteNode
+ child_nodes:
+ - name: name_loc
+ type: location
+ - name: operator_loc
+ type: location
+ - name: value
+ type: node
+ comment: |
+ Represents the use of the `||=` operator for assignment to a class variable.
+
+ @@target ||= value
+ ^^^^^^^^^^^^^^^^^^
- name: ClassVariableReadNode
comment: |
Represents referencing a class variable.
@@ -757,6 +785,61 @@ nodes:
@@foo = 1
^^^^^^^^^
+ - name: ConstantAndWriteNode
+ child_nodes:
+ - name: name_loc
+ type: location
+ - name: operator_loc
+ type: location
+ - name: value
+ type: node
+ comment: |
+ Represents the use of the `&&=` operator for assignment to a constant.
+
+ Target &&= value
+ ^^^^^^^^^^^^^^^^
+ - name: ConstantOperatorWriteNode
+ child_nodes:
+ - name: name_loc
+ type: location
+ - name: operator_loc
+ type: location
+ - name: value
+ type: node
+ - name: operator
+ type: constant
+ comment: |
+ Represents assigning to a constant using an operator that isn't `=`.
+
+ Target += value
+ ^^^^^^^^^^^^^^^
+ - name: ConstantOrWriteNode
+ child_nodes:
+ - name: name_loc
+ type: location
+ - name: operator_loc
+ type: location
+ - name: value
+ type: node
+ comment: |
+ Represents the use of the `||=` operator for assignment to a constant.
+
+ Target ||= value
+ ^^^^^^^^^^^^^^^^
+ - name: ConstantPathAndWriteNode
+ child_nodes:
+ - name: target
+ type: node
+ kind: ConstantPathNode
+ - name: operator_loc
+ type: location
+ - name: value
+ type: node
+ comment: |
+ Represents the use of the `&&=` operator for assignment to a constant path.
+
+ Parent::Child &&= value
+ ^^^^^^^^^^^^^^^^^^^^^^^
- name: ConstantPathNode
child_nodes:
- name: parent
@@ -770,6 +853,36 @@ nodes:
Foo::Bar
^^^^^^^^
+ - name: ConstantPathOperatorWriteNode
+ child_nodes:
+ - name: target
+ type: node
+ kind: ConstantPathNode
+ - name: operator_loc
+ type: location
+ - name: value
+ type: node
+ - name: operator
+ type: constant
+ comment: |
+ Represents assigning to a constant path using an operator that isn't `=`.
+
+ Parent::Child += value
+ ^^^^^^^^^^^^^^^^^^^^^^
+ - name: ConstantPathOrWriteNode
+ child_nodes:
+ - name: target
+ type: node
+ kind: ConstantPathNode
+ - name: operator_loc
+ type: location
+ - name: value
+ type: node
+ comment: |
+ Represents the use of the `||=` operator for assignment to a constant path.
+
+ Parent::Child ||= value
+ ^^^^^^^^^^^^^^^^^^^^^^^
- name: ConstantPathWriteNode
child_nodes:
- name: target
@@ -1012,6 +1125,47 @@ nodes:
super
^^^^^
+ - name: GlobalVariableAndWriteNode
+ child_nodes:
+ - name: name_loc
+ type: location
+ - name: operator_loc
+ type: location
+ - name: value
+ type: node
+ comment: |
+ Represents the use of the `&&=` operator for assignment to a global variable.
+
+ $target &&= value
+ ^^^^^^^^^^^^^^^^^
+ - name: GlobalVariableOperatorWriteNode
+ child_nodes:
+ - name: name_loc
+ type: location
+ - name: operator_loc
+ type: location
+ - name: value
+ type: node
+ - name: operator
+ type: constant
+ comment: |
+ Represents assigning to a global variable using an operator that isn't `=`.
+
+ $target += value
+ ^^^^^^^^^^^^^^^^
+ - name: GlobalVariableOrWriteNode
+ child_nodes:
+ - name: name_loc
+ type: location
+ - name: operator_loc
+ type: location
+ - name: value
+ type: node
+ comment: |
+ Represents the use of the `||=` operator for assignment to a global variable.
+
+ $target ||= value
+ ^^^^^^^^^^^^^^^^^
- name: GlobalVariableReadNode
comment: |
Represents referencing a global variable.
@@ -1111,6 +1265,47 @@ nodes:
case a; in b then c end
^^^^^^^^^^^
+ - name: InstanceVariableAndWriteNode
+ child_nodes:
+ - name: name_loc
+ type: location
+ - name: operator_loc
+ type: location
+ - name: value
+ type: node
+ comment: |
+ Represents the use of the `&&=` operator for assignment to an instance variable.
+
+ @target &&= value
+ ^^^^^^^^^^^^^^^^^
+ - name: InstanceVariableOperatorWriteNode
+ child_nodes:
+ - name: name_loc
+ type: location
+ - name: operator_loc
+ type: location
+ - name: value
+ type: node
+ - name: operator
+ type: constant
+ comment: |
+ Represents assigning to an instance variable using an operator that isn't `=`.
+
+ @target += value
+ ^^^^^^^^^^^^^^^^
+ - name: InstanceVariableOrWriteNode
+ child_nodes:
+ - name: name_loc
+ type: location
+ - name: operator_loc
+ type: location
+ - name: value
+ type: node
+ comment: |
+ Represents the use of the `||=` operator for assignment to an instance variable.
+
+ @target ||= value
+ ^^^^^^^^^^^^^^^^^
- name: InstanceVariableReadNode
comment: |
Represents referencing an instance variable.
@@ -1248,6 +1443,59 @@ nodes:
->(value) { value * 2 }
^^^^^^^^^^^^^^^^^^^^^^^
+ - name: LocalVariableAndWriteNode
+ child_nodes:
+ - name: name_loc
+ type: location
+ - name: operator_loc
+ type: location
+ - name: value
+ type: node
+ - name: constant_id
+ type: constant
+ - name: depth
+ type: uint32
+ comment: |
+ Represents the use of the `&&=` operator for assignment to a local variable.
+
+ target &&= value
+ ^^^^^^^^^^^^^^^^
+ - name: LocalVariableOperatorWriteNode
+ child_nodes:
+ - name: name_loc
+ type: location
+ - name: operator_loc
+ type: location
+ - name: value
+ type: node
+ - name: constant_id
+ type: constant
+ - name: operator_id
+ type: constant
+ - name: depth
+ type: uint32
+ comment: |
+ Represents assigning to a local variable using an operator that isn't `=`.
+
+ target += value
+ ^^^^^^^^^^^^^^^
+ - name: LocalVariableOrWriteNode
+ child_nodes:
+ - name: name_loc
+ type: location
+ - name: operator_loc
+ type: location
+ - name: value
+ type: node
+ - name: constant_id
+ type: constant
+ - name: depth
+ type: uint32
+ comment: |
+ Represents the use of the `||=` operator for assignment to a local variable.
+
+ target ||= value
+ ^^^^^^^^^^^^^^^^
- name: LocalVariableReadNode
child_nodes:
- name: constant_id
@@ -1380,21 +1628,6 @@ nodes:
$1
^^
- - name: OperatorWriteNode
- child_nodes:
- - name: target
- type: node
- - name: operator_loc
- type: location
- - name: operator
- type: constant
- - name: value
- type: node
- comment: |
- Represents the use of an operator on a write.
-
- target += value
- ^^^^^^^^^^^^^^^
- name: OptionalParameterNode
child_nodes:
- name: constant_id
@@ -1424,19 +1657,6 @@ nodes:
left or right
^^^^^^^^^^^^^
- - name: OrWriteNode
- child_nodes:
- - name: target
- type: node
- - name: value
- type: node
- - name: operator_loc
- type: location
- comment: |
- Represents the use of the `||=` operator.
-
- target ||= value
- ^^^^^^^^^^^^^^^^
- name: ParametersNode
child_nodes:
- name: requireds