diff --git a/config.yml b/config.yml index 0f50f30b94..e6a4e878c8 100644 --- a/config.yml +++ b/config.yml @@ -1157,10 +1157,27 @@ nodes: fields: - name: name type: constant? + comment: | + The name of the block parameter. + + def a(&b) # name `:b` + ^ + end - name: name_loc type: location? + comment: | + Represents the location of the block parameter name. + + def a(&b) + ^ - name: operator_loc type: location + comment: | + Represents the location of the `&` operator. + + def a(&b) + ^ + end comment: | Represents a block parameter of a method, block, or lambda definition.