From 1388ca389ef7f25906c098199051b0c61832f633 Mon Sep 17 00:00:00 2001 From: ydah Date: Thu, 28 Nov 2024 22:58:42 +0900 Subject: [PATCH] Add document ArgumentsNode fields Partially fixes: https://github.com/ruby/prism/issues/2123 --- config.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config.yml b/config.yml index 0f50f30b94..e4cc2f304b 100644 --- a/config.yml +++ b/config.yml @@ -932,6 +932,11 @@ nodes: - name: arguments type: node[] kind: non-void expression + comment: | + The list of arguments, if present. These can be any [non-void expressions](https://github.com/ruby/prism/blob/main/docs/parsing_rules.md#non-void-expression). + + foo(bar, baz) + ^^^^^^^^ comment: | Represents a set of arguments to a method or a keyword.