aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2023-10-26 14:56:21 -0400
committerKevin Newton <kddnewton@gmail.com>2023-10-26 14:59:13 -0400
commit018f0a9c5fda185f91edf3da797b9e1b1df14706 (patch)
tree591c41b2e28cd638307247af7d13405b68275eb1
parent922f48f08158332c8cf94ad37f9e307f80200bf9 (diff)
downloadruby-018f0a9c5fda185f91edf3da797b9e1b1df14706.tar.gz
[ruby/prism] Rename to lefts/rights
https://github.com/ruby/prism/commit/e6deed05a5
-rw-r--r--lib/prism/debug.rb4
-rw-r--r--prism/config.yml8
-rw-r--r--prism/prism.c16
-rw-r--r--test/prism/constant_path_node_test.rb2
-rw-r--r--test/prism/location_test.rb14
-rw-r--r--test/prism/snapshots/arrays.txt4
-rw-r--r--test/prism/snapshots/for.txt8
-rw-r--r--test/prism/snapshots/method_calls.txt4
-rw-r--r--test/prism/snapshots/methods.txt12
-rw-r--r--test/prism/snapshots/procs.txt4
-rw-r--r--test/prism/snapshots/seattlerb/block_decomp_anon_splat_arg.txt4
-rw-r--r--test/prism/snapshots/seattlerb/block_decomp_arg_splat.txt4
-rw-r--r--test/prism/snapshots/seattlerb/block_decomp_arg_splat_arg.txt4
-rw-r--r--test/prism/snapshots/seattlerb/block_decomp_splat.txt4
-rw-r--r--test/prism/snapshots/seattlerb/block_paren_splat.txt4
-rw-r--r--test/prism/snapshots/seattlerb/bug_args__19.txt4
-rw-r--r--test/prism/snapshots/seattlerb/bug_args_masgn.txt4
-rw-r--r--test/prism/snapshots/seattlerb/bug_args_masgn2.txt8
-rw-r--r--test/prism/snapshots/seattlerb/bug_args_masgn_outer_parens__19.txt8
-rw-r--r--test/prism/snapshots/seattlerb/bug_masgn_right.txt4
-rw-r--r--test/prism/snapshots/seattlerb/difficult3_.txt4
-rw-r--r--test/prism/snapshots/seattlerb/difficult3__10.txt4
-rw-r--r--test/prism/snapshots/seattlerb/difficult3__11.txt4
-rw-r--r--test/prism/snapshots/seattlerb/difficult3__12.txt4
-rw-r--r--test/prism/snapshots/seattlerb/difficult3__6.txt4
-rw-r--r--test/prism/snapshots/seattlerb/difficult3__7.txt4
-rw-r--r--test/prism/snapshots/seattlerb/difficult3__8.txt4
-rw-r--r--test/prism/snapshots/seattlerb/difficult3__9.txt4
-rw-r--r--test/prism/snapshots/seattlerb/iter_args_2__19.txt4
-rw-r--r--test/prism/snapshots/seattlerb/iter_args_3.txt4
-rw-r--r--test/prism/snapshots/seattlerb/masgn_anon_splat_arg.txt4
-rw-r--r--test/prism/snapshots/seattlerb/masgn_arg_colon_arg.txt4
-rw-r--r--test/prism/snapshots/seattlerb/masgn_arg_ident.txt4
-rw-r--r--test/prism/snapshots/seattlerb/masgn_arg_splat_arg.txt4
-rw-r--r--test/prism/snapshots/seattlerb/masgn_colon2.txt4
-rw-r--r--test/prism/snapshots/seattlerb/masgn_colon3.txt4
-rw-r--r--test/prism/snapshots/seattlerb/masgn_command_call.txt4
-rw-r--r--test/prism/snapshots/seattlerb/masgn_double_paren.txt8
-rw-r--r--test/prism/snapshots/seattlerb/masgn_lhs_splat.txt4
-rw-r--r--test/prism/snapshots/seattlerb/masgn_paren.txt4
-rw-r--r--test/prism/snapshots/seattlerb/masgn_splat_arg.txt4
-rw-r--r--test/prism/snapshots/seattlerb/masgn_splat_arg_arg.txt4
-rw-r--r--test/prism/snapshots/seattlerb/masgn_star.txt4
-rw-r--r--test/prism/snapshots/seattlerb/masgn_var_star_var.txt4
-rw-r--r--test/prism/snapshots/seattlerb/mlhs_back_anonsplat.txt4
-rw-r--r--test/prism/snapshots/seattlerb/mlhs_back_splat.txt4
-rw-r--r--test/prism/snapshots/seattlerb/mlhs_front_anonsplat.txt4
-rw-r--r--test/prism/snapshots/seattlerb/mlhs_front_splat.txt4
-rw-r--r--test/prism/snapshots/seattlerb/mlhs_mid_anonsplat.txt4
-rw-r--r--test/prism/snapshots/seattlerb/mlhs_mid_splat.txt4
-rw-r--r--test/prism/snapshots/seattlerb/mlhs_rescue.txt4
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_to_ary.txt4
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/assignment.txt76
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/block.txt28
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/def.txt8
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/defined.txt4
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/for.txt8
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/send.txt4
-rw-r--r--test/prism/snapshots/variables.txt40
-rw-r--r--test/prism/snapshots/whitequark/and_or_masgn.txt8
-rw-r--r--test/prism/snapshots/whitequark/args.txt44
-rw-r--r--test/prism/snapshots/whitequark/cond_begin_masgn.txt4
-rw-r--r--test/prism/snapshots/whitequark/for_mlhs.txt4
-rw-r--r--test/prism/snapshots/whitequark/if_masgn__24.txt4
-rw-r--r--test/prism/snapshots/whitequark/masgn.txt12
-rw-r--r--test/prism/snapshots/whitequark/masgn_attr.txt12
-rw-r--r--test/prism/snapshots/whitequark/masgn_cmd.txt4
-rw-r--r--test/prism/snapshots/whitequark/masgn_const.txt8
-rw-r--r--test/prism/snapshots/whitequark/masgn_nested.txt16
-rw-r--r--test/prism/snapshots/whitequark/masgn_splat.txt40
-rw-r--r--test/prism/snapshots/whitequark/not_masgn__24.txt4
-rw-r--r--test/prism/snapshots/whitequark/procarg0.txt4
-rw-r--r--test/prism/snapshots/whitequark/rescue_mod_masgn.txt4
73 files changed, 296 insertions, 296 deletions
diff --git a/lib/prism/debug.rb b/lib/prism/debug.rb
index d6f4ea3f21..e05f169a2c 100644
--- a/lib/prism/debug.rb
+++ b/lib/prism/debug.rb
@@ -116,9 +116,9 @@ module Prism
while (param = param_stack.pop)
case param
when MultiTargetNode
- param_stack.concat(param.posts.reverse)
+ param_stack.concat(param.rights.reverse)
param_stack << param.rest
- param_stack.concat(param.requireds.reverse)
+ param_stack.concat(param.lefts.reverse)
when RequiredParameterNode
sorted << param.name
when SplatNode
diff --git a/prism/config.yml b/prism/config.yml
index ac17a30ba6..2f187d3261 100644
--- a/prism/config.yml
+++ b/prism/config.yml
@@ -1922,11 +1922,11 @@ nodes:
^^^^^^^^^^^^^^
- name: MultiTargetNode
fields:
- - name: requireds
+ - name: lefts
type: node[]
- name: rest
type: node?
- - name: posts
+ - name: rights
type: node[]
- name: lparen_loc
type: location?
@@ -1939,11 +1939,11 @@ nodes:
^^^^^^
- name: MultiWriteNode
fields:
- - name: requireds
+ - name: lefts
type: node[]
- name: rest
type: node?
- - name: posts
+ - name: rights
type: node[]
- name: lparen_loc
type: location?
diff --git a/prism/prism.c b/prism/prism.c
index 9698019634..05c425864a 100644
--- a/prism/prism.c
+++ b/prism/prism.c
@@ -3612,9 +3612,9 @@ pm_multi_target_node_create(pm_parser_t *parser) {
.type = PM_MULTI_TARGET_NODE,
.location = { .start = NULL, .end = NULL }
},
- .requireds = PM_EMPTY_NODE_LIST,
+ .lefts = PM_EMPTY_NODE_LIST,
.rest = NULL,
- .posts = PM_EMPTY_NODE_LIST,
+ .rights = PM_EMPTY_NODE_LIST,
.lparen_loc = PM_OPTIONAL_LOCATION_NOT_PROVIDED_VALUE,
.rparen_loc = PM_OPTIONAL_LOCATION_NOT_PROVIDED_VALUE
};
@@ -3630,12 +3630,12 @@ pm_multi_target_node_targets_append(pm_parser_t *parser, pm_multi_target_node_t
node->rest = target;
} else {
pm_parser_err_node(parser, target, PM_ERR_MULTI_ASSIGN_MULTI_SPLATS);
- pm_node_list_append(&node->posts, target);
+ pm_node_list_append(&node->rights, target);
}
} else if (node->rest == NULL) {
- pm_node_list_append(&node->requireds, target);
+ pm_node_list_append(&node->lefts, target);
} else {
- pm_node_list_append(&node->posts, target);
+ pm_node_list_append(&node->rights, target);
}
if (node->base.location.start == NULL || (node->base.location.start > target->location.start)) {
@@ -3674,9 +3674,9 @@ pm_multi_write_node_create(pm_parser_t *parser, pm_multi_target_node_t *target,
.end = value->location.end
}
},
- .requireds = target->requireds,
+ .lefts = target->lefts,
.rest = target->rest,
- .posts = target->posts,
+ .rights = target->rights,
.lparen_loc = target->lparen_loc,
.rparen_loc = target->rparen_loc,
.operator_loc = PM_LOCATION_TOKEN_VALUE(operator),
@@ -10189,7 +10189,7 @@ parse_required_destructured_parameter(pm_parser_t *parser) {
// If we get here then we have a trailing comma. In this case we'll
// create an implicit splat node.
- if (node->requireds.size > 0 && match1(parser, PM_TOKEN_PARENTHESIS_RIGHT)) {
+ if (node->lefts.size > 0 && match1(parser, PM_TOKEN_PARENTHESIS_RIGHT)) {
param = (pm_node_t *) pm_splat_node_create(parser, &parser->previous, NULL);
pm_multi_target_node_targets_append(parser, node, param);
break;
diff --git a/test/prism/constant_path_node_test.rb b/test/prism/constant_path_node_test.rb
index 4d202b8bdc..5bb9830687 100644
--- a/test/prism/constant_path_node_test.rb
+++ b/test/prism/constant_path_node_test.rb
@@ -23,7 +23,7 @@ module Prism
RUBY
node = Prism.parse(source).value.statements.body.first
- assert_equal("Foo::Bar::Baz::Qux", node.requireds.first.full_name)
+ assert_equal("Foo::Bar::Baz::Qux", node.lefts.first.full_name)
end
end
end
diff --git a/test/prism/location_test.rb b/test/prism/location_test.rb
index 03a4fcc942..5501d9de4a 100644
--- a/test/prism/location_test.rb
+++ b/test/prism/location_test.rb
@@ -224,7 +224,7 @@ module Prism
def test_ClassVariableTargetNode
assert_location(ClassVariableTargetNode, "@@foo, @@bar = baz", 0...5) do |node|
- node.requireds.first
+ node.lefts.first
end
end
@@ -252,7 +252,7 @@ module Prism
def test_ConstantPathTargetNode
assert_location(ConstantPathTargetNode, "::Foo, ::Bar = baz", 0...5) do |node|
- node.requireds.first
+ node.lefts.first
end
end
@@ -281,7 +281,7 @@ module Prism
def test_ConstantTargetNode
assert_location(ConstantTargetNode, "Foo, Bar = baz", 0...3) do |node|
- node.requireds.first
+ node.lefts.first
end
end
@@ -379,7 +379,7 @@ module Prism
def test_GlobalVariableTargetNode
assert_location(GlobalVariableTargetNode, "$foo, $bar = baz", 0...4) do |node|
- node.requireds.first
+ node.lefts.first
end
end
@@ -457,7 +457,7 @@ module Prism
def test_InstanceVariableTargetNode
assert_location(InstanceVariableTargetNode, "@foo, @bar = baz", 0...4) do |node|
- node.requireds.first
+ node.lefts.first
end
end
@@ -548,7 +548,7 @@ module Prism
def test_LocalVariableTargetNode
assert_location(LocalVariableTargetNode, "foo, bar = baz", 0...3) do |node|
- node.requireds.first
+ node.lefts.first
end
end
@@ -578,7 +578,7 @@ module Prism
def test_MultiTargetNode
assert_location(MultiTargetNode, "for foo, bar in baz do end", 4...12, &:index)
- assert_location(MultiTargetNode, "foo, (bar, baz) = qux", 5...15) { |node| node.requireds.last }
+ assert_location(MultiTargetNode, "foo, (bar, baz) = qux", 5...15) { |node| node.lefts.last }
assert_location(MultiTargetNode, "def foo((bar)); end", 8...13) do |node|
node.parameters.requireds.first
end
diff --git a/test/prism/snapshots/arrays.txt b/test/prism/snapshots/arrays.txt
index 0b1426cc96..bf68329ca0 100644
--- a/test/prism/snapshots/arrays.txt
+++ b/test/prism/snapshots/arrays.txt
@@ -407,7 +407,7 @@
│ ├── flags: ∅
│ └── name: :[]=
├── @ MultiWriteNode (location: (41,0)-(41,21))
- │ ├── requireds: (length: 2)
+ │ ├── lefts: (length: 2)
│ │ ├── @ CallNode (location: (41,0)-(41,6))
│ │ │ ├── receiver:
│ │ │ │ @ CallNode (location: (41,0)-(41,3))
@@ -459,7 +459,7 @@
│ │ ├── flags: ∅
│ │ └── name: :[]=
│ ├── rest: ∅
- │ ├── posts: (length: 0)
+ │ ├── rights: (length: 0)
│ ├── lparen_loc: ∅
│ ├── rparen_loc: ∅
│ ├── operator_loc: (41,15)-(41,16) = "="
diff --git a/test/prism/snapshots/for.txt b/test/prism/snapshots/for.txt
index 5b1b2a8a55..28225efd54 100644
--- a/test/prism/snapshots/for.txt
+++ b/test/prism/snapshots/for.txt
@@ -56,7 +56,7 @@
├── @ ForNode (location: (7,0)-(9,3))
│ ├── index:
│ │ @ MultiTargetNode (location: (7,4)-(7,7))
- │ │ ├── requireds: (length: 2)
+ │ │ ├── lefts: (length: 2)
│ │ │ ├── @ LocalVariableTargetNode (location: (7,4)-(7,5))
│ │ │ │ ├── name: :i
│ │ │ │ └── depth: 1
@@ -64,7 +64,7 @@
│ │ │ ├── name: :j
│ │ │ └── depth: 1
│ │ ├── rest: ∅
- │ │ ├── posts: (length: 0)
+ │ │ ├── rights: (length: 0)
│ │ ├── lparen_loc: ∅
│ │ └── rparen_loc: ∅
│ ├── collection:
@@ -90,7 +90,7 @@
├── @ ForNode (location: (11,0)-(13,3))
│ ├── index:
│ │ @ MultiTargetNode (location: (11,4)-(11,9))
- │ │ ├── requireds: (length: 3)
+ │ │ ├── lefts: (length: 3)
│ │ │ ├── @ LocalVariableTargetNode (location: (11,4)-(11,5))
│ │ │ │ ├── name: :i
│ │ │ │ └── depth: 1
@@ -101,7 +101,7 @@
│ │ │ ├── name: :k
│ │ │ └── depth: 1
│ │ ├── rest: ∅
- │ │ ├── posts: (length: 0)
+ │ │ ├── rights: (length: 0)
│ │ ├── lparen_loc: ∅
│ │ └── rparen_loc: ∅
│ ├── collection:
diff --git a/test/prism/snapshots/method_calls.txt b/test/prism/snapshots/method_calls.txt
index a5bc0a1394..7981b50422 100644
--- a/test/prism/snapshots/method_calls.txt
+++ b/test/prism/snapshots/method_calls.txt
@@ -499,7 +499,7 @@
│ ├── flags: ∅
│ └── name: :b
├── @ MultiWriteNode (location: (41,0)-(41,23))
- │ ├── requireds: (length: 2)
+ │ ├── lefts: (length: 2)
│ │ ├── @ CallNode (location: (41,0)-(41,7))
│ │ │ ├── receiver:
│ │ │ │ @ CallNode (location: (41,0)-(41,3))
@@ -541,7 +541,7 @@
│ │ ├── flags: ∅
│ │ └── name: :bar=
│ ├── rest: ∅
- │ ├── posts: (length: 0)
+ │ ├── rights: (length: 0)
│ ├── lparen_loc: ∅
│ ├── rparen_loc: ∅
│ ├── operator_loc: (41,17)-(41,18) = "="
diff --git a/test/prism/snapshots/methods.txt b/test/prism/snapshots/methods.txt
index 5ce7ea824f..abe050cd8c 100644
--- a/test/prism/snapshots/methods.txt
+++ b/test/prism/snapshots/methods.txt
@@ -11,13 +11,13 @@
│ │ @ ParametersNode (location: (1,8)-(1,18))
│ │ ├── requireds: (length: 1)
│ │ │ └── @ MultiTargetNode (location: (1,8)-(1,18))
- │ │ │ ├── requireds: (length: 2)
+ │ │ │ ├── lefts: (length: 2)
│ │ │ │ ├── @ RequiredParameterNode (location: (1,9)-(1,12))
│ │ │ │ │ └── name: :bar
│ │ │ │ └── @ RequiredParameterNode (location: (1,14)-(1,17))
│ │ │ │ └── name: :baz
│ │ │ ├── rest: ∅
- │ │ │ ├── posts: (length: 0)
+ │ │ │ ├── rights: (length: 0)
│ │ │ ├── lparen_loc: (1,8)-(1,9) = "("
│ │ │ └── rparen_loc: (1,17)-(1,18) = ")"
│ │ ├── optionals: (length: 0)
@@ -42,13 +42,13 @@
│ │ @ ParametersNode (location: (4,8)-(4,44))
│ │ ├── requireds: (length: 1)
│ │ │ └── @ MultiTargetNode (location: (4,8)-(4,18))
- │ │ │ ├── requireds: (length: 2)
+ │ │ │ ├── lefts: (length: 2)
│ │ │ │ ├── @ RequiredParameterNode (location: (4,9)-(4,12))
│ │ │ │ │ └── name: :bar
│ │ │ │ └── @ RequiredParameterNode (location: (4,14)-(4,17))
│ │ │ │ └── name: :baz
│ │ │ ├── rest: ∅
- │ │ │ ├── posts: (length: 0)
+ │ │ │ ├── rights: (length: 0)
│ │ │ ├── lparen_loc: (4,8)-(4,9) = "("
│ │ │ └── rparen_loc: (4,17)-(4,18) = ")"
│ │ ├── optionals: (length: 1)
@@ -62,13 +62,13 @@
│ │ ├── rest: ∅
│ │ ├── posts: (length: 1)
│ │ │ └── @ MultiTargetNode (location: (4,34)-(4,44))
- │ │ │ ├── requireds: (length: 2)
+ │ │ │ ├── lefts: (length: 2)
│ │ │ │ ├── @ RequiredParameterNode (location: (4,35)-(4,38))
│ │ │ │ │ └── name: :bin
│ │ │ │ └── @ RequiredParameterNode (location: (4,40)-(4,43))
│ │ │ │ └── name: :bag
│ │ │ ├── rest: ∅
- │ │ │ ├── posts: (length: 0)
+ │ │ │ ├── rights: (length: 0)
│ │ │ ├── lparen_loc: (4,34)-(4,35) = "("
│ │ │ └── rparen_loc: (4,43)-(4,44) = ")"
│ │ ├── keywords: (length: 0)
diff --git a/test/prism/snapshots/procs.txt b/test/prism/snapshots/procs.txt
index 64aae80ad0..a711c5551e 100644
--- a/test/prism/snapshots/procs.txt
+++ b/test/prism/snapshots/procs.txt
@@ -353,13 +353,13 @@
│ │ @ ParametersNode (location: (27,4)-(27,14))
│ │ ├── requireds: (length: 1)
│ │ │ └── @ MultiTargetNode (location: (27,4)-(27,10))
- │ │ │ ├── requireds: (length: 2)
+ │ │ │ ├── lefts: (length: 2)
│ │ │ │ ├── @ RequiredParameterNode (location: (27,5)-(27,6))
│ │ │ │ │ └── name: :a
│ │ │ │ └── @ RequiredParameterNode (location: (27,8)-(27,9))
│ │ │ │ └── name: :b
│ │ │ ├── rest: ∅
- │ │ │ ├── posts: (length: 0)
+ │ │ │ ├── rights: (length: 0)
│ │ │ ├── lparen_loc: (27,4)-(27,5) = "("
│ │ │ └── rparen_loc: (27,9)-(27,10) = ")"
│ │ ├── optionals: (length: 0)
diff --git a/test/prism/snapshots/seattlerb/block_decomp_anon_splat_arg.txt b/test/prism/snapshots/seattlerb/block_decomp_anon_splat_arg.txt
index 715dcdc06f..671e3c4ee5 100644
--- a/test/prism/snapshots/seattlerb/block_decomp_anon_splat_arg.txt
+++ b/test/prism/snapshots/seattlerb/block_decomp_anon_splat_arg.txt
@@ -19,12 +19,12 @@
│ │ │ @ ParametersNode (location: (1,5)-(1,11))
│ │ │ ├── requireds: (length: 1)
│ │ │ │ └── @ MultiTargetNode (location: (1,5)-(1,11))
- │ │ │ │ ├── requireds: (length: 0)
+ │ │ │ │ ├── lefts: (length: 0)
│ │ │ │ ├── rest:
│ │ │ │ │ @ SplatNode (location: (1,6)-(1,7))
│ │ │ │ │ ├── operator_loc: (1,6)-(1,7) = "*"
│ │ │ │ │ └── expression: ∅
- │ │ │ │ ├── posts: (length: 1)
+ │ │ │ │ ├── rights: (length: 1)
│ │ │ │ │ └── @ RequiredParameterNode (location: (1,9)-(1,10))
│ │ │ │ │ └── name: :a
│ │ │ │ ├── lparen_loc: (1,5)-(1,6) = "("
diff --git a/test/prism/snapshots/seattlerb/block_decomp_arg_splat.txt b/test/prism/snapshots/seattlerb/block_decomp_arg_splat.txt
index 035d5dfbbe..ce92bd6a2e 100644
--- a/test/prism/snapshots/seattlerb/block_decomp_arg_splat.txt
+++ b/test/prism/snapshots/seattlerb/block_decomp_arg_splat.txt
@@ -19,14 +19,14 @@
│ │ │ @ ParametersNode (location: (1,5)-(1,11))
│ │ │ ├── requireds: (length: 1)
│ │ │ │ └── @ MultiTargetNode (location: (1,5)-(1,11))
- │ │ │ │ ├── requireds: (length: 1)
+ │ │ │ │ ├── lefts: (length: 1)
│ │ │ │ │ └── @ RequiredParameterNode (location: (1,6)-(1,7))
│ │ │ │ │ └── name: :b
│ │ │ │ ├── rest:
│ │ │ │ │ @ SplatNode (location: (1,9)-(1,10))
│ │ │ │ │ ├── operator_loc: (1,9)-(1,10) = "*"
│ │ │ │ │ └── expression: ∅
- │ │ │ │ ├── posts: (length: 0)
+ │ │ │ │ ├── rights: (length: 0)
│ │ │ │ ├── lparen_loc: (1,5)-(1,6) = "("
│ │ │ │ └── rparen_loc: (1,10)-(1,11) = ")"
│ │ │ ├── optionals: (length: 0)
diff --git a/test/prism/snapshots/seattlerb/block_decomp_arg_splat_arg.txt b/test/prism/snapshots/seattlerb/block_decomp_arg_splat_arg.txt
index fa294367fd..67439e5e53 100644
--- a/test/prism/snapshots/seattlerb/block_decomp_arg_splat_arg.txt
+++ b/test/prism/snapshots/seattlerb/block_decomp_arg_splat_arg.txt
@@ -19,7 +19,7 @@
│ │ │ @ ParametersNode (location: (1,5)-(1,15))
│ │ │ ├── requireds: (length: 1)
│ │ │ │ └── @ MultiTargetNode (location: (1,5)-(1,15))
- │ │ │ │ ├── requireds: (length: 1)
+ │ │ │ │ ├── lefts: (length: 1)
│ │ │ │ │ └── @ RequiredParameterNode (location: (1,6)-(1,7))
│ │ │ │ │ └── name: :a
│ │ │ │ ├── rest:
@@ -28,7 +28,7 @@
│ │ │ │ │ └── expression:
│ │ │ │ │ @ RequiredParameterNode (location: (1,10)-(1,11))
│ │ │ │ │ └── name: :b
- │ │ │ │ ├── posts: (length: 1)
+ │ │ │ │ ├── rights: (length: 1)
│ │ │ │ │ └── @ RequiredParameterNode (location: (1,13)-(1,14))
│ │ │ │ │ └── name: :c
│ │ │ │ ├── lparen_loc: (1,5)-(1,6) = "("
diff --git a/test/prism/snapshots/seattlerb/block_decomp_splat.txt b/test/prism/snapshots/seattlerb/block_decomp_splat.txt
index 9cc64c6fb3..5de498cac9 100644
--- a/test/prism/snapshots/seattlerb/block_decomp_splat.txt
+++ b/test/prism/snapshots/seattlerb/block_decomp_splat.txt
@@ -19,14 +19,14 @@
│ │ │ @ ParametersNode (location: (1,5)-(1,9))
│ │ │ ├── requireds: (length: 1)
│ │ │ │ └── @ MultiTargetNode (location: (1,5)-(1,9))
- │ │ │ │ ├── requireds: (length: 0)
+ │ │ │ │ ├── lefts: (length: 0)
│ │ │ │ ├── rest:
│ │ │ │ │ @ SplatNode (location: (1,6)-(1,8))
│ │ │ │ │ ├── operator_loc: (1,6)-(1,7) = "*"
│ │ │ │ │ └── expression:
│ │ │ │ │ @ RequiredParameterNode (location: (1,7)-(1,8))
│ │ │ │ │ └── name: :a
- │ │ │ │ ├── posts: (length: 0)
+ │ │ │ │ ├── rights: (length: 0)
│ │ │ │ ├── lparen_loc: (1,5)-(1,6) = "("
│ │ │ │ └── rparen_loc: (1,8)-(1,9) = ")"
│ │ │ ├── optionals: (length: 0)
diff --git a/test/prism/snapshots/seattlerb/block_paren_splat.txt b/test/prism/snapshots/seattlerb/block_paren_splat.txt
index 3c5bd96125..5782874d6d 100644
--- a/test/prism/snapshots/seattlerb/block_paren_splat.txt
+++ b/test/prism/snapshots/seattlerb/block_paren_splat.txt
@@ -19,7 +19,7 @@
│ │ │ @ ParametersNode (location: (1,5)-(1,12))
│ │ │ ├── requireds: (length: 1)
│ │ │ │ └── @ MultiTargetNode (location: (1,5)-(1,12))
- │ │ │ │ ├── requireds: (length: 1)
+ │ │ │ │ ├── lefts: (length: 1)
│ │ │ │ │ └── @ RequiredParameterNode (location: (1,6)-(1,7))
│ │ │ │ │ └── name: :b
│ │ │ │ ├── rest:
@@ -28,7 +28,7 @@
│ │ │ │ │ └── expression:
│ │ │ │ │ @ RequiredParameterNode (location: (1,10)-(1,11))
│ │ │ │ │ └── name: :c
- │ │ │ │ ├── posts: (length: 0)
+ │ │ │ │ ├── rights: (length: 0)
│ │ │ │ ├── lparen_loc: (1,5)-(1,6) = "("
│ │ │ │ └── rparen_loc: (1,11)-(1,12) = ")"
│ │ │ ├── optionals: (length: 0)
diff --git a/test/prism/snapshots/seattlerb/bug_args__19.txt b/test/prism/snapshots/seattlerb/bug_args__19.txt
index 32a103bc10..751f990ea0 100644
--- a/test/prism/snapshots/seattlerb/bug_args__19.txt
+++ b/test/prism/snapshots/seattlerb/bug_args__19.txt
@@ -19,13 +19,13 @@
│ │ │ @ ParametersNode (location: (1,5)-(1,11))
│ │ │ ├── requireds: (length: 1)
│ │ │ │ └── @ MultiTargetNode (location: (1,5)-(1,11))
- │ │ │ │ ├── requireds: (length: 2)
+ │ │ │ │ ├── lefts: (length: 2)
│ │ │ │ │ ├── @ RequiredParameterNode (location: (1,6)-(1,7))
│ │ │ │ │ │ └── name: :a
│ │ │ │ │ └── @ RequiredParameterNode (location: (1,9)-(1,10))
│ │ │ │ │ └── name: :b
│ │ │ │ ├── rest: ∅
- │ │ │ │ ├── posts: (length: 0)
+ │ │ │ │ ├── rights: (length: 0)
│ │ │ │ ├── lparen_loc: (1,5)-(1,6) = "("
│ │ │ │ └── rparen_loc: (1,10)-(1,11) = ")"
│ │ │ ├── optionals: (length: 0)
diff --git a/test/prism/snapshots/seattlerb/bug_args_masgn.txt b/test/prism/snapshots/seattlerb/bug_args_masgn.txt
index 4646da3e0d..07972ba859 100644
--- a/test/prism/snapshots/seattlerb/bug_args_masgn.txt
+++ b/test/prism/snapshots/seattlerb/bug_args_masgn.txt
@@ -19,13 +19,13 @@
│ │ │ @ ParametersNode (location: (1,5)-(1,14))
│ │ │ ├── requireds: (length: 2)
│ │ │ │ ├── @ MultiTargetNode (location: (1,5)-(1,11))
- │ │ │ │ │ ├── requireds: (length: 2)
+ │ │ │ │ │ ├── lefts: (length: 2)
│ │ │ │ │ │ ├── @ RequiredParameterNode (location: (1,6)-(1,7))
│ │ │ │ │ │ │ └── name: :a
│ │ │ │ │ │ └── @ RequiredParameterNode (location: (1,9)-(1,10))
│ │ │ │ │ │ └── name: :b
│ │ │ │ │ ├── rest: ∅
- │ │ │ │ │ ├── posts: (length: 0)
+ │ │ │ │ │ ├── rights: (length: 0)
│ │ │ │ │ ├── lparen_loc: (1,5)-(1,6) = "("
│ │ │ │ │ └── rparen_loc: (1,10)-(1,11) = ")"
│ │ │ │ └── @ RequiredParameterNode (location: (1,13)-(1,14))
diff --git a/test/prism/snapshots/seattlerb/bug_args_masgn2.txt b/test/prism/snapshots/seattlerb/bug_args_masgn2.txt
index ed2b370098..70a365428f 100644
--- a/test/prism/snapshots/seattlerb/bug_args_masgn2.txt
+++ b/test/prism/snapshots/seattlerb/bug_args_masgn2.txt
@@ -19,21 +19,21 @@
│ │ │ @ ParametersNode (location: (1,5)-(1,19))
│ │ │ ├── requireds: (length: 2)
│ │ │ │ ├── @ MultiTargetNode (location: (1,5)-(1,16))
- │ │ │ │ │ ├── requireds: (length: 2)
+ │ │ │ │ │ ├── lefts: (length: 2)
│ │ │ │ │ │ ├── @ MultiTargetNode (location: (1,6)-(1,12))
- │ │ │ │ │ │ │ ├── requireds: (length: 2)
+ │ │ │ │ │ │ │ ├── lefts: (length: 2)
│ │ │ │ │ │ │ │ ├── @ RequiredParameterNode (location: (1,7)-(1,8))
│ │ │ │ │ │ │ │ │ └── name: :a
│ │ │ │ │ │ │ │ └── @ RequiredParameterNode (location: (1,10)-(1,11))
│ │ │ │ │ │ │ │ └── name: :b
│ │ │ │ │ │ │ ├── rest: ∅
- │ │ │ │ │ │ │ ├── posts: (length: 0)
+ │ │ │ │ │ │ │ ├── rights: (length: 0)
│ │ │ │ │ │ │ ├── lparen_loc: (1,6)-(1,7) = "("
│ │ │ │ │ │ │ └── rparen_loc: (1,11)-(1,12) = ")"
│ │ │ │ │ │ └── @ RequiredParameterNode (location: (1,14)-(1,15))
│ │ │ │ │ │ └── name: :c
│ │ │ │ │ ├── rest: ∅
- │ │ │ │ │ ├── posts: (length: 0)
+ │ │ │ │ │ ├── rights: (length: 0)
│ │ │ │ │ ├── lparen_loc: (1,5)-(1,6) = "("
│ │ │ │ │ └── rparen_loc: (1,15)-(1,16) = ")"
│ │ │ │ └── @ RequiredParameterNode (location: (1,18)-(1,19))
diff --git a/test/prism/snapshots/seattlerb/bug_args_masgn_outer_parens__19.txt b/test/prism/snapshots/seattlerb/bug_args_masgn_outer_parens__19.txt
index eedc260842..131771924c 100644
--- a/test/prism/snapshots/seattlerb/bug_args_masgn_outer_parens__19.txt
+++ b/test/prism/snapshots/seattlerb/bug_args_masgn_outer_parens__19.txt
@@ -19,21 +19,21 @@
│ │ │ @ ParametersNode (location: (1,5)-(1,16))
│ │ │ ├── requireds: (length: 1)
│ │ │ │ └── @ MultiTargetNode (location: (1,5)-(1,16))
- │ │ │ │ ├── requireds: (length: 2)
+ │ │ │ │ ├── lefts: (length: 2)
│ │ │ │ │ ├── @ MultiTargetNode (location: (1,6)-(1,12))
- │ │ │ │ │ │ ├── requireds: (length: 2)
+ │ │ │ │ │ │ ├── lefts: (length: 2)
│ │ │ │ │ │ │ ├── @ RequiredParameterNode (location: (1,7)-(1,8))
│ │ │ │ │ │ │ │ └── name: :k
│ │ │ │ │ │ │ └── @ RequiredParameterNode (location: (1,10)-(1,11))
│ │ │ │ │ │ │ └── name: :v
│ │ │ │ │ │ ├── rest: ∅
- │ │ │ │ │ │ ├── posts: (length: 0)
+ │ │ │ │ │ │ ├── rights: (length: 0)
│ │ │ │ │ │ ├── lparen_loc: (1,6)-(1,7) = "("
│ │ │ │ │ │ └── rparen_loc: (1,11)-(1,12) = ")"
│ │ │ │ │ └── @ RequiredParameterNode (location: (1,14)-(1,15))
│ │ │ │ │ └── name: :i
│ │ │ │ ├── rest: ∅
- │ │ │ │ ├── posts: (length: 0)
+ │ │ │ │ ├── rights: (length: 0)
│ │ │ │ ├── lparen_loc: (1,5)-(1,6) = "("
│ │ │ │ └── rparen_loc: (1,15)-(1,16) = ")"
│ │ │ ├── optionals: (length: 0)
diff --git a/test/prism/snapshots/seattlerb/bug_masgn_right.txt b/test/prism/snapshots/seattlerb/bug_masgn_right.txt
index b40bd394c1..c279e0d81e 100644
--- a/test/prism/snapshots/seattlerb/bug_masgn_right.txt
+++ b/test/prism/snapshots/seattlerb/bug_masgn_right.txt
@@ -21,13 +21,13 @@
│ │ │ │ ├── @ RequiredParameterNode (location: (1,5)-(1,6))
│ │ │ │ │ └── name: :a
│ │ │ │ └── @ MultiTargetNode (location: (1,8)-(1,14))
- │ │ │ │ ├── requireds: (length: 2)
+ │ │ │ │ ├── lefts: (length: 2)
│ │ │ │ │ ├── @ RequiredParameterNode (location: (1,9)-(1,10))
│ │ │ │ │ │ └── name: :b
│ │ │ │ │ └── @ RequiredParameterNode (location: (1,12)-(1,13))
│ │ │ │ │ └── name: :c
│ │ │ │ ├── rest: ∅
- │ │ │ │ ├── posts: (length: 0)
+ │ │ │ │ ├── rights: (length: 0)
│ │ │ │ ├── lparen_loc: (1,8)-(1,9) = "("
│ │ │ │ └── rparen_loc: (1,13)-(1,14) = ")"
│ │ │ ├── optionals: (length: 0)
diff --git a/test/prism/snapshots/seattlerb/difficult3_.txt b/test/prism/snapshots/seattlerb/difficult3_.txt
index f897c27547..f4da0a4f76 100644
--- a/test/prism/snapshots/seattlerb/difficult3_.txt
+++ b/test/prism/snapshots/seattlerb/difficult3_.txt
@@ -21,7 +21,7 @@
│ │ │ │ ├── @ RequiredParameterNode (location: (1,5)-(1,6))
│ │ │ │ │ └── name: :a
│ │ │ │ └── @ MultiTargetNode (location: (1,8)-(1,15))
- │ │ │ │ ├── requireds: (length: 1)
+ │ │ │ │ ├── lefts: (length: 1)
│ │ │ │ │ └── @ RequiredParameterNode (location: (1,9)-(1,10))
│ │ │ │ │ └── name: :b
│ │ │ │ ├── rest:
@@ -30,7 +30,7 @@
│ │ │ │ │ └── expression:
│ │ │ │ │ @ RequiredParameterNode (location: (1,13)-(1,14))
│ │ │ │ │ └── name: :c
- │ │ │ │ ├── posts: (length: 0)
+ │ │ │ │ ├── rights: (length: 0)
│ │ │ │ ├── lparen_loc: (1,8)-(1,9) = "("
│ │ │ │ └── rparen_loc: (1,14)-(1,15) = ")"
│ │ │ ├── optionals: (length: 0)
diff --git a/test/prism/snapshots/seattlerb/difficult3__10.txt b/test/prism/snapshots/seattlerb/difficult3__10.txt
index fb8f73e1a9..4d6e66c0be 100644
--- a/test/prism/snapshots/seattlerb/difficult3__10.txt
+++ b/test/prism/snapshots/seattlerb/difficult3__10.txt
@@ -21,14 +21,14 @@
│ │ │ │ ├── @ RequiredParameterNode (location: (1,5)-(1,6))
│ │ │ │ │ └── name: :a
│ │ │ │ └── @ MultiTargetNode (location: (1,8)-(1,15))
- │ │ │ │ ├── requireds: (length: 0)
+ │ │ │ │ ├── lefts: (length: 0)
│ │ │ │ ├── rest:
│ │ │ │ │ @ SplatNode (location: (1,9)-(1,11))
│ │ │ │ │ ├── operator_loc: (1,9)-(1,10) = "*"
│ │ │ │ │ └── expression:
│ │ │ │ │ @ RequiredParameterNode (location: (1,10)-(1,11))
│ │ │ │ │ └── name: :b
- │ │ │ │ ├── posts: (length: 1)
+ │ │ │ │ ├── rights: (length: 1)
│ │ │ │ │ └── @ RequiredParameterNode (location: (1,13)-(1,14))
│ │ │ │ │ └── name: :c
│ │ │ │ ├── lparen_loc: (1,8)-(1,9) = "("
diff --git a/test/prism/snapshots/seattlerb/difficult3__11.txt b/test/prism/snapshots/seattlerb/difficult3__11.txt
index d1e467a765..7ee50022cc 100644
--- a/test/prism/snapshots/seattlerb/difficult3__11.txt
+++ b/test/prism/snapshots/seattlerb/difficult3__11.txt
@@ -21,12 +21,12 @@
│ │ │ │ ├── @ RequiredParameterNode (location: (1,5)-(1,6))
│ │ │ │ │ └── name: :a
│ │ │ │ └── @ MultiTargetNode (location: (1,8)-(1,11))
- │ │ │ │ ├── requireds: (length: 0)
+ │ │ │ │ ├── lefts: (length: 0)
│ │ │ │ ├── rest:
│ │ │ │ │ @ SplatNode (location: (1,9)-(1,10))
│ │ │ │ │ ├── operator_loc: (1,9)-(1,10) = "*"
│ │ │ │ │ └── expression: ∅
- │ │ │ │ ├── posts: (length: 0)
+ │ │ │ │ ├── rights: (length: 0)
│ │ │ │ ├── lparen_loc: (1,8)-(1,9) = "("
│ │ │ │ └── rparen_loc: (1,10)-(1,11) = ")"
│ │ │ ├── optionals: (length: 0)
diff --git a/test/prism/snapshots/seattlerb/difficult3__12.txt b/test/prism/snapshots/seattlerb/difficult3__12.txt
index ccb83697af..6aa538625a 100644
--- a/test/prism/snapshots/seattlerb/difficult3__12.txt
+++ b/test/prism/snapshots/seattlerb/difficult3__12.txt
@@ -21,12 +21,12 @@
│ │ │ │ ├── @ RequiredParameterNode (location: (1,5)-(1,6))
│ │ │ │ │ └── name: :a
│ │ │ │ └── @ MultiTargetNode (location: (1,8)-(1,14))
- │ │ │ │ ├── requireds: (length: 0)
+ │ │ │ │ ├── lefts: (length: 0)
│ │ │ │ ├── rest:
│ │ │ │ │ @ SplatNode (location: (1,9)-(1,10))
│ │ │ │ │ ├── operator_loc: (1,9)-(1,10) = "*"
│ │ │ │ │ └── expression: ∅
- │ │ │ │ ├── posts: (length: 1)
+ │ │ │ │ ├── rights: (length: 1)
│ │ │ │ │ └── @ RequiredParameterNode (location: (1,12)-(1,13))
│ │ │ │ │ └── name: :b
│ │ │ │ ├── lparen_loc: (1,8)-(1,9) = "("
diff --git a/test/prism/snapshots/seattlerb/difficult3__6.txt b/test/prism/snapshots/seattlerb/difficult3__6.txt
index 2132b72d3e..49eae83c23 100644
--- a/test/prism/snapshots/seattlerb/difficult3__6.txt
+++ b/test/prism/snapshots/seattlerb/difficult3__6.txt
@@ -21,7 +21,7 @@
│ │ │ │ ├── @ RequiredParameterNode (location: (1,5)-(1,6))
│ │ │ │ │ └── name: :a
│ │ │ │ └── @ MultiTargetNode (location: (1,8)-(1,18))
- │ │ │ │ ├── requireds: (length: 1)
+ │ │ │ │ ├── lefts: (length: 1)
│ │ │ │ │ └── @ RequiredParameterNode (location: (1,9)-(1,10))
│ │ │ │ │ └── name: :b
│ │ │ │ ├── rest:
@@ -30,7 +30,7 @@
│ │ │ │ │ └── expression:
│ │ │ │ │ @ RequiredParameterNode (location: (1,13)-(1,14))
│ │ │ │ │ └── name: :c
- │ │ │ │ ├── posts: (length: 1)
+ │ │ │ │ ├── rights: (length: 1)
│ │ │ │ │ └── @ RequiredParameterNode (location: (1,16)-(1,17))
│ │ │ │ │ └── name: :d
│ │ │ │ ├── lparen_loc: (1,8)-(1,9) = "("
diff --git a/test/prism/snapshots/seattlerb/difficult3__7.txt b/test/prism/snapshots/seattlerb/difficult3__7.txt
index d66fd27ea2..7c06ac827e 100644
--- a/test/prism/snapshots/seattlerb/difficult3__7.txt
+++ b/test/prism/snapshots/seattlerb/difficult3__7.txt
@@ -21,14 +21,14 @@
│ │ │ │ ├── @ RequiredParameterNode (location: (1,5)-(1,6))
│ │ │ │ │ └── name: :a
│ │ │ │ └── @ MultiTargetNode (location: (1,8)-(1,14))
- │ │ │ │ ├── requireds: (length: 1)
+ │ │ │ │ ├── lefts: (length: 1)
│ │ │ │ │ └── @ RequiredParameterNode (location: (1,9)-(1,10))
│ │ │ │ │ └── name: :b
│ │ │ │ ├── rest:
│ │ │ │ │ @ SplatNode (location: (1,12)-(1,13))
│ │ │ │ │ ├── operator_loc: (1,12)-(1,13) = "*"
│ │ │ │ │ └── expression: ∅
- │ │ │ │ ├── posts: (length: 0)
+ │ │ │ │ ├── rights: (length: 0)
│ │ │ │ ├── lparen_loc: (1,8)-(1,9) = "("
│ │ │ │ └── rparen_loc: (1,13)-(1,14) = ")"
│ │ │ ├── optionals: (length: 0)
diff --git a/test/prism/snapshots/seattlerb/difficult3__8.txt b/test/prism/snapshots/seattlerb/difficult3__8.txt
index 6a085ee773..5088e00b68 100644
--- a/test/prism/snapshots/seattlerb/difficult3__8.txt
+++ b/test/prism/snapshots/seattlerb/difficult3__8.txt
@@ -21,14 +21,14 @@
│ │ │ │ ├── @ RequiredParameterNode (location: (1,5)-(1,6))
│ │ │ │ │ └── name: :a
│ │ │ │ └── @ MultiTargetNode (location: (1,8)-(1,17))
- │ │ │ │ ├── requireds: (length: 1)
+ │ │ │ │ ├── lefts: (length: 1)
│ │ │ │ │ └── @ RequiredParameterNode (location: (1,9)-(1,10))
│ │ │ │ │ └── name: :b
│ │ │ │ ├── rest:
│ │ │ │ │ @ SplatNode (location: (1,12)-(1,13))
│ │ │ │ │ ├── operator_loc: (1,12)-(1,13) = "*"
│ │ │ │ │ └── expression: ∅
- │ │ │ │ ├── posts: (length: 1)
+ │ │ │ │ ├── rights: (length: 1)
│ │ │ │ │ └── @ RequiredParameterNode (location: (1,15)-(1,16))
│ │ │ │ │ └── name: :c
│ │ │ │ ├── lparen_loc: (1,8)-(1,9) = "("
diff --git a/test/prism/snapshots/seattlerb/difficult3__9.txt b/test/prism/snapshots/seattlerb/difficult3__9.txt
index 09246314e5..8918bf49cf 100644
--- a/test/prism/snapshots/seattlerb/difficult3__9.txt
+++ b/test/prism/snapshots/seattlerb/difficult3__9.txt
@@ -21,14 +21,14 @@
│ │ │ │ ├── @ RequiredParameterNode (location: (1,5)-(1,6))
│ │ │ │ │ └── name: :a
│ │ │ │ └── @ MultiTargetNode (location: (1,8)-(1,12))
- │ │ │ │ ├── requireds: (length: 0)
+ │ │ │ │ ├── lefts: (length: 0)
│ │ │ │ ├── rest:
│ │ │ │ │ @ SplatNode (location: (1,9)-(1,11))
│ │ │ │ │ ├── operator_loc: (1,9)-(1,10) = "*"
│ │ │ │ │ └── expression:
│ │ │ │ │ @ RequiredParameterNode (location: (1,10)-(1,11))
│ │ │ │ │ └── name: :b
- │ │ │ │ ├── posts: (length: 0)
+ │ │ │ │ ├── rights: (length: 0)
│ │ │ │ ├── lparen_loc: (1,8)-(1,9) = "("
│ │ │ │ └── rparen_loc: (1,11)-(1,12) = ")"
│ │ │ ├── optionals: (length: 0)
diff --git a/test/prism/snapshots/seattlerb/iter_args_2__19.txt b/test/prism/snapshots/seattlerb/iter_args_2__19.txt
index e901c3456b..f9b9e2cf25 100644
--- a/test/prism/snapshots/seattlerb/iter_args_2__19.txt
+++ b/test/prism/snapshots/seattlerb/iter_args_2__19.txt
@@ -19,13 +19,13 @@
│ │ │ @ ParametersNode (location: (1,5)-(1,11))
│ │ │ ├── requireds: (length: 1)
│ │ │ │ └── @ MultiTargetNode (location: (1,5)-(1,11))
- │ │ │ │ ├── requireds: (length: 2)
+ │ │ │ │ ├── lefts: (length: 2)
│ │ │ │ │ ├── @ RequiredParameterNode (location: (1,6)-(1,7))
│ │ │ │ │ │ └── name: :a
│ │ │ │ │ └── @ RequiredParameterNode (location: (1,9)-(1,10))
│ │ │ │ │ └── name: :b
│ │ │ │ ├── rest: ∅
- │ │ │ │ ├── posts: (length: 0)
+ │ │ │ │ ├── rights: (length: 0)
│ │ │ │ ├── lparen_loc: (1,5)-(1,6) = "("
│ │ │ │ └── rparen_loc: (1,10)-(1,11) = ")"
│ │ │ ├── optionals: (length: 0)
diff --git a/test/prism/snapshots/seattlerb/iter_args_3.txt b/test/prism/snapshots/seattlerb/iter_args_3.txt
index d8b3b55e7e..85da0b88ff 100644
--- a/test/prism/snapshots/seattlerb/iter_args_3.txt
+++ b/test/prism/snapshots/seattlerb/iter_args_3.txt
@@ -21,13 +21,13 @@
│ │ │ │ ├── @ RequiredParameterNode (location: (1,5)-(1,6))
│ │ │ │ │ └── name: :a
│ │ │ │ ├── @ MultiTargetNode (location: (1,8)-(1,14))
- │ │ │ │ │ ├── requireds: (length: 2)
+ │ │ │ │ │ ├── lefts: (length: 2)
│ │ │ │ │ │ ├── @ RequiredParameterNode (location: (1,9)-(1,10))
│ │ │ │ │ │ │ └── name: :b
│ │ │ │ │ │ └── @ RequiredParameterNode (location: (1,12)-(1,13))
│ │ │ │ │ │ └── name: :c
│ │ │ │ │ ├── rest: ∅
- │ │ │ │ │ ├── posts: (length: 0)
+ │ │ │ │ │ ├── rights: (length: 0)
│ │ │ │ │ ├── lparen_loc: (1,8)-(1,9) = "("
│ │ │ │ │ └── rparen_loc: (1,13)-(1,14) = ")"
│ │ │ │ └── @ RequiredParameterNode (location: (1,16)-(1,17))
diff --git a/test/prism/snapshots/seattlerb/masgn_anon_splat_arg.txt b/test/prism/snapshots/seattlerb/masgn_anon_splat_arg.txt
index 53d6ebf340..9b6f9169f4 100644
--- a/test/prism/snapshots/seattlerb/masgn_anon_splat_arg.txt
+++ b/test/prism/snapshots/seattlerb/masgn_anon_splat_arg.txt
@@ -4,12 +4,12 @@
@ StatementsNode (location: (1,0)-(1,8))
└── body: (length: 1)
└── @ MultiWriteNode (location: (1,0)-(1,8))
- ├── requireds: (length: 0)
+ ├── lefts: (length: 0)
├── rest:
│ @ SplatNode (location: (1,0)-(1,1))
│ ├── operator_loc: (1,0)-(1,1) = "*"
│ └── expression: ∅
- ├── posts: (length: 1)
+ ├── rights: (length: 1)
│ └── @ LocalVariableTargetNode (location: (1,3)-(1,4))
│ ├── name: :a
│ └── depth: 0
diff --git a/test/prism/snapshots/seattlerb/masgn_arg_colon_arg.txt b/test/prism/snapshots/seattlerb/masgn_arg_colon_arg.txt
index 892c1e7597..332ffbfa22 100644
--- a/test/prism/snapshots/seattlerb/masgn_arg_colon_arg.txt
+++ b/test/prism/snapshots/seattlerb/masgn_arg_colon_arg.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,11))
└── body: (length: 1)
└── @ MultiWriteNode (location: (1,0)-(1,11))
- ├── requireds: (length: 2)
+ ├── lefts: (length: 2)
│ ├── @ LocalVariableTargetNode (location: (1,0)-(1,1))
│ │ ├── name: :a
│ │ └── depth: 0
@@ -29,7 +29,7 @@
│ ├── flags: ∅
│ └── name: :c=
├── rest: ∅
- ├── posts: (length: 0)
+ ├── rights: (length: 0)
├── lparen_loc: ∅
├── rparen_loc: ∅
├── operator_loc: (1,8)-(1,9) = "="
diff --git a/test/prism/snapshots/seattlerb/masgn_arg_ident.txt b/test/prism/snapshots/seattlerb/masgn_arg_ident.txt
index 2df83ce440..67fe401153 100644
--- a/test/prism/snapshots/seattlerb/masgn_arg_ident.txt
+++ b/test/prism/snapshots/seattlerb/masgn_arg_ident.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,10))
└── body: (length: 1)
└── @ MultiWriteNode (location: (1,0)-(1,10))
- ├── requireds: (length: 2)
+ ├── lefts: (length: 2)
│ ├── @ LocalVariableTargetNode (location: (1,0)-(1,1))
│ │ ├── name: :a
│ │ └── depth: 0
@@ -29,7 +29,7 @@
│ ├── flags: ∅
│ └── name: :C=
├── rest: ∅
- ├── posts: (length: 0)
+ ├── rights: (length: 0)
├── lparen_loc: ∅
├── rparen_loc: ∅
├── operator_loc: (1,7)-(1,8) = "="
diff --git a/test/prism/snapshots/seattlerb/masgn_arg_splat_arg.txt b/test/prism/snapshots/seattlerb/masgn_arg_splat_arg.txt
index 092e75ecf9..0915b21e5d 100644
--- a/test/prism/snapshots/seattlerb/masgn_arg_splat_arg.txt
+++ b/test/prism/snapshots/seattlerb/masgn_arg_splat_arg.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,12))
└── body: (length: 1)
└── @ MultiWriteNode (location: (1,0)-(1,12))
- ├── requireds: (length: 1)
+ ├── lefts: (length: 1)
│ └── @ LocalVariableTargetNode (location: (1,0)-(1,1))
│ ├── name: :a
│ └── depth: 0
@@ -15,7 +15,7 @@
│ @ LocalVariableTargetNode (location: (1,4)-(1,5))
│ ├── name: :b
│ └── depth: 0
- ├── posts: (length: 1)
+ ├── rights: (length: 1)
│ └── @ LocalVariableTargetNode (location: (1,7)-(1,8))
│ ├── name: :c
│ └── depth: 0
diff --git a/test/prism/snapshots/seattlerb/masgn_colon2.txt b/test/prism/snapshots/seattlerb/masgn_colon2.txt
index 45f95483c6..0953bc3cf7 100644
--- a/test/prism/snapshots/seattlerb/masgn_colon2.txt
+++ b/test/prism/snapshots/seattlerb/masgn_colon2.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,14))
└── body: (length: 1)
└── @ MultiWriteNode (location: (1,0)-(1,14))
- ├── requireds: (length: 2)
+ ├── lefts: (length: 2)
│ ├── @ LocalVariableTargetNode (location: (1,0)-(1,1))
│ │ ├── name: :a
│ │ └── depth: 0
@@ -25,7 +25,7 @@
│ │ └── name: :C
│ └── delimiter_loc: (1,4)-(1,6) = "::"
├── rest: ∅
- ├── posts: (length: 0)
+ ├── rights: (length: 0)
├── lparen_loc: ∅
├── rparen_loc: ∅
├── operator_loc: (1,8)-(1,9) = "="
diff --git a/test/prism/snapshots/seattlerb/masgn_colon3.txt b/test/prism/snapshots/seattlerb/masgn_colon3.txt
index 5f5c175d32..e70d2268b7 100644
--- a/test/prism/snapshots/seattlerb/masgn_colon3.txt
+++ b/test/prism/snapshots/seattlerb/masgn_colon3.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,15))
└── body: (length: 1)
└── @ MultiWriteNode (location: (1,0)-(1,15))
- ├── requireds: (length: 2)
+ ├── lefts: (length: 2)
│ ├── @ ConstantPathTargetNode (location: (1,0)-(1,3))
│ │ ├── parent: ∅
│ │ ├── child:
@@ -18,7 +18,7 @@
│ │ └── name: :B
│ └── delimiter_loc: (1,5)-(1,7) = "::"
├── rest: ∅
- ├── posts: (length: 0)
+ ├── rights: (length: 0)
├── lparen_loc: ∅
├── rparen_loc: ∅
├── operator_loc: (1,9)-(1,10) = "="
diff --git a/test/prism/snapshots/seattlerb/masgn_command_call.txt b/test/prism/snapshots/seattlerb/masgn_command_call.txt
index 4b108678ed..2e0105c455 100644
--- a/test/prism/snapshots/seattlerb/masgn_command_call.txt
+++ b/test/prism/snapshots/seattlerb/masgn_command_call.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,10))
└── body: (length: 1)
└── @ MultiWriteNode (location: (1,0)-(1,10))
- ├── requireds: (length: 1)
+ ├── lefts: (length: 1)
│ └── @ LocalVariableTargetNode (location: (1,0)-(1,1))
│ ├── name: :a
│ └── depth: 0
@@ -12,7 +12,7 @@
│ @ SplatNode (location: (1,1)-(1,2))
│ ├── operator_loc: (1,1)-(1,2) = ","
│ └── expression: ∅
- ├── posts: (length: 0)
+ ├── rights: (length: 0)
├── lparen_loc: ∅
├── rparen_loc: ∅
├── operator_loc: (1,3)-(1,4) = "="
diff --git a/test/prism/snapshots/seattlerb/masgn_double_paren.txt b/test/prism/snapshots/seattlerb/masgn_double_paren.txt
index aa312f1b06..2a8702053e 100644
--- a/test/prism/snapshots/seattlerb/masgn_double_paren.txt
+++ b/test/prism/snapshots/seattlerb/masgn_double_paren.txt
@@ -4,9 +4,9 @@
@ StatementsNode (location: (1,0)-(1,9))
└── body: (length: 1)
└── @ MultiWriteNode (location: (1,0)-(1,9))
- ├── requireds: (length: 1)
+ ├── lefts: (length: 1)
│ └── @ MultiTargetNode (location: (1,1)-(1,6))
- │ ├── requireds: (length: 2)
+ │ ├── lefts: (length: 2)
│ │ ├── @ LocalVariableTargetNode (location: (1,2)-(1,3))
│ │ │ ├── name: :a
│ │ │ └── depth: 0
@@ -14,11 +14,11 @@
│ │ ├── name: :b
│ │ └── depth: 0
│ ├── rest: ∅
- │ ├── posts: (length: 0)
+ │ ├── rights: (length: 0)
│ ├── lparen_loc: (1,1)-(1,2) = "("
│ └── rparen_loc: (1,5)-(1,6) = ")"
├── rest: ∅
- ├── posts: (length: 0)
+ ├── rights: (length: 0)
├── lparen_loc: (1,0)-(1,1) = "("
├── rparen_loc: (1,6)-(1,7) = ")"
├── operator_loc: (1,7)-(1,8) = "="
diff --git a/test/prism/snapshots/seattlerb/masgn_lhs_splat.txt b/test/prism/snapshots/seattlerb/masgn_lhs_splat.txt
index 691bca7bcf..656f71ebbe 100644
--- a/test/prism/snapshots/seattlerb/masgn_lhs_splat.txt
+++ b/test/prism/snapshots/seattlerb/masgn_lhs_splat.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,12))
└── body: (length: 1)
└── @ MultiWriteNode (location: (1,0)-(1,12))
- ├── requireds: (length: 0)
+ ├── lefts: (length: 0)
├── rest:
│ @ SplatNode (location: (1,0)-(1,2))
│ ├── operator_loc: (1,0)-(1,1) = "*"
@@ -12,7 +12,7 @@
│ @ LocalVariableTargetNode (location: (1,1)-(1,2))
│ ├── name: :a
│ └── depth: 0
- ├── posts: (length: 0)
+ ├── rights: (length: 0)
├── lparen_loc: ∅
├── rparen_loc: ∅
├── operator_loc: (1,3)-(1,4) = "="
diff --git a/test/prism/snapshots/seattlerb/masgn_paren.txt b/test/prism/snapshots/seattlerb/masgn_paren.txt
index 7fd51b652a..a212a45635 100644
--- a/test/prism/snapshots/seattlerb/masgn_paren.txt
+++ b/test/prism/snapshots/seattlerb/masgn_paren.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,12))
└── body: (length: 1)
└── @ MultiWriteNode (location: (1,0)-(1,12))
- ├── requireds: (length: 2)
+ ├── lefts: (length: 2)
│ ├── @ LocalVariableTargetNode (location: (1,1)-(1,2))
│ │ ├── name: :a
│ │ └── depth: 0
@@ -12,7 +12,7 @@
│ ├── name: :b
│ └── depth: 0
├── rest: ∅
- ├── posts: (length: 0)
+ ├── rights: (length: 0)
├── lparen_loc: (1,0)-(1,1) = "("
├── rparen_loc: (1,5)-(1,6) = ")"
├── operator_loc: (1,7)-(1,8) = "="
diff --git a/test/prism/snapshots/seattlerb/masgn_splat_arg.txt b/test/prism/snapshots/seattlerb/masgn_splat_arg.txt
index fe7698f376..1be6d5906c 100644
--- a/test/prism/snapshots/seattlerb/masgn_splat_arg.txt
+++ b/test/prism/snapshots/seattlerb/masgn_splat_arg.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,9))
└── body: (length: 1)
└── @ MultiWriteNode (location: (1,0)-(1,9))
- ├── requireds: (length: 0)
+ ├── lefts: (length: 0)
├── rest:
│ @ SplatNode (location: (1,0)-(1,2))
│ ├── operator_loc: (1,0)-(1,1) = "*"
@@ -12,7 +12,7 @@
│ @ LocalVariableTargetNode (location: (1,1)-(1,2))
│ ├── name: :a
│ └── depth: 0
- ├── posts: (length: 1)
+ ├── rights: (length: 1)
│ └── @ LocalVariableTargetNode (location: (1,4)-(1,5))
│ ├── name: :b
│ └── depth: 0
diff --git a/test/prism/snapshots/seattlerb/masgn_splat_arg_arg.txt b/test/prism/snapshots/seattlerb/masgn_splat_arg_arg.txt
index 231b11f3fe..d0ecbadfa9 100644
--- a/test/prism/snapshots/seattlerb/masgn_splat_arg_arg.txt
+++ b/test/prism/snapshots/seattlerb/masgn_splat_arg_arg.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,12))
└── body: (length: 1)
└── @ MultiWriteNode (location: (1,0)-(1,12))
- ├── requireds: (length: 0)
+ ├── lefts: (length: 0)
├── rest:
│ @ SplatNode (location: (1,0)-(1,2))
│ ├── operator_loc: (1,0)-(1,1) = "*"
@@ -12,7 +12,7 @@
│ @ LocalVariableTargetNode (location: (1,1)-(1,2))
│ ├── name: :a
│ └── depth: 0
- ├── posts: (length: 2)
+ ├── rights: (length: 2)
│ ├── @ LocalVariableTargetNode (location: (1,4)-(1,5))
│ │ ├── name: :b
│ │ └── depth: 0
diff --git a/test/prism/snapshots/seattlerb/masgn_star.txt b/test/prism/snapshots/seattlerb/masgn_star.txt
index 3bb9d34d0d..22783c909d 100644
--- a/test/prism/snapshots/seattlerb/masgn_star.txt
+++ b/test/prism/snapshots/seattlerb/masgn_star.txt
@@ -4,12 +4,12 @@
@ StatementsNode (location: (1,0)-(1,5))
└── body: (length: 1)
└── @ MultiWriteNode (location: (1,0)-(1,5))
- ├── requireds: (length: 0)
+ ├── lefts: (length: 0)
├── rest:
│ @ SplatNode (location: (1,0)-(1,1))
│ ├── operator_loc: (1,0)-(1,1) = "*"
│ └── expression: ∅
- ├── posts: (length: 0)
+ ├── rights: (length: 0)
├── lparen_loc: ∅
├── rparen_loc: ∅
├── operator_loc: (1,2)-(1,3) = "="
diff --git a/test/prism/snapshots/seattlerb/masgn_var_star_var.txt b/test/prism/snapshots/seattlerb/masgn_var_star_var.txt
index c78ba14ade..fe129e7b48 100644
--- a/test/prism/snapshots/seattlerb/masgn_var_star_var.txt
+++ b/test/prism/snapshots/seattlerb/masgn_var_star_var.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,11))
└── body: (length: 1)
└── @ MultiWriteNode (location: (1,0)-(1,11))
- ├── requireds: (length: 1)
+ ├── lefts: (length: 1)
│ └── @ LocalVariableTargetNode (location: (1,0)-(1,1))
│ ├── name: :a
│ └── depth: 0
@@ -12,7 +12,7 @@
│ @ SplatNode (location: (1,3)-(1,4))
│ ├── operator_loc: (1,3)-(1,4) = "*"
│ └── expression: ∅
- ├── posts: (length: 1)
+ ├── rights: (length: 1)
│ └── @ LocalVariableTargetNode (location: (1,6)-(1,7))
│ ├── name: :b
│ └── depth: 0
diff --git a/test/prism/snapshots/seattlerb/mlhs_back_anonsplat.txt b/test/prism/snapshots/seattlerb/mlhs_back_anonsplat.txt
index 6558a5c7b2..b6c722c108 100644
--- a/test/prism/snapshots/seattlerb/mlhs_back_anonsplat.txt
+++ b/test/prism/snapshots/seattlerb/mlhs_back_anonsplat.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,14))
└── body: (length: 1)
└── @ MultiWriteNode (location: (1,0)-(1,14))
- ├── requireds: (length: 3)
+ ├── lefts: (length: 3)
│ ├── @ LocalVariableTargetNode (location: (1,0)-(1,1))
│ │ ├── name: :a
│ │ └── depth: 0
@@ -18,7 +18,7 @@
│ @ SplatNode (location: (1,9)-(1,10))
│ ├── operator_loc: (1,9)-(1,10) = "*"
│ └── expression: ∅
- ├── posts: (length: 0)
+ ├── rights: (length: 0)
├── lparen_loc: ∅
├── rparen_loc: ∅
├── operator_loc: (1,11)-(1,12) = "="
diff --git a/test/prism/snapshots/seattlerb/mlhs_back_splat.txt b/test/prism/snapshots/seattlerb/mlhs_back_splat.txt
index df560b2c35..644e54bc6e 100644
--- a/test/prism/snapshots/seattlerb/mlhs_back_splat.txt
+++ b/test/prism/snapshots/seattlerb/mlhs_back_splat.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,15))
└── body: (length: 1)
└── @ MultiWriteNode (location: (1,0)-(1,15))
- ├── requireds: (length: 3)
+ ├── lefts: (length: 3)
│ ├── @ LocalVariableTargetNode (location: (1,0)-(1,1))
│ │ ├── name: :a
│ │ └── depth: 0
@@ -21,7 +21,7 @@
│ @ LocalVariableTargetNode (location: (1,10)-(1,11))
│ ├── name: :s
│ └── depth: 0
- ├── posts: (length: 0)
+ ├── rights: (length: 0)
├── lparen_loc: ∅
├── rparen_loc: ∅
├── operator_loc: (1,12)-(1,13) = "="
diff --git a/test/prism/snapshots/seattlerb/mlhs_front_anonsplat.txt b/test/prism/snapshots/seattlerb/mlhs_front_anonsplat.txt
index 5d919ee689..d8a1fcb6f5 100644
--- a/test/prism/snapshots/seattlerb/mlhs_front_anonsplat.txt
+++ b/test/prism/snapshots/seattlerb/mlhs_front_anonsplat.txt
@@ -4,12 +4,12 @@
@ StatementsNode (location: (1,0)-(1,14))
└── body: (length: 1)
└── @ MultiWriteNode (location: (1,0)-(1,14))
- ├── requireds: (length: 0)
+ ├── lefts: (length: 0)
├── rest:
│ @ SplatNode (location: (1,0)-(1,1))
│ ├── operator_loc: (1,0)-(1,1) = "*"
│ └── expression: ∅
- ├── posts: (length: 3)
+ ├── rights: (length: 3)
│ ├── @ LocalVariableTargetNode (location: (1,3)-(1,4))
│ │ ├── name: :x
│ │ └── depth: 0
diff --git a/test/prism/snapshots/seattlerb/mlhs_front_splat.txt b/test/prism/snapshots/seattlerb/mlhs_front_splat.txt
index dc595542e5..48fc7f5e3b 100644
--- a/test/prism/snapshots/seattlerb/mlhs_front_splat.txt
+++ b/test/prism/snapshots/seattlerb/mlhs_front_splat.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,15))
└── body: (length: 1)
└── @ MultiWriteNode (location: (1,0)-(1,15))
- ├── requireds: (length: 0)
+ ├── lefts: (length: 0)
├── rest:
│ @ SplatNode (location: (1,0)-(1,2))
│ ├── operator_loc: (1,0)-(1,1) = "*"
@@ -12,7 +12,7 @@
│ @ LocalVariableTargetNode (location: (1,1)-(1,2))
│ ├── name: :s
│ └── depth: 0
- ├── posts: (length: 3)
+ ├── rights: (length: 3)
│ ├── @ LocalVariableTargetNode (location: (1,4)-(1,5))
│ │ ├── name: :x
│ │ └── depth: 0
diff --git a/test/prism/snapshots/seattlerb/mlhs_mid_anonsplat.txt b/test/prism/snapshots/seattlerb/mlhs_mid_anonsplat.txt
index 3798c89220..8781fd3229 100644
--- a/test/prism/snapshots/seattlerb/mlhs_mid_anonsplat.txt
+++ b/test/prism/snapshots/seattlerb/mlhs_mid_anonsplat.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,23))
└── body: (length: 1)
└── @ MultiWriteNode (location: (1,0)-(1,23))
- ├── requireds: (length: 3)
+ ├── lefts: (length: 3)
│ ├── @ LocalVariableTargetNode (location: (1,0)-(1,1))
│ │ ├── name: :a
│ │ └── depth: 0
@@ -18,7 +18,7 @@
│ @ SplatNode (location: (1,9)-(1,10))
│ ├── operator_loc: (1,9)-(1,10) = "*"
│ └── expression: ∅
- ├── posts: (length: 3)
+ ├── rights: (length: 3)
│ ├── @ LocalVariableTargetNode (location: (1,12)-(1,13))
│ │ ├── name: :x
│ │ └── depth: 0
diff --git a/test/prism/snapshots/seattlerb/mlhs_mid_splat.txt b/test/prism/snapshots/seattlerb/mlhs_mid_splat.txt
index 26bfddeae8..ceb3fd0018 100644
--- a/test/prism/snapshots/seattlerb/mlhs_mid_splat.txt
+++ b/test/prism/snapshots/seattlerb/mlhs_mid_splat.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,24))
└── body: (length: 1)
└── @ MultiWriteNode (location: (1,0)-(1,24))
- ├── requireds: (length: 3)
+ ├── lefts: (length: 3)
│ ├── @ LocalVariableTargetNode (location: (1,0)-(1,1))
│ │ ├── name: :a
│ │ └── depth: 0
@@ -21,7 +21,7 @@
│ @ LocalVariableTargetNode (location: (1,10)-(1,11))
│ ├── name: :s
│ └── depth: 0
- ├── posts: (length: 3)
+ ├── rights: (length: 3)
│ ├── @ LocalVariableTargetNode (location: (1,13)-(1,14))
│ │ ├── name: :x
│ │ └── depth: 0
diff --git a/test/prism/snapshots/seattlerb/mlhs_rescue.txt b/test/prism/snapshots/seattlerb/mlhs_rescue.txt
index a9a619cf56..79152dc74f 100644
--- a/test/prism/snapshots/seattlerb/mlhs_rescue.txt
+++ b/test/prism/snapshots/seattlerb/mlhs_rescue.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,18))
└── body: (length: 1)
└── @ MultiWriteNode (location: (1,0)-(1,18))
- ├── requireds: (length: 2)
+ ├── lefts: (length: 2)
│ ├── @ LocalVariableTargetNode (location: (1,0)-(1,1))
│ │ ├── name: :a
│ │ └── depth: 0
@@ -12,7 +12,7 @@
│ ├── name: :b
│ └── depth: 0
├── rest: ∅
- ├── posts: (length: 0)
+ ├── rights: (length: 0)
├── lparen_loc: ∅
├── rparen_loc: ∅
├── operator_loc: (1,5)-(1,6) = "="
diff --git a/test/prism/snapshots/seattlerb/parse_line_to_ary.txt b/test/prism/snapshots/seattlerb/parse_line_to_ary.txt
index 8f7ff1b75c..551cae4ba9 100644
--- a/test/prism/snapshots/seattlerb/parse_line_to_ary.txt
+++ b/test/prism/snapshots/seattlerb/parse_line_to_ary.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(3,1))
└── body: (length: 2)
├── @ MultiWriteNode (location: (1,0)-(2,5))
- │ ├── requireds: (length: 2)
+ │ ├── lefts: (length: 2)
│ │ ├── @ LocalVariableTargetNode (location: (1,0)-(1,1))
│ │ │ ├── name: :a
│ │ │ └── depth: 0
@@ -12,7 +12,7 @@
│ │ ├── name: :b
│ │ └── depth: 0
│ ├── rest: ∅
- │ ├── posts: (length: 0)
+ │ ├── rights: (length: 0)
│ ├── lparen_loc: ∅
│ ├── rparen_loc: ∅
│ ├── operator_loc: (2,2)-(2,3) = "="
diff --git a/test/prism/snapshots/unparser/corpus/literal/assignment.txt b/test/prism/snapshots/unparser/corpus/literal/assignment.txt
index f7d66f4c9e..1400bb6061 100644
--- a/test/prism/snapshots/unparser/corpus/literal/assignment.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/assignment.txt
@@ -11,13 +11,13 @@
│ │ └── flags: decimal
│ └── operator_loc: (1,3)-(1,4) = "="
├── @ MultiWriteNode (location: (2,0)-(2,17))
- │ ├── requireds: (length: 2)
+ │ ├── lefts: (length: 2)
│ │ ├── @ GlobalVariableTargetNode (location: (2,1)-(2,3))
│ │ │ └── name: :$a
│ │ └── @ GlobalVariableTargetNode (location: (2,5)-(2,7))
│ │ └── name: :$b
│ ├── rest: ∅
- │ ├── posts: (length: 0)
+ │ ├── rights: (length: 0)
│ ├── lparen_loc: (2,0)-(2,1) = "("
│ ├── rparen_loc: (2,7)-(2,8) = ")"
│ ├── operator_loc: (2,9)-(2,10) = "="
@@ -31,9 +31,9 @@
│ ├── opening_loc: (2,11)-(2,12) = "["
│ └── closing_loc: (2,16)-(2,17) = "]"
├── @ MultiWriteNode (location: (3,0)-(3,13))
- │ ├── requireds: (length: 2)
+ │ ├── lefts: (length: 2)
│ │ ├── @ MultiTargetNode (location: (3,1)-(3,5))
- │ │ │ ├── requireds: (length: 1)
+ │ │ │ ├── lefts: (length: 1)
│ │ │ │ └── @ LocalVariableTargetNode (location: (3,2)-(3,3))
│ │ │ │ ├── name: :a
│ │ │ │ └── depth: 0
@@ -41,14 +41,14 @@
│ │ │ │ @ SplatNode (location: (3,3)-(3,4))
│ │ │ │ ├── operator_loc: (3,3)-(3,4) = ","
│ │ │ │ └── expression: ∅
- │ │ │ ├── posts: (length: 0)
+ │ │ │ ├── rights: (length: 0)
│ │ │ ├── lparen_loc: (3,1)-(3,2) = "("
│ │ │ └── rparen_loc: (3,4)-(3,5) = ")"
│ │ └── @ LocalVariableTargetNode (location: (3,7)-(3,8))
│ │ ├── name: :b
│ │ └── depth: 0
│ ├── rest: ∅
- │ ├── posts: (length: 0)
+ │ ├── rights: (length: 0)
│ ├── lparen_loc: (3,0)-(3,1) = "("
│ ├── rparen_loc: (3,8)-(3,9) = ")"
│ ├── operator_loc: (3,10)-(3,11) = "="
@@ -56,7 +56,7 @@
│ @ IntegerNode (location: (3,12)-(3,13))
│ └── flags: decimal
├── @ MultiWriteNode (location: (4,0)-(4,9))
- │ ├── requireds: (length: 0)
+ │ ├── lefts: (length: 0)
│ ├── rest:
│ │ @ SplatNode (location: (4,1)-(4,3))
│ │ ├── operator_loc: (4,1)-(4,2) = "*"
@@ -64,7 +64,7 @@
│ │ @ LocalVariableTargetNode (location: (4,2)-(4,3))
│ │ ├── name: :a
│ │ └── depth: 0
- │ ├── posts: (length: 0)
+ │ ├── rights: (length: 0)
│ ├── lparen_loc: (4,0)-(4,1) = "("
│ ├── rparen_loc: (4,3)-(4,4) = ")"
│ ├── operator_loc: (4,5)-(4,6) = "="
@@ -74,7 +74,7 @@
│ ├── opening_loc: (4,7)-(4,8) = "["
│ └── closing_loc: (4,8)-(4,9) = "]"
├── @ MultiWriteNode (location: (5,0)-(5,15))
- │ ├── requireds: (length: 0)
+ │ ├── lefts: (length: 0)
│ ├── rest:
│ │ @ SplatNode (location: (5,1)-(5,5))
│ │ ├── operator_loc: (5,1)-(5,2) = "*"
@@ -82,7 +82,7 @@
│ │ @ LocalVariableTargetNode (location: (5,2)-(5,5))
│ │ ├── name: :foo
│ │ └── depth: 0
- │ ├── posts: (length: 0)
+ │ ├── rights: (length: 0)
│ ├── lparen_loc: (5,0)-(5,1) = "("
│ ├── rparen_loc: (5,5)-(5,6) = ")"
│ ├── operator_loc: (5,7)-(5,8) = "="
@@ -96,13 +96,13 @@
│ ├── opening_loc: (5,9)-(5,10) = "["
│ └── closing_loc: (5,14)-(5,15) = "]"
├── @ MultiWriteNode (location: (6,0)-(6,19))
- │ ├── requireds: (length: 2)
+ │ ├── lefts: (length: 2)
│ │ ├── @ ClassVariableTargetNode (location: (6,1)-(6,4))
│ │ │ └── name: :@@a
│ │ └── @ ClassVariableTargetNode (location: (6,6)-(6,9))
│ │ └── name: :@@b
│ ├── rest: ∅
- │ ├── posts: (length: 0)
+ │ ├── rights: (length: 0)
│ ├── lparen_loc: (6,0)-(6,1) = "("
│ ├── rparen_loc: (6,9)-(6,10) = ")"
│ ├── operator_loc: (6,11)-(6,12) = "="
@@ -116,13 +116,13 @@
│ ├── opening_loc: (6,13)-(6,14) = "["
│ └── closing_loc: (6,18)-(6,19) = "]"
├── @ MultiWriteNode (location: (7,0)-(7,17))
- │ ├── requireds: (length: 2)
+ │ ├── lefts: (length: 2)
│ │ ├── @ InstanceVariableTargetNode (location: (7,1)-(7,3))
│ │ │ └── name: :@a
│ │ └── @ InstanceVariableTargetNode (location: (7,5)-(7,7))
│ │ └── name: :@b
│ ├── rest: ∅
- │ ├── posts: (length: 0)
+ │ ├── rights: (length: 0)
│ ├── lparen_loc: (7,0)-(7,1) = "("
│ ├── rparen_loc: (7,7)-(7,8) = ")"
│ ├── operator_loc: (7,9)-(7,10) = "="
@@ -136,12 +136,12 @@
│ ├── opening_loc: (7,11)-(7,12) = "["
│ └── closing_loc: (7,16)-(7,17) = "]"
├── @ MultiWriteNode (location: (8,0)-(8,25))
- │ ├── requireds: (length: 2)
+ │ ├── lefts: (length: 2)
│ │ ├── @ LocalVariableTargetNode (location: (8,1)-(8,2))
│ │ │ ├── name: :a
│ │ │ └── depth: 0
│ │ └── @ MultiTargetNode (location: (8,4)-(8,10))
- │ │ ├── requireds: (length: 2)
+ │ │ ├── lefts: (length: 2)
│ │ │ ├── @ LocalVariableTargetNode (location: (8,5)-(8,6))
│ │ │ │ ├── name: :b
│ │ │ │ └── depth: 0
@@ -149,11 +149,11 @@
│ │ │ ├── name: :c
│ │ │ └── depth: 0
│ │ ├── rest: ∅
- │ │ ├── posts: (length: 0)
+ │ │ ├── rights: (length: 0)
│ │ ├── lparen_loc: (8,4)-(8,5) = "("
│ │ └── rparen_loc: (8,9)-(8,10) = ")"
│ ├── rest: ∅
- │ ├── posts: (length: 0)
+ │ ├── rights: (length: 0)
│ ├── lparen_loc: (8,0)-(8,1) = "("
│ ├── rparen_loc: (8,10)-(8,11) = ")"
│ ├── operator_loc: (8,12)-(8,13) = "="
@@ -173,7 +173,7 @@
│ ├── opening_loc: (8,14)-(8,15) = "["
│ └── closing_loc: (8,24)-(8,25) = "]"
├── @ MultiWriteNode (location: (9,0)-(9,15))
- │ ├── requireds: (length: 1)
+ │ ├── lefts: (length: 1)
│ │ └── @ LocalVariableTargetNode (location: (9,1)-(9,2))
│ │ ├── name: :a
│ │ └── depth: 0
@@ -181,7 +181,7 @@
│ │ @ SplatNode (location: (9,4)-(9,5))
│ │ ├── operator_loc: (9,4)-(9,5) = "*"
│ │ └── expression: ∅
- │ ├── posts: (length: 0)
+ │ ├── rights: (length: 0)
│ ├── lparen_loc: (9,0)-(9,1) = "("
│ ├── rparen_loc: (9,5)-(9,6) = ")"
│ ├── operator_loc: (9,7)-(9,8) = "="
@@ -195,7 +195,7 @@
│ ├── opening_loc: (9,9)-(9,10) = "["
│ └── closing_loc: (9,14)-(9,15) = "]"
├── @ MultiWriteNode (location: (10,0)-(10,18))
- │ ├── requireds: (length: 1)
+ │ ├── lefts: (length: 1)
│ │ └── @ LocalVariableTargetNode (location: (10,1)-(10,2))
│ │ ├── name: :a
│ │ └── depth: 0
@@ -206,7 +206,7 @@
│ │ @ LocalVariableTargetNode (location: (10,5)-(10,8))
│ │ ├── name: :foo
│ │ └── depth: 0
- │ ├── posts: (length: 0)
+ │ ├── rights: (length: 0)
│ ├── lparen_loc: (10,0)-(10,1) = "("
│ ├── rparen_loc: (10,8)-(10,9) = ")"
│ ├── operator_loc: (10,10)-(10,11) = "="
@@ -220,7 +220,7 @@
│ ├── opening_loc: (10,12)-(10,13) = "["
│ └── closing_loc: (10,17)-(10,18) = "]"
├── @ MultiWriteNode (location: (11,0)-(11,15))
- │ ├── requireds: (length: 2)
+ │ ├── lefts: (length: 2)
│ │ ├── @ LocalVariableTargetNode (location: (11,1)-(11,2))
│ │ │ ├── name: :a
│ │ │ └── depth: 0
@@ -228,7 +228,7 @@
│ │ ├── name: :b
│ │ └── depth: 0
│ ├── rest: ∅
- │ ├── posts: (length: 0)
+ │ ├── rights: (length: 0)
│ ├── lparen_loc: (11,0)-(11,1) = "("
│ ├── rparen_loc: (11,5)-(11,6) = ")"
│ ├── operator_loc: (11,7)-(11,8) = "="
@@ -242,7 +242,7 @@
│ ├── opening_loc: (11,9)-(11,10) = "["
│ └── closing_loc: (11,14)-(11,15) = "]"
├── @ MultiWriteNode (location: (12,0)-(12,12))
- │ ├── requireds: (length: 2)
+ │ ├── lefts: (length: 2)
│ │ ├── @ LocalVariableTargetNode (location: (12,1)-(12,2))
│ │ │ ├── name: :a
│ │ │ └── depth: 0
@@ -250,7 +250,7 @@
│ │ ├── name: :b
│ │ └── depth: 0
│ ├── rest: ∅
- │ ├── posts: (length: 0)
+ │ ├── rights: (length: 0)
│ ├── lparen_loc: (12,0)-(12,1) = "("
│ ├── rparen_loc: (12,5)-(12,6) = ")"
│ ├── operator_loc: (12,7)-(12,8) = "="
@@ -259,7 +259,7 @@
│ ├── name: :foo
│ └── depth: 0
├── @ MultiWriteNode (location: (13,0)-(13,10))
- │ ├── requireds: (length: 1)
+ │ ├── lefts: (length: 1)
│ │ └── @ LocalVariableTargetNode (location: (13,1)-(13,2))
│ │ ├── name: :a
│ │ └── depth: 0
@@ -267,7 +267,7 @@
│ │ @ SplatNode (location: (13,2)-(13,3))
│ │ ├── operator_loc: (13,2)-(13,3) = ","
│ │ └── expression: ∅
- │ ├── posts: (length: 0)
+ │ ├── rights: (length: 0)
│ ├── lparen_loc: (13,0)-(13,1) = "("
│ ├── rparen_loc: (13,3)-(13,4) = ")"
│ ├── operator_loc: (13,5)-(13,6) = "="
@@ -276,7 +276,7 @@
│ ├── name: :foo
│ └── depth: 0
├── @ MultiWriteNode (location: (14,0)-(14,23))
- │ ├── requireds: (length: 2)
+ │ ├── lefts: (length: 2)
│ │ ├── @ CallNode (location: (14,1)-(14,6))
│ │ │ ├── receiver:
│ │ │ │ @ LocalVariableReadNode (location: (14,1)-(14,2))
@@ -304,7 +304,7 @@
│ │ ├── flags: ∅
│ │ └── name: :bar=
│ ├── rest: ∅
- │ ├── posts: (length: 0)
+ │ ├── rights: (length: 0)
│ ├── lparen_loc: (14,0)-(14,1) = "("
│ ├── rparen_loc: (14,13)-(14,14) = ")"
│ ├── operator_loc: (14,15)-(14,16) = "="
@@ -318,7 +318,7 @@
│ ├── opening_loc: (14,17)-(14,18) = "["
│ └── closing_loc: (14,22)-(14,23) = "]"
├── @ MultiWriteNode (location: (15,0)-(15,24))
- │ ├── requireds: (length: 2)
+ │ ├── lefts: (length: 2)
│ │ ├── @ CallNode (location: (15,1)-(15,8))
│ │ │ ├── receiver:
│ │ │ │ @ LocalVariableReadNode (location: (15,1)-(15,2))
@@ -360,7 +360,7 @@
│ │ ├── flags: ∅
│ │ └── name: :[]=
│ ├── rest: ∅
- │ ├── posts: (length: 0)
+ │ ├── rights: (length: 0)
│ ├── lparen_loc: (15,0)-(15,1) = "("
│ ├── rparen_loc: (15,14)-(15,15) = ")"
│ ├── operator_loc: (15,16)-(15,17) = "="
@@ -374,7 +374,7 @@
│ ├── opening_loc: (15,18)-(15,19) = "["
│ └── closing_loc: (15,23)-(15,24) = "]"
├── @ MultiWriteNode (location: (16,0)-(16,21))
- │ ├── requireds: (length: 2)
+ │ ├── lefts: (length: 2)
│ │ ├── @ CallNode (location: (16,1)-(16,5))
│ │ │ ├── receiver:
│ │ │ │ @ LocalVariableReadNode (location: (16,1)-(16,2))
@@ -412,7 +412,7 @@
│ │ ├── flags: ∅
│ │ └── name: :[]=
│ ├── rest: ∅
- │ ├── posts: (length: 0)
+ │ ├── rights: (length: 0)
│ ├── lparen_loc: (16,0)-(16,1) = "("
│ ├── rparen_loc: (16,11)-(16,12) = ")"
│ ├── operator_loc: (16,13)-(16,14) = "="
@@ -426,7 +426,7 @@
│ ├── opening_loc: (16,15)-(16,16) = "["
│ └── closing_loc: (16,20)-(16,21) = "]"
├── @ MultiWriteNode (location: (17,0)-(17,12))
- │ ├── requireds: (length: 0)
+ │ ├── lefts: (length: 0)
│ ├── rest:
│ │ @ SplatNode (location: (17,1)-(17,7))
│ │ ├── operator_loc: (17,1)-(17,2) = "*"
@@ -444,7 +444,7 @@
│ │ ├── block: ∅
│ │ ├── flags: ∅
│ │ └── name: :foo=
- │ ├── posts: (length: 0)
+ │ ├── rights: (length: 0)
│ ├── lparen_loc: (17,0)-(17,1) = "("
│ ├── rparen_loc: (17,7)-(17,8) = ")"
│ ├── operator_loc: (17,9)-(17,10) = "="
@@ -518,7 +518,7 @@
│ │ │ @ StatementsNode (location: (23,5)-(23,15))
│ │ │ └── body: (length: 1)
│ │ │ └── @ MultiWriteNode (location: (23,5)-(23,15))
- │ │ │ ├── requireds: (length: 2)
+ │ │ │ ├── lefts: (length: 2)
│ │ │ │ ├── @ LocalVariableTargetNode (location: (23,6)-(23,7))
│ │ │ │ │ ├── name: :b
│ │ │ │ │ └── depth: 0
@@ -526,7 +526,7 @@
│ │ │ │ ├── name: :c
│ │ │ │ └── depth: 0
│ │ │ ├── rest: ∅
- │ │ │ ├── posts: (length: 0)
+ │ │ │ ├── rights: (length: 0)
│ │ │ ├── lparen_loc: (23,5)-(23,6) = "("
│ │ │ ├── rparen_loc: (23,10)-(23,11) = ")"
│ │ │ ├── operator_loc: (23,12)-(23,13) = "="
diff --git a/test/prism/snapshots/unparser/corpus/literal/block.txt b/test/prism/snapshots/unparser/corpus/literal/block.txt
index c14e4bc97e..54ad868a85 100644
--- a/test/prism/snapshots/unparser/corpus/literal/block.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/block.txt
@@ -309,13 +309,13 @@
│ │ │ │ @ ParametersNode (location: (23,11)-(23,20))
│ │ │ │ ├── requireds: (length: 2)
│ │ │ │ │ ├── @ MultiTargetNode (location: (23,11)-(23,17))
- │ │ │ │ │ │ ├── requireds: (length: 2)
+ │ │ │ │ │ │ ├── lefts: (length: 2)
│ │ │ │ │ │ │ ├── @ RequiredParameterNode (location: (23,12)-(23,13))
│ │ │ │ │ │ │ │ └── name: :a
│ │ │ │ │ │ │ └── @ RequiredParameterNode (location: (23,15)-(23,16))
│ │ │ │ │ │ │ └── name: :b
│ │ │ │ │ │ ├── rest: ∅
- │ │ │ │ │ │ ├── posts: (length: 0)
+ │ │ │ │ │ │ ├── rights: (length: 0)
│ │ │ │ │ │ ├── lparen_loc: (23,11)-(23,12) = "("
│ │ │ │ │ │ └── rparen_loc: (23,16)-(23,17) = ")"
│ │ │ │ │ └── @ RequiredParameterNode (location: (23,19)-(23,20))
@@ -550,12 +550,12 @@
│ │ │ │ @ ParametersNode (location: (35,11)-(35,14))
│ │ │ │ ├── requireds: (length: 1)
│ │ │ │ │ └── @ MultiTargetNode (location: (35,11)-(35,14))
- │ │ │ │ │ ├── requireds: (length: 0)
+ │ │ │ │ │ ├── lefts: (length: 0)
│ │ │ │ │ ├── rest:
│ │ │ │ │ │ @ SplatNode (location: (35,12)-(35,13))
│ │ │ │ │ │ ├── operator_loc: (35,12)-(35,13) = "*"
│ │ │ │ │ │ └── expression: ∅
- │ │ │ │ │ ├── posts: (length: 0)
+ │ │ │ │ │ ├── rights: (length: 0)
│ │ │ │ │ ├── lparen_loc: (35,11)-(35,12) = "("
│ │ │ │ │ └── rparen_loc: (35,13)-(35,14) = ")"
│ │ │ │ ├── optionals: (length: 0)
@@ -610,18 +610,18 @@
│ │ │ │ @ ParametersNode (location: (38,11)-(38,16))
│ │ │ │ ├── requireds: (length: 1)
│ │ │ │ │ └── @ MultiTargetNode (location: (38,11)-(38,16))
- │ │ │ │ │ ├── requireds: (length: 1)
+ │ │ │ │ │ ├── lefts: (length: 1)
│ │ │ │ │ │ └── @ MultiTargetNode (location: (38,12)-(38,15))
- │ │ │ │ │ │ ├── requireds: (length: 0)
+ │ │ │ │ │ │ ├── lefts: (length: 0)
│ │ │ │ │ │ ├── rest:
│ │ │ │ │ │ │ @ SplatNode (location: (38,13)-(38,14))
│ │ │ │ │ │ │ ├── operator_loc: (38,13)-(38,14) = "*"
│ │ │ │ │ │ │ └── expression: ∅
- │ │ │ │ │ │ ├── posts: (length: 0)
+ │ │ │ │ │ │ ├── rights: (length: 0)
│ │ │ │ │ │ ├── lparen_loc: (38,12)-(38,13) = "("
│ │ │ │ │ │ └── rparen_loc: (38,14)-(38,15) = ")"
│ │ │ │ │ ├── rest: ∅
- │ │ │ │ │ ├── posts: (length: 0)
+ │ │ │ │ │ ├── rights: (length: 0)
│ │ │ │ │ ├── lparen_loc: (38,11)-(38,12) = "("
│ │ │ │ │ └── rparen_loc: (38,15)-(38,16) = ")"
│ │ │ │ ├── optionals: (length: 0)
@@ -676,20 +676,20 @@
│ │ │ │ @ ParametersNode (location: (41,11)-(41,19))
│ │ │ │ ├── requireds: (length: 1)
│ │ │ │ │ └── @ MultiTargetNode (location: (41,11)-(41,19))
- │ │ │ │ │ ├── requireds: (length: 2)
+ │ │ │ │ │ ├── lefts: (length: 2)
│ │ │ │ │ │ ├── @ RequiredParameterNode (location: (41,12)-(41,13))
│ │ │ │ │ │ │ └── name: :a
│ │ │ │ │ │ └── @ MultiTargetNode (location: (41,15)-(41,18))
- │ │ │ │ │ │ ├── requireds: (length: 0)
+ │ │ │ │ │ │ ├── lefts: (length: 0)
│ │ │ │ │ │ ├── rest:
│ │ │ │ │ │ │ @ SplatNode (location: (41,16)-(41,17))
│ │ │ │ │ │ │ ├── operator_loc: (41,16)-(41,17) = "*"
│ │ │ │ │ │ │ └── expression: ∅
- │ │ │ │ │ │ ├── posts: (length: 0)
+ │ │ │ │ │ │ ├── rights: (length: 0)
│ │ │ │ │ │ ├── lparen_loc: (41,15)-(41,16) = "("
│ │ │ │ │ │ └── rparen_loc: (41,17)-(41,18) = ")"
│ │ │ │ │ ├── rest: ∅
- │ │ │ │ │ ├── posts: (length: 0)
+ │ │ │ │ │ ├── rights: (length: 0)
│ │ │ │ │ ├── lparen_loc: (41,11)-(41,12) = "("
│ │ │ │ │ └── rparen_loc: (41,18)-(41,19) = ")"
│ │ │ │ ├── optionals: (length: 0)
@@ -744,13 +744,13 @@
│ │ │ │ @ ParametersNode (location: (44,11)-(44,17))
│ │ │ │ ├── requireds: (length: 1)
│ │ │ │ │ └── @ MultiTargetNode (location: (44,11)-(44,17))
- │ │ │ │ │ ├── requireds: (length: 2)
+ │ │ │ │ │ ├── lefts: (length: 2)
│ │ │ │ │ │ ├── @ RequiredParameterNode (location: (44,12)-(44,13))
│ │ │ │ │ │ │ └── name: :a
│ │ │ │ │ │ └── @ RequiredParameterNode (location: (44,15)-(44,16))
│ │ │ │ │ │ └── name: :b
│ │ │ │ │ ├── rest: ∅
- │ │ │ │ │ ├── posts: (length: 0)
+ │ │ │ │ │ ├── rights: (length: 0)
│ │ │ │ │ ├── lparen_loc: (44,11)-(44,12) = "("
│ │ │ │ │ └── rparen_loc: (44,16)-(44,17) = ")"
│ │ │ │ ├── optionals: (length: 0)
diff --git a/test/prism/snapshots/unparser/corpus/literal/def.txt b/test/prism/snapshots/unparser/corpus/literal/def.txt
index 1c12a7bd10..d59d0e21a5 100644
--- a/test/prism/snapshots/unparser/corpus/literal/def.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/def.txt
@@ -1054,17 +1054,17 @@
│ │ @ ParametersNode (location: (120,6)-(120,11))
│ │ ├── requireds: (length: 1)
│ │ │ └── @ MultiTargetNode (location: (120,6)-(120,11))
- │ │ │ ├── requireds: (length: 1)
+ │ │ │ ├── lefts: (length: 1)
│ │ │ │ └── @ MultiTargetNode (location: (120,7)-(120,10))
- │ │ │ │ ├── requireds: (length: 1)
+ │ │ │ │ ├── lefts: (length: 1)
│ │ │ │ │ └── @ RequiredParameterNode (location: (120,8)-(120,9))
│ │ │ │ │ └── name: :a
│ │ │ │ ├── rest: ∅
- │ │ │ │ ├── posts: (length: 0)
+ │ │ │ │ ├── rights: (length: 0)
│ │ │ │ ├── lparen_loc: (120,7)-(120,8) = "("
│ │ │ │ └── rparen_loc: (120,9)-(120,10) = ")"
│ │ │ ├── rest: ∅
- │ │ │ ├── posts: (length: 0)
+ │ │ │ ├── rights: (length: 0)
│ │ │ ├── lparen_loc: (120,6)-(120,7) = "("
│ │ │ └── rparen_loc: (120,10)-(120,11) = ")"
│ │ ├── optionals: (length: 0)
diff --git a/test/prism/snapshots/unparser/corpus/literal/defined.txt b/test/prism/snapshots/unparser/corpus/literal/defined.txt
index 304460b0b9..7e375eaa3f 100644
--- a/test/prism/snapshots/unparser/corpus/literal/defined.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/defined.txt
@@ -25,7 +25,7 @@
│ │ @ StatementsNode (location: (3,10)-(3,25))
│ │ └── body: (length: 1)
│ │ └── @ MultiWriteNode (location: (3,10)-(3,25))
- │ │ ├── requireds: (length: 2)
+ │ │ ├── lefts: (length: 2)
│ │ │ ├── @ LocalVariableTargetNode (location: (3,11)-(3,12))
│ │ │ │ ├── name: :a
│ │ │ │ └── depth: 0
@@ -33,7 +33,7 @@
│ │ │ ├── name: :b
│ │ │ └── depth: 0
│ │ ├── rest: ∅
- │ │ ├── posts: (length: 0)
+ │ │ ├── rights: (length: 0)
│ │ ├── lparen_loc: (3,10)-(3,11) = "("
│ │ ├── rparen_loc: (3,15)-(3,16) = ")"
│ │ ├── operator_loc: (3,17)-(3,18) = "="
diff --git a/test/prism/snapshots/unparser/corpus/literal/for.txt b/test/prism/snapshots/unparser/corpus/literal/for.txt
index 0f430d2829..d9a8cc048b 100644
--- a/test/prism/snapshots/unparser/corpus/literal/for.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/for.txt
@@ -85,7 +85,7 @@
├── @ ForNode (location: (7,0)-(9,3))
│ ├── index:
│ │ @ MultiTargetNode (location: (7,4)-(7,11))
- │ │ ├── requireds: (length: 1)
+ │ │ ├── lefts: (length: 1)
│ │ │ └── @ LocalVariableTargetNode (location: (7,5)-(7,6))
│ │ │ ├── name: :a
│ │ │ └── depth: 1
@@ -96,7 +96,7 @@
│ │ │ @ LocalVariableTargetNode (location: (7,9)-(7,10))
│ │ │ ├── name: :b
│ │ │ └── depth: 1
- │ │ ├── posts: (length: 0)
+ │ │ ├── rights: (length: 0)
│ │ ├── lparen_loc: (7,4)-(7,5) = "("
│ │ └── rparen_loc: (7,10)-(7,11) = ")"
│ ├── collection:
@@ -130,7 +130,7 @@
└── @ ForNode (location: (10,0)-(12,3))
├── index:
│ @ MultiTargetNode (location: (10,4)-(10,10))
- │ ├── requireds: (length: 2)
+ │ ├── lefts: (length: 2)
│ │ ├── @ LocalVariableTargetNode (location: (10,5)-(10,6))
│ │ │ ├── name: :a
│ │ │ └── depth: 1
@@ -138,7 +138,7 @@
│ │ ├── name: :b
│ │ └── depth: 1
│ ├── rest: ∅
- │ ├── posts: (length: 0)
+ │ ├── rights: (length: 0)
│ ├── lparen_loc: (10,4)-(10,5) = "("
│ └── rparen_loc: (10,9)-(10,10) = ")"
├── collection:
diff --git a/test/prism/snapshots/unparser/corpus/literal/send.txt b/test/prism/snapshots/unparser/corpus/literal/send.txt
index 63127b8601..9e286813bf 100644
--- a/test/prism/snapshots/unparser/corpus/literal/send.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/send.txt
@@ -21,7 +21,7 @@
│ │ │ │ @ StatementsNode (location: (2,11)-(2,21))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ MultiWriteNode (location: (2,11)-(2,21))
- │ │ │ │ ├── requireds: (length: 2)
+ │ │ │ │ ├── lefts: (length: 2)
│ │ │ │ │ ├── @ LocalVariableTargetNode (location: (2,12)-(2,13))
│ │ │ │ │ │ ├── name: :a
│ │ │ │ │ │ └── depth: 0
@@ -29,7 +29,7 @@
│ │ │ │ │ ├── name: :_
│ │ │ │ │ └── depth: 0
│ │ │ │ ├── rest: ∅
- │ │ │ │ ├── posts: (length: 0)
+ │ │ │ │ ├── rights: (length: 0)
│ │ │ │ ├── lparen_loc: (2,11)-(2,12) = "("
│ │ │ │ ├── rparen_loc: (2,16)-(2,17) = ")"
│ │ │ │ ├── operator_loc: (2,18)-(2,19) = "="
diff --git a/test/prism/snapshots/variables.txt b/test/prism/snapshots/variables.txt
index 4a5507e313..632348b67a 100644
--- a/test/prism/snapshots/variables.txt
+++ b/test/prism/snapshots/variables.txt
@@ -13,13 +13,13 @@
│ │ └── flags: decimal
│ └── operator_loc: (3,6)-(3,7) = "="
├── @ MultiWriteNode (location: (5,0)-(5,16))
- │ ├── requireds: (length: 2)
+ │ ├── lefts: (length: 2)
│ │ ├── @ ClassVariableTargetNode (location: (5,0)-(5,5))
│ │ │ └── name: :@@foo
│ │ └── @ ClassVariableTargetNode (location: (5,7)-(5,12))
│ │ └── name: :@@bar
│ ├── rest: ∅
- │ ├── posts: (length: 0)
+ │ ├── rights: (length: 0)
│ ├── lparen_loc: ∅
│ ├── rparen_loc: ∅
│ ├── operator_loc: (5,13)-(5,14) = "="
@@ -76,13 +76,13 @@
│ │ └── flags: decimal
│ └── operator_loc: (19,4)-(19,5) = "="
├── @ MultiWriteNode (location: (21,0)-(21,14))
- │ ├── requireds: (length: 2)
+ │ ├── lefts: (length: 2)
│ │ ├── @ GlobalVariableTargetNode (location: (21,0)-(21,4))
│ │ │ └── name: :$foo
│ │ └── @ GlobalVariableTargetNode (location: (21,6)-(21,10))
│ │ └── name: :$bar
│ ├── rest: ∅
- │ ├── posts: (length: 0)
+ │ ├── rights: (length: 0)
│ ├── lparen_loc: ∅
│ ├── rparen_loc: ∅
│ ├── operator_loc: (21,11)-(21,12) = "="
@@ -103,13 +103,13 @@
│ │ └── closing_loc: ∅
│ └── operator_loc: (23,5)-(23,6) = "="
├── @ MultiWriteNode (location: (25,0)-(25,14))
- │ ├── requireds: (length: 2)
+ │ ├── lefts: (length: 2)
│ │ ├── @ InstanceVariableTargetNode (location: (25,0)-(25,4))
│ │ │ └── name: :@foo
│ │ └── @ InstanceVariableTargetNode (location: (25,6)-(25,10))
│ │ └── name: :@bar
│ ├── rest: ∅
- │ ├── posts: (length: 0)
+ │ ├── rights: (length: 0)
│ ├── lparen_loc: ∅
│ ├── rparen_loc: ∅
│ ├── operator_loc: (25,11)-(25,12) = "="
@@ -166,7 +166,7 @@
│ │ └── closing_loc: ∅
│ └── operator_loc: (31,4)-(31,5) = "="
├── @ MultiWriteNode (location: (33,0)-(33,13))
- │ ├── requireds: (length: 1)
+ │ ├── lefts: (length: 1)
│ │ └── @ LocalVariableTargetNode (location: (33,0)-(33,3))
│ │ ├── name: :foo
│ │ └── depth: 0
@@ -174,7 +174,7 @@
│ │ @ SplatNode (location: (33,5)-(33,6))
│ │ ├── operator_loc: (33,5)-(33,6) = "*"
│ │ └── expression: ∅
- │ ├── posts: (length: 0)
+ │ ├── rights: (length: 0)
│ ├── lparen_loc: ∅
│ ├── rparen_loc: ∅
│ ├── operator_loc: (33,7)-(33,8) = "="
@@ -188,7 +188,7 @@
│ ├── opening_loc: ∅
│ └── closing_loc: ∅
├── @ MultiWriteNode (location: (35,0)-(35,11))
- │ ├── requireds: (length: 1)
+ │ ├── lefts: (length: 1)
│ │ └── @ LocalVariableTargetNode (location: (35,0)-(35,3))
│ │ ├── name: :foo
│ │ └── depth: 0
@@ -196,7 +196,7 @@
│ │ @ SplatNode (location: (35,3)-(35,4))
│ │ ├── operator_loc: (35,3)-(35,4) = ","
│ │ └── expression: ∅
- │ ├── posts: (length: 0)
+ │ ├── rights: (length: 0)
│ ├── lparen_loc: ∅
│ ├── rparen_loc: ∅
│ ├── operator_loc: (35,5)-(35,6) = "="
@@ -210,7 +210,7 @@
│ ├── opening_loc: ∅
│ └── closing_loc: ∅
├── @ MultiWriteNode (location: (37,0)-(37,16))
- │ ├── requireds: (length: 1)
+ │ ├── lefts: (length: 1)
│ │ └── @ LocalVariableTargetNode (location: (37,0)-(37,3))
│ │ ├── name: :foo
│ │ └── depth: 0
@@ -221,7 +221,7 @@
│ │ @ LocalVariableTargetNode (location: (37,6)-(37,9))
│ │ ├── name: :bar
│ │ └── depth: 0
- │ ├── posts: (length: 0)
+ │ ├── rights: (length: 0)
│ ├── lparen_loc: ∅
│ ├── rparen_loc: ∅
│ ├── operator_loc: (37,10)-(37,11) = "="
@@ -235,12 +235,12 @@
│ ├── opening_loc: ∅
│ └── closing_loc: ∅
├── @ MultiWriteNode (location: (39,0)-(39,27))
- │ ├── requireds: (length: 2)
+ │ ├── lefts: (length: 2)
│ │ ├── @ LocalVariableTargetNode (location: (39,0)-(39,3))
│ │ │ ├── name: :foo
│ │ │ └── depth: 0
│ │ └── @ MultiTargetNode (location: (39,5)-(39,15))
- │ │ ├── requireds: (length: 2)
+ │ │ ├── lefts: (length: 2)
│ │ │ ├── @ LocalVariableTargetNode (location: (39,6)-(39,9))
│ │ │ │ ├── name: :bar
│ │ │ │ └── depth: 0
@@ -248,11 +248,11 @@
│ │ │ ├── name: :baz
│ │ │ └── depth: 0
│ │ ├── rest: ∅
- │ │ ├── posts: (length: 0)
+ │ │ ├── rights: (length: 0)
│ │ ├── lparen_loc: (39,5)-(39,6) = "("
│ │ └── rparen_loc: (39,14)-(39,15) = ")"
│ ├── rest: ∅
- │ ├── posts: (length: 0)
+ │ ├── rights: (length: 0)
│ ├── lparen_loc: ∅
│ ├── rparen_loc: ∅
│ ├── operator_loc: (39,16)-(39,17) = "="
@@ -337,12 +337,12 @@
│ ├── opening_loc: (45,0)-(45,1) = "("
│ └── closing_loc: (45,8)-(45,9) = ")"
└── @ MultiWriteNode (location: (47,0)-(47,17))
- ├── requireds: (length: 3)
+ ├── lefts: (length: 3)
│ ├── @ LocalVariableTargetNode (location: (47,0)-(47,1))
│ │ ├── name: :a
│ │ └── depth: 0
│ ├── @ MultiTargetNode (location: (47,3)-(47,9))
- │ │ ├── requireds: (length: 2)
+ │ │ ├── lefts: (length: 2)
│ │ │ ├── @ LocalVariableTargetNode (location: (47,4)-(47,5))
│ │ │ │ ├── name: :b
│ │ │ │ └── depth: 0
@@ -350,14 +350,14 @@
│ │ │ ├── name: :c
│ │ │ └── depth: 0
│ │ ├── rest: ∅
- │ │ ├── posts: (length: 0)
+ │ │ ├── rights: (length: 0)
│ │ ├── lparen_loc: (47,3)-(47,4) = "("
│ │ └── rparen_loc: (47,8)-(47,9) = ")"
│ └── @ LocalVariableTargetNode (location: (47,11)-(47,12))
│ ├── name: :d
│ └── depth: 0
├── rest: ∅
- ├── posts: (length: 0)
+ ├── rights: (length: 0)
├── lparen_loc: ∅
├── rparen_loc: ∅
├── operator_loc: (47,13)-(47,14) = "="
diff --git a/test/prism/snapshots/whitequark/and_or_masgn.txt b/test/prism/snapshots/whitequark/and_or_masgn.txt
index 2add522f65..ac148ceadf 100644
--- a/test/prism/snapshots/whitequark/and_or_masgn.txt
+++ b/test/prism/snapshots/whitequark/and_or_masgn.txt
@@ -21,7 +21,7 @@
│ │ │ @ StatementsNode (location: (1,8)-(1,18))
│ │ │ └── body: (length: 1)
│ │ │ └── @ MultiWriteNode (location: (1,8)-(1,18))
- │ │ │ ├── requireds: (length: 2)
+ │ │ │ ├── lefts: (length: 2)
│ │ │ │ ├── @ LocalVariableTargetNode (location: (1,8)-(1,9))
│ │ │ │ │ ├── name: :a
│ │ │ │ │ └── depth: 0
@@ -29,7 +29,7 @@
│ │ │ │ ├── name: :b
│ │ │ │ └── depth: 0
│ │ │ ├── rest: ∅
- │ │ │ ├── posts: (length: 0)
+ │ │ │ ├── rights: (length: 0)
│ │ │ ├── lparen_loc: ∅
│ │ │ ├── rparen_loc: ∅
│ │ │ ├── operator_loc: (1,13)-(1,14) = "="
@@ -65,7 +65,7 @@
│ │ @ StatementsNode (location: (3,8)-(3,18))
│ │ └── body: (length: 1)
│ │ └── @ MultiWriteNode (location: (3,8)-(3,18))
- │ │ ├── requireds: (length: 2)
+ │ │ ├── lefts: (length: 2)
│ │ │ ├── @ LocalVariableTargetNode (location: (3,8)-(3,9))
│ │ │ │ ├── name: :a
│ │ │ │ └── depth: 0
@@ -73,7 +73,7 @@
│ │ │ ├── name: :b
│ │ │ └── depth: 0
│ │ ├── rest: ∅
- │ │ ├── posts: (length: 0)
+ │ │ ├── rights: (length: 0)
│ │ ├── lparen_loc: ∅
│ │ ├── rparen_loc: ∅
│ │ ├── operator_loc: (3,13)-(3,14) = "="
diff --git a/test/prism/snapshots/whitequark/args.txt b/test/prism/snapshots/whitequark/args.txt
index 37c562c920..3e20260009 100644
--- a/test/prism/snapshots/whitequark/args.txt
+++ b/test/prism/snapshots/whitequark/args.txt
@@ -36,17 +36,17 @@
│ │ @ ParametersNode (location: (3,7)-(3,12))
│ │ ├── requireds: (length: 1)
│ │ │ └── @ MultiTargetNode (location: (3,7)-(3,12))
- │ │ │ ├── requireds: (length: 1)
+ │ │ │ ├── lefts: (length: 1)
│ │ │ │ └── @ MultiTargetNode (location: (3,8)-(3,11))
- │ │ │ │ ├── requireds: (length: 1)
+ │ │ │ │ ├── lefts: (length: 1)
│ │ │ │ │ └── @ RequiredParameterNode (location: (3,9)-(3,10))
│ │ │ │ │ └── name: :a
│ │ │ │ ├── rest: ∅
- │ │ │ │ ├── posts: (length: 0)
+ │ │ │ │ ├── rights: (length: 0)
│ │ │ │ ├── lparen_loc: (3,8)-(3,9) = "("
│ │ │ │ └── rparen_loc: (3,10)-(3,11) = ")"
│ │ │ ├── rest: ∅
- │ │ │ ├── posts: (length: 0)
+ │ │ │ ├── rights: (length: 0)
│ │ │ ├── lparen_loc: (3,7)-(3,8) = "("
│ │ │ └── rparen_loc: (3,11)-(3,12) = ")"
│ │ ├── optionals: (length: 0)
@@ -71,12 +71,12 @@
│ │ @ ParametersNode (location: (5,7)-(5,10))
│ │ ├── requireds: (length: 1)
│ │ │ └── @ MultiTargetNode (location: (5,7)-(5,10))
- │ │ │ ├── requireds: (length: 0)
+ │ │ │ ├── lefts: (length: 0)
│ │ │ ├── rest:
│ │ │ │ @ SplatNode (location: (5,8)-(5,9))
│ │ │ │ ├── operator_loc: (5,8)-(5,9) = "*"
│ │ │ │ └── expression: ∅
- │ │ │ ├── posts: (length: 0)
+ │ │ │ ├── rights: (length: 0)
│ │ │ ├── lparen_loc: (5,7)-(5,8) = "("
│ │ │ └── rparen_loc: (5,9)-(5,10) = ")"
│ │ ├── optionals: (length: 0)
@@ -101,12 +101,12 @@
│ │ @ ParametersNode (location: (7,7)-(7,13))
│ │ ├── requireds: (length: 1)
│ │ │ └── @ MultiTargetNode (location: (7,7)-(7,13))
- │ │ │ ├── requireds: (length: 0)
+ │ │ │ ├── lefts: (length: 0)
│ │ │ ├── rest:
│ │ │ │ @ SplatNode (location: (7,8)-(7,9))
│ │ │ │ ├── operator_loc: (7,8)-(7,9) = "*"
│ │ │ │ └── expression: ∅
- │ │ │ ├── posts: (length: 1)
+ │ │ │ ├── rights: (length: 1)
│ │ │ │ └── @ RequiredParameterNode (location: (7,11)-(7,12))
│ │ │ │ └── name: :p
│ │ │ ├── lparen_loc: (7,7)-(7,8) = "("
@@ -133,14 +133,14 @@
│ │ @ ParametersNode (location: (9,7)-(9,11))
│ │ ├── requireds: (length: 1)
│ │ │ └── @ MultiTargetNode (location: (9,7)-(9,11))
- │ │ │ ├── requireds: (length: 0)
+ │ │ │ ├── lefts: (length: 0)
│ │ │ ├── rest:
│ │ │ │ @ SplatNode (location: (9,8)-(9,10))
│ │ │ │ ├── operator_loc: (9,8)-(9,9) = "*"
│ │ │ │ └── expression:
│ │ │ │ @ RequiredParameterNode (location: (9,9)-(9,10))
│ │ │ │ └── name: :r
- │ │ │ ├── posts: (length: 0)
+ │ │ │ ├── rights: (length: 0)
│ │ │ ├── lparen_loc: (9,7)-(9,8) = "("
│ │ │ └── rparen_loc: (9,10)-(9,11) = ")"
│ │ ├── optionals: (length: 0)
@@ -165,14 +165,14 @@
│ │ @ ParametersNode (location: (11,7)-(11,14))
│ │ ├── requireds: (length: 1)
│ │ │ └── @ MultiTargetNode (location: (11,7)-(11,14))
- │ │ │ ├── requireds: (length: 0)
+ │ │ │ ├── lefts: (length: 0)
│ │ │ ├── rest:
│ │ │ │ @ SplatNode (location: (11,8)-(11,10))
│ │ │ │ ├── operator_loc: (11,8)-(11,9) = "*"
│ │ │ │ └── expression:
│ │ │ │ @ RequiredParameterNode (location: (11,9)-(11,10))
│ │ │ │ └── name: :r
- │ │ │ ├── posts: (length: 1)
+ │ │ │ ├── rights: (length: 1)
│ │ │ │ └── @ RequiredParameterNode (location: (11,12)-(11,13))
│ │ │ │ └── name: :p
│ │ │ ├── lparen_loc: (11,7)-(11,8) = "("
@@ -199,14 +199,14 @@
│ │ @ ParametersNode (location: (13,7)-(13,13))
│ │ ├── requireds: (length: 1)
│ │ │ └── @ MultiTargetNode (location: (13,7)-(13,13))
- │ │ │ ├── requireds: (length: 1)
+ │ │ │ ├── lefts: (length: 1)
│ │ │ │ └── @ RequiredParameterNode (location: (13,8)-(13,9))
│ │ │ │ └── name: :a
│ │ │ ├── rest:
│ │ │ │ @ SplatNode (location: (13,11)-(13,12))
│ │ │ │ ├── operator_loc: (13,11)-(13,12) = "*"
│ │ │ │ └── expression: ∅
- │ │ │ ├── posts: (length: 0)
+ │ │ │ ├── rights: (length: 0)
│ │ │ ├── lparen_loc: (13,7)-(13,8) = "("
│ │ │ └── rparen_loc: (13,12)-(13,13) = ")"
│ │ ├── optionals: (length: 0)
@@ -231,14 +231,14 @@
│ │ @ ParametersNode (location: (15,7)-(15,16))
│ │ ├── requireds: (length: 1)
│ │ │ └── @ MultiTargetNode (location: (15,7)-(15,16))
- │ │ │ ├── requireds: (length: 1)
+ │ │ │ ├── lefts: (length: 1)
│ │ │ │ └── @ RequiredParameterNode (location: (15,8)-(15,9))
│ │ │ │ └── name: :a
│ │ │ ├── rest:
│ │ │ │ @ SplatNode (location: (15,11)-(15,12))
│ │ │ │ ├── operator_loc: (15,11)-(15,12) = "*"
│ │ │ │ └── expression: ∅
- │ │ │ ├── posts: (length: 1)
+ │ │ │ ├── rights: (length: 1)
│ │ │ │ └── @ RequiredParameterNode (location: (15,14)-(15,15))
│ │ │ │ └── name: :p
│ │ │ ├── lparen_loc: (15,7)-(15,8) = "("
@@ -265,7 +265,7 @@
│ │ @ ParametersNode (location: (17,7)-(17,14))
│ │ ├── requireds: (length: 1)
│ │ │ └── @ MultiTargetNode (location: (17,7)-(17,14))
- │ │ │ ├── requireds: (length: 1)
+ │ │ │ ├── lefts: (length: 1)
│ │ │ │ └── @ RequiredParameterNode (location: (17,8)-(17,9))
│ │ │ │ └── name: :a
│ │ │ ├── rest:
@@ -274,7 +274,7 @@
│ │ │ │ └── expression:
│ │ │ │ @ RequiredParameterNode (location: (17,12)-(17,13))
│ │ │ │ └── name: :r
- │ │ │ ├── posts: (length: 0)
+ │ │ │ ├── rights: (length: 0)
│ │ │ ├── lparen_loc: (17,7)-(17,8) = "("
│ │ │ └── rparen_loc: (17,13)-(17,14) = ")"
│ │ ├── optionals: (length: 0)
@@ -299,7 +299,7 @@
│ │ @ ParametersNode (location: (19,7)-(19,17))
│ │ ├── requireds: (length: 1)
│ │ │ └── @ MultiTargetNode (location: (19,7)-(19,17))
- │ │ │ ├── requireds: (length: 1)
+ │ │ │ ├── lefts: (length: 1)
│ │ │ │ └── @ RequiredParameterNode (location: (19,8)-(19,9))
│ │ │ │ └── name: :a
│ │ │ ├── rest:
@@ -308,7 +308,7 @@
│ │ │ │ └── expression:
│ │ │ │ @ RequiredParameterNode (location: (19,12)-(19,13))
│ │ │ │ └── name: :r
- │ │ │ ├── posts: (length: 1)
+ │ │ │ ├── rights: (length: 1)
│ │ │ │ └── @ RequiredParameterNode (location: (19,15)-(19,16))
│ │ │ │ └── name: :p
│ │ │ ├── lparen_loc: (19,7)-(19,8) = "("
@@ -335,13 +335,13 @@
│ │ @ ParametersNode (location: (21,7)-(21,14))
│ │ ├── requireds: (length: 1)
│ │ │ └── @ MultiTargetNode (location: (21,7)-(21,14))
- │ │ │ ├── requireds: (length: 2)
+ │ │ │ ├── lefts: (length: 2)
│ │ │ │ ├── @ RequiredParameterNode (location: (21,8)-(21,9))
│ │ │ │ │ └── name: :a
│ │ │ │ └── @ RequiredParameterNode (location: (21,11)-(21,13))
│ │ │ │ └── name: :a1
│ │ │ ├── rest: ∅
- │ │ │ ├── posts: (length: 0)
+ │ │ │ ├── rights: (length: 0)
│ │ │ ├── lparen_loc: (21,7)-(21,8) = "("
│ │ │ └── rparen_loc: (21,13)-(21,14) = ")"
│ │ ├── optionals: (length: 0)
diff --git a/test/prism/snapshots/whitequark/cond_begin_masgn.txt b/test/prism/snapshots/whitequark/cond_begin_masgn.txt
index 9650a94d8b..4037a2a0c2 100644
--- a/test/prism/snapshots/whitequark/cond_begin_masgn.txt
+++ b/test/prism/snapshots/whitequark/cond_begin_masgn.txt
@@ -21,7 +21,7 @@
│ │ │ ├── flags: variable_call
│ │ │ └── name: :bar
│ │ └── @ MultiWriteNode (location: (1,9)-(1,19))
- │ │ ├── requireds: (length: 2)
+ │ │ ├── lefts: (length: 2)
│ │ │ ├── @ LocalVariableTargetNode (location: (1,9)-(1,10))
│ │ │ │ ├── name: :a
│ │ │ │ └── depth: 0
@@ -29,7 +29,7 @@
│ │ │ ├── name: :b
│ │ │ └── depth: 0
│ │ ├── rest: ∅
- │ │ ├── posts: (length: 0)
+ │ │ ├── rights: (length: 0)
│ │ ├── lparen_loc: ∅
│ │ ├── rparen_loc: ∅
│ │ ├── operator_loc: (1,14)-(1,15) = "="
diff --git a/test/prism/snapshots/whitequark/for_mlhs.txt b/test/prism/snapshots/whitequark/for_mlhs.txt
index 2961335b54..21960c4b33 100644
--- a/test/prism/snapshots/whitequark/for_mlhs.txt
+++ b/test/prism/snapshots/whitequark/for_mlhs.txt
@@ -6,7 +6,7 @@
└── @ ForNode (location: (1,0)-(1,28))
├── index:
│ @ MultiTargetNode (location: (1,4)-(1,8))
- │ ├── requireds: (length: 2)
+ │ ├── lefts: (length: 2)
│ │ ├── @ LocalVariableTargetNode (location: (1,4)-(1,5))
│ │ │ ├── name: :a
│ │ │ └── depth: 1
@@ -14,7 +14,7 @@
│ │ ├── name: :b
│ │ └── depth: 1
│ ├── rest: ∅
- │ ├── posts: (length: 0)
+ │ ├── rights: (length: 0)
│ ├── lparen_loc: ∅
│ └── rparen_loc: ∅
├── collection:
diff --git a/test/prism/snapshots/whitequark/if_masgn__24.txt b/test/prism/snapshots/whitequark/if_masgn__24.txt
index 5d6e698177..75168eb066 100644
--- a/test/prism/snapshots/whitequark/if_masgn__24.txt
+++ b/test/prism/snapshots/whitequark/if_masgn__24.txt
@@ -11,7 +11,7 @@
│ │ @ StatementsNode (location: (1,4)-(1,14))
│ │ └── body: (length: 1)
│ │ └── @ MultiWriteNode (location: (1,4)-(1,14))
- │ │ ├── requireds: (length: 2)
+ │ │ ├── lefts: (length: 2)
│ │ │ ├── @ LocalVariableTargetNode (location: (1,4)-(1,5))
│ │ │ │ ├── name: :a
│ │ │ │ └── depth: 0
@@ -19,7 +19,7 @@
│ │ │ ├── name: :b
│ │ │ └── depth: 0
│ │ ├── rest: ∅
- │ │ ├── posts: (length: 0)
+ │ │ ├── rights: (length: 0)
│ │ ├── lparen_loc: ∅
│ │ ├── rparen_loc: ∅
│ │ ├── operator_loc: (1,9)-(1,10) = "="
diff --git a/test/prism/snapshots/whitequark/masgn.txt b/test/prism/snapshots/whitequark/masgn.txt
index 3da7c06274..621204b186 100644
--- a/test/prism/snapshots/whitequark/masgn.txt
+++ b/test/prism/snapshots/whitequark/masgn.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(5,20))
└── body: (length: 3)
├── @ MultiWriteNode (location: (1,0)-(1,17))
- │ ├── requireds: (length: 2)
+ │ ├── lefts: (length: 2)
│ │ ├── @ LocalVariableTargetNode (location: (1,1)-(1,4))
│ │ │ ├── name: :foo
│ │ │ └── depth: 0
@@ -12,7 +12,7 @@
│ │ ├── name: :bar
│ │ └── depth: 0
│ ├── rest: ∅
- │ ├── posts: (length: 0)
+ │ ├── rights: (length: 0)
│ ├── lparen_loc: (1,0)-(1,1) = "("
│ ├── rparen_loc: (1,9)-(1,10) = ")"
│ ├── operator_loc: (1,11)-(1,12) = "="
@@ -26,7 +26,7 @@
│ ├── opening_loc: ∅
│ └── closing_loc: ∅
├── @ MultiWriteNode (location: (3,0)-(3,15))
- │ ├── requireds: (length: 2)
+ │ ├── lefts: (length: 2)
│ │ ├── @ LocalVariableTargetNode (location: (3,0)-(3,3))
│ │ │ ├── name: :foo
│ │ │ └── depth: 0
@@ -34,7 +34,7 @@
│ │ ├── name: :bar
│ │ └── depth: 0
│ ├── rest: ∅
- │ ├── posts: (length: 0)
+ │ ├── rights: (length: 0)
│ ├── lparen_loc: ∅
│ ├── rparen_loc: ∅
│ ├── operator_loc: (3,9)-(3,10) = "="
@@ -48,7 +48,7 @@
│ ├── opening_loc: ∅
│ └── closing_loc: ∅
└── @ MultiWriteNode (location: (5,0)-(5,20))
- ├── requireds: (length: 3)
+ ├── lefts: (length: 3)
│ ├── @ LocalVariableTargetNode (location: (5,0)-(5,3))
│ │ ├── name: :foo
│ │ └── depth: 0
@@ -59,7 +59,7 @@
│ ├── name: :baz
│ └── depth: 0
├── rest: ∅
- ├── posts: (length: 0)
+ ├── rights: (length: 0)
├── lparen_loc: ∅
├── rparen_loc: ∅
├── operator_loc: (5,14)-(5,15) = "="
diff --git a/test/prism/snapshots/whitequark/masgn_attr.txt b/test/prism/snapshots/whitequark/masgn_attr.txt
index d12ce590e3..b74843a60c 100644
--- a/test/prism/snapshots/whitequark/masgn_attr.txt
+++ b/test/prism/snapshots/whitequark/masgn_attr.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(5,18))
└── body: (length: 3)
├── @ MultiWriteNode (location: (1,0)-(1,17))
- │ ├── requireds: (length: 2)
+ │ ├── lefts: (length: 2)
│ │ ├── @ CallNode (location: (1,0)-(1,6))
│ │ │ ├── receiver:
│ │ │ │ @ SelfNode (location: (1,0)-(1,4))
@@ -20,7 +20,7 @@
│ │ ├── name: :foo
│ │ └── depth: 0
│ ├── rest: ∅
- │ ├── posts: (length: 0)
+ │ ├── rights: (length: 0)
│ ├── lparen_loc: ∅
│ ├── rparen_loc: ∅
│ ├── operator_loc: (1,12)-(1,13) = "="
@@ -29,7 +29,7 @@
│ ├── name: :foo
│ └── depth: 0
├── @ MultiWriteNode (location: (3,0)-(3,24))
- │ ├── requireds: (length: 2)
+ │ ├── lefts: (length: 2)
│ │ ├── @ CallNode (location: (3,0)-(3,6))
│ │ │ ├── receiver:
│ │ │ │ @ SelfNode (location: (3,0)-(3,4))
@@ -60,7 +60,7 @@
│ │ ├── flags: ∅
│ │ └── name: :[]=
│ ├── rest: ∅
- │ ├── posts: (length: 0)
+ │ ├── rights: (length: 0)
│ ├── lparen_loc: ∅
│ ├── rparen_loc: ∅
│ ├── operator_loc: (3,19)-(3,20) = "="
@@ -69,7 +69,7 @@
│ ├── name: :foo
│ └── depth: 0
└── @ MultiWriteNode (location: (5,0)-(5,18))
- ├── requireds: (length: 2)
+ ├── lefts: (length: 2)
│ ├── @ CallNode (location: (5,0)-(5,7))
│ │ ├── receiver:
│ │ │ @ SelfNode (location: (5,0)-(5,4))
@@ -85,7 +85,7 @@
│ ├── name: :foo
│ └── depth: 0
├── rest: ∅
- ├── posts: (length: 0)
+ ├── rights: (length: 0)
├── lparen_loc: ∅
├── rparen_loc: ∅
├── operator_loc: (5,13)-(5,14) = "="
diff --git a/test/prism/snapshots/whitequark/masgn_cmd.txt b/test/prism/snapshots/whitequark/masgn_cmd.txt
index ecf91b0c49..003dd47c13 100644
--- a/test/prism/snapshots/whitequark/masgn_cmd.txt
+++ b/test/prism/snapshots/whitequark/masgn_cmd.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,16))
└── body: (length: 1)
└── @ MultiWriteNode (location: (1,0)-(1,16))
- ├── requireds: (length: 2)
+ ├── lefts: (length: 2)
│ ├── @ LocalVariableTargetNode (location: (1,0)-(1,3))
│ │ ├── name: :foo
│ │ └── depth: 0
@@ -12,7 +12,7 @@
│ ├── name: :bar
│ └── depth: 0
├── rest: ∅
- ├── posts: (length: 0)
+ ├── rights: (length: 0)
├── lparen_loc: ∅
├── rparen_loc: ∅
├── operator_loc: (1,9)-(1,10) = "="
diff --git a/test/prism/snapshots/whitequark/masgn_const.txt b/test/prism/snapshots/whitequark/masgn_const.txt
index 6090566161..56169deb17 100644
--- a/test/prism/snapshots/whitequark/masgn_const.txt
+++ b/test/prism/snapshots/whitequark/masgn_const.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(3,18))
└── body: (length: 2)
├── @ MultiWriteNode (location: (1,0)-(1,14))
- │ ├── requireds: (length: 2)
+ │ ├── lefts: (length: 2)
│ │ ├── @ ConstantPathTargetNode (location: (1,0)-(1,3))
│ │ │ ├── parent: ∅
│ │ │ ├── child:
@@ -15,7 +15,7 @@
│ │ ├── name: :foo
│ │ └── depth: 0
│ ├── rest: ∅
- │ ├── posts: (length: 0)
+ │ ├── rights: (length: 0)
│ ├── lparen_loc: ∅
│ ├── rparen_loc: ∅
│ ├── operator_loc: (1,9)-(1,10) = "="
@@ -24,7 +24,7 @@
│ ├── name: :foo
│ └── depth: 0
└── @ MultiWriteNode (location: (3,0)-(3,18))
- ├── requireds: (length: 2)
+ ├── lefts: (length: 2)
│ ├── @ ConstantPathTargetNode (location: (3,0)-(3,7))
│ │ ├── parent:
│ │ │ @ SelfNode (location: (3,0)-(3,4))
@@ -36,7 +36,7 @@
│ ├── name: :foo
│ └── depth: 0
├── rest: ∅
- ├── posts: (length: 0)
+ ├── rights: (length: 0)
├── lparen_loc: ∅
├── rparen_loc: ∅
├── operator_loc: (3,13)-(3,14) = "="
diff --git a/test/prism/snapshots/whitequark/masgn_nested.txt b/test/prism/snapshots/whitequark/masgn_nested.txt
index e86c8de000..4ee7ea3e00 100644
--- a/test/prism/snapshots/whitequark/masgn_nested.txt
+++ b/test/prism/snapshots/whitequark/masgn_nested.txt
@@ -4,9 +4,9 @@
@ StatementsNode (location: (1,0)-(3,15))
└── body: (length: 2)
├── @ MultiWriteNode (location: (1,0)-(1,13))
- │ ├── requireds: (length: 1)
+ │ ├── lefts: (length: 1)
│ │ └── @ MultiTargetNode (location: (1,1)-(1,6))
- │ │ ├── requireds: (length: 1)
+ │ │ ├── lefts: (length: 1)
│ │ │ └── @ LocalVariableTargetNode (location: (1,2)-(1,3))
│ │ │ ├── name: :b
│ │ │ └── depth: 0
@@ -14,11 +14,11 @@
│ │ │ @ SplatNode (location: (1,3)-(1,4))
│ │ │ ├── operator_loc: (1,3)-(1,4) = ","
│ │ │ └── expression: ∅
- │ │ ├── posts: (length: 0)
+ │ │ ├── rights: (length: 0)
│ │ ├── lparen_loc: (1,1)-(1,2) = "("
│ │ └── rparen_loc: (1,5)-(1,6) = ")"
│ ├── rest: ∅
- │ ├── posts: (length: 0)
+ │ ├── rights: (length: 0)
│ ├── lparen_loc: (1,0)-(1,1) = "("
│ ├── rparen_loc: (1,6)-(1,7) = ")"
│ ├── operator_loc: (1,8)-(1,9) = "="
@@ -34,12 +34,12 @@
│ ├── flags: variable_call
│ └── name: :foo
└── @ MultiWriteNode (location: (3,0)-(3,15))
- ├── requireds: (length: 2)
+ ├── lefts: (length: 2)
│ ├── @ LocalVariableTargetNode (location: (3,0)-(3,1))
│ │ ├── name: :a
│ │ └── depth: 0
│ └── @ MultiTargetNode (location: (3,3)-(3,9))
- │ ├── requireds: (length: 2)
+ │ ├── lefts: (length: 2)
│ │ ├── @ LocalVariableTargetNode (location: (3,4)-(3,5))
│ │ │ ├── name: :b
│ │ │ └── depth: 0
@@ -47,11 +47,11 @@
│ │ ├── name: :c
│ │ └── depth: 0
│ ├── rest: ∅
- │ ├── posts: (length: 0)
+ │ ├── rights: (length: 0)
│ ├── lparen_loc: (3,3)-(3,4) = "("
│ └── rparen_loc: (3,8)-(3,9) = ")"
├── rest: ∅
- ├── posts: (length: 0)
+ ├── rights: (length: 0)
├── lparen_loc: ∅
├── rparen_loc: ∅
├── operator_loc: (3,10)-(3,11) = "="
diff --git a/test/prism/snapshots/whitequark/masgn_splat.txt b/test/prism/snapshots/whitequark/masgn_splat.txt
index 9662ef5399..7951896021 100644
--- a/test/prism/snapshots/whitequark/masgn_splat.txt
+++ b/test/prism/snapshots/whitequark/masgn_splat.txt
@@ -4,12 +4,12 @@
@ StatementsNode (location: (1,0)-(19,16))
└── body: (length: 10)
├── @ MultiWriteNode (location: (1,0)-(1,7))
- │ ├── requireds: (length: 0)
+ │ ├── lefts: (length: 0)
│ ├── rest:
│ │ @ SplatNode (location: (1,0)-(1,1))
│ │ ├── operator_loc: (1,0)-(1,1) = "*"
│ │ └── expression: ∅
- │ ├── posts: (length: 0)
+ │ ├── rights: (length: 0)
│ ├── lparen_loc: ∅
│ ├── rparen_loc: ∅
│ ├── operator_loc: (1,2)-(1,3) = "="
@@ -25,12 +25,12 @@
│ ├── flags: variable_call
│ └── name: :bar
├── @ MultiWriteNode (location: (3,0)-(3,13))
- │ ├── requireds: (length: 0)
+ │ ├── lefts: (length: 0)
│ ├── rest:
│ │ @ SplatNode (location: (3,0)-(3,1))
│ │ ├── operator_loc: (3,0)-(3,1) = "*"
│ │ └── expression: ∅
- │ ├── posts: (length: 2)
+ │ ├── rights: (length: 2)
│ │ ├── @ LocalVariableTargetNode (location: (3,3)-(3,4))
│ │ │ ├── name: :c
│ │ │ └── depth: 0
@@ -52,7 +52,7 @@
│ ├── flags: variable_call
│ └── name: :bar
├── @ MultiWriteNode (location: (5,0)-(5,8))
- │ ├── requireds: (length: 0)
+ │ ├── lefts: (length: 0)
│ ├── rest:
│ │ @ SplatNode (location: (5,0)-(5,2))
│ │ ├── operator_loc: (5,0)-(5,1) = "*"
@@ -60,7 +60,7 @@
│ │ @ LocalVariableTargetNode (location: (5,1)-(5,2))
│ │ ├── name: :b
│ │ └── depth: 0
- │ ├── posts: (length: 0)
+ │ ├── rights: (length: 0)
│ ├── lparen_loc: ∅
│ ├── rparen_loc: ∅
│ ├── operator_loc: (5,3)-(5,4) = "="
@@ -76,7 +76,7 @@
│ ├── flags: variable_call
│ └── name: :bar
├── @ MultiWriteNode (location: (7,0)-(7,11))
- │ ├── requireds: (length: 0)
+ │ ├── lefts: (length: 0)
│ ├── rest:
│ │ @ SplatNode (location: (7,0)-(7,2))
│ │ ├── operator_loc: (7,0)-(7,1) = "*"
@@ -84,7 +84,7 @@
│ │ @ LocalVariableTargetNode (location: (7,1)-(7,2))
│ │ ├── name: :b
│ │ └── depth: 0
- │ ├── posts: (length: 1)
+ │ ├── rights: (length: 1)
│ │ └── @ LocalVariableTargetNode (location: (7,4)-(7,5))
│ │ ├── name: :c
│ │ └── depth: 0
@@ -103,13 +103,13 @@
│ ├── flags: variable_call
│ └── name: :bar
├── @ MultiWriteNode (location: (9,0)-(9,18))
- │ ├── requireds: (length: 2)
+ │ ├── lefts: (length: 2)
│ │ ├── @ InstanceVariableTargetNode (location: (9,0)-(9,4))
│ │ │ └── name: :@foo
│ │ └── @ ClassVariableTargetNode (location: (9,6)-(9,11))
│ │ └── name: :@@bar
│ ├── rest: ∅
- │ ├── posts: (length: 0)
+ │ ├── rights: (length: 0)
│ ├── lparen_loc: ∅
│ ├── rparen_loc: ∅
│ ├── operator_loc: (9,12)-(9,13) = "="
@@ -132,7 +132,7 @@
│ ├── opening_loc: ∅
│ └── closing_loc: ∅
├── @ MultiWriteNode (location: (11,0)-(11,10))
- │ ├── requireds: (length: 1)
+ │ ├── lefts: (length: 1)
│ │ └── @ LocalVariableTargetNode (location: (11,0)-(11,1))
│ │ ├── name: :a
│ │ └── depth: 0
@@ -140,7 +140,7 @@
│ │ @ SplatNode (location: (11,3)-(11,4))
│ │ ├── operator_loc: (11,3)-(11,4) = "*"
│ │ └── expression: ∅
- │ ├── posts: (length: 0)
+ │ ├── rights: (length: 0)
│ ├── lparen_loc: ∅
│ ├── rparen_loc: ∅
│ ├── operator_loc: (11,5)-(11,6) = "="
@@ -156,7 +156,7 @@
│ ├── flags: variable_call
│ └── name: :bar
├── @ MultiWriteNode (location: (13,0)-(13,13))
- │ ├── requireds: (length: 1)
+ │ ├── lefts: (length: 1)
│ │ └── @ LocalVariableTargetNode (location: (13,0)-(13,1))
│ │ ├── name: :a
│ │ └── depth: 0
@@ -164,7 +164,7 @@
│ │ @ SplatNode (location: (13,3)-(13,4))
│ │ ├── operator_loc: (13,3)-(13,4) = "*"
│ │ └── expression: ∅
- │ ├── posts: (length: 1)
+ │ ├── rights: (length: 1)
│ │ └── @ LocalVariableTargetNode (location: (13,6)-(13,7))
│ │ ├── name: :c
│ │ └── depth: 0
@@ -183,7 +183,7 @@
│ ├── flags: variable_call
│ └── name: :bar
├── @ MultiWriteNode (location: (15,0)-(15,11))
- │ ├── requireds: (length: 1)
+ │ ├── lefts: (length: 1)
│ │ └── @ LocalVariableTargetNode (location: (15,0)-(15,1))
│ │ ├── name: :a
│ │ └── depth: 0
@@ -194,7 +194,7 @@
│ │ @ LocalVariableTargetNode (location: (15,4)-(15,5))
│ │ ├── name: :b
│ │ └── depth: 0
- │ ├── posts: (length: 0)
+ │ ├── rights: (length: 0)
│ ├── lparen_loc: ∅
│ ├── rparen_loc: ∅
│ ├── operator_loc: (15,6)-(15,7) = "="
@@ -210,7 +210,7 @@
│ ├── flags: variable_call
│ └── name: :bar
├── @ MultiWriteNode (location: (17,0)-(17,14))
- │ ├── requireds: (length: 1)
+ │ ├── lefts: (length: 1)
│ │ └── @ LocalVariableTargetNode (location: (17,0)-(17,1))
│ │ ├── name: :a
│ │ └── depth: 0
@@ -221,7 +221,7 @@
│ │ @ LocalVariableTargetNode (location: (17,4)-(17,5))
│ │ ├── name: :b
│ │ └── depth: 0
- │ ├── posts: (length: 1)
+ │ ├── rights: (length: 1)
│ │ └── @ LocalVariableTargetNode (location: (17,7)-(17,8))
│ │ ├── name: :c
│ │ └── depth: 0
@@ -240,7 +240,7 @@
│ ├── flags: variable_call
│ └── name: :bar
└── @ MultiWriteNode (location: (19,0)-(19,16))
- ├── requireds: (length: 2)
+ ├── lefts: (length: 2)
│ ├── @ LocalVariableTargetNode (location: (19,0)-(19,1))
│ │ ├── name: :a
│ │ └── depth: 0
@@ -248,7 +248,7 @@
│ ├── name: :b
│ └── depth: 0
├── rest: ∅
- ├── posts: (length: 0)
+ ├── rights: (length: 0)
├── lparen_loc: ∅
├── rparen_loc: ∅
├── operator_loc: (19,5)-(19,6) = "="
diff --git a/test/prism/snapshots/whitequark/not_masgn__24.txt b/test/prism/snapshots/whitequark/not_masgn__24.txt
index afe5bc341c..59fea27a14 100644
--- a/test/prism/snapshots/whitequark/not_masgn__24.txt
+++ b/test/prism/snapshots/whitequark/not_masgn__24.txt
@@ -10,7 +10,7 @@
│ │ @ StatementsNode (location: (1,2)-(1,12))
│ │ └── body: (length: 1)
│ │ └── @ MultiWriteNode (location: (1,2)-(1,12))
- │ │ ├── requireds: (length: 2)
+ │ │ ├── lefts: (length: 2)
│ │ │ ├── @ LocalVariableTargetNode (location: (1,2)-(1,3))
│ │ │ │ ├── name: :a
│ │ │ │ └── depth: 0
@@ -18,7 +18,7 @@
│ │ │ ├── name: :b
│ │ │ └── depth: 0
│ │ ├── rest: ∅
- │ │ ├── posts: (length: 0)
+ │ │ ├── rights: (length: 0)
│ │ ├── lparen_loc: ∅
│ │ ├── rparen_loc: ∅
│ │ ├── operator_loc: (1,7)-(1,8) = "="
diff --git a/test/prism/snapshots/whitequark/procarg0.txt b/test/prism/snapshots/whitequark/procarg0.txt
index 876d6e6f70..9f552d7ba4 100644
--- a/test/prism/snapshots/whitequark/procarg0.txt
+++ b/test/prism/snapshots/whitequark/procarg0.txt
@@ -19,13 +19,13 @@
│ │ │ │ @ ParametersNode (location: (1,5)-(1,15))
│ │ │ │ ├── requireds: (length: 1)
│ │ │ │ │ └── @ MultiTargetNode (location: (1,5)-(1,15))
- │ │ │ │ │ ├── requireds: (length: 2)
+ │ │ │ │ │ ├── lefts: (length: 2)
│ │ │ │ │ │ ├── @ RequiredParameterNode (location: (1,6)-(1,9))
│ │ │ │ │ │ │ └── name: :foo
│ │ │ │ │ │ └── @ RequiredParameterNode (location: (1,11)-(1,14))
│ │ │ │ │ │ └── name: :bar
│ │ │ │ │ ├── rest: ∅
- │ │ │ │ │ ├── posts: (length: 0)
+ │ │ │ │ │ ├── rights: (length: 0)
│ │ │ │ │ ├── lparen_loc: (1,5)-(1,6) = "("
│ │ │ │ │ └── rparen_loc: (1,14)-(1,15) = ")"
│ │ │ │ ├── optionals: (length: 0)
diff --git a/test/prism/snapshots/whitequark/rescue_mod_masgn.txt b/test/prism/snapshots/whitequark/rescue_mod_masgn.txt
index e44a4adacd..580734a1e3 100644
--- a/test/prism/snapshots/whitequark/rescue_mod_masgn.txt
+++ b/test/prism/snapshots/whitequark/rescue_mod_masgn.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,29))
└── body: (length: 1)
└── @ MultiWriteNode (location: (1,0)-(1,29))
- ├── requireds: (length: 2)
+ ├── lefts: (length: 2)
│ ├── @ LocalVariableTargetNode (location: (1,0)-(1,3))
│ │ ├── name: :foo
│ │ └── depth: 0
@@ -12,7 +12,7 @@
│ ├── name: :bar
│ └── depth: 0
├── rest: ∅
- ├── posts: (length: 0)
+ ├── rights: (length: 0)
├── lparen_loc: ∅
├── rparen_loc: ∅
├── operator_loc: (1,9)-(1,10) = "="