Skip to content

Commit cc7fdf5

Browse files
committed
Add field documentation for PinnedExpressionNode
1 parent 18906c0 commit cc7fdf5

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

config.yml

+20
Original file line numberDiff line numberDiff line change
@@ -3478,12 +3478,32 @@ nodes:
34783478
fields:
34793479
- name: expression
34803480
type: node
3481+
comment: |
3482+
The expression used in the pinned expression
3483+
3484+
foo in ^(bar)
3485+
^^^
34813486
- name: operator_loc
34823487
type: location
3488+
comment: |
3489+
The location of the `^` operator
3490+
3491+
foo in ^(bar)
3492+
^
34833493
- name: lparen_loc
34843494
type: location
3495+
comment: |
3496+
The location of the opening parenthesis.
3497+
3498+
foo in ^(bar)
3499+
^
34853500
- name: rparen_loc
34863501
type: location
3502+
comment: |
3503+
The location of the closing parenthesis.
3504+
3505+
foo in ^(bar)
3506+
^
34873507
comment: |
34883508
Represents the use of the `^` operator for pinning an expression in a pattern matching expression.
34893509

0 commit comments

Comments
 (0)