Skip to content

Commit af9047f

Browse files
herwinwkddnewton
authored andcommitted
Add field documentation for PinnedVariableNode
1 parent a0cc316 commit af9047f

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

config.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4098,8 +4098,18 @@ nodes:
40984098
- NumberedReferenceReadNode # foo in ^$1
40994099
- ItLocalVariableReadNode # proc { 1 in ^it }
41004100
- on error: MissingNode # foo in ^Bar
4101+
comment: |
4102+
The variable used in the pinned expression
4103+
4104+
foo in ^bar
4105+
^^^
41014106
- name: operator_loc
41024107
type: location
4108+
comment: |
4109+
The location of the `^` operator
4110+
4111+
foo in ^bar
4112+
^
41034113
comment: |
41044114
Represents the use of the `^` operator for pinning a variable in a pattern matching expression.
41054115

0 commit comments

Comments
 (0)