There was an error while loading. Please reload this page.
1 parent 93c0474 commit 480897eCopy full SHA for 480897e
config.yml
@@ -1157,10 +1157,27 @@ nodes:
1157
fields:
1158
- name: name
1159
type: constant?
1160
+ comment: |
1161
+ The name of the block parameter.
1162
+
1163
+ def a(&b) # name `:b`
1164
+ ^
1165
+ end
1166
- name: name_loc
1167
type: location?
1168
1169
+ Represents the location of the block parameter name.
1170
1171
+ def a(&b)
1172
1173
- name: operator_loc
1174
type: location
1175
1176
+ Represents the location of the `&` operator.
1177
1178
1179
1180
1181
comment: |
1182
Represents a block parameter of a method, block, or lambda definition.
1183
0 commit comments