aboutsummaryrefslogtreecommitdiffstats
path: root/prism/config.yml
diff options
context:
space:
mode:
Diffstat (limited to 'prism/config.yml')
-rw-r--r--prism/config.yml16
1 files changed, 15 insertions, 1 deletions
diff --git a/prism/config.yml b/prism/config.yml
index 353ad50c0d..4fd5c462f1 100644
--- a/prism/config.yml
+++ b/prism/config.yml
@@ -1455,6 +1455,21 @@ nodes:
{ Foo: }
^^^^
+ - name: ImplicitRestNode
+ comment: |
+ Represents using a trailing comma to indicate an implicit rest parameter.
+
+ foo { |bar,| }
+ ^
+
+ foo in [bar,]
+ ^
+
+ for foo, in bar do end
+ ^
+
+ foo, = bar
+ ^
- name: InNode
fields:
- name: pattern
@@ -2071,7 +2086,6 @@ nodes:
type: node[]
- name: rest
type: node?
- kind: RestParameterNode
- name: posts
type: node[]
- name: keywords