Skip to content

Commit 18906c0

Browse files
committed
Add field documentation for PinnedVariableNode
1 parent 472f3f5 commit 18906c0

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

config.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3493,8 +3493,18 @@ nodes:
34933493
fields:
34943494
- name: variable
34953495
type: node
3496+
comment: |
3497+
The variable used in the pinned expression
3498+
3499+
foo in ^bar
3500+
^^^
34963501
- name: operator_loc
34973502
type: location
3503+
comment: |
3504+
The location of the `^` operator
3505+
3506+
foo in ^bar
3507+
^
34983508
comment: |
34993509
Represents the use of the `^` operator for pinning a variable in a pattern matching expression.
35003510

0 commit comments

Comments
 (0)