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
+40Lines changed: 40 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1529,21 +1529,61 @@ nodes:
1529
1529
- name: receiver
1530
1530
type: node?
1531
1531
kind: non-void expression
1532
+
comment: |
1533
+
The object that the method is being called on. This can be either `nil` or any [non-void expressions](https://github.com/ruby/prism/blob/main/docs/parsing_rules.md#non-void-expression).
1534
+
1535
+
foo.bar += value
1536
+
^^^
1532
1537
- name: call_operator_loc
1533
1538
type: location?
1539
+
comment: |
1540
+
Represents the location of the call operator.
1541
+
1542
+
foo.bar += value
1543
+
^
1534
1544
- name: message_loc
1535
1545
type: location?
1546
+
comment: |
1547
+
Represents the location of the message.
1548
+
1549
+
foo.bar += value
1550
+
^^^
1536
1551
- name: read_name
1537
1552
type: constant
1553
+
comment: |
1554
+
Represents the name of the method being called.
1555
+
1556
+
foo.bar += value # read_name `:bar`
1557
+
^^^
1538
1558
- name: write_name
1539
1559
type: constant
1560
+
comment: |
1561
+
Represents the name of the method being written to.
1562
+
1563
+
foo.bar += value # write_name `:bar=`
1564
+
^^^
1540
1565
- name: binary_operator
1541
1566
type: constant
1567
+
comment: |
1568
+
Represents the binary operator being used.
1569
+
1570
+
foo.bar += value # binary_operator `:+`
1571
+
^
1542
1572
- name: binary_operator_loc
1543
1573
type: location
1574
+
comment: |
1575
+
Represents the location of the binary operator.
1576
+
1577
+
foo.bar += value
1578
+
^^
1544
1579
- name: value
1545
1580
type: node
1546
1581
kind: non-void expression
1582
+
comment: |
1583
+
Represents the value being assigned.
1584
+
1585
+
foo.bar += value
1586
+
^^^^^
1547
1587
comment: |
1548
1588
Represents the use of an assignment operator on a call.
0 commit comments