diff options
| author | Matthew Healy <matthew@liamhealy.xyz> | 2024-01-07 11:07:55 +0100 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2024-01-08 18:47:06 +0000 |
| commit | b57c5e560e4302e6f9dd2b2e846575a178086333 (patch) | |
| tree | 29f9b79778bed16b17dfc06a928041f1682d7b00 | |
| parent | 04ae8fb3a953454b6d79f239e28fc779e76aaff4 (diff) | |
[ruby/prism] Add comments for AssocSplatNode fields
https://github.com/ruby/prism/commit/a0fd874848
| -rw-r--r-- | prism/config.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/prism/config.yml b/prism/config.yml index 659a81396c..b4d65d4097 100644 --- a/prism/config.yml +++ b/prism/config.yml @@ -581,8 +581,19 @@ nodes: fields: - name: value type: node? + comment: | + The value to be splatted, if present. Will be missing when keyword + rest argument forwarding is used. + + { **foo } + ^^^ - name: operator_loc type: location + comment: | + The location of the `**` operator. + + { **x } + ^^ comment: | Represents a splat in a hash literal. |
