You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: config.yml
+35Lines changed: 35 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1216,19 +1216,54 @@ nodes:
1216
1216
- name: receiver
1217
1217
type: node?
1218
1218
kind: non-void expression
1219
+
comment: |
1220
+
The object that the method is being called on. This can be either `nil` or any [non-void expression](https://github.com/ruby/prism/blob/main/docs/parsing_rules.md#non-void-expression).
1221
+
1222
+
foo.bar &&= value
1223
+
^^^
1219
1224
- name: call_operator_loc
1220
1225
type: location?
1226
+
comment: |
1227
+
Represents the location of the call operator.
1228
+
1229
+
foo.bar &&= value
1230
+
^
1221
1231
- name: message_loc
1222
1232
type: location?
1233
+
comment: |
1234
+
Represents the location of the message.
1235
+
1236
+
foo.bar &&= value
1237
+
^^^
1223
1238
- name: read_name
1224
1239
type: constant
1240
+
comment: |
1241
+
Represents the name of the method being called.
1242
+
1243
+
foo.bar &&= value # read_name `:bar`
1244
+
^^^
1225
1245
- name: write_name
1226
1246
type: constant
1247
+
comment: |
1248
+
Represents the name of the method being written to.
1249
+
1250
+
foo.bar &&= value # write_name `:bar=`
1251
+
^^^
1227
1252
- name: operator_loc
1228
1253
type: location
1254
+
comment: |
1255
+
Represents the location of the operator.
1256
+
1257
+
foo.bar &&= value
1258
+
^^^
1229
1259
- name: value
1230
1260
type: node
1231
1261
kind: non-void expression
1262
+
comment: |
1263
+
Represents the value being assigned.
1264
+
1265
+
foo.bar &&= value
1266
+
^^^^^
1232
1267
comment: |
1233
1268
Represents the use of the `&&=` operator on a call.
0 commit comments