Skip to content

Commit 0d94291

Browse files
herwinwkddnewton
authored andcommitted
Add field documentation for PinnedExpressionNode
1 parent af9047f commit 0d94291

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

config.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2465,7 +2465,7 @@ nodes:
24652465
- name: opening_loc
24662466
type: location?
24672467
comment: |
2468-
The location of the openingbrace.
2468+
The location of the opening brace.
24692469
24702470
foo in [*bar, baz, *qux]
24712471
^
@@ -4074,12 +4074,32 @@ nodes:
40744074
- name: expression
40754075
type: node
40764076
kind: non-void expression
4077+
comment: |
4078+
The expression used in the pinned expression
4079+
4080+
foo in ^(bar)
4081+
^^^
40774082
- name: operator_loc
40784083
type: location
4084+
comment: |
4085+
The location of the `^` operator
4086+
4087+
foo in ^(bar)
4088+
^
40794089
- name: lparen_loc
40804090
type: location
4091+
comment: |
4092+
The location of the opening parenthesis.
4093+
4094+
foo in ^(bar)
4095+
^
40814096
- name: rparen_loc
40824097
type: location
4098+
comment: |
4099+
The location of the closing parenthesis.
4100+
4101+
foo in ^(bar)
4102+
^
40834103
comment: |
40844104
Represents the use of the `^` operator for pinning an expression in a pattern matching expression.
40854105

0 commit comments

Comments
 (0)