summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoit Daloze <eregontp@gmail.com>2023-11-20 17:43:26 +0100
committergit <svn-admin@ruby-lang.org>2023-11-22 12:15:20 +0000
commit018e6abf8509c7de2a8efb49741d594b15f49fbf (patch)
tree73063cfd93412f02dbeb4981eabb73c84160be83
parentea60bf912caa3ea193b7673b59b0113c1e708609 (diff)
[ruby/prism] Move CallNode#name field between receiver and arguments
* The same order as in source code. * CallOrWriteNode, CallOperatorWriteNode, CallAndWriteNode already have the correct order so it was also inconsistent with them. https://github.com/ruby/prism/commit/4434e4bc22
-rw-r--r--lib/prism/desugar_compiler.rb2
-rw-r--r--prism/config.yml4
-rw-r--r--test/prism/errors_test.rb24
-rw-r--r--test/prism/snapshots/arithmetic.txt88
-rw-r--r--test/prism/snapshots/arrays.txt380
-rw-r--r--test/prism/snapshots/begin_ensure.txt44
-rw-r--r--test/prism/snapshots/begin_rescue.txt140
-rw-r--r--test/prism/snapshots/blocks.txt156
-rw-r--r--test/prism/snapshots/boolean_operators.txt12
-rw-r--r--test/prism/snapshots/break.txt16
-rw-r--r--test/prism/snapshots/case.txt36
-rw-r--r--test/prism/snapshots/classes.txt36
-rw-r--r--test/prism/snapshots/comments.txt56
-rw-r--r--test/prism/snapshots/constants.txt352
-rw-r--r--test/prism/snapshots/dash_heredocs.txt24
-rw-r--r--test/prism/snapshots/defined.txt8
-rw-r--r--test/prism/snapshots/dos_endings.txt12
-rw-r--r--test/prism/snapshots/endless_methods.txt12
-rw-r--r--test/prism/snapshots/hashes.txt68
-rw-r--r--test/prism/snapshots/heredoc_with_escaped_newline_at_start.txt8
-rw-r--r--test/prism/snapshots/if.txt52
-rw-r--r--test/prism/snapshots/integer_operations.txt128
-rw-r--r--test/prism/snapshots/keyword_method_names.txt8
-rw-r--r--test/prism/snapshots/lambda.txt20
-rw-r--r--test/prism/snapshots/method_calls.txt492
-rw-r--r--test/prism/snapshots/methods.txt88
-rw-r--r--test/prism/snapshots/modules.txt16
-rw-r--r--test/prism/snapshots/non_alphanumeric_methods.txt4
-rw-r--r--test/prism/snapshots/not.txt124
-rw-r--r--test/prism/snapshots/patterns.txt692
-rw-r--r--test/prism/snapshots/procs.txt12
-rw-r--r--test/prism/snapshots/ranges.txt16
-rw-r--r--test/prism/snapshots/regex.txt48
-rw-r--r--test/prism/snapshots/rescue.txt64
-rw-r--r--test/prism/snapshots/seattlerb/TestRubyParserShared.txt12
-rw-r--r--test/prism/snapshots/seattlerb/and_multi.txt4
-rw-r--r--test/prism/snapshots/seattlerb/array_lits_trailing_calls.txt8
-rw-r--r--test/prism/snapshots/seattlerb/assoc__bare.txt4
-rw-r--r--test/prism/snapshots/seattlerb/assoc_label.txt4
-rw-r--r--test/prism/snapshots/seattlerb/attr_asgn_colon_id.txt4
-rw-r--r--test/prism/snapshots/seattlerb/attrasgn_array_arg.txt8
-rw-r--r--test/prism/snapshots/seattlerb/attrasgn_array_lhs.txt12
-rw-r--r--test/prism/snapshots/seattlerb/attrasgn_primary_dot_constant.txt8
-rw-r--r--test/prism/snapshots/seattlerb/backticks_interpolation_line.txt8
-rw-r--r--test/prism/snapshots/seattlerb/bang_eq.txt4
-rw-r--r--test/prism/snapshots/seattlerb/bdot2.txt8
-rw-r--r--test/prism/snapshots/seattlerb/bdot3.txt8
-rw-r--r--test/prism/snapshots/seattlerb/block_arg_kwsplat.txt4
-rw-r--r--test/prism/snapshots/seattlerb/block_arg_opt_arg_block.txt4
-rw-r--r--test/prism/snapshots/seattlerb/block_arg_opt_splat.txt4
-rw-r--r--test/prism/snapshots/seattlerb/block_arg_opt_splat_arg_block_omfg.txt4
-rw-r--r--test/prism/snapshots/seattlerb/block_arg_optional.txt4
-rw-r--r--test/prism/snapshots/seattlerb/block_arg_scope.txt4
-rw-r--r--test/prism/snapshots/seattlerb/block_arg_scope2.txt4
-rw-r--r--test/prism/snapshots/seattlerb/block_arg_splat_arg.txt4
-rw-r--r--test/prism/snapshots/seattlerb/block_args_kwargs.txt4
-rw-r--r--test/prism/snapshots/seattlerb/block_args_no_kwargs.txt4
-rw-r--r--test/prism/snapshots/seattlerb/block_args_opt1.txt4
-rw-r--r--test/prism/snapshots/seattlerb/block_args_opt2.txt4
-rw-r--r--test/prism/snapshots/seattlerb/block_args_opt2_2.txt4
-rw-r--r--test/prism/snapshots/seattlerb/block_args_opt3.txt4
-rw-r--r--test/prism/snapshots/seattlerb/block_break.txt8
-rw-r--r--test/prism/snapshots/seattlerb/block_call_defn_call_block_call.txt16
-rw-r--r--test/prism/snapshots/seattlerb/block_call_dot_op2_brace_block.txt24
-rw-r--r--test/prism/snapshots/seattlerb/block_call_dot_op2_cmd_args_do_block.txt28
-rw-r--r--test/prism/snapshots/seattlerb/block_call_operation_colon.txt16
-rw-r--r--test/prism/snapshots/seattlerb/block_call_operation_dot.txt16
-rw-r--r--test/prism/snapshots/seattlerb/block_call_paren_call_block_call.txt16
-rw-r--r--test/prism/snapshots/seattlerb/block_command_operation_colon.txt8
-rw-r--r--test/prism/snapshots/seattlerb/block_command_operation_dot.txt8
-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_kw.txt4
-rw-r--r--test/prism/snapshots/seattlerb/block_kw__required.txt4
-rw-r--r--test/prism/snapshots/seattlerb/block_kwarg_lvar.txt4
-rw-r--r--test/prism/snapshots/seattlerb/block_kwarg_lvar_multiple.txt4
-rw-r--r--test/prism/snapshots/seattlerb/block_next.txt8
-rw-r--r--test/prism/snapshots/seattlerb/block_opt_arg.txt4
-rw-r--r--test/prism/snapshots/seattlerb/block_opt_splat.txt4
-rw-r--r--test/prism/snapshots/seattlerb/block_opt_splat_arg_block_omfg.txt4
-rw-r--r--test/prism/snapshots/seattlerb/block_optarg.txt4
-rw-r--r--test/prism/snapshots/seattlerb/block_paren_splat.txt4
-rw-r--r--test/prism/snapshots/seattlerb/block_reg_optarg.txt4
-rw-r--r--test/prism/snapshots/seattlerb/block_return.txt8
-rw-r--r--test/prism/snapshots/seattlerb/block_scope.txt4
-rw-r--r--test/prism/snapshots/seattlerb/block_splat_reg.txt4
-rw-r--r--test/prism/snapshots/seattlerb/bug169.txt4
-rw-r--r--test/prism/snapshots/seattlerb/bug179.txt4
-rw-r--r--test/prism/snapshots/seattlerb/bug191.txt16
-rw-r--r--test/prism/snapshots/seattlerb/bug236.txt8
-rw-r--r--test/prism/snapshots/seattlerb/bug290.txt4
-rw-r--r--test/prism/snapshots/seattlerb/bug_187.txt12
-rw-r--r--test/prism/snapshots/seattlerb/bug_249.txt12
-rw-r--r--test/prism/snapshots/seattlerb/bug_args__19.txt8
-rw-r--r--test/prism/snapshots/seattlerb/bug_args_masgn.txt4
-rw-r--r--test/prism/snapshots/seattlerb/bug_args_masgn2.txt4
-rw-r--r--test/prism/snapshots/seattlerb/bug_args_masgn_outer_parens__19.txt4
-rw-r--r--test/prism/snapshots/seattlerb/bug_call_arglist_parens.txt12
-rw-r--r--test/prism/snapshots/seattlerb/bug_comma.txt8
-rw-r--r--test/prism/snapshots/seattlerb/bug_hash_args.txt4
-rw-r--r--test/prism/snapshots/seattlerb/bug_hash_args_trailing_comma.txt4
-rw-r--r--test/prism/snapshots/seattlerb/bug_masgn_right.txt4
-rw-r--r--test/prism/snapshots/seattlerb/bug_not_parens.txt8
-rw-r--r--test/prism/snapshots/seattlerb/bug_op_asgn_rescue.txt4
-rw-r--r--test/prism/snapshots/seattlerb/call_and.txt4
-rw-r--r--test/prism/snapshots/seattlerb/call_arg_assoc.txt4
-rw-r--r--test/prism/snapshots/seattlerb/call_arg_assoc_kwsplat.txt4
-rw-r--r--test/prism/snapshots/seattlerb/call_arg_kwsplat.txt8
-rw-r--r--test/prism/snapshots/seattlerb/call_args_assoc_quoted.txt16
-rw-r--r--test/prism/snapshots/seattlerb/call_args_assoc_trailing_comma.txt4
-rw-r--r--test/prism/snapshots/seattlerb/call_args_command.txt16
-rw-r--r--test/prism/snapshots/seattlerb/call_array_arg.txt4
-rw-r--r--test/prism/snapshots/seattlerb/call_array_block_call.txt8
-rw-r--r--test/prism/snapshots/seattlerb/call_array_lambda_block_call.txt4
-rw-r--r--test/prism/snapshots/seattlerb/call_array_lit_inline_hash.txt4
-rw-r--r--test/prism/snapshots/seattlerb/call_assoc.txt4
-rw-r--r--test/prism/snapshots/seattlerb/call_assoc_new.txt4
-rw-r--r--test/prism/snapshots/seattlerb/call_assoc_new_if_multiline.txt4
-rw-r--r--test/prism/snapshots/seattlerb/call_assoc_trailing_comma.txt4
-rw-r--r--test/prism/snapshots/seattlerb/call_bang_command_call.txt12
-rw-r--r--test/prism/snapshots/seattlerb/call_bang_squiggle.txt4
-rw-r--r--test/prism/snapshots/seattlerb/call_begin_call_block_call.txt12
-rw-r--r--test/prism/snapshots/seattlerb/call_block_arg_named.txt8
-rw-r--r--test/prism/snapshots/seattlerb/call_carat.txt4
-rw-r--r--test/prism/snapshots/seattlerb/call_colon2.txt4
-rw-r--r--test/prism/snapshots/seattlerb/call_colon_parens.txt4
-rw-r--r--test/prism/snapshots/seattlerb/call_div.txt4
-rw-r--r--test/prism/snapshots/seattlerb/call_dot_parens.txt4
-rw-r--r--test/prism/snapshots/seattlerb/call_env.txt8
-rw-r--r--test/prism/snapshots/seattlerb/call_eq3.txt4
-rw-r--r--test/prism/snapshots/seattlerb/call_gt.txt4
-rw-r--r--test/prism/snapshots/seattlerb/call_kwsplat.txt4
-rw-r--r--test/prism/snapshots/seattlerb/call_leading_dots.txt12
-rw-r--r--test/prism/snapshots/seattlerb/call_leading_dots_comment.txt12
-rw-r--r--test/prism/snapshots/seattlerb/call_lt.txt4
-rw-r--r--test/prism/snapshots/seattlerb/call_lte.txt4
-rw-r--r--test/prism/snapshots/seattlerb/call_not.txt4
-rw-r--r--test/prism/snapshots/seattlerb/call_pipe.txt4
-rw-r--r--test/prism/snapshots/seattlerb/call_rshift.txt4
-rw-r--r--test/prism/snapshots/seattlerb/call_self_brackets.txt4
-rw-r--r--test/prism/snapshots/seattlerb/call_spaceship.txt4
-rw-r--r--test/prism/snapshots/seattlerb/call_stabby_do_end_with_block.txt4
-rw-r--r--test/prism/snapshots/seattlerb/call_stabby_with_braces_block.txt4
-rw-r--r--test/prism/snapshots/seattlerb/call_star.txt4
-rw-r--r--test/prism/snapshots/seattlerb/call_star2.txt4
-rw-r--r--test/prism/snapshots/seattlerb/call_trailing_comma.txt4
-rw-r--r--test/prism/snapshots/seattlerb/call_trailing_dots.txt12
-rw-r--r--test/prism/snapshots/seattlerb/call_unary_bang.txt4
-rw-r--r--test/prism/snapshots/seattlerb/case_in.txt4
-rw-r--r--test/prism/snapshots/seattlerb/dasgn_icky2.txt4
-rw-r--r--test/prism/snapshots/seattlerb/defn_arg_forward_args.txt4
-rw-r--r--test/prism/snapshots/seattlerb/defn_args_forward_args.txt4
-rw-r--r--test/prism/snapshots/seattlerb/defn_endless_command.txt4
-rw-r--r--test/prism/snapshots/seattlerb/defn_endless_command_rescue.txt4
-rw-r--r--test/prism/snapshots/seattlerb/defn_forward_args.txt4
-rw-r--r--test/prism/snapshots/seattlerb/defn_forward_args__no_parens.txt4
-rw-r--r--test/prism/snapshots/seattlerb/defn_kwarg_env.txt4
-rw-r--r--test/prism/snapshots/seattlerb/defn_oneliner.txt4
-rw-r--r--test/prism/snapshots/seattlerb/defn_oneliner_noargs.txt4
-rw-r--r--test/prism/snapshots/seattlerb/defn_oneliner_noargs_parentheses.txt4
-rw-r--r--test/prism/snapshots/seattlerb/defn_oneliner_rescue.txt12
-rw-r--r--test/prism/snapshots/seattlerb/defs_as_arg_with_do_block_inside.txt12
-rw-r--r--test/prism/snapshots/seattlerb/defs_endless_command.txt8
-rw-r--r--test/prism/snapshots/seattlerb/defs_endless_command_rescue.txt8
-rw-r--r--test/prism/snapshots/seattlerb/defs_oneliner.txt4
-rw-r--r--test/prism/snapshots/seattlerb/defs_oneliner_rescue.txt12
-rw-r--r--test/prism/snapshots/seattlerb/difficult0_.txt12
-rw-r--r--test/prism/snapshots/seattlerb/difficult1_line_numbers.txt72
-rw-r--r--test/prism/snapshots/seattlerb/difficult1_line_numbers2.txt12
-rw-r--r--test/prism/snapshots/seattlerb/difficult2_.txt8
-rw-r--r--test/prism/snapshots/seattlerb/difficult3_.txt4
-rw-r--r--test/prism/snapshots/seattlerb/difficult3_2.txt4
-rw-r--r--test/prism/snapshots/seattlerb/difficult3_3.txt4
-rw-r--r--test/prism/snapshots/seattlerb/difficult3_4.txt4
-rw-r--r--test/prism/snapshots/seattlerb/difficult3_5.txt8
-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/difficult4__leading_dots.txt8
-rw-r--r--test/prism/snapshots/seattlerb/difficult6_.txt4
-rw-r--r--test/prism/snapshots/seattlerb/difficult6__7.txt12
-rw-r--r--test/prism/snapshots/seattlerb/difficult6__8.txt12
-rw-r--r--test/prism/snapshots/seattlerb/difficult7_.txt16
-rw-r--r--test/prism/snapshots/seattlerb/do_bug.txt12
-rw-r--r--test/prism/snapshots/seattlerb/dot2_nil__26.txt4
-rw-r--r--test/prism/snapshots/seattlerb/dot3_nil__26.txt4
-rw-r--r--test/prism/snapshots/seattlerb/dstr_evstr.txt4
-rw-r--r--test/prism/snapshots/seattlerb/dstr_evstr_empty_end.txt4
-rw-r--r--test/prism/snapshots/seattlerb/dstr_lex_state.txt4
-rw-r--r--test/prism/snapshots/seattlerb/eq_begin_why_wont_people_use_their_spacebar.txt12
-rw-r--r--test/prism/snapshots/seattlerb/evstr_evstr.txt8
-rw-r--r--test/prism/snapshots/seattlerb/evstr_str.txt4
-rw-r--r--test/prism/snapshots/seattlerb/expr_not_bang.txt12
-rw-r--r--test/prism/snapshots/seattlerb/flip2_env_lvar.txt8
-rw-r--r--test/prism/snapshots/seattlerb/heredoc_squiggly_blank_line_plus_interpolation.txt12
-rw-r--r--test/prism/snapshots/seattlerb/heredoc_trailing_slash_continued_call.txt4
-rw-r--r--test/prism/snapshots/seattlerb/if_symbol.txt4
-rw-r--r--test/prism/snapshots/seattlerb/index_0.txt12
-rw-r--r--test/prism/snapshots/seattlerb/index_0_opasgn.txt8
-rw-r--r--test/prism/snapshots/seattlerb/iter_args_1.txt4
-rw-r--r--test/prism/snapshots/seattlerb/iter_args_10_1.txt4
-rw-r--r--test/prism/snapshots/seattlerb/iter_args_10_2.txt4
-rw-r--r--test/prism/snapshots/seattlerb/iter_args_11_1.txt4
-rw-r--r--test/prism/snapshots/seattlerb/iter_args_11_2.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/iter_args_4.txt4
-rw-r--r--test/prism/snapshots/seattlerb/iter_args_5.txt4
-rw-r--r--test/prism/snapshots/seattlerb/iter_args_6.txt4
-rw-r--r--test/prism/snapshots/seattlerb/iter_args_7_1.txt4
-rw-r--r--test/prism/snapshots/seattlerb/iter_args_7_2.txt4
-rw-r--r--test/prism/snapshots/seattlerb/iter_args_8_1.txt4
-rw-r--r--test/prism/snapshots/seattlerb/iter_args_8_2.txt4
-rw-r--r--test/prism/snapshots/seattlerb/iter_args_9_1.txt4
-rw-r--r--test/prism/snapshots/seattlerb/iter_args_9_2.txt4
-rw-r--r--test/prism/snapshots/seattlerb/iter_kwarg.txt4
-rw-r--r--test/prism/snapshots/seattlerb/iter_kwarg_kwsplat.txt4
-rw-r--r--test/prism/snapshots/seattlerb/label_vs_string.txt8
-rw-r--r--test/prism/snapshots/seattlerb/lambda_do_vs_brace.txt16
-rw-r--r--test/prism/snapshots/seattlerb/lasgn_call_bracket_rescue_arg.txt4
-rw-r--r--test/prism/snapshots/seattlerb/lasgn_call_nobracket_rescue_arg.txt4
-rw-r--r--test/prism/snapshots/seattlerb/lasgn_command.txt8
-rw-r--r--test/prism/snapshots/seattlerb/lasgn_lasgn_command_call.txt4
-rw-r--r--test/prism/snapshots/seattlerb/lasgn_middle_splat.txt12
-rw-r--r--test/prism/snapshots/seattlerb/masgn_anon_splat_arg.txt4
-rw-r--r--test/prism/snapshots/seattlerb/masgn_arg_colon_arg.txt12
-rw-r--r--test/prism/snapshots/seattlerb/masgn_arg_ident.txt12
-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_command_call.txt8
-rw-r--r--test/prism/snapshots/seattlerb/masgn_double_paren.txt4
-rw-r--r--test/prism/snapshots/seattlerb/masgn_paren.txt8
-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_var_star_var.txt4
-rw-r--r--test/prism/snapshots/seattlerb/messy_op_asgn_lineno.txt12
-rw-r--r--test/prism/snapshots/seattlerb/method_call_assoc_trailing_comma.txt8
-rw-r--r--test/prism/snapshots/seattlerb/method_call_trailing_comma.txt8
-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_keyword.txt8
-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/multiline_hash_declaration.txt12
-rw-r--r--test/prism/snapshots/seattlerb/op_asgn_command_call.txt8
-rw-r--r--test/prism/snapshots/seattlerb/op_asgn_dot_ident_command_call.txt4
-rw-r--r--test/prism/snapshots/seattlerb/op_asgn_index_command_call.txt8
-rw-r--r--test/prism/snapshots/seattlerb/op_asgn_primary_colon_const_command_call.txt8
-rw-r--r--test/prism/snapshots/seattlerb/op_asgn_primary_colon_identifier_command_call.txt8
-rw-r--r--test/prism/snapshots/seattlerb/op_asgn_val_dot_ident_command_call.txt8
-rw-r--r--test/prism/snapshots/seattlerb/parse_if_not_canonical.txt12
-rw-r--r--test/prism/snapshots/seattlerb/parse_if_not_noncanonical.txt12
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_block.txt4
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_block_inline_comment.txt12
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_block_inline_comment_leading_newlines.txt12
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_block_inline_multiline_comment.txt12
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_call_ivar_arg_no_parens_line_break.txt4
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_call_ivar_line_break_paren.txt4
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_call_no_args.txt8
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_defn_complex.txt4
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_dot2.txt12
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_dot2_open.txt8
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_dot3.txt12
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_dot3_open.txt8
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_evstr_after_break.txt4
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_heredoc.txt8
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_heredoc_evstr.txt4
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_heredoc_regexp_chars.txt4
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_iter_call_no_parens.txt12
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_iter_call_parens.txt12
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_op_asgn.txt8
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_postexe.txt4
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_preexe.txt4
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_rescue.txt12
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_str_with_newline_escape.txt4
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_to_ary.txt8
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_trailing_newlines.txt8
-rw-r--r--test/prism/snapshots/seattlerb/parse_opt_call_args_assocs_comma.txt4
-rw-r--r--test/prism/snapshots/seattlerb/parse_opt_call_args_lit_comma.txt4
-rw-r--r--test/prism/snapshots/seattlerb/parse_pattern_044.txt4
-rw-r--r--test/prism/snapshots/seattlerb/parse_until_not_canonical.txt12
-rw-r--r--test/prism/snapshots/seattlerb/parse_until_not_noncanonical.txt12
-rw-r--r--test/prism/snapshots/seattlerb/parse_while_not_canonical.txt12
-rw-r--r--test/prism/snapshots/seattlerb/parse_while_not_noncanonical.txt12
-rw-r--r--test/prism/snapshots/seattlerb/pipe_semicolon.txt8
-rw-r--r--test/prism/snapshots/seattlerb/pipe_space.txt8
-rw-r--r--test/prism/snapshots/seattlerb/qsymbols_interp.txt4
-rw-r--r--test/prism/snapshots/seattlerb/quoted_symbol_hash_arg.txt4
-rw-r--r--test/prism/snapshots/seattlerb/rescue_do_end_ensure_result.txt8
-rw-r--r--test/prism/snapshots/seattlerb/rescue_do_end_no_raise.txt4
-rw-r--r--test/prism/snapshots/seattlerb/rescue_do_end_raised.txt8
-rw-r--r--test/prism/snapshots/seattlerb/rescue_do_end_rescued.txt8
-rw-r--r--test/prism/snapshots/seattlerb/rescue_in_block.txt8
-rw-r--r--test/prism/snapshots/seattlerb/rescue_parens.txt12
-rw-r--r--test/prism/snapshots/seattlerb/return_call_assocs.txt20
-rw-r--r--test/prism/snapshots/seattlerb/safe_attrasgn.txt8
-rw-r--r--test/prism/snapshots/seattlerb/safe_attrasgn_constant.txt8
-rw-r--r--test/prism/snapshots/seattlerb/safe_call.txt8
-rw-r--r--test/prism/snapshots/seattlerb/safe_call_after_newline.txt8
-rw-r--r--test/prism/snapshots/seattlerb/safe_call_dot_parens.txt8
-rw-r--r--test/prism/snapshots/seattlerb/safe_call_newline.txt8
-rw-r--r--test/prism/snapshots/seattlerb/safe_call_operator.txt8
-rw-r--r--test/prism/snapshots/seattlerb/safe_call_rhs_newline.txt8
-rw-r--r--test/prism/snapshots/seattlerb/safe_calls.txt12
-rw-r--r--test/prism/snapshots/seattlerb/safe_op_asgn.txt8
-rw-r--r--test/prism/snapshots/seattlerb/safe_op_asgn2.txt8
-rw-r--r--test/prism/snapshots/seattlerb/slashy_newlines_within_string.txt16
-rw-r--r--test/prism/snapshots/seattlerb/stabby_block_iter_call.txt12
-rw-r--r--test/prism/snapshots/seattlerb/stabby_block_iter_call_no_target_with_arg.txt8
-rw-r--r--test/prism/snapshots/seattlerb/str_backslashes.txt4
-rw-r--r--test/prism/snapshots/seattlerb/str_double_double_escaped_newline.txt8
-rw-r--r--test/prism/snapshots/seattlerb/str_double_escaped_newline.txt8
-rw-r--r--test/prism/snapshots/seattlerb/str_double_newline.txt8
-rw-r--r--test/prism/snapshots/seattlerb/str_evstr.txt4
-rw-r--r--test/prism/snapshots/seattlerb/str_evstr_escape.txt4
-rw-r--r--test/prism/snapshots/seattlerb/str_heredoc_interp.txt4
-rw-r--r--test/prism/snapshots/seattlerb/str_interp_ternary_or_label.txt20
-rw-r--r--test/prism/snapshots/seattlerb/str_pct_Q_nested.txt4
-rw-r--r--test/prism/snapshots/seattlerb/str_single_double_escaped_newline.txt8
-rw-r--r--test/prism/snapshots/seattlerb/str_single_escaped_newline.txt8
-rw-r--r--test/prism/snapshots/seattlerb/str_single_newline.txt8
-rw-r--r--test/prism/snapshots/seattlerb/symbol_list.txt8
-rw-r--r--test/prism/snapshots/seattlerb/thingy.txt16
-rw-r--r--test/prism/snapshots/seattlerb/unary_minus.txt8
-rw-r--r--test/prism/snapshots/seattlerb/unary_plus.txt8
-rw-r--r--test/prism/snapshots/seattlerb/unary_plus_on_literal.txt4
-rw-r--r--test/prism/snapshots/seattlerb/unary_tilde.txt8
-rw-r--r--test/prism/snapshots/seattlerb/utf8_bom.txt4
-rw-r--r--test/prism/snapshots/seattlerb/when_splat.txt8
-rw-r--r--test/prism/snapshots/seattlerb/yield_call_assocs.txt20
-rw-r--r--test/prism/snapshots/spanning_heredoc.txt40
-rw-r--r--test/prism/snapshots/strings.txt16
-rw-r--r--test/prism/snapshots/symbols.txt4
-rw-r--r--test/prism/snapshots/ternary_operator.txt56
-rw-r--r--test/prism/snapshots/unless.txt8
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/assignment.txt116
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/block.txt260
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/case.txt112
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/class.txt20
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/def.txt104
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/defs.txt56
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/dstr.txt20
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/flipflop.txt40
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/for.txt36
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/hookexe.txt12
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/if.txt28
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/kwbegin.txt64
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/lambda.txt8
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/literal.txt64
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/module.txt8
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/opasgn.txt60
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/pattern.txt16
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/pragma.txt4
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/rescue.txt24
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/send.txt624
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/since/27.txt4
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/since/31.txt8
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/since/32.txt8
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/super.txt60
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/unary.txt80
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/variables.txt4
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/while.txt104
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/yield.txt12
-rw-r--r--test/prism/snapshots/unparser/corpus/semantic/and.txt64
-rw-r--r--test/prism/snapshots/unparser/corpus/semantic/block.txt28
-rw-r--r--test/prism/snapshots/unparser/corpus/semantic/def.txt16
-rw-r--r--test/prism/snapshots/unparser/corpus/semantic/kwbegin.txt40
-rw-r--r--test/prism/snapshots/unparser/corpus/semantic/literal.txt12
-rw-r--r--test/prism/snapshots/unparser/corpus/semantic/send.txt56
-rw-r--r--test/prism/snapshots/unparser/corpus/semantic/while.txt52
-rw-r--r--test/prism/snapshots/until.txt16
-rw-r--r--test/prism/snapshots/variables.txt16
-rw-r--r--test/prism/snapshots/while.txt36
-rw-r--r--test/prism/snapshots/whitequark/ambiuous_quoted_label_in_ternary_operator.txt12
-rw-r--r--test/prism/snapshots/whitequark/and.txt16
-rw-r--r--test/prism/snapshots/whitequark/and_asgn.txt8
-rw-r--r--test/prism/snapshots/whitequark/and_or_masgn.txt16
-rw-r--r--test/prism/snapshots/whitequark/anonymous_blockarg.txt4
-rw-r--r--test/prism/snapshots/whitequark/arg_label.txt16
-rw-r--r--test/prism/snapshots/whitequark/arg_scope.txt4
-rw-r--r--test/prism/snapshots/whitequark/args_args_assocs.txt20
-rw-r--r--test/prism/snapshots/whitequark/args_args_assocs_comma.txt12
-rw-r--r--test/prism/snapshots/whitequark/args_args_comma.txt12
-rw-r--r--test/prism/snapshots/whitequark/args_args_star.txt28
-rw-r--r--test/prism/snapshots/whitequark/args_assocs.txt24
-rw-r--r--test/prism/snapshots/whitequark/args_assocs_comma.txt8
-rw-r--r--test/prism/snapshots/whitequark/args_assocs_legacy.txt24
-rw-r--r--test/prism/snapshots/whitequark/args_block_pass.txt8
-rw-r--r--test/prism/snapshots/whitequark/args_cmd.txt12
-rw-r--r--test/prism/snapshots/whitequark/args_star.txt20
-rw-r--r--test/prism/snapshots/whitequark/array_splat.txt12
-rw-r--r--test/prism/snapshots/whitequark/array_symbols_interp.txt8
-rw-r--r--test/prism/snapshots/whitequark/array_words_interp.txt8
-rw-r--r--test/prism/snapshots/whitequark/asgn_cmd.txt8
-rw-r--r--test/prism/snapshots/whitequark/asgn_mrhs.txt16
-rw-r--r--test/prism/snapshots/whitequark/bang.txt8
-rw-r--r--test/prism/snapshots/whitequark/bang_cmd.txt12
-rw-r--r--test/prism/snapshots/whitequark/begin_cmdarg.txt8
-rw-r--r--test/prism/snapshots/whitequark/beginless_erange_after_newline.txt4
-rw-r--r--test/prism/snapshots/whitequark/beginless_irange_after_newline.txt4
-rw-r--r--test/prism/snapshots/whitequark/blockargs.txt140
-rw-r--r--test/prism/snapshots/whitequark/break.txt8
-rw-r--r--test/prism/snapshots/whitequark/break_block.txt8
-rw-r--r--test/prism/snapshots/whitequark/bug_447.txt8
-rw-r--r--test/prism/snapshots/whitequark/bug_452.txt16
-rw-r--r--test/prism/snapshots/whitequark/bug_466.txt12
-rw-r--r--test/prism/snapshots/whitequark/bug_473.txt4
-rw-r--r--test/prism/snapshots/whitequark/bug_480.txt4
-rw-r--r--test/prism/snapshots/whitequark/bug_481.txt8
-rw-r--r--test/prism/snapshots/whitequark/bug_cmd_string_lookahead.txt4
-rw-r--r--test/prism/snapshots/whitequark/bug_cmdarg.txt20
-rw-r--r--test/prism/snapshots/whitequark/bug_do_block_in_call_args.txt8
-rw-r--r--test/prism/snapshots/whitequark/bug_do_block_in_cmdarg.txt8
-rw-r--r--test/prism/snapshots/whitequark/bug_do_block_in_hash_brace.txt64
-rw-r--r--test/prism/snapshots/whitequark/bug_heredoc_do.txt4
-rw-r--r--test/prism/snapshots/whitequark/bug_lambda_leakage.txt4
-rw-r--r--test/prism/snapshots/whitequark/bug_while_not_parens_do.txt4
-rw-r--r--test/prism/snapshots/whitequark/case_cond.txt4
-rw-r--r--test/prism/snapshots/whitequark/case_cond_else.txt4
-rw-r--r--test/prism/snapshots/whitequark/case_expr.txt8
-rw-r--r--test/prism/snapshots/whitequark/case_expr_else.txt12
-rw-r--r--test/prism/snapshots/whitequark/class_definition_in_while_cond.txt16
-rw-r--r--test/prism/snapshots/whitequark/class_super_label.txt4
-rw-r--r--test/prism/snapshots/whitequark/comments_before_leading_dot__27.txt32
-rw-r--r--test/prism/snapshots/whitequark/cond_begin.txt8
-rw-r--r--test/prism/snapshots/whitequark/cond_begin_masgn.txt8
-rw-r--r--test/prism/snapshots/whitequark/cond_eflipflop.txt20
-rw-r--r--test/prism/snapshots/whitequark/cond_iflipflop.txt20
-rw-r--r--test/prism/snapshots/whitequark/cond_match_current_line.txt4
-rw-r--r--test/prism/snapshots/whitequark/dedenting_heredoc.txt72
-rw-r--r--test/prism/snapshots/whitequark/defined.txt8
-rw-r--r--test/prism/snapshots/whitequark/defs.txt4
-rw-r--r--test/prism/snapshots/whitequark/endless_comparison_method.txt24
-rw-r--r--test/prism/snapshots/whitequark/endless_method.txt16
-rw-r--r--test/prism/snapshots/whitequark/endless_method_command_syntax.txt44
-rw-r--r--test/prism/snapshots/whitequark/endless_method_forwarded_args_legacy.txt4
-rw-r--r--test/prism/snapshots/whitequark/ensure.txt8
-rw-r--r--test/prism/snapshots/whitequark/for.txt16
-rw-r--r--test/prism/snapshots/whitequark/for_mlhs.txt8
-rw-r--r--test/prism/snapshots/whitequark/forward_arg.txt4
-rw-r--r--test/prism/snapshots/whitequark/forward_arg_with_open_args.txt32
-rw-r--r--test/prism/snapshots/whitequark/forward_args_legacy.txt4
-rw-r--r--test/prism/snapshots/whitequark/forwarded_argument_with_kwrestarg.txt4
-rw-r--r--test/prism/snapshots/whitequark/forwarded_argument_with_restarg.txt4
-rw-r--r--test/prism/snapshots/whitequark/forwarded_kwrestarg.txt4
-rw-r--r--test/prism/snapshots/whitequark/forwarded_kwrestarg_with_additional_kwarg.txt4
-rw-r--r--test/prism/snapshots/whitequark/forwarded_restarg.txt4
-rw-r--r--test/prism/snapshots/whitequark/hash_kwsplat.txt4
-rw-r--r--test/prism/snapshots/whitequark/hash_label_end.txt8
-rw-r--r--test/prism/snapshots/whitequark/hash_pair_value_omission.txt12
-rw-r--r--test/prism/snapshots/whitequark/if.txt16
-rw-r--r--test/prism/snapshots/whitequark/if_else.txt24
-rw-r--r--test/prism/snapshots/whitequark/if_elsif.txt12
-rw-r--r--test/prism/snapshots/whitequark/if_masgn__24.txt4
-rw-r--r--test/prism/snapshots/whitequark/if_mod.txt8
-rw-r--r--test/prism/snapshots/whitequark/if_nl_then.txt8
-rw-r--r--test/prism/snapshots/whitequark/keyword_argument_omission.txt12
-rw-r--r--test/prism/snapshots/whitequark/kwbegin_compstmt.txt8
-rw-r--r--test/prism/snapshots/whitequark/kwnilarg.txt4
-rw-r--r--test/prism/snapshots/whitequark/kwoptarg_with_kwrestarg_and_forwarded_args.txt4
-rw-r--r--test/prism/snapshots/whitequark/lbrace_arg_after_command_args.txt8
-rw-r--r--test/prism/snapshots/whitequark/lparenarg_after_lvar__since_25.txt16
-rw-r--r--test/prism/snapshots/whitequark/lvar.txt4
-rw-r--r--test/prism/snapshots/whitequark/lvar_injecting_match.txt4
-rw-r--r--test/prism/snapshots/whitequark/masgn_attr.txt16
-rw-r--r--test/prism/snapshots/whitequark/masgn_cmd.txt4
-rw-r--r--test/prism/snapshots/whitequark/masgn_nested.txt8
-rw-r--r--test/prism/snapshots/whitequark/masgn_splat.txt44
-rw-r--r--test/prism/snapshots/whitequark/method_definition_in_while_cond.txt16
-rw-r--r--test/prism/snapshots/whitequark/newline_in_hash_argument.txt20
-rw-r--r--test/prism/snapshots/whitequark/next.txt8
-rw-r--r--test/prism/snapshots/whitequark/next_block.txt8
-rw-r--r--test/prism/snapshots/whitequark/non_lvar_injecting_match.txt4
-rw-r--r--test/prism/snapshots/whitequark/not.txt20
-rw-r--r--test/prism/snapshots/whitequark/not_cmd.txt12
-rw-r--r--test/prism/snapshots/whitequark/not_masgn__24.txt8
-rw-r--r--test/prism/snapshots/whitequark/numbered_args_after_27.txt24
-rw-r--r--test/prism/snapshots/whitequark/numparam_outside_block.txt24
-rw-r--r--test/prism/snapshots/whitequark/op_asgn.txt12
-rw-r--r--test/prism/snapshots/whitequark/op_asgn_cmd.txt48
-rw-r--r--test/prism/snapshots/whitequark/op_asgn_index.txt4
-rw-r--r--test/prism/snapshots/whitequark/op_asgn_index_cmd.txt12
-rw-r--r--test/prism/snapshots/whitequark/or.txt16
-rw-r--r--test/prism/snapshots/whitequark/or_asgn.txt8
-rw-r--r--test/prism/snapshots/whitequark/parser_bug_272.txt4
-rw-r--r--test/prism/snapshots/whitequark/parser_bug_525.txt12
-rw-r--r--test/prism/snapshots/whitequark/parser_bug_604.txt16
-rw-r--r--test/prism/snapshots/whitequark/pattern_matching__FILE__LINE_literals.txt4
-rw-r--r--test/prism/snapshots/whitequark/procarg0.txt8
-rw-r--r--test/prism/snapshots/whitequark/regex_interp.txt4
-rw-r--r--test/prism/snapshots/whitequark/resbody_list.txt8
-rw-r--r--test/prism/snapshots/whitequark/resbody_list_mrhs.txt12
-rw-r--r--test/prism/snapshots/whitequark/resbody_list_var.txt12
-rw-r--r--test/prism/snapshots/whitequark/resbody_var.txt16
-rw-r--r--test/prism/snapshots/whitequark/rescue.txt8
-rw-r--r--test/prism/snapshots/whitequark/rescue_else.txt12
-rw-r--r--test/prism/snapshots/whitequark/rescue_else_ensure.txt16
-rw-r--r--test/prism/snapshots/whitequark/rescue_ensure.txt12
-rw-r--r--test/prism/snapshots/whitequark/rescue_mod.txt8
-rw-r--r--test/prism/snapshots/whitequark/rescue_mod_asgn.txt8
-rw-r--r--test/prism/snapshots/whitequark/rescue_mod_masgn.txt4
-rw-r--r--test/prism/snapshots/whitequark/rescue_mod_op_assign.txt8
-rw-r--r--test/prism/snapshots/whitequark/rescue_without_begin_end.txt12
-rw-r--r--test/prism/snapshots/whitequark/return.txt8
-rw-r--r--test/prism/snapshots/whitequark/return_block.txt8
-rw-r--r--test/prism/snapshots/whitequark/ruby_bug_10653.txt24
-rw-r--r--test/prism/snapshots/whitequark/ruby_bug_11107.txt8
-rw-r--r--test/prism/snapshots/whitequark/ruby_bug_11380.txt4
-rw-r--r--test/prism/snapshots/whitequark/ruby_bug_11873.txt192
-rw-r--r--test/prism/snapshots/whitequark/ruby_bug_11873_a.txt320
-rw-r--r--test/prism/snapshots/whitequark/ruby_bug_11873_b.txt28
-rw-r--r--test/prism/snapshots/whitequark/ruby_bug_11989.txt4
-rw-r--r--test/prism/snapshots/whitequark/ruby_bug_11990.txt4
-rw-r--r--test/prism/snapshots/whitequark/ruby_bug_12073.txt8
-rw-r--r--test/prism/snapshots/whitequark/ruby_bug_12402.txt112
-rw-r--r--test/prism/snapshots/whitequark/ruby_bug_12669.txt16
-rw-r--r--test/prism/snapshots/whitequark/ruby_bug_12686.txt8
-rw-r--r--test/prism/snapshots/whitequark/ruby_bug_13547.txt8
-rw-r--r--test/prism/snapshots/whitequark/ruby_bug_14690.txt12
-rw-r--r--test/prism/snapshots/whitequark/ruby_bug_15789.txt8
-rw-r--r--test/prism/snapshots/whitequark/sclass.txt4
-rw-r--r--test/prism/snapshots/whitequark/send_attr_asgn.txt28
-rw-r--r--test/prism/snapshots/whitequark/send_attr_asgn_conditional.txt8
-rw-r--r--test/prism/snapshots/whitequark/send_binary_op.txt168
-rw-r--r--test/prism/snapshots/whitequark/send_block_chain_cmd.txt80
-rw-r--r--test/prism/snapshots/whitequark/send_block_conditional.txt8
-rw-r--r--test/prism/snapshots/whitequark/send_call.txt16
-rw-r--r--test/prism/snapshots/whitequark/send_conditional.txt8
-rw-r--r--test/prism/snapshots/whitequark/send_index.txt8
-rw-r--r--test/prism/snapshots/whitequark/send_index_asgn.txt8
-rw-r--r--test/prism/snapshots/whitequark/send_index_asgn_legacy.txt8
-rw-r--r--test/prism/snapshots/whitequark/send_index_cmd.txt16
-rw-r--r--test/prism/snapshots/whitequark/send_index_legacy.txt8
-rw-r--r--test/prism/snapshots/whitequark/send_op_asgn_conditional.txt4
-rw-r--r--test/prism/snapshots/whitequark/send_plain.txt24
-rw-r--r--test/prism/snapshots/whitequark/send_plain_cmd.txt36
-rw-r--r--test/prism/snapshots/whitequark/send_self.txt12
-rw-r--r--test/prism/snapshots/whitequark/send_self_block.txt16
-rw-r--r--test/prism/snapshots/whitequark/send_unary_op.txt24
-rw-r--r--test/prism/snapshots/whitequark/space_args_arg.txt4
-rw-r--r--test/prism/snapshots/whitequark/space_args_arg_block.txt20
-rw-r--r--test/prism/snapshots/whitequark/space_args_arg_call.txt8
-rw-r--r--test/prism/snapshots/whitequark/space_args_arg_newline.txt4
-rw-r--r--test/prism/snapshots/whitequark/space_args_block.txt4
-rw-r--r--test/prism/snapshots/whitequark/space_args_cmd.txt12
-rw-r--r--test/prism/snapshots/whitequark/string_interp.txt4
-rw-r--r--test/prism/snapshots/whitequark/super.txt8
-rw-r--r--test/prism/snapshots/whitequark/super_block.txt8
-rw-r--r--test/prism/snapshots/whitequark/symbol_interp.txt4
-rw-r--r--test/prism/snapshots/whitequark/ternary.txt4
-rw-r--r--test/prism/snapshots/whitequark/ternary_ambiguous_symbol.txt4
-rw-r--r--test/prism/snapshots/whitequark/trailing_forward_arg.txt4
-rw-r--r--test/prism/snapshots/whitequark/unary_num_pow_precedence.txt20
-rw-r--r--test/prism/snapshots/whitequark/unless.txt16
-rw-r--r--test/prism/snapshots/whitequark/unless_else.txt24
-rw-r--r--test/prism/snapshots/whitequark/unless_mod.txt8
-rw-r--r--test/prism/snapshots/whitequark/until.txt16
-rw-r--r--test/prism/snapshots/whitequark/until_mod.txt8
-rw-r--r--test/prism/snapshots/whitequark/until_post.txt8
-rw-r--r--test/prism/snapshots/whitequark/var_op_asgn_cmd.txt4
-rw-r--r--test/prism/snapshots/whitequark/when_multi.txt8
-rw-r--r--test/prism/snapshots/whitequark/when_splat.txt16
-rw-r--r--test/prism/snapshots/whitequark/when_then.txt8
-rw-r--r--test/prism/snapshots/whitequark/while.txt16
-rw-r--r--test/prism/snapshots/whitequark/while_mod.txt8
-rw-r--r--test/prism/snapshots/whitequark/while_post.txt8
-rw-r--r--test/prism/snapshots/whitequark/xstring_interp.txt4
-rw-r--r--test/prism/snapshots/whitequark/yield.txt8
-rw-r--r--test/prism/snapshots/xstring.txt4
578 files changed, 5531 insertions, 5531 deletions
diff --git a/lib/prism/desugar_compiler.rb b/lib/prism/desugar_compiler.rb
index 1fba370613..f92ca9e475 100644
--- a/lib/prism/desugar_compiler.rb
+++ b/lib/prism/desugar_compiler.rb
@@ -159,13 +159,13 @@ module Prism
CallNode.new(
read_class.new(*arguments, node.name_loc),
nil,
+ node.operator_loc.slice.chomp("="),
node.operator_loc.copy(length: node.operator_loc.length - 1),
nil,
ArgumentsNode.new([node.value], 0, node.value.location),
nil,
nil,
0,
- node.operator_loc.slice.chomp("="),
node.location
),
node.operator_loc.copy(start_offset: node.operator_loc.end_offset - 1, length: 1),
diff --git a/prism/config.yml b/prism/config.yml
index 845e0ca93b..84e458ed8c 100644
--- a/prism/config.yml
+++ b/prism/config.yml
@@ -677,6 +677,8 @@ nodes:
type: node?
- name: call_operator_loc
type: location?
+ - name: name
+ type: constant
- name: message_loc
type: location?
- name: opening_loc
@@ -691,8 +693,6 @@ nodes:
- name: flags
type: flags
kind: CallNodeFlags
- - name: name
- type: constant
comment: |
Represents a method call, in all of the various forms that can take.
diff --git a/test/prism/errors_test.rb b/test/prism/errors_test.rb
index 99b799d9c5..6297548668 100644
--- a/test/prism/errors_test.rb
+++ b/test/prism/errors_test.rb
@@ -83,13 +83,13 @@ module Prism
CallNode(
expression("1"),
nil,
+ :+,
Location(),
nil,
ArgumentsNode([MissingNode()], 0),
nil,
nil,
- 0,
- :+
+ 0
)
]),
Location(),
@@ -341,6 +341,7 @@ module Prism
expected = CallNode(
nil,
nil,
+ :a,
Location(),
Location(),
ArgumentsNode([
@@ -349,8 +350,7 @@ module Prism
], 1),
Location(),
nil,
- 0,
- :a
+ 0
)
assert_errors expected, "a(**kwargs, *args)", [
@@ -362,13 +362,13 @@ module Prism
expected = CallNode(
nil,
nil,
+ :a,
Location(),
Location(),
ArgumentsNode([expression("foo")], 0),
Location(),
BlockArgumentNode(expression("block"), Location()),
- 0,
- :a
+ 0
)
assert_errors expected, "a(&block, foo)", [
@@ -388,6 +388,7 @@ module Prism
expected = CallNode(
nil,
nil,
+ :a,
Location(),
Location(),
ArgumentsNode([
@@ -402,8 +403,7 @@ module Prism
], 0),
Location(),
nil,
- 0,
- :a
+ 0
)
assert_errors expected, "a(foo: bar, *args)", [
@@ -442,6 +442,7 @@ module Prism
[CallNode(
nil,
nil,
+ :bar,
Location(),
nil,
nil,
@@ -453,8 +454,7 @@ module Prism
Location(),
Location()
),
- 0,
- :bar
+ 0
)]
),
[],
@@ -1004,6 +1004,7 @@ module Prism
expected = CallNode(
nil,
nil,
+ :a,
Location(),
nil,
nil,
@@ -1015,8 +1016,7 @@ module Prism
Location(),
Location()
),
- 0,
- :a
+ 0
)
assert_errors expected, "a {|...|}", [
diff --git a/test/prism/snapshots/arithmetic.txt b/test/prism/snapshots/arithmetic.txt
index 4bd347cd67..ff0638b007 100644
--- a/test/prism/snapshots/arithmetic.txt
+++ b/test/prism/snapshots/arithmetic.txt
@@ -6,6 +6,7 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(1,8))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -16,26 +17,25 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (1,5)-(1,8))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,5)-(1,8) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :!
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,5) = "!"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :!
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (3,0)-(3,8))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (3,0)-(3,4))
@@ -43,22 +43,23 @@
β”‚ β”‚ β”‚ @ CallNode (location: (3,1)-(3,4))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,1)-(3,4) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :-@
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,0)-(3,1) = "-"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :-@
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :*
β”‚ β”œβ”€β”€ message_loc: (3,4)-(3,5) = "*"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -67,18 +68,17 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (3,5)-(3,8))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,5)-(3,8) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :*
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (5,0)-(5,9))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (5,0)-(5,4))
@@ -86,22 +86,23 @@
β”‚ β”‚ β”‚ @ CallNode (location: (5,1)-(5,4))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (5,1)-(5,4) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :+@
β”‚ β”‚ β”œβ”€β”€ message_loc: (5,0)-(5,1) = "+"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :+@
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :**
β”‚ β”œβ”€β”€ message_loc: (5,4)-(5,6) = "**"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -110,21 +111,21 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (5,6)-(5,9))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (5,6)-(5,9) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :**
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (7,0)-(7,8))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (7,0)-(7,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -135,26 +136,25 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (7,5)-(7,8))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (7,5)-(7,8) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :~
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (7,4)-(7,5) = "~"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :~
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (9,0)-(9,17))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (9,0)-(9,10))
@@ -162,14 +162,15 @@
β”‚ β”‚ β”‚ @ CallNode (location: (9,0)-(9,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (9,0)-(9,3) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :<<
β”‚ β”‚ β”œβ”€β”€ message_loc: (9,4)-(9,6) = "<<"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -178,19 +179,19 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (9,7)-(9,10))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (9,7)-(9,10) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :<<
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :<<
β”‚ β”œβ”€β”€ message_loc: (9,11)-(9,13) = "<<"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -199,18 +200,17 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (9,14)-(9,17))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (9,14)-(9,17) = "baz"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :<<
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (11,0)-(11,5))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (11,1)-(11,5))
@@ -218,6 +218,7 @@
β”‚ β”‚ β”‚ @ IntegerNode (location: (11,1)-(11,2))
β”‚ β”‚ β”‚ └── flags: decimal
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :**
β”‚ β”‚ β”œβ”€β”€ message_loc: (11,2)-(11,4) = "**"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -228,25 +229,24 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :**
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :-@
β”‚ β”œβ”€β”€ message_loc: (11,0)-(11,1) = "-"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :-@
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (13,0)-(13,8))
β”œβ”€β”€ receiver:
β”‚ @ IntegerNode (location: (13,0)-(13,2))
β”‚ └── flags: decimal
β”œβ”€β”€ call_operator_loc: (13,2)-(13,3) = "."
+ β”œβ”€β”€ name: :zero?
β”œβ”€β”€ message_loc: (13,3)-(13,8) = "zero?"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :zero?
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/arrays.txt b/test/prism/snapshots/arrays.txt
index 0069a926d7..0038ec8ec0 100644
--- a/test/prism/snapshots/arrays.txt
+++ b/test/prism/snapshots/arrays.txt
@@ -11,13 +11,13 @@
β”‚ β”‚ @ CallNode (location: (1,2)-(1,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,2)-(1,3) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ opening_loc: (1,0)-(1,1) = "["
β”‚ β”œβ”€β”€ closing_loc: (1,3)-(1,4) = "]"
β”‚ └── flags: contains_splat
@@ -26,14 +26,15 @@
β”‚ β”‚ @ CallNode (location: (3,0)-(3,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,0)-(3,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :[]=
β”‚ β”œβ”€β”€ message_loc: (3,3)-(3,13) = "[bar, baz]"
β”‚ β”œβ”€β”€ opening_loc: (3,3)-(3,4) = "["
β”‚ β”œβ”€β”€ arguments:
@@ -42,23 +43,23 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (3,4)-(3,7))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,4)-(3,7) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (3,9)-(3,12))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,9)-(3,12) = "baz"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── @ ArrayNode (location: (3,16)-(3,23))
β”‚ β”‚ β”‚ β”œβ”€β”€ elements: (length: 3)
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ @ IntegerNode (location: (3,16)-(3,17))
@@ -73,8 +74,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (3,12)-(3,13) = "]"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :[]=
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ ArrayNode (location: (5,0)-(5,13))
β”‚ β”œβ”€β”€ elements: (length: 1)
β”‚ β”‚ └── @ KeywordHashNode (location: (5,1)-(5,12))
@@ -169,24 +169,24 @@
β”‚ β”‚ β”‚ @ CallNode (location: (28,1)-(28,4))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (28,1)-(28,4) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ value:
β”‚ β”‚ β”‚ @ CallNode (location: (28,8)-(28,11))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (28,8)-(28,11) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── operator_loc: (28,5)-(28,7) = "=>"
β”‚ β”œβ”€β”€ opening_loc: (28,0)-(28,1) = "["
β”‚ β”œβ”€β”€ closing_loc: (28,11)-(28,12) = "]"
@@ -198,14 +198,15 @@
β”‚ β”‚ β”‚ @ CallNode (location: (30,0)-(30,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (30,0)-(30,3) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :[]
β”‚ β”‚ β”œβ”€β”€ message_loc: (30,3)-(30,8) = "[bar]"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (30,3)-(30,4) = "["
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -214,19 +215,19 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (30,4)-(30,7))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (30,4)-(30,7) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: (30,7)-(30,8) = "]"
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :[]
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :[]=
β”‚ β”œβ”€β”€ message_loc: (30,8)-(30,13) = "[baz]"
β”‚ β”œβ”€β”€ opening_loc: (30,8)-(30,9) = "["
β”‚ β”œβ”€β”€ arguments:
@@ -235,28 +236,27 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (30,9)-(30,12))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (30,9)-(30,12) = "baz"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── @ CallNode (location: (30,16)-(30,19))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :qux
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (30,16)-(30,19) = "qux"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :qux
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (30,12)-(30,13) = "]"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :[]=
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (32,0)-(32,13))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (32,0)-(32,8))
@@ -264,14 +264,15 @@
β”‚ β”‚ β”‚ @ CallNode (location: (32,0)-(32,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (32,0)-(32,3) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :[]
β”‚ β”‚ β”œβ”€β”€ message_loc: (32,3)-(32,8) = "[bar]"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (32,3)-(32,4) = "["
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -280,19 +281,19 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (32,4)-(32,7))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (32,4)-(32,7) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: (32,7)-(32,8) = "]"
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :[]
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :[]
β”‚ β”œβ”€β”€ message_loc: (32,8)-(32,13) = "[baz]"
β”‚ β”œβ”€β”€ opening_loc: (32,8)-(32,9) = "["
β”‚ β”œβ”€β”€ arguments:
@@ -301,18 +302,17 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (32,9)-(32,12))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (32,9)-(32,12) = "baz"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (32,12)-(32,13) = "]"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :[]
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ ArrayNode (location: (34,0)-(35,1))
β”‚ β”œβ”€β”€ elements: (length: 0)
β”‚ β”œβ”€β”€ opening_loc: (34,0)-(34,1) = "["
@@ -323,14 +323,15 @@
β”‚ β”‚ @ CallNode (location: (37,0)-(37,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (37,0)-(37,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :[]
β”‚ β”œβ”€β”€ message_loc: (37,3)-(37,13) = "[bar, baz]"
β”‚ β”œβ”€β”€ opening_loc: (37,3)-(37,4) = "["
β”‚ β”œβ”€β”€ arguments:
@@ -339,41 +340,41 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (37,4)-(37,7))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (37,4)-(37,7) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── @ CallNode (location: (37,9)-(37,12))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (37,9)-(37,12) = "baz"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (37,12)-(37,13) = "]"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :[]
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (39,0)-(39,19))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (39,0)-(39,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (39,0)-(39,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :[]=
β”‚ β”œβ”€β”€ message_loc: (39,3)-(39,13) = "[bar, baz]"
β”‚ β”œβ”€β”€ opening_loc: (39,3)-(39,4) = "["
β”‚ β”œβ”€β”€ arguments:
@@ -382,38 +383,37 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (39,4)-(39,7))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (39,4)-(39,7) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (39,9)-(39,12))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (39,9)-(39,12) = "baz"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── @ CallNode (location: (39,16)-(39,19))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :qux
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (39,16)-(39,19) = "qux"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :qux
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (39,12)-(39,13) = "]"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :[]=
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ MultiWriteNode (location: (41,0)-(41,21))
β”‚ β”œβ”€β”€ lefts: (length: 2)
β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (41,0)-(41,6))
@@ -421,14 +421,15 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (41,0)-(41,3))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (41,0)-(41,3) = "foo"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :[]=
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (41,3)-(41,6) = "[0]"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (41,3)-(41,4) = "["
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -439,21 +440,21 @@
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (41,5)-(41,6) = "]"
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :[]=
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── @ CallNode (location: (41,8)-(41,14))
β”‚ β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ β”‚ @ CallNode (location: (41,8)-(41,11))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (41,8)-(41,11) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :[]=
β”‚ β”‚ β”œβ”€β”€ message_loc: (41,11)-(41,14) = "[0]"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (41,11)-(41,12) = "["
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -464,8 +465,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: (41,13)-(41,14) = "]"
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :[]=
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ rest: βˆ…
β”‚ β”œβ”€β”€ rights: (length: 0)
β”‚ β”œβ”€β”€ lparen_loc: βˆ…
@@ -486,14 +486,15 @@
β”‚ β”‚ @ CallNode (location: (43,0)-(43,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (43,0)-(43,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :[]
β”‚ β”œβ”€β”€ message_loc: (43,3)-(43,19) = "[bar[baz] = qux]"
β”‚ β”œβ”€β”€ opening_loc: (43,3)-(43,4) = "["
β”‚ β”œβ”€β”€ arguments:
@@ -504,14 +505,15 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (43,4)-(43,7))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (43,4)-(43,7) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :[]=
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (43,7)-(43,12) = "[baz]"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (43,7)-(43,8) = "["
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -520,46 +522,45 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (43,8)-(43,11))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (43,8)-(43,11) = "baz"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (43,15)-(43,18))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :qux
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (43,15)-(43,18) = "qux"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :qux
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (43,11)-(43,12) = "]"
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :[]=
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (43,18)-(43,19) = "]"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :[]
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (45,0)-(45,8))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (45,0)-(45,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (45,0)-(45,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :[]
β”‚ β”œβ”€β”€ message_loc: (45,3)-(45,8) = "[bar]"
β”‚ β”œβ”€β”€ opening_loc: (45,3)-(45,4) = "["
β”‚ β”œβ”€β”€ arguments:
@@ -568,31 +569,31 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (45,4)-(45,7))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (45,4)-(45,7) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (45,7)-(45,8) = "]"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :[]
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (47,0)-(47,14))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (47,0)-(47,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (47,0)-(47,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :[]=
β”‚ β”œβ”€β”€ message_loc: (47,3)-(47,8) = "[bar]"
β”‚ β”œβ”€β”€ opening_loc: (47,3)-(47,4) = "["
β”‚ β”œβ”€β”€ arguments:
@@ -601,28 +602,27 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (47,4)-(47,7))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (47,4)-(47,7) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── @ CallNode (location: (47,11)-(47,14))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (47,11)-(47,14) = "baz"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (47,7)-(47,8) = "]"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :[]=
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ ArrayNode (location: (49,0)-(49,6))
β”‚ β”œβ”€β”€ elements: (length: 1)
β”‚ β”‚ └── @ KeywordHashNode (location: (49,1)-(49,5))
@@ -646,13 +646,13 @@
β”‚ β”‚ β”‚ @ CallNode (location: (51,3)-(51,5))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :kw
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (51,3)-(51,5) = "kw"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :kw
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── operator_loc: (51,1)-(51,3) = "**"
β”‚ β”œβ”€β”€ opening_loc: (51,0)-(51,1) = "["
β”‚ β”œβ”€β”€ closing_loc: (51,5)-(51,6) = "]"
@@ -668,13 +668,13 @@
β”‚ β”‚ β”‚ @ CallNode (location: (53,6)-(53,8))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :kw
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (53,6)-(53,8) = "kw"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :kw
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── operator_loc: (53,4)-(53,6) = "**"
β”‚ β”œβ”€β”€ opening_loc: (53,0)-(53,1) = "["
β”‚ β”œβ”€β”€ closing_loc: (53,8)-(53,9) = "]"
@@ -690,13 +690,13 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (55,6)-(55,8))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :kw
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (55,6)-(55,8) = "kw"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :kw
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── operator_loc: (55,4)-(55,6) = "**"
β”‚ β”‚ β”œβ”€β”€ @ AssocSplatNode (location: (55,10)-(55,14))
β”‚ β”‚ β”‚ β”œβ”€β”€ value:
@@ -710,13 +710,13 @@
β”‚ β”‚ β”‚ @ CallNode (location: (55,18)-(55,20))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :kw
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (55,18)-(55,20) = "kw"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :kw
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── operator_loc: (55,16)-(55,18) = "**"
β”‚ β”œβ”€β”€ opening_loc: (55,0)-(55,1) = "["
β”‚ β”œβ”€β”€ closing_loc: (55,20)-(55,21) = "]"
@@ -730,24 +730,24 @@
β”‚ β”‚ β”‚ @ CallNode (location: (58,2)-(58,5))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (58,2)-(58,5) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ value:
β”‚ β”‚ β”‚ @ CallNode (location: (58,9)-(58,12))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (58,9)-(58,12) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── operator_loc: (58,6)-(58,8) = "=>"
β”‚ β”œβ”€β”€ opening_loc: (57,0)-(57,1) = "["
β”‚ β”œβ”€β”€ closing_loc: (59,0)-(59,1) = "]"
@@ -912,13 +912,13 @@
β”‚ β”‚ @ CallNode (location: (84,0)-(84,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (84,0)-(84,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (84,3)-(84,4) = "["
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -935,13 +935,13 @@
β”‚ β”‚ @ CallNode (location: (86,0)-(86,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (86,0)-(86,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (86,3)-(86,4) = "["
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -957,13 +957,13 @@
β”‚ β”‚ @ CallNode (location: (88,0)-(88,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (88,0)-(88,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (88,3)-(88,4) = "["
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -981,21 +981,21 @@
β”‚ β”‚ β”‚ @ CallNode (location: (90,0)-(90,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (90,0)-(90,3) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (90,3)-(90,4) = "."
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (90,4)-(90,7) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (90,7)-(90,8) = "["
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -1014,21 +1014,21 @@
β”‚ β”‚ β”‚ @ CallNode (location: (92,0)-(92,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (92,0)-(92,3) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (92,3)-(92,4) = "."
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (92,4)-(92,7) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (92,7)-(92,8) = "["
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -1046,21 +1046,21 @@
β”‚ β”‚ β”‚ @ CallNode (location: (94,0)-(94,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (94,0)-(94,3) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (94,3)-(94,4) = "."
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (94,4)-(94,7) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (94,7)-(94,8) = "["
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -1076,13 +1076,13 @@
β”‚ β”‚ @ CallNode (location: (96,0)-(96,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (96,0)-(96,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (96,3)-(96,4) = "["
β”‚ β”œβ”€β”€ arguments:
@@ -1091,13 +1091,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (96,4)-(96,7))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (96,4)-(96,7) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (96,7)-(96,8) = "]"
β”‚ β”œβ”€β”€ block: βˆ…
@@ -1112,13 +1112,13 @@
β”‚ β”‚ @ CallNode (location: (98,0)-(98,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (98,0)-(98,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (98,3)-(98,4) = "["
β”‚ β”œβ”€β”€ arguments:
@@ -1127,13 +1127,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (98,4)-(98,7))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (98,4)-(98,7) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (98,7)-(98,8) = "]"
β”‚ β”œβ”€β”€ block: βˆ…
@@ -1147,13 +1147,13 @@
β”‚ β”‚ @ CallNode (location: (100,0)-(100,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (100,0)-(100,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (100,3)-(100,4) = "["
β”‚ β”œβ”€β”€ arguments:
@@ -1162,13 +1162,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (100,4)-(100,7))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (100,4)-(100,7) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (100,7)-(100,8) = "]"
β”‚ β”œβ”€β”€ block: βˆ…
@@ -1184,21 +1184,21 @@
β”‚ β”‚ β”‚ @ CallNode (location: (102,0)-(102,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (102,0)-(102,3) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (102,3)-(102,4) = "."
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (102,4)-(102,7) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (102,7)-(102,8) = "["
β”‚ β”œβ”€β”€ arguments:
@@ -1207,13 +1207,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (102,8)-(102,11))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (102,8)-(102,11) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (102,11)-(102,12) = "]"
β”‚ β”œβ”€β”€ block: βˆ…
@@ -1230,21 +1230,21 @@
β”‚ β”‚ β”‚ @ CallNode (location: (104,0)-(104,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (104,0)-(104,3) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (104,3)-(104,4) = "."
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (104,4)-(104,7) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (104,7)-(104,8) = "["
β”‚ β”œβ”€β”€ arguments:
@@ -1253,13 +1253,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (104,8)-(104,11))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (104,8)-(104,11) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (104,11)-(104,12) = "]"
β”‚ β”œβ”€β”€ block: βˆ…
@@ -1275,21 +1275,21 @@
β”‚ β”‚ β”‚ @ CallNode (location: (106,0)-(106,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (106,0)-(106,3) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (106,3)-(106,4) = "."
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (106,4)-(106,7) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (106,7)-(106,8) = "["
β”‚ β”œβ”€β”€ arguments:
@@ -1298,13 +1298,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (106,8)-(106,11))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (106,8)-(106,11) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (106,11)-(106,12) = "]"
β”‚ β”œβ”€β”€ block: βˆ…
@@ -1318,13 +1318,13 @@
β”‚ β”‚ @ CallNode (location: (108,0)-(108,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (108,0)-(108,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (108,3)-(108,4) = "["
β”‚ β”œβ”€β”€ arguments:
@@ -1333,13 +1333,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (108,4)-(108,7))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (108,4)-(108,7) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (108,13)-(108,14) = "]"
β”‚ β”œβ”€β”€ block:
@@ -1348,13 +1348,13 @@
β”‚ β”‚ β”‚ @ CallNode (location: (108,10)-(108,13))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (108,10)-(108,13) = "baz"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── operator_loc: (108,9)-(108,10) = "&"
β”‚ β”œβ”€β”€ flags: βˆ…
β”‚ β”œβ”€β”€ operator: :+
@@ -1367,13 +1367,13 @@
β”‚ β”‚ @ CallNode (location: (110,0)-(110,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (110,0)-(110,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (110,3)-(110,4) = "["
β”‚ β”œβ”€β”€ arguments:
@@ -1382,13 +1382,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (110,4)-(110,7))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (110,4)-(110,7) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (110,13)-(110,14) = "]"
β”‚ β”œβ”€β”€ block:
@@ -1397,13 +1397,13 @@
β”‚ β”‚ β”‚ @ CallNode (location: (110,10)-(110,13))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (110,10)-(110,13) = "baz"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── operator_loc: (110,9)-(110,10) = "&"
β”‚ β”œβ”€β”€ flags: βˆ…
β”‚ β”œβ”€β”€ operator_loc: (110,15)-(110,18) = "||="
@@ -1415,13 +1415,13 @@
β”‚ β”‚ @ CallNode (location: (112,0)-(112,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (112,0)-(112,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (112,3)-(112,4) = "["
β”‚ β”œβ”€β”€ arguments:
@@ -1430,13 +1430,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (112,4)-(112,7))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (112,4)-(112,7) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (112,13)-(112,14) = "]"
β”‚ β”œβ”€β”€ block:
@@ -1445,13 +1445,13 @@
β”‚ β”‚ β”‚ @ CallNode (location: (112,10)-(112,13))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (112,10)-(112,13) = "baz"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── operator_loc: (112,9)-(112,10) = "&"
β”‚ β”œβ”€β”€ flags: βˆ…
β”‚ β”œβ”€β”€ operator_loc: (112,15)-(112,18) = "&&="
@@ -1465,21 +1465,21 @@
β”‚ β”‚ β”‚ @ CallNode (location: (114,0)-(114,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (114,0)-(114,3) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (114,3)-(114,4) = "."
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (114,4)-(114,7) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (114,7)-(114,8) = "["
β”‚ β”œβ”€β”€ arguments:
@@ -1488,13 +1488,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (114,8)-(114,11))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (114,8)-(114,11) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (114,17)-(114,18) = "]"
β”‚ β”œβ”€β”€ block:
@@ -1503,13 +1503,13 @@
β”‚ β”‚ β”‚ @ CallNode (location: (114,14)-(114,17))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (114,14)-(114,17) = "baz"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── operator_loc: (114,13)-(114,14) = "&"
β”‚ β”œβ”€β”€ flags: βˆ…
β”‚ β”œβ”€β”€ operator: :+
@@ -1524,21 +1524,21 @@
β”‚ β”‚ β”‚ @ CallNode (location: (116,0)-(116,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (116,0)-(116,3) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (116,3)-(116,4) = "."
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (116,4)-(116,7) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (116,7)-(116,8) = "["
β”‚ β”œβ”€β”€ arguments:
@@ -1547,13 +1547,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (116,8)-(116,11))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (116,8)-(116,11) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (116,17)-(116,18) = "]"
β”‚ β”œβ”€β”€ block:
@@ -1562,13 +1562,13 @@
β”‚ β”‚ β”‚ @ CallNode (location: (116,14)-(116,17))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (116,14)-(116,17) = "baz"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── operator_loc: (116,13)-(116,14) = "&"
β”‚ β”œβ”€β”€ flags: βˆ…
β”‚ β”œβ”€β”€ operator_loc: (116,19)-(116,22) = "||="
@@ -1582,21 +1582,21 @@
β”‚ β”‚ @ CallNode (location: (118,0)-(118,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (118,0)-(118,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (118,3)-(118,4) = "."
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (118,4)-(118,7) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
β”œβ”€β”€ opening_loc: (118,7)-(118,8) = "["
β”œβ”€β”€ arguments:
@@ -1605,13 +1605,13 @@
β”‚ β”‚ └── @ CallNode (location: (118,8)-(118,11))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (118,8)-(118,11) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (118,17)-(118,18) = "]"
β”œβ”€β”€ block:
@@ -1620,13 +1620,13 @@
β”‚ β”‚ @ CallNode (location: (118,14)-(118,17))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”œβ”€β”€ message_loc: (118,14)-(118,17) = "baz"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── operator_loc: (118,13)-(118,14) = "&"
β”œβ”€β”€ flags: βˆ…
β”œβ”€β”€ operator_loc: (118,19)-(118,22) = "&&="
diff --git a/test/prism/snapshots/begin_ensure.txt b/test/prism/snapshots/begin_ensure.txt
index 0eff693f1d..14698a263e 100644
--- a/test/prism/snapshots/begin_ensure.txt
+++ b/test/prism/snapshots/begin_ensure.txt
@@ -11,13 +11,13 @@
β”‚ β”‚ └── @ CallNode (location: (2,0)-(2,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (2,0)-(2,1) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ rescue_clause: βˆ…
β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”œβ”€β”€ ensure_clause:
@@ -29,13 +29,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (4,0)-(4,1))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (4,0)-(4,1) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── end_keyword_loc: (5,0)-(5,3) = "end"
β”‚ └── end_keyword_loc: (5,0)-(5,3) = "end"
β”œβ”€β”€ @ BeginNode (location: (7,0)-(7,24))
@@ -46,13 +46,13 @@
β”‚ β”‚ └── @ CallNode (location: (7,7)-(7,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (7,7)-(7,8) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ rescue_clause: βˆ…
β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”œβ”€β”€ ensure_clause:
@@ -64,13 +64,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (7,18)-(7,19))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (7,18)-(7,19) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── end_keyword_loc: (7,21)-(7,24) = "end"
β”‚ └── end_keyword_loc: (7,21)-(7,24) = "end"
β”œβ”€β”€ @ BeginNode (location: (9,0)-(11,4))
@@ -81,13 +81,13 @@
β”‚ β”‚ └── @ CallNode (location: (9,6)-(9,7))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (9,6)-(9,7) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ rescue_clause: βˆ…
β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”œβ”€β”€ ensure_clause:
@@ -99,13 +99,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (10,8)-(10,9))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (10,8)-(10,9) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── end_keyword_loc: (11,1)-(11,4) = "end"
β”‚ └── end_keyword_loc: (11,1)-(11,4) = "end"
β”œβ”€β”€ @ BeginNode (location: (13,0)-(13,22))
@@ -116,13 +116,13 @@
β”‚ β”‚ └── @ CallNode (location: (13,6)-(13,7))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (13,6)-(13,7) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ rescue_clause: βˆ…
β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”œβ”€β”€ ensure_clause:
@@ -134,13 +134,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (13,16)-(13,17))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (13,16)-(13,17) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── end_keyword_loc: (13,19)-(13,22) = "end"
β”‚ └── end_keyword_loc: (13,19)-(13,22) = "end"
└── @ BeginNode (location: (15,0)-(21,15))
@@ -161,6 +161,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ └── unescaped: "s"
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (15,13)-(15,14) = "."
+ β”‚ β”‚ β”œβ”€β”€ name: :l
β”‚ β”‚ β”œβ”€β”€ message_loc: (15,14)-(15,15) = "l"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -182,6 +183,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ @ ConstantReadNode (location: (15,29)-(15,35))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :Module
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (15,35)-(15,36) = "."
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :new
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (15,36)-(15,39) = "new"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -214,6 +216,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ @ ConstantReadNode (location: (18,11)-(18,17))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :Module
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (18,17)-(18,18) = "."
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :new
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (18,18)-(18,21) = "new"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -225,21 +228,18 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (18,22)-(18,24) = "do"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (19,4)-(19,7) = "end"
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :new
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── end_keyword_loc: (20,2)-(20,5) = "end"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── end_keyword_loc: (20,2)-(20,5) = "end"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (15,40)-(15,42) = "do"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (21,0)-(21,3) = "end"
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :new
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ └── end_keyword_loc: (21,4)-(21,7) = "end"
β”‚ β”‚ β”‚ β”‚ └── end_keyword_loc: (21,4)-(21,7) = "end"
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :l
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ rescue_clause: βˆ…
β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”œβ”€β”€ ensure_clause: βˆ…
diff --git a/test/prism/snapshots/begin_rescue.txt b/test/prism/snapshots/begin_rescue.txt
index d4e0c7fdc0..d2338e7da9 100644
--- a/test/prism/snapshots/begin_rescue.txt
+++ b/test/prism/snapshots/begin_rescue.txt
@@ -11,13 +11,13 @@
β”‚ β”‚ └── @ CallNode (location: (1,7)-(1,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,7)-(1,8) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ rescue_clause:
β”‚ β”‚ @ RescueNode (location: (1,10)-(1,19))
β”‚ β”‚ β”œβ”€β”€ keyword_loc: (1,10)-(1,16) = "rescue"
@@ -30,13 +30,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (1,18)-(1,19))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,18)-(1,19) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── consequent: βˆ…
β”‚ β”œβ”€β”€ else_clause:
β”‚ β”‚ @ ElseNode (location: (1,21)-(1,33))
@@ -47,13 +47,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (1,27)-(1,28))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,27)-(1,28) = "c"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── end_keyword_loc: (1,30)-(1,33) = "end"
β”‚ β”œβ”€β”€ ensure_clause: βˆ…
β”‚ └── end_keyword_loc: (1,30)-(1,33) = "end"
@@ -65,13 +65,13 @@
β”‚ β”‚ └── @ CallNode (location: (3,7)-(3,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,7)-(3,8) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ rescue_clause:
β”‚ β”‚ @ RescueNode (location: (3,10)-(3,19))
β”‚ β”‚ β”œβ”€β”€ keyword_loc: (3,10)-(3,16) = "rescue"
@@ -84,13 +84,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (3,18)-(3,19))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,18)-(3,19) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── consequent: βˆ…
β”‚ β”œβ”€β”€ else_clause:
β”‚ β”‚ @ ElseNode (location: (3,21)-(3,36))
@@ -101,13 +101,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (3,27)-(3,28))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,27)-(3,28) = "c"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── end_keyword_loc: (3,30)-(3,36) = "ensure"
β”‚ β”œβ”€β”€ ensure_clause:
β”‚ β”‚ @ EnsureNode (location: (3,30)-(3,44))
@@ -118,13 +118,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (3,38)-(3,39))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,38)-(3,39) = "d"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── end_keyword_loc: (3,41)-(3,44) = "end"
β”‚ └── end_keyword_loc: (3,41)-(3,44) = "end"
β”œβ”€β”€ @ BeginNode (location: (5,0)-(7,3))
@@ -135,13 +135,13 @@
β”‚ β”‚ └── @ CallNode (location: (6,0)-(6,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (6,0)-(6,1) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ rescue_clause: βˆ…
β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”œβ”€β”€ ensure_clause: βˆ…
@@ -154,13 +154,13 @@
β”‚ β”‚ └── @ CallNode (location: (9,7)-(9,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (9,7)-(9,8) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ rescue_clause: βˆ…
β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”œβ”€β”€ ensure_clause: βˆ…
@@ -173,13 +173,13 @@
β”‚ β”‚ └── @ CallNode (location: (11,6)-(11,7))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (11,6)-(11,7) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ rescue_clause: βˆ…
β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”œβ”€β”€ ensure_clause: βˆ…
@@ -192,13 +192,13 @@
β”‚ β”‚ └── @ CallNode (location: (14,6)-(14,7))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (14,6)-(14,7) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ rescue_clause: βˆ…
β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”œβ”€β”€ ensure_clause: βˆ…
@@ -211,13 +211,13 @@
β”‚ β”‚ └── @ CallNode (location: (17,0)-(17,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (17,0)-(17,1) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ rescue_clause:
β”‚ β”‚ @ RescueNode (location: (18,0)-(23,1))
β”‚ β”‚ β”œβ”€β”€ keyword_loc: (18,0)-(18,6) = "rescue"
@@ -230,13 +230,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (19,0)-(19,1))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (19,0)-(19,1) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── consequent:
β”‚ β”‚ @ RescueNode (location: (20,0)-(23,1))
β”‚ β”‚ β”œβ”€β”€ keyword_loc: (20,0)-(20,6) = "rescue"
@@ -249,13 +249,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (21,0)-(21,1))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (21,0)-(21,1) = "c"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── consequent:
β”‚ β”‚ @ RescueNode (location: (22,0)-(23,1))
β”‚ β”‚ β”œβ”€β”€ keyword_loc: (22,0)-(22,6) = "rescue"
@@ -268,13 +268,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (23,0)-(23,1))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (23,0)-(23,1) = "d"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── consequent: βˆ…
β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”œβ”€β”€ ensure_clause: βˆ…
@@ -287,13 +287,13 @@
β”‚ β”‚ └── @ CallNode (location: (27,2)-(27,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (27,2)-(27,3) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ rescue_clause:
β”‚ β”‚ @ RescueNode (location: (28,0)-(31,3))
β”‚ β”‚ β”œβ”€β”€ keyword_loc: (28,0)-(28,6) = "rescue"
@@ -311,13 +311,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (29,2)-(29,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (29,2)-(29,3) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── consequent:
β”‚ β”‚ @ RescueNode (location: (30,0)-(31,3))
β”‚ β”‚ β”œβ”€β”€ keyword_loc: (30,0)-(30,6) = "rescue"
@@ -337,13 +337,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (31,2)-(31,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (31,2)-(31,3) = "c"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── consequent: βˆ…
β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”œβ”€β”€ ensure_clause: βˆ…
@@ -356,13 +356,13 @@
β”‚ β”‚ └── @ CallNode (location: (35,2)-(35,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (35,2)-(35,3) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ rescue_clause:
β”‚ β”‚ @ RescueNode (location: (36,0)-(37,3))
β”‚ β”‚ β”œβ”€β”€ keyword_loc: (36,0)-(36,6) = "rescue"
@@ -380,13 +380,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (37,2)-(37,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (37,2)-(37,3) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── consequent: βˆ…
β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”œβ”€β”€ ensure_clause:
@@ -398,13 +398,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (39,2)-(39,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (39,2)-(39,3) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── end_keyword_loc: (40,0)-(40,3) = "end"
β”‚ └── end_keyword_loc: (40,0)-(40,3) = "end"
β”œβ”€β”€ @ StringNode (location: (42,0)-(42,6))
@@ -421,13 +421,13 @@
β”‚ β”‚ └── @ CallNode (location: (45,0)-(45,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (45,0)-(45,1) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ rescue_clause:
β”‚ β”‚ @ RescueNode (location: (46,0)-(47,1))
β”‚ β”‚ β”œβ”€β”€ keyword_loc: (46,0)-(46,6) = "rescue"
@@ -440,13 +440,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (47,0)-(47,1))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (47,0)-(47,1) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── consequent: βˆ…
β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”œβ”€β”€ ensure_clause: βˆ…
@@ -459,13 +459,13 @@
β”‚ β”‚ └── @ CallNode (location: (50,6)-(50,7))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (50,6)-(50,7) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ rescue_clause:
β”‚ β”‚ @ RescueNode (location: (50,8)-(50,16))
β”‚ β”‚ β”œβ”€β”€ keyword_loc: (50,8)-(50,14) = "rescue"
@@ -478,13 +478,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (50,15)-(50,16))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (50,15)-(50,16) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── consequent: βˆ…
β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”œβ”€β”€ ensure_clause: βˆ…
@@ -497,13 +497,13 @@
β”‚ β”‚ └── @ CallNode (location: (53,0)-(53,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (53,0)-(53,1) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ rescue_clause:
β”‚ β”‚ @ RescueNode (location: (53,2)-(54,1))
β”‚ β”‚ β”œβ”€β”€ keyword_loc: (53,2)-(53,8) = "rescue"
@@ -516,13 +516,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (54,0)-(54,1))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (54,0)-(54,1) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── consequent: βˆ…
β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”œβ”€β”€ ensure_clause: βˆ…
@@ -535,13 +535,13 @@
β”‚ β”‚ └── @ CallNode (location: (57,0)-(57,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (57,0)-(57,1) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ rescue_clause:
β”‚ β”‚ @ RescueNode (location: (58,0)-(59,1))
β”‚ β”‚ β”œβ”€β”€ keyword_loc: (58,0)-(58,6) = "rescue"
@@ -556,13 +556,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (59,0)-(59,1))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (59,0)-(59,1) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── consequent: βˆ…
β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”œβ”€β”€ ensure_clause: βˆ…
@@ -575,13 +575,13 @@
β”‚ β”‚ └── @ CallNode (location: (63,0)-(63,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (63,0)-(63,1) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ rescue_clause:
β”‚ β”‚ @ RescueNode (location: (64,0)-(65,1))
β”‚ β”‚ β”œβ”€β”€ keyword_loc: (64,0)-(64,6) = "rescue"
@@ -598,13 +598,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (65,0)-(65,1))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (65,0)-(65,1) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── consequent: βˆ…
β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”œβ”€β”€ ensure_clause: βˆ…
@@ -617,13 +617,13 @@
β”‚ β”‚ └── @ CallNode (location: (69,2)-(69,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (69,2)-(69,3) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ rescue_clause:
β”‚ β”‚ @ RescueNode (location: (70,0)-(71,3))
β”‚ β”‚ β”œβ”€β”€ keyword_loc: (70,0)-(70,6) = "rescue"
@@ -643,13 +643,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (71,2)-(71,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (71,2)-(71,3) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── consequent: βˆ…
β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”œβ”€β”€ ensure_clause: βˆ…
@@ -662,13 +662,13 @@
β”‚ └── @ CallNode (location: (75,2)-(75,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (75,2)-(75,3) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ rescue_clause:
β”‚ @ RescueNode (location: (76,0)-(77,3))
β”‚ β”œβ”€β”€ keyword_loc: (76,0)-(76,6) = "rescue"
@@ -686,13 +686,13 @@
β”‚ β”‚ └── @ CallNode (location: (77,2)-(77,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”œβ”€β”€ message_loc: (77,2)-(77,3) = "b"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :b
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── consequent: βˆ…
β”œβ”€β”€ else_clause: βˆ…
β”œβ”€β”€ ensure_clause: βˆ…
diff --git a/test/prism/snapshots/blocks.txt b/test/prism/snapshots/blocks.txt
index 9769e9e4e2..1f4592e052 100644
--- a/test/prism/snapshots/blocks.txt
+++ b/test/prism/snapshots/blocks.txt
@@ -8,14 +8,15 @@
β”‚ β”‚ @ CallNode (location: (1,0)-(1,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :[]
β”‚ β”œβ”€β”€ message_loc: (1,3)-(1,8) = "[bar]"
β”‚ β”œβ”€β”€ opening_loc: (1,3)-(1,4) = "["
β”‚ β”œβ”€β”€ arguments:
@@ -24,13 +25,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (1,4)-(1,7))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,7) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (1,7)-(1,8) = "]"
β”‚ β”œβ”€β”€ block:
@@ -43,30 +44,30 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (1,11)-(1,14))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,11)-(1,14) = "baz"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,9)-(1,10) = "{"
β”‚ β”‚ └── closing_loc: (1,15)-(1,16) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :[]
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (3,0)-(5,3))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (3,0)-(3,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,0)-(3,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :[]
β”‚ β”œβ”€β”€ message_loc: (3,3)-(3,8) = "[bar]"
β”‚ β”œβ”€β”€ opening_loc: (3,3)-(3,4) = "["
β”‚ β”œβ”€β”€ arguments:
@@ -75,13 +76,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (3,4)-(3,7))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,4)-(3,7) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (3,7)-(3,8) = "]"
β”‚ β”œβ”€β”€ block:
@@ -94,30 +95,30 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (4,0)-(4,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (4,0)-(4,3) = "baz"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ opening_loc: (3,9)-(3,11) = "do"
β”‚ β”‚ └── closing_loc: (5,0)-(5,3) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :[]
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (7,0)-(7,35))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (7,0)-(7,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :x
β”‚ β”‚ β”œβ”€β”€ message_loc: (7,0)-(7,1) = "x"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :x
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (7,1)-(7,2) = "."
+ β”‚ β”œβ”€β”€ name: :reduce
β”‚ β”œβ”€β”€ message_loc: (7,2)-(7,8) = "reduce"
β”‚ β”œβ”€β”€ opening_loc: (7,8)-(7,9) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -163,11 +164,11 @@
β”‚ β”‚ β”‚ └── depth: 0
β”‚ β”‚ β”œβ”€β”€ opening_loc: (7,12)-(7,13) = "{"
β”‚ β”‚ └── closing_loc: (7,34)-(7,35) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :reduce
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (9,0)-(9,10))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (9,0)-(9,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -179,11 +180,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (9,4)-(9,6) = "do"
β”‚ β”‚ └── closing_loc: (9,7)-(9,10) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (11,0)-(11,21))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (11,0)-(11,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -192,13 +193,13 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (11,4)-(11,7))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (11,4)-(11,7) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── @ ParenthesesNode (location: (11,9)-(11,21))
β”‚ β”‚ β”‚ β”œβ”€β”€ body:
β”‚ β”‚ β”‚ β”‚ @ StatementsNode (location: (11,10)-(11,20))
@@ -206,6 +207,7 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (11,10)-(11,20))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (11,10)-(11,13) = "baz"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -217,18 +219,17 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (11,14)-(11,16) = "do"
β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (11,17)-(11,20) = "end"
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (11,9)-(11,10) = "("
β”‚ β”‚ β”‚ └── closing_loc: (11,20)-(11,21) = ")"
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (13,0)-(13,14))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (13,0)-(13,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -237,13 +238,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (13,4)-(13,7))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (13,4)-(13,7) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block:
@@ -253,11 +254,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (13,8)-(13,10) = "do"
β”‚ β”‚ └── closing_loc: (13,11)-(13,14) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (15,0)-(15,18))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (15,0)-(15,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -266,6 +267,7 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (15,4)-(15,11))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (15,4)-(15,7) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -274,18 +276,17 @@
β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (15,8)-(15,11))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (15,8)-(15,11) = "baz"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block:
@@ -295,11 +296,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (15,12)-(15,14) = "do"
β”‚ β”‚ └── closing_loc: (15,15)-(15,18) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (17,0)-(18,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (17,0)-(17,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -323,14 +324,15 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (17,12)-(17,13))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (17,12)-(17,13) = "b"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :[]
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (17,13)-(17,16) = "[1]"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (17,13)-(17,14) = "["
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -341,8 +343,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (17,15)-(17,16) = "]"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :[]
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ rest: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ posts: (length: 0)
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ keywords: (length: 0)
@@ -354,11 +355,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (17,4)-(17,6) = "do"
β”‚ β”‚ └── closing_loc: (18,0)-(18,3) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (20,0)-(22,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (20,0)-(20,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -384,11 +385,11 @@
β”‚ β”‚ β”‚ └── end_keyword_loc: (22,0)-(22,3) = "end"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (20,4)-(20,6) = "do"
β”‚ β”‚ └── closing_loc: (22,0)-(22,3) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (24,0)-(29,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (24,0)-(24,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -403,6 +404,7 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (25,2)-(28,5))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (25,2)-(25,5) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -417,6 +419,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (26,4)-(27,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (26,4)-(26,7) = "baz"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -428,29 +431,27 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (26,8)-(26,10) = "do"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (27,4)-(27,7) = "end"
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (25,6)-(25,8) = "do"
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (28,2)-(28,5) = "end"
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (24,4)-(24,6) = "do"
β”‚ β”‚ └── closing_loc: (29,0)-(29,3) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (31,0)-(31,16))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (31,0)-(31,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (31,0)-(31,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :[]
β”‚ β”œβ”€β”€ message_loc: (31,3)-(31,8) = "[bar]"
β”‚ β”œβ”€β”€ opening_loc: (31,3)-(31,4) = "["
β”‚ β”œβ”€β”€ arguments:
@@ -459,13 +460,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (31,4)-(31,7))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (31,4)-(31,7) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (31,7)-(31,8) = "]"
β”‚ β”œβ”€β”€ block:
@@ -478,20 +479,20 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (31,11)-(31,14))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (31,11)-(31,14) = "baz"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ opening_loc: (31,9)-(31,10) = "{"
β”‚ β”‚ └── closing_loc: (31,15)-(31,16) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :[]
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (33,0)-(33,24))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (33,0)-(33,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -533,11 +534,11 @@
β”‚ β”‚ β”‚ └── depth: 0
β”‚ β”‚ β”œβ”€β”€ opening_loc: (33,4)-(33,5) = "{"
β”‚ β”‚ └── closing_loc: (33,23)-(33,24) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (35,0)-(35,11))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (35,0)-(35,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -564,8 +565,7 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (35,4)-(35,5) = "{"
β”‚ β”‚ └── closing_loc: (35,10)-(35,11) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ LocalVariableWriteNode (location: (37,0)-(37,8))
β”‚ β”œβ”€β”€ name: :fork
β”‚ β”œβ”€β”€ depth: 0
@@ -577,6 +577,7 @@
β”œβ”€β”€ @ CallNode (location: (38,0)-(39,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :fork
β”‚ β”œβ”€β”€ message_loc: (38,0)-(38,4) = "fork"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -603,11 +604,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (38,5)-(38,7) = "do"
β”‚ β”‚ └── closing_loc: (39,0)-(39,3) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :fork
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (41,0)-(41,12))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :fork
β”‚ β”œβ”€β”€ message_loc: (41,0)-(41,4) = "fork"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -634,11 +635,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (41,5)-(41,6) = "{"
β”‚ β”‚ └── closing_loc: (41,11)-(41,12) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :fork
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (43,0)-(44,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :C
β”‚ β”œβ”€β”€ message_loc: (43,0)-(43,1) = "C"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -650,11 +651,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (43,2)-(43,4) = "do"
β”‚ β”‚ └── closing_loc: (44,0)-(44,3) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :C
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (46,0)-(46,4))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :C
β”‚ β”œβ”€β”€ message_loc: (46,0)-(46,1) = "C"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -666,11 +667,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (46,2)-(46,3) = "{"
β”‚ β”‚ └── closing_loc: (46,3)-(46,4) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :C
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (48,0)-(52,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (48,0)-(48,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -679,6 +680,7 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (48,4)-(52,1))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :lambda
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (48,4)-(48,10) = "lambda"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -715,16 +717,15 @@
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (48,11)-(48,12) = "{"
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (52,0)-(52,1) = "}"
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :lambda
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (54,0)-(54,17))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :foo
β”œβ”€β”€ message_loc: (54,0)-(54,3) = "foo"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -755,5 +756,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (54,4)-(54,6) = "do"
β”‚ └── closing_loc: (54,14)-(54,17) = "end"
- β”œβ”€β”€ flags: βˆ…
- └── name: :foo
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/boolean_operators.txt b/test/prism/snapshots/boolean_operators.txt
index 6a5a8af6cb..a8e3918f81 100644
--- a/test/prism/snapshots/boolean_operators.txt
+++ b/test/prism/snapshots/boolean_operators.txt
@@ -10,13 +10,13 @@
β”‚ β”‚ @ CallNode (location: (1,6)-(1,7))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,6)-(1,7) = "b"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :b
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ name: :a
β”‚ └── depth: 0
β”œβ”€β”€ @ LocalVariableOperatorWriteNode (location: (3,0)-(3,6))
@@ -26,13 +26,13 @@
β”‚ β”‚ @ CallNode (location: (3,5)-(3,6))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,5)-(3,6) = "b"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :b
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ operator: :+
β”‚ └── depth: 0
@@ -43,12 +43,12 @@
β”‚ @ CallNode (location: (5,6)-(5,7))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :b
β”‚ β”œβ”€β”€ message_loc: (5,6)-(5,7) = "b"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :b
+ β”‚ └── flags: variable_call
β”œβ”€β”€ name: :a
└── depth: 0
diff --git a/test/prism/snapshots/break.txt b/test/prism/snapshots/break.txt
index 07f4b67ea0..48991bb6eb 100644
--- a/test/prism/snapshots/break.txt
+++ b/test/prism/snapshots/break.txt
@@ -130,6 +130,7 @@
β”‚ β”‚ @ CallNode (location: (23,0)-(23,16))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (23,0)-(23,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -151,9 +152,9 @@
β”‚ β”‚ β”‚ β”‚ └── keyword_loc: (23,6)-(23,11) = "break"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (23,4)-(23,5) = "{"
β”‚ β”‚ β”‚ └── closing_loc: (23,15)-(23,16) = "}"
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :==
β”‚ β”œβ”€β”€ message_loc: (23,17)-(23,19) = "=="
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -164,13 +165,13 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :==
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (25,0)-(25,23))
β”œβ”€β”€ receiver:
β”‚ @ CallNode (location: (25,0)-(25,17))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (25,0)-(25,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -202,9 +203,9 @@
β”‚ β”‚ β”‚ └── keyword_loc: (25,10)-(25,15) = "break"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (25,4)-(25,5) = "{"
β”‚ β”‚ └── closing_loc: (25,16)-(25,17) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :==
β”œβ”€β”€ message_loc: (25,18)-(25,20) = "=="
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -215,5 +216,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :==
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/case.txt b/test/prism/snapshots/case.txt
index 7b264c1430..badeaa07cc 100644
--- a/test/prism/snapshots/case.txt
+++ b/test/prism/snapshots/case.txt
@@ -37,6 +37,7 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (5,22)-(5,30))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :puts
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (5,22)-(5,26) = "puts"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -50,8 +51,7 @@
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :puts
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── @ WhenNode (location: (5,32)-(5,53))
β”‚ β”‚ β”œβ”€β”€ keyword_loc: (5,32)-(5,36) = "when"
β”‚ β”‚ β”œβ”€β”€ conditions: (length: 1)
@@ -62,6 +62,7 @@
β”‚ β”‚ └── @ CallNode (location: (5,44)-(5,53))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :puts
β”‚ β”‚ β”œβ”€β”€ message_loc: (5,44)-(5,48) = "puts"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -75,8 +76,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :puts
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ consequent: βˆ…
β”‚ β”œβ”€β”€ case_keyword_loc: (5,0)-(5,4) = "case"
β”‚ └── end_keyword_loc: (5,55)-(5,58) = "end"
@@ -92,13 +92,13 @@
β”‚ β”‚ β”‚ @ CallNode (location: (7,12)-(7,15))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (7,12)-(7,15) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── statements: βˆ…
β”‚ β”œβ”€β”€ consequent: βˆ…
β”‚ β”œβ”€β”€ case_keyword_loc: (7,0)-(7,4) = "case"
@@ -139,13 +139,13 @@
β”‚ β”‚ @ CallNode (location: (15,5)-(15,9))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :this
β”‚ β”‚ β”œβ”€β”€ message_loc: (15,5)-(15,9) = "this"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :this
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ WhenNode (location: (15,11)-(15,31))
β”‚ β”‚ β”œβ”€β”€ keyword_loc: (15,11)-(15,15) = "when"
@@ -169,14 +169,15 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (18,5)-(18,8))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (18,5)-(18,8) = "foo"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :==
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (18,9)-(18,11) = "=="
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -185,18 +186,17 @@
β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (18,12)-(18,15))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (18,12)-(18,15) = "bar"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :==
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── statements: βˆ…
β”‚ β”œβ”€β”€ consequent: βˆ…
β”‚ β”œβ”€β”€ case_keyword_loc: (17,0)-(17,4) = "case"
@@ -210,13 +210,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (22,5)-(22,6))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (22,5)-(22,6) = "a"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── statements: βˆ…
β”‚ β”œβ”€β”€ consequent:
β”‚ β”‚ @ ElseNode (location: (23,0)-(25,3))
@@ -230,13 +230,13 @@
β”‚ β”‚ @ CallNode (location: (27,5)-(27,9))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :type
β”‚ β”‚ β”œβ”€β”€ message_loc: (27,5)-(27,9) = "type"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :type
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ WhenNode (location: (28,3)-(28,10))
β”‚ β”‚ β”œβ”€β”€ keyword_loc: (28,3)-(28,7) = "when"
diff --git a/test/prism/snapshots/classes.txt b/test/prism/snapshots/classes.txt
index 52147e03e5..06cdf40cd2 100644
--- a/test/prism/snapshots/classes.txt
+++ b/test/prism/snapshots/classes.txt
@@ -112,21 +112,21 @@
β”‚ β”‚ β”‚ @ CallNode (location: (11,13)-(11,16))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (11,13)-(11,16) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :!
β”‚ β”‚ β”œβ”€β”€ message_loc: (11,9)-(11,12) = "not"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :!
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ └── end_keyword_loc: (12,0)-(12,3) = "end"
β”œβ”€β”€ @ ClassNode (location: (14,0)-(14,40))
@@ -214,21 +214,21 @@
β”‚ β”‚ β”‚ @ CallNode (location: (18,9)-(18,12))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (18,9)-(18,12) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (18,12)-(18,13) = "."
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (18,13)-(18,16) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ └── end_keyword_loc: (19,0)-(19,3) = "end"
β”œβ”€β”€ @ SingletonClassNode (location: (21,0)-(21,20))
@@ -241,21 +241,21 @@
β”‚ β”‚ β”‚ @ CallNode (location: (21,9)-(21,12))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (21,9)-(21,12) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (21,12)-(21,13) = "."
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (21,13)-(21,16) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ └── end_keyword_loc: (21,17)-(21,20) = "end"
β”œβ”€β”€ @ SingletonClassNode (location: (23,0)-(24,3))
@@ -288,6 +288,7 @@
β”‚ β”‚ β”‚ @ IntegerNode (location: (29,0)-(29,1))
β”‚ β”‚ β”‚ └── flags: decimal
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :+
β”‚ β”‚ β”œβ”€β”€ message_loc: (29,2)-(29,3) = "+"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -298,8 +299,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :+
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── end_keyword_loc: (30,0)-(30,3) = "end"
β”œβ”€β”€ @ SingletonClassNode (location: (32,0)-(32,23))
β”‚ β”œβ”€β”€ locals: []
@@ -315,6 +315,7 @@
β”‚ β”‚ β”‚ @ IntegerNode (location: (32,14)-(32,15))
β”‚ β”‚ β”‚ └── flags: decimal
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :+
β”‚ β”‚ β”œβ”€β”€ message_loc: (32,16)-(32,17) = "+"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -325,8 +326,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :+
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── end_keyword_loc: (32,20)-(32,23) = "end"
└── @ ClassNode (location: (34,0)-(35,3))
β”œβ”€β”€ locals: []
@@ -341,6 +341,7 @@
β”‚ β”‚ @ ConstantReadNode (location: (34,10)-(34,11))
β”‚ β”‚ └── name: :B
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :[]
β”‚ β”œβ”€β”€ message_loc: (34,11)-(34,14) = "[1]"
β”‚ β”œβ”€β”€ opening_loc: (34,11)-(34,12) = "["
β”‚ β”œβ”€β”€ arguments:
@@ -351,8 +352,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (34,13)-(34,14) = "]"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :[]
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ body: βˆ…
β”œβ”€β”€ end_keyword_loc: (35,0)-(35,3) = "end"
└── name: :A
diff --git a/test/prism/snapshots/comments.txt b/test/prism/snapshots/comments.txt
index ee8f13651a..c12dc9911a 100644
--- a/test/prism/snapshots/comments.txt
+++ b/test/prism/snapshots/comments.txt
@@ -6,140 +6,140 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(1,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ @ CallNode (location: (3,0)-(3,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :b
β”‚ β”œβ”€β”€ message_loc: (3,0)-(3,1) = "b"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :b
+ β”‚ └── flags: variable_call
β”œβ”€β”€ @ CallNode (location: (5,0)-(5,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :c
β”‚ β”œβ”€β”€ message_loc: (5,0)-(5,1) = "c"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :c
+ β”‚ └── flags: variable_call
β”œβ”€β”€ @ CallNode (location: (6,0)-(6,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :d
β”‚ β”œβ”€β”€ message_loc: (6,0)-(6,1) = "d"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :d
+ β”‚ └── flags: variable_call
β”œβ”€β”€ @ CallNode (location: (8,0)-(10,4))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (8,0)-(8,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :e
β”‚ β”‚ β”œβ”€β”€ message_loc: (8,0)-(8,1) = "e"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :e
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (10,2)-(10,3) = "."
+ β”‚ β”œβ”€β”€ name: :f
β”‚ β”œβ”€β”€ message_loc: (10,3)-(10,4) = "f"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :f
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (12,0)-(14,2))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (12,0)-(12,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :g
β”‚ β”‚ β”œβ”€β”€ message_loc: (12,0)-(12,1) = "g"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :g
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (14,0)-(14,1) = "."
+ β”‚ β”œβ”€β”€ name: :h
β”‚ β”œβ”€β”€ message_loc: (14,1)-(14,2) = "h"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :h
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (16,0)-(17,2))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (16,0)-(16,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :i
β”‚ β”‚ β”œβ”€β”€ message_loc: (16,0)-(16,1) = "i"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :i
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (17,0)-(17,1) = "."
+ β”‚ β”œβ”€β”€ name: :j
β”‚ β”œβ”€β”€ message_loc: (17,1)-(17,2) = "j"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :j
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (19,0)-(20,4))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (19,0)-(19,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :k
β”‚ β”‚ β”œβ”€β”€ message_loc: (19,0)-(19,1) = "k"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :k
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (20,2)-(20,3) = "."
+ β”‚ β”œβ”€β”€ name: :l
β”‚ β”œβ”€β”€ message_loc: (20,3)-(20,4) = "l"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :l
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (22,0)-(24,5))
β”œβ”€β”€ receiver:
β”‚ @ CallNode (location: (22,0)-(22,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :m
β”‚ β”œβ”€β”€ message_loc: (22,0)-(22,1) = "m"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :m
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: (24,2)-(24,4) = "&."
+ β”œβ”€β”€ name: :n
β”œβ”€β”€ message_loc: (24,4)-(24,5) = "n"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: safe_navigation
- └── name: :n
+ └── flags: safe_navigation
diff --git a/test/prism/snapshots/constants.txt b/test/prism/snapshots/constants.txt
index 0e460b5c58..354153ddf3 100644
--- a/test/prism/snapshots/constants.txt
+++ b/test/prism/snapshots/constants.txt
@@ -30,13 +30,13 @@
β”‚ β”‚ @ CallNode (location: (5,0)-(5,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (5,0)-(5,1) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ child:
β”‚ β”‚ @ ConstantReadNode (location: (5,3)-(5,4))
β”‚ β”‚ └── name: :B
@@ -67,6 +67,7 @@
β”œβ”€β”€ @ CallNode (location: (13,0)-(13,5))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :Foo
β”‚ β”œβ”€β”€ message_loc: (13,0)-(13,3) = "Foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -77,11 +78,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :Foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (15,0)-(15,8))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :Foo
β”‚ β”œβ”€β”€ message_loc: (15,0)-(15,3) = "Foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -93,21 +94,21 @@
β”‚ β”‚ β”‚ @ CallNode (location: (15,5)-(15,8))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (15,5)-(15,8) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :Foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (17,0)-(17,9))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :Foo
β”‚ β”œβ”€β”€ message_loc: (17,0)-(17,3) = "Foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -120,22 +121,22 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (17,6)-(17,9))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (17,6)-(17,9) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── operator_loc: (17,4)-(17,6) = "**"
β”‚ β”‚ └── flags: contains_keyword_splat
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :Foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (19,0)-(19,8))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :Foo
β”‚ β”œβ”€β”€ message_loc: (19,0)-(19,3) = "Foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -146,21 +147,21 @@
β”‚ β”‚ β”‚ @ CallNode (location: (19,5)-(19,8))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (19,5)-(19,8) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── operator_loc: (19,4)-(19,5) = "&"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :Foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (21,0)-(21,13))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (21,0)-(21,3))
β”‚ β”‚ └── name: :Foo
β”‚ β”œβ”€β”€ call_operator_loc: (21,3)-(21,5) = "::"
+ β”‚ β”œβ”€β”€ name: :Bar
β”‚ β”œβ”€β”€ message_loc: (21,5)-(21,8) = "Bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -172,23 +173,23 @@
β”‚ β”‚ β”‚ @ CallNode (location: (21,10)-(21,13))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (21,10)-(21,13) = "baz"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :Bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (23,0)-(23,14))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (23,0)-(23,3))
β”‚ β”‚ └── name: :Foo
β”‚ β”œβ”€β”€ call_operator_loc: (23,3)-(23,5) = "::"
+ β”‚ β”œβ”€β”€ name: :Bar
β”‚ β”œβ”€β”€ message_loc: (23,5)-(23,8) = "Bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -201,24 +202,24 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (23,11)-(23,14))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (23,11)-(23,14) = "baz"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── operator_loc: (23,9)-(23,11) = "**"
β”‚ β”‚ └── flags: contains_keyword_splat
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :Bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (25,0)-(25,13))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (25,0)-(25,3))
β”‚ β”‚ └── name: :Foo
β”‚ β”œβ”€β”€ call_operator_loc: (25,3)-(25,5) = "::"
+ β”‚ β”œβ”€β”€ name: :Bar
β”‚ β”œβ”€β”€ message_loc: (25,5)-(25,8) = "Bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -229,16 +230,15 @@
β”‚ β”‚ β”‚ @ CallNode (location: (25,10)-(25,13))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (25,10)-(25,13) = "baz"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── operator_loc: (25,9)-(25,10) = "&"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :Bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (27,0)-(27,8))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantPathNode (location: (27,0)-(27,3))
@@ -248,13 +248,13 @@
β”‚ β”‚ β”‚ └── name: :A
β”‚ β”‚ └── delimiter_loc: (27,0)-(27,2) = "::"
β”‚ β”œβ”€β”€ call_operator_loc: (27,3)-(27,5) = "::"
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (27,5)-(27,8) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ ConstantPathWriteNode (location: (29,0)-(29,7))
β”‚ β”œβ”€β”€ target:
β”‚ β”‚ @ ConstantPathNode (location: (29,0)-(29,3))
@@ -308,13 +308,13 @@
β”‚ β”‚ @ ConstantReadNode (location: (37,0)-(37,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (37,1)-(37,3) = "::"
+ β”‚ β”œβ”€β”€ name: :false
β”‚ β”œβ”€β”€ message_loc: (37,3)-(37,8) = "false"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :false
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (39,0)-(39,10))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantPathNode (location: (39,0)-(39,4))
@@ -326,157 +326,157 @@
β”‚ β”‚ β”‚ └── name: :B
β”‚ β”‚ └── delimiter_loc: (39,1)-(39,3) = "::"
β”‚ β”œβ”€β”€ call_operator_loc: (39,4)-(39,6) = "::"
+ β”‚ β”œβ”€β”€ name: :true
β”‚ β”œβ”€β”€ message_loc: (39,6)-(39,10) = "true"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :true
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (41,0)-(41,4))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (41,0)-(41,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (41,1)-(41,3) = "::"
+ β”‚ β”œβ”€β”€ name: :&
β”‚ β”œβ”€β”€ message_loc: (41,3)-(41,4) = "&"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :&
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (43,0)-(43,4))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (43,0)-(43,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (43,1)-(43,3) = "::"
+ β”‚ β”œβ”€β”€ name: :`
β”‚ β”œβ”€β”€ message_loc: (43,3)-(43,4) = "`"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :`
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (45,0)-(45,4))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (45,0)-(45,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (45,1)-(45,3) = "::"
+ β”‚ β”œβ”€β”€ name: :!
β”‚ β”œβ”€β”€ message_loc: (45,3)-(45,4) = "!"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :!
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (47,0)-(47,5))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (47,0)-(47,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (47,1)-(47,3) = "::"
+ β”‚ β”œβ”€β”€ name: :!=
β”‚ β”œβ”€β”€ message_loc: (47,3)-(47,5) = "!="
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :!=
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (49,0)-(49,4))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (49,0)-(49,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (49,1)-(49,3) = "::"
+ β”‚ β”œβ”€β”€ name: :^
β”‚ β”œβ”€β”€ message_loc: (49,3)-(49,4) = "^"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :^
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (51,0)-(51,5))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (51,0)-(51,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (51,1)-(51,3) = "::"
+ β”‚ β”œβ”€β”€ name: :==
β”‚ β”œβ”€β”€ message_loc: (51,3)-(51,5) = "=="
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :==
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (53,0)-(53,6))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (53,0)-(53,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (53,1)-(53,3) = "::"
+ β”‚ β”œβ”€β”€ name: :===
β”‚ β”œβ”€β”€ message_loc: (53,3)-(53,6) = "==="
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :===
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (55,0)-(55,5))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (55,0)-(55,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (55,1)-(55,3) = "::"
+ β”‚ β”œβ”€β”€ name: :=~
β”‚ β”œβ”€β”€ message_loc: (55,3)-(55,5) = "=~"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :=~
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (57,0)-(57,4))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (57,0)-(57,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (57,1)-(57,3) = "::"
+ β”‚ β”œβ”€β”€ name: :>
β”‚ β”œβ”€β”€ message_loc: (57,3)-(57,4) = ">"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :>
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (59,0)-(59,5))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (59,0)-(59,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (59,1)-(59,3) = "::"
+ β”‚ β”œβ”€β”€ name: :>=
β”‚ β”œβ”€β”€ message_loc: (59,3)-(59,5) = ">="
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :>=
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (61,0)-(61,5))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (61,0)-(61,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (61,1)-(61,3) = "::"
+ β”‚ β”œβ”€β”€ name: :>>
β”‚ β”œβ”€β”€ message_loc: (61,3)-(61,5) = ">>"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :>>
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (63,0)-(63,5))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (63,0)-(63,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (63,1)-(63,3) = "::"
+ β”‚ β”œβ”€β”€ name: :<<
β”‚ β”œβ”€β”€ message_loc: (63,3)-(63,5) = "<<"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :<<
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ ConstantPathNode (location: (65,0)-(67,1))
β”‚ β”œβ”€β”€ parent:
β”‚ β”‚ @ ConstantReadNode (location: (65,0)-(65,1))
@@ -490,37 +490,37 @@
β”‚ β”‚ @ ConstantReadNode (location: (69,0)-(69,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (69,1)-(69,3) = "::"
+ β”‚ β”œβ”€β”€ name: :alias
β”‚ β”œβ”€β”€ message_loc: (69,3)-(69,8) = "alias"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :alias
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (71,0)-(71,6))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (71,0)-(71,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (71,1)-(71,3) = "::"
+ β”‚ β”œβ”€β”€ name: :and
β”‚ β”œβ”€β”€ message_loc: (71,3)-(71,6) = "and"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :and
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (73,0)-(73,8))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (73,0)-(73,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (73,1)-(73,3) = "::"
+ β”‚ β”œβ”€β”€ name: :begin
β”‚ β”œβ”€β”€ message_loc: (73,3)-(73,8) = "begin"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :begin
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ ConstantPathNode (location: (75,0)-(75,8))
β”‚ β”œβ”€β”€ parent:
β”‚ β”‚ @ ConstantReadNode (location: (75,0)-(75,1))
@@ -534,97 +534,97 @@
β”‚ β”‚ @ ConstantReadNode (location: (77,0)-(77,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (77,1)-(77,3) = "::"
+ β”‚ β”œβ”€β”€ name: :break
β”‚ β”œβ”€β”€ message_loc: (77,3)-(77,8) = "break"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :break
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (79,0)-(79,8))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (79,0)-(79,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (79,1)-(79,3) = "::"
+ β”‚ β”œβ”€β”€ name: :class
β”‚ β”œβ”€β”€ message_loc: (79,3)-(79,8) = "class"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :class
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (81,0)-(81,6))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (81,0)-(81,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (81,1)-(81,3) = "::"
+ β”‚ β”œβ”€β”€ name: :def
β”‚ β”œβ”€β”€ message_loc: (81,3)-(81,6) = "def"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :def
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (83,0)-(83,10))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (83,0)-(83,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (83,1)-(83,3) = "::"
+ β”‚ β”œβ”€β”€ name: :defined
β”‚ β”œβ”€β”€ message_loc: (83,3)-(83,10) = "defined"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :defined
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (85,0)-(85,5))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (85,0)-(85,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (85,1)-(85,3) = "::"
+ β”‚ β”œβ”€β”€ name: :do
β”‚ β”œβ”€β”€ message_loc: (85,3)-(85,5) = "do"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :do
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (87,0)-(87,7))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (87,0)-(87,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (87,1)-(87,3) = "::"
+ β”‚ β”œβ”€β”€ name: :else
β”‚ β”œβ”€β”€ message_loc: (87,3)-(87,7) = "else"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :else
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (89,0)-(89,8))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (89,0)-(89,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (89,1)-(89,3) = "::"
+ β”‚ β”œβ”€β”€ name: :elsif
β”‚ β”œβ”€β”€ message_loc: (89,3)-(89,8) = "elsif"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :elsif
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (91,0)-(91,6))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (91,0)-(91,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (91,1)-(91,3) = "::"
+ β”‚ β”œβ”€β”€ name: :end
β”‚ β”œβ”€β”€ message_loc: (91,3)-(91,6) = "end"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :end
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ ConstantPathNode (location: (93,0)-(93,6))
β”‚ β”œβ”€β”€ parent:
β”‚ β”‚ @ ConstantReadNode (location: (93,0)-(93,1))
@@ -638,378 +638,379 @@
β”‚ β”‚ @ ConstantReadNode (location: (95,0)-(95,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (95,1)-(95,3) = "::"
+ β”‚ β”œβ”€β”€ name: :ensure
β”‚ β”œβ”€β”€ message_loc: (95,3)-(95,9) = "ensure"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :ensure
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (97,0)-(97,8))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (97,0)-(97,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (97,1)-(97,3) = "::"
+ β”‚ β”œβ”€β”€ name: :false
β”‚ β”œβ”€β”€ message_loc: (97,3)-(97,8) = "false"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :false
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (99,0)-(99,6))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (99,0)-(99,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (99,1)-(99,3) = "::"
+ β”‚ β”œβ”€β”€ name: :for
β”‚ β”œβ”€β”€ message_loc: (99,3)-(99,6) = "for"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :for
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (101,0)-(101,5))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (101,0)-(101,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (101,1)-(101,3) = "::"
+ β”‚ β”œβ”€β”€ name: :if
β”‚ β”œβ”€β”€ message_loc: (101,3)-(101,5) = "if"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :if
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (103,0)-(103,5))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (103,0)-(103,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (103,1)-(103,3) = "::"
+ β”‚ β”œβ”€β”€ name: :in
β”‚ β”œβ”€β”€ message_loc: (103,3)-(103,5) = "in"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :in
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (105,0)-(105,7))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (105,0)-(105,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (105,1)-(105,3) = "::"
+ β”‚ β”œβ”€β”€ name: :next
β”‚ β”œβ”€β”€ message_loc: (105,3)-(105,7) = "next"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :next
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (107,0)-(107,6))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (107,0)-(107,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (107,1)-(107,3) = "::"
+ β”‚ β”œβ”€β”€ name: :nil
β”‚ β”œβ”€β”€ message_loc: (107,3)-(107,6) = "nil"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :nil
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (109,0)-(109,6))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (109,0)-(109,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (109,1)-(109,3) = "::"
+ β”‚ β”œβ”€β”€ name: :not
β”‚ β”œβ”€β”€ message_loc: (109,3)-(109,6) = "not"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :not
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (111,0)-(111,5))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (111,0)-(111,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (111,1)-(111,3) = "::"
+ β”‚ β”œβ”€β”€ name: :or
β”‚ β”œβ”€β”€ message_loc: (111,3)-(111,5) = "or"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :or
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (113,0)-(113,7))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (113,0)-(113,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (113,1)-(113,3) = "::"
+ β”‚ β”œβ”€β”€ name: :redo
β”‚ β”œβ”€β”€ message_loc: (113,3)-(113,7) = "redo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :redo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (115,0)-(115,9))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (115,0)-(115,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (115,1)-(115,3) = "::"
+ β”‚ β”œβ”€β”€ name: :rescue
β”‚ β”œβ”€β”€ message_loc: (115,3)-(115,9) = "rescue"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :rescue
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (117,0)-(117,8))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (117,0)-(117,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (117,1)-(117,3) = "::"
+ β”‚ β”œβ”€β”€ name: :retry
β”‚ β”œβ”€β”€ message_loc: (117,3)-(117,8) = "retry"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :retry
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (119,0)-(119,9))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (119,0)-(119,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (119,1)-(119,3) = "::"
+ β”‚ β”œβ”€β”€ name: :return
β”‚ β”œβ”€β”€ message_loc: (119,3)-(119,9) = "return"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :return
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (121,0)-(121,7))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (121,0)-(121,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (121,1)-(121,3) = "::"
+ β”‚ β”œβ”€β”€ name: :self
β”‚ β”œβ”€β”€ message_loc: (121,3)-(121,7) = "self"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :self
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (123,0)-(123,8))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (123,0)-(123,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (123,1)-(123,3) = "::"
+ β”‚ β”œβ”€β”€ name: :super
β”‚ β”œβ”€β”€ message_loc: (123,3)-(123,8) = "super"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :super
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (125,0)-(125,7))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (125,0)-(125,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (125,1)-(125,3) = "::"
+ β”‚ β”œβ”€β”€ name: :then
β”‚ β”œβ”€β”€ message_loc: (125,3)-(125,7) = "then"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :then
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (127,0)-(127,7))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (127,0)-(127,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (127,1)-(127,3) = "::"
+ β”‚ β”œβ”€β”€ name: :true
β”‚ β”œβ”€β”€ message_loc: (127,3)-(127,7) = "true"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :true
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (129,0)-(129,8))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (129,0)-(129,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (129,1)-(129,3) = "::"
+ β”‚ β”œβ”€β”€ name: :undef
β”‚ β”œβ”€β”€ message_loc: (129,3)-(129,8) = "undef"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :undef
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (131,0)-(131,9))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (131,0)-(131,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (131,1)-(131,3) = "::"
+ β”‚ β”œβ”€β”€ name: :unless
β”‚ β”œβ”€β”€ message_loc: (131,3)-(131,9) = "unless"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :unless
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (133,0)-(133,8))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (133,0)-(133,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (133,1)-(133,3) = "::"
+ β”‚ β”œβ”€β”€ name: :until
β”‚ β”œβ”€β”€ message_loc: (133,3)-(133,8) = "until"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :until
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (135,0)-(135,7))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (135,0)-(135,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (135,1)-(135,3) = "::"
+ β”‚ β”œβ”€β”€ name: :when
β”‚ β”œβ”€β”€ message_loc: (135,3)-(135,7) = "when"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :when
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (137,0)-(137,8))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (137,0)-(137,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (137,1)-(137,3) = "::"
+ β”‚ β”œβ”€β”€ name: :while
β”‚ β”œβ”€β”€ message_loc: (137,3)-(137,8) = "while"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :while
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (139,0)-(139,8))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (139,0)-(139,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (139,1)-(139,3) = "::"
+ β”‚ β”œβ”€β”€ name: :yield
β”‚ β”œβ”€β”€ message_loc: (139,3)-(139,8) = "yield"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :yield
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (141,0)-(141,15))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (141,0)-(141,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (141,1)-(141,3) = "::"
+ β”‚ β”œβ”€β”€ name: :__ENCODING__
β”‚ β”œβ”€β”€ message_loc: (141,3)-(141,15) = "__ENCODING__"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :__ENCODING__
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (143,0)-(143,11))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (143,0)-(143,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (143,1)-(143,3) = "::"
+ β”‚ β”œβ”€β”€ name: :__FILE__
β”‚ β”œβ”€β”€ message_loc: (143,3)-(143,11) = "__FILE__"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :__FILE__
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (145,0)-(145,11))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (145,0)-(145,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (145,1)-(145,3) = "::"
+ β”‚ β”œβ”€β”€ name: :__LINE__
β”‚ β”œβ”€β”€ message_loc: (145,3)-(145,11) = "__LINE__"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :__LINE__
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (147,0)-(147,4))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (147,0)-(147,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (147,1)-(147,3) = "::"
+ β”‚ β”œβ”€β”€ name: :<
β”‚ β”œβ”€β”€ message_loc: (147,3)-(147,4) = "<"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :<
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (149,0)-(149,6))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (149,0)-(149,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (149,1)-(149,3) = "::"
+ β”‚ β”œβ”€β”€ name: :<=>
β”‚ β”œβ”€β”€ message_loc: (149,3)-(149,6) = "<=>"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :<=>
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (151,0)-(151,5))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (151,0)-(151,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (151,1)-(151,3) = "::"
+ β”‚ β”œβ”€β”€ name: :<<
β”‚ β”œβ”€β”€ message_loc: (151,3)-(151,5) = "<<"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :<<
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (153,0)-(153,4))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (153,0)-(153,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (153,1)-(153,3) = "::"
+ β”‚ β”œβ”€β”€ name: :-
β”‚ β”œβ”€β”€ message_loc: (153,3)-(153,4) = "-"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :-
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (155,0)-(155,4))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (155,0)-(155,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (155,1)-(155,3) = "::"
+ β”‚ β”œβ”€β”€ name: :%
β”‚ β”œβ”€β”€ message_loc: (155,3)-(155,4) = "%"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :%
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (157,0)-(157,5))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (157,0)-(157,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (157,1)-(157,3) = "::"
+ β”‚ β”œβ”€β”€ name: :%
β”‚ β”œβ”€β”€ message_loc: (157,3)-(157,4) = "%"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -1018,23 +1019,23 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (157,4)-(157,5))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :i
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (157,4)-(157,5) = "i"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :i
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :%
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (159,0)-(159,5))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (159,0)-(159,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (159,1)-(159,3) = "::"
+ β”‚ β”œβ”€β”€ name: :%
β”‚ β”œβ”€β”€ message_loc: (159,3)-(159,4) = "%"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -1043,23 +1044,23 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (159,4)-(159,5))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :w
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (159,4)-(159,5) = "w"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :w
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :%
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (161,0)-(161,5))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (161,0)-(161,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (161,1)-(161,3) = "::"
+ β”‚ β”œβ”€β”€ name: :%
β”‚ β”œβ”€β”€ message_loc: (161,3)-(161,4) = "%"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -1068,23 +1069,23 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (161,4)-(161,5))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :x
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (161,4)-(161,5) = "x"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :x
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :%
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (163,0)-(163,5))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (163,0)-(163,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (163,1)-(163,3) = "::"
+ β”‚ β”œβ”€β”€ name: :%
β”‚ β”œβ”€β”€ message_loc: (163,3)-(163,4) = "%"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -1095,13 +1096,13 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :%
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (165,0)-(165,5))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (165,0)-(165,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (165,1)-(165,3) = "::"
+ β”‚ β”œβ”€β”€ name: :%
β”‚ β”œβ”€β”€ message_loc: (165,3)-(165,4) = "%"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -1112,80 +1113,79 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :%
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (167,0)-(167,4))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (167,0)-(167,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (167,1)-(167,3) = "::"
+ β”‚ β”œβ”€β”€ name: :|
β”‚ β”œβ”€β”€ message_loc: (167,3)-(167,4) = "|"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :|
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (169,0)-(169,4))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (169,0)-(169,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (169,1)-(169,3) = "::"
+ β”‚ β”œβ”€β”€ name: :+
β”‚ β”œβ”€β”€ message_loc: (169,3)-(169,4) = "+"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :+
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (171,0)-(171,4))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (171,0)-(171,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (171,1)-(171,3) = "::"
+ β”‚ β”œβ”€β”€ name: :/
β”‚ β”œβ”€β”€ message_loc: (171,3)-(171,4) = "/"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :/
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (173,0)-(173,4))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (173,0)-(173,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (173,1)-(173,3) = "::"
+ β”‚ β”œβ”€β”€ name: :*
β”‚ β”œβ”€β”€ message_loc: (173,3)-(173,4) = "*"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :*
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (175,0)-(175,5))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (175,0)-(175,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (175,1)-(175,3) = "::"
+ β”‚ β”œβ”€β”€ name: :**
β”‚ β”œβ”€β”€ message_loc: (175,3)-(175,5) = "**"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :**
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (177,0)-(177,4))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (177,0)-(177,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (177,1)-(177,3) = "::"
+ β”‚ β”œβ”€β”€ name: :~
β”‚ β”œβ”€β”€ message_loc: (177,3)-(177,4) = "~"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :~
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ ConstantPathNode (location: (179,0)-(180,1))
β”‚ β”œβ”€β”€ parent:
β”‚ β”‚ @ CallNode (location: (179,0)-(179,4))
@@ -1193,13 +1193,13 @@
β”‚ β”‚ β”‚ @ ConstantReadNode (location: (179,0)-(179,1))
β”‚ β”‚ β”‚ └── name: :A
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (179,1)-(179,3) = "::"
+ β”‚ β”‚ β”œβ”€β”€ name: :_
β”‚ β”‚ β”œβ”€β”€ message_loc: (179,3)-(179,4) = "_"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :_
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ child:
β”‚ β”‚ @ ConstantReadNode (location: (180,0)-(180,1))
β”‚ β”‚ └── name: :C
@@ -1211,25 +1211,25 @@
β”‚ β”‚ @ ConstantReadNode (location: (182,0)-(182,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (182,1)-(182,3) = "::"
+ β”‚ β”œβ”€β”€ name: :_
β”‚ β”œβ”€β”€ message_loc: (182,3)-(182,4) = "_"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :_
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ right:
β”‚ @ CallNode (location: (184,0)-(184,10))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (184,0)-(184,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (184,1)-(184,3) = "::"
+ β”‚ β”œβ”€β”€ name: :__END__
β”‚ β”œβ”€β”€ message_loc: (184,3)-(184,10) = "__END__"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :__END__
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ operator_loc: (182,4)-(182,6) = ".."
└── flags: βˆ…
diff --git a/test/prism/snapshots/dash_heredocs.txt b/test/prism/snapshots/dash_heredocs.txt
index 4c76b61d5c..ebb14c3a49 100644
--- a/test/prism/snapshots/dash_heredocs.txt
+++ b/test/prism/snapshots/dash_heredocs.txt
@@ -18,6 +18,7 @@
β”‚ β”‚ β”œβ”€β”€ closing_loc: (7,0)-(8,0) = "FIRST\n"
β”‚ β”‚ └── unescaped: " a\n"
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :+
β”‚ β”œβ”€β”€ message_loc: (5,9)-(5,10) = "+"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -32,8 +33,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :+
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ InterpolatedXStringNode (location: (11,0)-(11,8))
β”‚ β”œβ”€β”€ opening_loc: (11,0)-(11,8) = "<<-`EOF`"
β”‚ β”œβ”€β”€ parts: (length: 3)
@@ -51,13 +51,13 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (13,2)-(13,3))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (13,2)-(13,3) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── closing_loc: (13,3)-(13,4) = "}"
β”‚ β”‚ └── @ StringNode (location: (13,4)-(14,0))
β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
@@ -95,13 +95,13 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (27,2)-(27,3))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (27,2)-(27,3) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── closing_loc: (27,3)-(27,4) = "}"
β”‚ β”‚ └── @ StringNode (location: (27,4)-(28,0))
β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
@@ -127,13 +127,13 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (32,2)-(32,3))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (32,2)-(32,3) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── closing_loc: (32,3)-(32,4) = "}"
β”‚ β”‚ └── @ StringNode (location: (32,4)-(33,0))
β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
@@ -175,6 +175,7 @@
β”‚ β”‚ β”œβ”€β”€ closing_loc: (51,0)-(52,0) = "A\n"
β”‚ β”‚ └── unescaped: " a\n"
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :+
β”‚ β”œβ”€β”€ message_loc: (49,5)-(49,6) = "+"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -207,8 +208,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :+
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (57,0)-(57,11))
β”œβ”€β”€ receiver:
β”‚ @ StringNode (location: (57,0)-(57,4))
@@ -218,6 +218,7 @@
β”‚ β”œβ”€β”€ closing_loc: (59,0)-(60,0) = "A\n"
β”‚ └── unescaped: " a\n"
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :+
β”œβ”€β”€ message_loc: (57,5)-(57,6) = "+"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -250,5 +251,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :+
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/defined.txt b/test/prism/snapshots/defined.txt
index 1bedb73977..1d52354f68 100644
--- a/test/prism/snapshots/defined.txt
+++ b/test/prism/snapshots/defined.txt
@@ -43,24 +43,24 @@
β”‚ β”‚ β”‚ @ CallNode (location: (5,9)-(5,12))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (5,9)-(5,12) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ right:
β”‚ β”‚ β”‚ @ CallNode (location: (5,17)-(5,20))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (5,17)-(5,20) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── operator_loc: (5,13)-(5,16) = "and"
β”‚ β”œβ”€β”€ rparen_loc: (5,20)-(5,21) = ")"
β”‚ └── keyword_loc: (5,0)-(5,8) = "defined?"
diff --git a/test/prism/snapshots/dos_endings.txt b/test/prism/snapshots/dos_endings.txt
index f629022742..f0622a2434 100644
--- a/test/prism/snapshots/dos_endings.txt
+++ b/test/prism/snapshots/dos_endings.txt
@@ -6,6 +6,7 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(2,12))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :puts
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,4) = "puts"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -30,8 +31,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :puts
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ ArrayNode (location: (4,0)-(5,2))
β”‚ β”œβ”€β”€ elements: (length: 1)
β”‚ β”‚ └── @ SymbolNode (location: (4,3)-(5,1))
@@ -68,6 +68,7 @@
β”‚ @ CallNode (location: (17,4)-(17,20))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (17,4)-(17,7) = "foo"
β”‚ β”œβ”€β”€ opening_loc: (17,7)-(17,8) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -92,16 +93,15 @@
β”‚ β”‚ β”‚ β”‚ β”‚ └── unescaped: "baz\r\n"
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (20,0)-(21,0) = " EOF\r\n"
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (17,14)-(17,15) = "."
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :chop
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (17,15)-(17,19) = "chop"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :chop
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (17,19)-(17,20) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
└── operator_loc: (17,2)-(17,3) = "="
diff --git a/test/prism/snapshots/endless_methods.txt b/test/prism/snapshots/endless_methods.txt
index b5820da4f8..a8d685ade6 100644
--- a/test/prism/snapshots/endless_methods.txt
+++ b/test/prism/snapshots/endless_methods.txt
@@ -31,6 +31,7 @@
β”‚ β”‚ └── @ CallNode (location: (3,10)-(3,14))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :A
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,10)-(3,11) = "A"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -45,8 +46,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :A
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ locals: []
β”‚ β”œβ”€β”€ def_keyword_loc: (3,0)-(3,3) = "def"
β”‚ β”œβ”€β”€ operator_loc: βˆ…
@@ -69,6 +69,7 @@
β”‚ β”‚ β”‚ @ IntegerNode (location: (5,13)-(5,14))
β”‚ β”‚ β”‚ └── flags: decimal
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :+
β”‚ β”‚ β”œβ”€β”€ message_loc: (5,15)-(5,16) = "+"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -79,9 +80,9 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :+
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :+
β”‚ β”œβ”€β”€ message_loc: (5,19)-(5,20) = "+"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -92,8 +93,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :+
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ locals: []
β”œβ”€β”€ def_keyword_loc: (5,0)-(5,3) = "def"
β”œβ”€β”€ operator_loc: βˆ…
diff --git a/test/prism/snapshots/hashes.txt b/test/prism/snapshots/hashes.txt
index 452747acc0..824def5ca1 100644
--- a/test/prism/snapshots/hashes.txt
+++ b/test/prism/snapshots/hashes.txt
@@ -19,48 +19,48 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (6,2)-(6,3))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (6,2)-(6,3) = "a"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ value:
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (6,7)-(6,8))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (6,7)-(6,8) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── operator_loc: (6,4)-(6,6) = "=>"
β”‚ β”‚ └── @ AssocNode (location: (6,10)-(6,16))
β”‚ β”‚ β”œβ”€β”€ key:
β”‚ β”‚ β”‚ @ CallNode (location: (6,10)-(6,11))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (6,10)-(6,11) = "c"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ value:
β”‚ β”‚ β”‚ @ CallNode (location: (6,15)-(6,16))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (6,15)-(6,16) = "d"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── operator_loc: (6,12)-(6,14) = "=>"
β”‚ └── closing_loc: (6,17)-(6,18) = "}"
β”œβ”€β”€ @ HashNode (location: (8,0)-(8,15))
@@ -71,37 +71,37 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (8,2)-(8,3))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (8,2)-(8,3) = "a"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ value:
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (8,7)-(8,8))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (8,7)-(8,8) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── operator_loc: (8,4)-(8,6) = "=>"
β”‚ β”‚ └── @ AssocSplatNode (location: (8,10)-(8,13))
β”‚ β”‚ β”œβ”€β”€ value:
β”‚ β”‚ β”‚ @ CallNode (location: (8,12)-(8,13))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (8,12)-(8,13) = "c"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── operator_loc: (8,10)-(8,12) = "**"
β”‚ └── closing_loc: (8,14)-(8,15) = "}"
β”œβ”€β”€ @ HashNode (location: (10,0)-(16,5))
@@ -118,13 +118,13 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (11,9)-(11,10))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (11,9)-(11,10) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── operator_loc: βˆ…
β”‚ β”‚ └── @ AssocNode (location: (12,6)-(12,10))
β”‚ β”‚ β”œβ”€β”€ key:
@@ -137,13 +137,13 @@
β”‚ β”‚ β”‚ @ CallNode (location: (12,9)-(12,10))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (12,9)-(12,10) = "d"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── operator_loc: βˆ…
β”‚ └── closing_loc: (16,4)-(16,5) = "}"
β”œβ”€β”€ @ HashNode (location: (18,0)-(18,25))
@@ -160,13 +160,13 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (18,5)-(18,6))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (18,5)-(18,6) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── operator_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ @ AssocNode (location: (18,8)-(18,12))
β”‚ β”‚ β”‚ β”œβ”€β”€ key:
@@ -179,26 +179,26 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (18,11)-(18,12))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (18,11)-(18,12) = "d"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── operator_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ @ AssocSplatNode (location: (18,14)-(18,17))
β”‚ β”‚ β”‚ β”œβ”€β”€ value:
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (18,16)-(18,17))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :e
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (18,16)-(18,17) = "e"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :e
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── operator_loc: (18,14)-(18,16) = "**"
β”‚ β”‚ └── @ AssocNode (location: (18,19)-(18,23))
β”‚ β”‚ β”œβ”€β”€ key:
@@ -211,13 +211,13 @@
β”‚ β”‚ β”‚ @ CallNode (location: (18,22)-(18,23))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :g
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (18,22)-(18,23) = "g"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :g
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── operator_loc: βˆ…
β”‚ └── closing_loc: (18,24)-(18,25) = "}"
β”œβ”€β”€ @ HashNode (location: (20,0)-(20,12))
@@ -236,21 +236,21 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (20,8)-(20,10))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b?
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (20,8)-(20,10) = "b?"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :b?
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :!
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (20,7)-(20,8) = "!"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :!
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── operator_loc: βˆ…
β”‚ └── closing_loc: (20,11)-(20,12) = "}"
β”œβ”€β”€ @ LocalVariableWriteNode (location: (22,0)-(22,5))
@@ -264,6 +264,7 @@
└── @ CallNode (location: (23,0)-(26,3))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :tap
β”œβ”€β”€ message_loc: (23,0)-(23,3) = "tap"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -327,13 +328,13 @@
β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (25,12)-(25,14))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (25,12)-(25,13) = "c"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ └── operator_loc: βˆ…
β”‚ β”‚ β”‚ └── @ AssocNode (location: (25,16)-(25,18))
β”‚ β”‚ β”‚ β”œβ”€β”€ key:
@@ -351,5 +352,4 @@
β”‚ β”‚ └── closing_loc: (25,19)-(25,20) = "}"
β”‚ β”œβ”€β”€ opening_loc: (23,4)-(23,6) = "do"
β”‚ └── closing_loc: (26,0)-(26,3) = "end"
- β”œβ”€β”€ flags: βˆ…
- └── name: :tap
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/heredoc_with_escaped_newline_at_start.txt b/test/prism/snapshots/heredoc_with_escaped_newline_at_start.txt
index b403d618fc..4350b4f325 100644
--- a/test/prism/snapshots/heredoc_with_escaped_newline_at_start.txt
+++ b/test/prism/snapshots/heredoc_with_escaped_newline_at_start.txt
@@ -12,6 +12,7 @@
β”‚ β”‚ β”œβ”€β”€ closing_loc: (2,0)-(3,0) = "TARGET\n"
β”‚ β”‚ └── unescaped: ""
β”‚ β”œβ”€β”€ call_operator_loc: (1,9)-(1,10) = "."
+ β”‚ β”œβ”€β”€ name: :gsub
β”‚ β”œβ”€β”€ message_loc: (1,10)-(1,14) = "gsub"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -32,8 +33,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :gsub
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (5,0)-(5,25))
β”œβ”€β”€ receiver:
β”‚ @ StringNode (location: (5,0)-(5,9))
@@ -43,6 +43,7 @@
β”‚ β”œβ”€β”€ closing_loc: (6,0)-(7,0) = "TARGET\r\n"
β”‚ └── unescaped: ""
β”œβ”€β”€ call_operator_loc: (5,9)-(5,10) = "."
+ β”œβ”€β”€ name: :gsub
β”œβ”€β”€ message_loc: (5,10)-(5,14) = "gsub"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -63,5 +64,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :gsub
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/if.txt b/test/prism/snapshots/if.txt
index 50e4116dd9..b48b58d1c0 100644
--- a/test/prism/snapshots/if.txt
+++ b/test/prism/snapshots/if.txt
@@ -132,13 +132,13 @@
β”‚ β”‚ @ CallNode (location: (16,3)-(16,12))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :exit_loop
β”‚ β”‚ β”œβ”€β”€ message_loc: (16,3)-(16,12) = "exit_loop"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :exit_loop
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ then_keyword_loc: (16,13)-(16,17) = "then"
β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ @ StatementsNode (location: (16,18)-(16,26))
@@ -159,13 +159,13 @@
β”‚ β”‚ @ CallNode (location: (18,3)-(18,6))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (18,3)-(18,6) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ then_keyword_loc: (19,0)-(19,4) = "then"
β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ @ StatementsNode (location: (19,5)-(19,8))
@@ -173,13 +173,13 @@
β”‚ β”‚ └── @ CallNode (location: (19,5)-(19,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (19,5)-(19,8) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ consequent: βˆ…
β”‚ └── end_keyword_loc: (20,0)-(20,3) = "end"
β”œβ”€β”€ @ IfNode (location: (22,0)-(22,11))
@@ -188,13 +188,13 @@
β”‚ β”‚ @ CallNode (location: (22,10)-(22,11))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”œβ”€β”€ message_loc: (22,10)-(22,11) = "c"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :c
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ then_keyword_loc: βˆ…
β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ @ StatementsNode (location: (22,0)-(22,6))
@@ -205,13 +205,13 @@
β”‚ β”‚ β”‚ @ CallNode (location: (22,5)-(22,6))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (22,5)-(22,6) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ then_keyword_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ β”‚ @ StatementsNode (location: (22,0)-(22,1))
@@ -219,13 +219,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (22,0)-(22,1))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (22,0)-(22,1) = "a"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ consequent: βˆ…
β”‚ β”‚ └── end_keyword_loc: βˆ…
β”‚ β”œβ”€β”€ consequent: βˆ…
@@ -241,6 +241,7 @@
β”‚ β”‚ └── @ CallNode (location: (25,2)-(25,6))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (25,2)-(25,3) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -261,19 +262,18 @@
β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (25,4)-(25,6))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (25,4)-(25,5) = "b"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ └── operator_loc: βˆ…
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ consequent:
β”‚ β”‚ @ ElseNode (location: (26,0)-(27,3))
β”‚ β”‚ β”œβ”€β”€ else_keyword_loc: (26,0)-(26,4) = "else"
@@ -288,13 +288,13 @@
β”‚ β”‚ β”‚ @ CallNode (location: (29,3)-(29,7))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :type
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (29,3)-(29,7) = "type"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :type
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ β”‚ @ IntegerNode (location: (29,11)-(29,12))
β”‚ β”‚ β”‚ └── flags: decimal
@@ -310,13 +310,13 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (30,6)-(30,10))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :type
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (30,6)-(30,10) = "type"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :type
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ β”‚ β”‚ @ ConstantReadNode (location: (30,14)-(30,15))
β”‚ β”‚ β”‚ β”‚ └── name: :B
@@ -338,6 +338,7 @@
β”‚ └── @ CallNode (location: (34,2)-(35,5))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :lambda
β”‚ β”œβ”€β”€ message_loc: (34,2)-(34,8) = "lambda"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -364,8 +365,7 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (34,9)-(34,11) = "do"
β”‚ β”‚ └── closing_loc: (35,2)-(35,5) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :lambda
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ consequent:
β”‚ @ IfNode (location: (36,0)-(42,3))
β”‚ β”œβ”€β”€ if_keyword_loc: (36,0)-(36,5) = "elsif"
@@ -379,6 +379,7 @@
β”‚ β”‚ └── @ CallNode (location: (37,2)-(38,5))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :lambda
β”‚ β”‚ β”œβ”€β”€ message_loc: (37,2)-(37,8) = "lambda"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -405,8 +406,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (37,9)-(37,11) = "do"
β”‚ β”‚ β”‚ └── closing_loc: (38,2)-(38,5) = "end"
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :lambda
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ consequent:
β”‚ β”‚ @ ElseNode (location: (39,0)-(42,3))
β”‚ β”‚ β”œβ”€β”€ else_keyword_loc: (39,0)-(39,4) = "else"
@@ -416,6 +416,7 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (40,2)-(41,5))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :lambda
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (40,2)-(40,8) = "lambda"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -442,8 +443,7 @@
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (40,9)-(40,11) = "do"
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (41,2)-(41,5) = "end"
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :lambda
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── end_keyword_loc: (42,0)-(42,3) = "end"
β”‚ └── end_keyword_loc: (42,0)-(42,3) = "end"
└── end_keyword_loc: (42,0)-(42,3) = "end"
diff --git a/test/prism/snapshots/integer_operations.txt b/test/prism/snapshots/integer_operations.txt
index 9eeaa62184..8fe3c2420f 100644
--- a/test/prism/snapshots/integer_operations.txt
+++ b/test/prism/snapshots/integer_operations.txt
@@ -8,30 +8,31 @@
β”‚ β”‚ @ IntegerNode (location: (1,1)-(1,2))
β”‚ β”‚ └── flags: decimal
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :!
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "!"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :!
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (3,0)-(3,2))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ IntegerNode (location: (3,1)-(3,2))
β”‚ β”‚ └── flags: decimal
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :~
β”‚ β”œβ”€β”€ message_loc: (3,0)-(3,1) = "~"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :~
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (5,0)-(5,6))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ IntegerNode (location: (5,0)-(5,1))
β”‚ β”‚ └── flags: decimal
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :!=
β”‚ β”œβ”€β”€ message_loc: (5,2)-(5,4) = "!="
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -42,13 +43,13 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :!=
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (7,0)-(7,6))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ IntegerNode (location: (7,0)-(7,1))
β”‚ β”‚ └── flags: decimal
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :!~
β”‚ β”œβ”€β”€ message_loc: (7,2)-(7,4) = "!~"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -59,13 +60,13 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :!~
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (9,0)-(9,5))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ IntegerNode (location: (9,0)-(9,1))
β”‚ β”‚ └── flags: decimal
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :%
β”‚ β”œβ”€β”€ message_loc: (9,2)-(9,3) = "%"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -76,13 +77,13 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :%
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (11,0)-(11,5))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ IntegerNode (location: (11,0)-(11,1))
β”‚ β”‚ └── flags: decimal
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :&
β”‚ β”œβ”€β”€ message_loc: (11,2)-(11,3) = "&"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -93,13 +94,13 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :&
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (13,0)-(13,5))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ IntegerNode (location: (13,0)-(13,1))
β”‚ β”‚ └── flags: decimal
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :*
β”‚ β”œβ”€β”€ message_loc: (13,2)-(13,3) = "*"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -110,13 +111,13 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :*
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (15,0)-(15,4))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ IntegerNode (location: (15,0)-(15,1))
β”‚ β”‚ └── flags: decimal
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :**
β”‚ β”œβ”€β”€ message_loc: (15,1)-(15,3) = "**"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -127,13 +128,13 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :**
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (17,0)-(17,5))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ IntegerNode (location: (17,0)-(17,1))
β”‚ β”‚ └── flags: decimal
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :+
β”‚ β”œβ”€β”€ message_loc: (17,2)-(17,3) = "+"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -144,13 +145,13 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :+
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (19,0)-(19,5))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ IntegerNode (location: (19,0)-(19,1))
β”‚ β”‚ └── flags: decimal
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :-
β”‚ β”œβ”€β”€ message_loc: (19,2)-(19,3) = "-"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -161,13 +162,13 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :-
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (21,0)-(21,5))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ IntegerNode (location: (21,0)-(21,1))
β”‚ β”‚ └── flags: decimal
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :/
β”‚ β”œβ”€β”€ message_loc: (21,2)-(21,3) = "/"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -178,8 +179,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :/
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (23,0)-(23,5))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (23,0)-(23,3))
@@ -187,6 +187,7 @@
β”‚ β”‚ β”‚ @ IntegerNode (location: (23,0)-(23,1))
β”‚ β”‚ β”‚ └── flags: decimal
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :/
β”‚ β”‚ β”œβ”€β”€ message_loc: (23,1)-(23,2) = "/"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -197,9 +198,9 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :/
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :/
β”‚ β”œβ”€β”€ message_loc: (23,3)-(23,4) = "/"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -210,13 +211,13 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :/
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (25,0)-(25,5))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ IntegerNode (location: (25,0)-(25,1))
β”‚ β”‚ └── flags: decimal
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :<
β”‚ β”œβ”€β”€ message_loc: (25,2)-(25,3) = "<"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -227,13 +228,13 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :<
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (27,0)-(27,6))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ IntegerNode (location: (27,0)-(27,1))
β”‚ β”‚ └── flags: decimal
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :<<
β”‚ β”œβ”€β”€ message_loc: (27,2)-(27,4) = "<<"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -244,13 +245,13 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :<<
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (29,0)-(29,6))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ IntegerNode (location: (29,0)-(29,1))
β”‚ β”‚ └── flags: decimal
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :<=
β”‚ β”œβ”€β”€ message_loc: (29,2)-(29,4) = "<="
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -261,13 +262,13 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :<=
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (31,0)-(31,7))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ IntegerNode (location: (31,0)-(31,1))
β”‚ β”‚ └── flags: decimal
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :<=>
β”‚ β”œβ”€β”€ message_loc: (31,2)-(31,5) = "<=>"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -278,13 +279,13 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :<=>
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (33,0)-(33,6))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ IntegerNode (location: (33,0)-(33,1))
β”‚ β”‚ └── flags: decimal
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :==
β”‚ β”œβ”€β”€ message_loc: (33,2)-(33,4) = "=="
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -295,13 +296,13 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :==
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (35,0)-(35,7))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ IntegerNode (location: (35,0)-(35,1))
β”‚ β”‚ └── flags: decimal
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :===
β”‚ β”œβ”€β”€ message_loc: (35,2)-(35,5) = "==="
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -312,13 +313,13 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :===
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (37,0)-(37,6))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ IntegerNode (location: (37,0)-(37,1))
β”‚ β”‚ └── flags: decimal
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :=~
β”‚ β”œβ”€β”€ message_loc: (37,2)-(37,4) = "=~"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -329,13 +330,13 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :=~
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (39,0)-(39,5))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ IntegerNode (location: (39,0)-(39,1))
β”‚ β”‚ └── flags: decimal
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :>
β”‚ β”œβ”€β”€ message_loc: (39,2)-(39,3) = ">"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -346,13 +347,13 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :>
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (41,0)-(41,6))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ IntegerNode (location: (41,0)-(41,1))
β”‚ β”‚ └── flags: decimal
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :>=
β”‚ β”œβ”€β”€ message_loc: (41,2)-(41,4) = ">="
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -363,13 +364,13 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :>=
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (43,0)-(43,6))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ IntegerNode (location: (43,0)-(43,1))
β”‚ β”‚ └── flags: decimal
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :>>
β”‚ β”œβ”€β”€ message_loc: (43,2)-(43,4) = ">>"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -380,13 +381,13 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :>>
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (45,0)-(45,5))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ IntegerNode (location: (45,0)-(45,1))
β”‚ β”‚ └── flags: decimal
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :^
β”‚ β”œβ”€β”€ message_loc: (45,2)-(45,3) = "^"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -397,13 +398,13 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :^
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (47,0)-(47,5))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ IntegerNode (location: (47,0)-(47,1))
β”‚ β”‚ └── flags: decimal
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :|
β”‚ β”œβ”€β”€ message_loc: (47,2)-(47,3) = "|"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -414,8 +415,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :|
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ AndNode (location: (49,0)-(49,6))
β”‚ β”œβ”€β”€ left:
β”‚ β”‚ @ IntegerNode (location: (49,0)-(49,1))
@@ -437,6 +437,7 @@
β”‚ β”‚ @ IntegerNode (location: (53,0)-(53,1))
β”‚ β”‚ └── flags: decimal
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :*
β”‚ β”œβ”€β”€ message_loc: (53,2)-(53,3) = "*"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -447,6 +448,7 @@
β”‚ β”‚ β”‚ β”‚ @ IntegerNode (location: (53,4)-(53,5))
β”‚ β”‚ β”‚ β”‚ └── flags: decimal
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :**
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (53,6)-(53,8) = "**"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -457,13 +459,11 @@
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :**
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :*
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (55,0)-(55,9))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (55,0)-(55,5))
@@ -471,6 +471,7 @@
β”‚ β”‚ β”‚ @ IntegerNode (location: (55,0)-(55,1))
β”‚ β”‚ β”‚ └── flags: decimal
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :*
β”‚ β”‚ β”œβ”€β”€ message_loc: (55,2)-(55,3) = "*"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -481,9 +482,9 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :*
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :+
β”‚ β”œβ”€β”€ message_loc: (55,6)-(55,7) = "+"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -494,8 +495,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :+
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ OrNode (location: (57,0)-(57,6))
β”‚ β”œβ”€β”€ left:
β”‚ β”‚ @ IntegerNode (location: (57,0)-(57,1))
@@ -517,6 +517,7 @@
β”‚ β”‚ @ IntegerNode (location: (61,0)-(61,1))
β”‚ β”‚ └── flags: decimal
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :+
β”‚ β”œβ”€β”€ message_loc: (61,2)-(61,3) = "+"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -527,6 +528,7 @@
β”‚ β”‚ β”‚ β”‚ @ IntegerNode (location: (61,4)-(61,5))
β”‚ β”‚ β”‚ β”‚ └── flags: decimal
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :*
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (61,6)-(61,7) = "*"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -537,13 +539,11 @@
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :*
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :+
+ β”‚ └── flags: βˆ…
└── @ ParenthesesNode (location: (63,0)-(63,7))
β”œβ”€β”€ body:
β”‚ @ StatementsNode (location: (63,1)-(63,6))
@@ -553,6 +553,7 @@
β”‚ β”‚ @ IntegerNode (location: (63,1)-(63,2))
β”‚ β”‚ └── flags: decimal
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :+
β”‚ β”œβ”€β”€ message_loc: (63,3)-(63,4) = "+"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -563,7 +564,6 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :+
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ opening_loc: (63,0)-(63,1) = "("
└── closing_loc: (63,6)-(63,7) = ")"
diff --git a/test/prism/snapshots/keyword_method_names.txt b/test/prism/snapshots/keyword_method_names.txt
index a61cdb9019..0714fa3d4b 100644
--- a/test/prism/snapshots/keyword_method_names.txt
+++ b/test/prism/snapshots/keyword_method_names.txt
@@ -33,6 +33,7 @@
β”œβ”€β”€ @ CallNode (location: (7,0)-(10,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :private
β”‚ β”œβ”€β”€ message_loc: (7,0)-(7,7) = "private"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -49,6 +50,7 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (8,2)-(9,5))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (8,2)-(8,5) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -60,8 +62,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (8,6)-(8,8) = "do"
β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (9,2)-(9,5) = "end"
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ locals: []
β”‚ β”‚ β”‚ β”œβ”€β”€ def_keyword_loc: (7,8)-(7,11) = "def"
β”‚ β”‚ β”‚ β”œβ”€β”€ operator_loc: βˆ…
@@ -72,8 +73,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :private
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ DefNode (location: (12,0)-(13,3))
β”‚ β”œβ”€β”€ name: :m
β”‚ β”œβ”€β”€ name_loc: (12,4)-(12,5) = "m"
diff --git a/test/prism/snapshots/lambda.txt b/test/prism/snapshots/lambda.txt
index 270594d714..8e358b2709 100644
--- a/test/prism/snapshots/lambda.txt
+++ b/test/prism/snapshots/lambda.txt
@@ -60,13 +60,13 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (5,10)-(5,11))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (5,10)-(5,11) = "a"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (5,11)-(5,12) = "}"
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (5,12)-(5,13) = "\""
β”‚ β”‚ β”‚ β”œβ”€β”€ keyword_rest: βˆ…
@@ -98,14 +98,15 @@
β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (7,6)-(7,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (7,6)-(7,7) = "b"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :*
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (7,8)-(7,9) = "*"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -116,8 +117,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :*
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ keyword_rest: βˆ…
β”‚ β”‚ β”‚ └── block: βˆ…
β”‚ β”‚ β”œβ”€β”€ locals: (length: 0)
@@ -143,13 +143,13 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (9,9)-(9,12))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (9,9)-(9,12) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ rest: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ posts: (length: 0)
β”‚ β”‚ β”‚ β”œβ”€β”€ keywords: (length: 0)
@@ -180,13 +180,13 @@
β”‚ β”‚ β”‚ @ CallNode (location: (11,8)-(11,11))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (11,8)-(11,11) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ keyword_rest: βˆ…
β”‚ β”‚ └── block: βˆ…
β”‚ β”œβ”€β”€ locals: (length: 0)
diff --git a/test/prism/snapshots/method_calls.txt b/test/prism/snapshots/method_calls.txt
index 7914801c52..57c233fb51 100644
--- a/test/prism/snapshots/method_calls.txt
+++ b/test/prism/snapshots/method_calls.txt
@@ -8,14 +8,15 @@
β”‚ β”‚ @ CallNode (location: (1,0)-(1,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (1,3)-(1,4) = "."
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,7) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -30,21 +31,21 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (3,0)-(3,9))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (3,0)-(3,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,0)-(3,1) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (3,1)-(3,2) = "."
+ β”‚ β”œβ”€β”€ name: :b
β”‚ β”œβ”€β”€ message_loc: (3,2)-(3,3) = "b"
β”‚ β”œβ”€β”€ opening_loc: (3,3)-(3,4) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -53,48 +54,47 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (3,4)-(3,5))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,4)-(3,5) = "c"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── @ CallNode (location: (3,7)-(3,8))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,7)-(3,8) = "d"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (3,8)-(3,9) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :b
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (5,0)-(5,5))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (5,0)-(5,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (5,0)-(5,1) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (5,1)-(5,2) = "."
+ β”‚ β”œβ”€β”€ name: :b
β”‚ β”œβ”€β”€ message_loc: (5,2)-(5,3) = "b"
β”‚ β”œβ”€β”€ opening_loc: (5,3)-(5,4) = "("
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (5,4)-(5,5) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :b
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (7,0)-(9,7))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (7,0)-(8,6))
@@ -102,72 +102,73 @@
β”‚ β”‚ β”‚ @ CallNode (location: (7,0)-(7,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (7,0)-(7,3) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (8,2)-(8,3) = "."
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (8,3)-(8,6) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: (9,2)-(9,4) = "&."
+ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”œβ”€β”€ message_loc: (9,4)-(9,7) = "baz"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: safe_navigation
- β”‚ └── name: :baz
+ β”‚ └── flags: safe_navigation
β”œβ”€β”€ @ CallNode (location: (11,0)-(11,2))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a!
β”‚ β”œβ”€β”€ message_loc: (11,0)-(11,2) = "a!"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a!
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (13,0)-(13,4))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (13,0)-(13,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (13,0)-(13,1) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (13,1)-(13,2) = "."
+ β”‚ β”œβ”€β”€ name: :call
β”‚ β”œβ”€β”€ message_loc: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (13,2)-(13,3) = "("
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (13,3)-(13,4) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :call
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (15,0)-(15,11))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (15,0)-(15,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (15,0)-(15,1) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (15,1)-(15,2) = "."
+ β”‚ β”œβ”€β”€ name: :call
β”‚ β”œβ”€β”€ message_loc: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (15,2)-(15,3) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -182,41 +183,41 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (15,10)-(15,11) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :call
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (17,0)-(17,4))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (17,0)-(17,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (17,0)-(17,1) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (17,1)-(17,3) = "::"
+ β”‚ β”œβ”€β”€ name: :b
β”‚ β”œβ”€β”€ message_loc: (17,3)-(17,4) = "b"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :b
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (19,0)-(19,6))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (19,0)-(19,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (19,0)-(19,1) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (19,1)-(19,3) = "::"
+ β”‚ β”œβ”€β”€ name: :b
β”‚ β”œβ”€β”€ message_loc: (19,3)-(19,4) = "b"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -225,31 +226,31 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (19,5)-(19,6))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (19,5)-(19,6) = "c"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :b
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (21,0)-(21,11))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (21,0)-(21,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (21,0)-(21,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (21,3)-(21,4) = "."
+ β”‚ β”œβ”€β”€ name: :bar=
β”‚ β”œβ”€β”€ message_loc: (21,4)-(21,7) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -260,21 +261,21 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar=
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (23,0)-(23,2))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a?
β”‚ β”œβ”€β”€ message_loc: (23,0)-(23,2) = "a?"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a?
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (25,0)-(25,8))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (25,0)-(25,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: (25,1)-(25,2) = "("
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -285,19 +286,19 @@
β”‚ β”‚ β”‚ @ CallNode (location: (25,3)-(25,8))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :block
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (25,3)-(25,8) = "block"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :block
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── operator_loc: (25,2)-(25,3) = "&"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (27,0)-(27,11))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (27,0)-(27,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: (27,1)-(27,2) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -310,19 +311,18 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (27,4)-(27,10))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :kwargs
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (27,4)-(27,10) = "kwargs"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :kwargs
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── operator_loc: (27,2)-(27,4) = "**"
β”‚ β”‚ └── flags: contains_keyword_splat
β”‚ β”œβ”€β”€ closing_loc: (27,10)-(27,11) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (29,0)-(29,5))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (29,0)-(29,3))
@@ -330,32 +330,33 @@
β”‚ β”‚ β”‚ @ CallNode (location: (29,0)-(29,1))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (29,0)-(29,1) = "a"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (29,1)-(29,2) = "."
+ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”œβ”€β”€ message_loc: (29,2)-(29,3) = "b"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :b
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: (29,3)-(29,4) = "."
+ β”‚ β”œβ”€β”€ name: :c
β”‚ β”œβ”€β”€ message_loc: (29,4)-(29,5) = "c"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :c
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (31,0)-(31,7))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (31,0)-(31,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: (31,1)-(31,2) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -364,41 +365,41 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (31,2)-(31,3))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (31,2)-(31,3) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── @ CallNode (location: (31,5)-(31,6))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (31,5)-(31,6) = "c"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (31,6)-(31,7) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (33,0)-(33,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (33,0)-(33,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: (33,1)-(33,2) = "("
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (33,2)-(33,3) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (35,0)-(35,8))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (35,0)-(35,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: (35,1)-(35,2) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -410,21 +411,21 @@
β”‚ β”‚ β”‚ @ CallNode (location: (35,3)-(35,7))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :args
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (35,3)-(35,7) = "args"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :args
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (35,7)-(35,8) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (37,0)-(37,6))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (37,0)-(37,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -433,41 +434,41 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (37,2)-(37,3))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (37,2)-(37,3) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── @ CallNode (location: (37,5)-(37,6))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (37,5)-(37,6) = "c"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (39,0)-(39,8))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (39,0)-(39,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (39,0)-(39,1) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (39,1)-(39,2) = "."
+ β”‚ β”œβ”€β”€ name: :b
β”‚ β”œβ”€β”€ message_loc: (39,2)-(39,3) = "b"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -476,28 +477,27 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (39,4)-(39,5))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (39,4)-(39,5) = "c"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── @ CallNode (location: (39,7)-(39,8))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (39,7)-(39,8) = "d"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :b
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ MultiWriteNode (location: (41,0)-(41,23))
β”‚ β”œβ”€β”€ lefts: (length: 2)
β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (41,0)-(41,7))
@@ -505,41 +505,41 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (41,0)-(41,3))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (41,0)-(41,3) = "foo"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (41,3)-(41,4) = "."
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo=
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (41,4)-(41,7) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :foo=
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── @ CallNode (location: (41,9)-(41,16))
β”‚ β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ β”‚ @ CallNode (location: (41,9)-(41,12))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (41,9)-(41,12) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (41,12)-(41,13) = "."
+ β”‚ β”‚ β”œβ”€β”€ name: :bar=
β”‚ β”‚ β”œβ”€β”€ message_loc: (41,13)-(41,16) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :bar=
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ rest: βˆ…
β”‚ β”œβ”€β”€ rights: (length: 0)
β”‚ β”œβ”€β”€ lparen_loc: βˆ…
@@ -560,54 +560,55 @@
β”‚ β”‚ @ CallNode (location: (43,0)-(43,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (43,0)-(43,1) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (43,1)-(43,3) = "&."
+ β”‚ β”œβ”€β”€ name: :b
β”‚ β”œβ”€β”€ message_loc: (43,3)-(43,4) = "b"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: safe_navigation
- β”‚ └── name: :b
+ β”‚ └── flags: safe_navigation
β”œβ”€β”€ @ CallNode (location: (45,0)-(45,5))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (45,0)-(45,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (45,0)-(45,1) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (45,1)-(45,3) = "&."
+ β”‚ β”œβ”€β”€ name: :call
β”‚ β”œβ”€β”€ message_loc: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (45,3)-(45,4) = "("
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (45,4)-(45,5) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: safe_navigation
- β”‚ └── name: :call
+ β”‚ └── flags: safe_navigation
β”œβ”€β”€ @ CallNode (location: (47,0)-(47,7))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (47,0)-(47,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (47,0)-(47,1) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (47,1)-(47,3) = "&."
+ β”‚ β”œβ”€β”€ name: :b
β”‚ β”œβ”€β”€ message_loc: (47,3)-(47,4) = "b"
β”‚ β”œβ”€β”€ opening_loc: (47,4)-(47,5) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -616,38 +617,37 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (47,5)-(47,6))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (47,5)-(47,6) = "c"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (47,6)-(47,7) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: safe_navigation
- β”‚ └── name: :b
+ β”‚ └── flags: safe_navigation
β”œβ”€β”€ @ CallNode (location: (49,0)-(49,6))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (49,0)-(49,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (49,0)-(49,1) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (49,1)-(49,3) = "&."
+ β”‚ β”œβ”€β”€ name: :b
β”‚ β”œβ”€β”€ message_loc: (49,3)-(49,4) = "b"
β”‚ β”œβ”€β”€ opening_loc: (49,4)-(49,5) = "("
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (49,5)-(49,6) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: safe_navigation
- β”‚ └── name: :b
+ β”‚ └── flags: safe_navigation
β”œβ”€β”€ @ IfNode (location: (51,0)-(51,33))
β”‚ β”œβ”€β”€ if_keyword_loc: (51,11)-(51,13) = "if"
β”‚ β”œβ”€β”€ predicate:
@@ -658,36 +658,36 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (51,14)-(51,18))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar?
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (51,14)-(51,18) = "bar?"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :bar?
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ right:
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (51,22)-(51,25))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (51,22)-(51,25) = "baz"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── operator_loc: (51,19)-(51,21) = "or"
β”‚ β”‚ β”œβ”€β”€ right:
β”‚ β”‚ β”‚ @ CallNode (location: (51,30)-(51,33))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :qux
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (51,30)-(51,33) = "qux"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :qux
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── operator_loc: (51,26)-(51,29) = "and"
β”‚ β”œβ”€β”€ then_keyword_loc: βˆ…
β”‚ β”œβ”€β”€ statements:
@@ -696,6 +696,7 @@
β”‚ β”‚ └── @ CallNode (location: (51,0)-(51,10))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (51,0)-(51,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -714,13 +715,13 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ consequent: βˆ…
β”‚ └── end_keyword_loc: βˆ…
β”œβ”€β”€ @ CallNode (location: (53,0)-(56,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (53,0)-(53,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: (53,3)-(53,4) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -739,11 +740,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (56,0)-(56,1) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (58,0)-(58,10))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (58,0)-(58,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: (58,3)-(58,4) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -755,21 +756,21 @@
β”‚ β”‚ β”‚ @ CallNode (location: (58,5)-(58,9))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :rest
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (58,5)-(58,9) = "rest"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :rest
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (58,9)-(58,10) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (60,0)-(60,39))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (60,0)-(60,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: (60,3)-(60,4) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -831,11 +832,11 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ └── unescaped: "bar"
β”‚ β”‚ └── operator_loc: (60,34)-(60,35) = "&"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (62,0)-(62,49))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :hi
β”‚ β”œβ”€β”€ message_loc: (62,0)-(62,2) = "hi"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -885,11 +886,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :hi
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (64,0)-(64,36))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (64,0)-(64,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -941,6 +942,7 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (64,26)-(64,32))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :puts
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (64,26)-(64,30) = "puts"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -952,15 +954,14 @@
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :puts
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (64,16)-(64,18) = "do"
β”‚ β”‚ └── closing_loc: (64,33)-(64,36) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (66,0)-(66,17))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :hi
β”‚ β”œβ”€β”€ message_loc: (66,0)-(66,2) = "hi"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -985,11 +986,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :hi
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (68,0)-(68,40))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :hi
β”‚ β”œβ”€β”€ message_loc: (68,0)-(68,2) = "hi"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -1035,11 +1036,11 @@
β”‚ β”‚ └── flags: contains_keyword_splat
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :hi
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (70,0)-(70,41))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :hi
β”‚ β”œβ”€β”€ message_loc: (70,0)-(70,2) = "hi"
β”‚ β”œβ”€β”€ opening_loc: (70,2)-(70,3) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -1085,11 +1086,11 @@
β”‚ β”‚ └── flags: contains_keyword_splat
β”‚ β”œβ”€β”€ closing_loc: (70,40)-(70,41) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :hi
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (72,0)-(72,35))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (72,0)-(72,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: (72,3)-(72,4) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -1130,11 +1131,11 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ └── unescaped: "block"
β”‚ β”‚ └── operator_loc: (72,28)-(72,29) = "&"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (74,0)-(74,20))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :hi
β”‚ β”œβ”€β”€ message_loc: (74,0)-(74,2) = "hi"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -1159,11 +1160,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :hi
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (76,0)-(78,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (76,0)-(76,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: (76,3)-(76,4) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -1182,11 +1183,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (78,0)-(78,1) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (80,0)-(83,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (80,0)-(80,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: (80,3)-(80,4) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -1216,11 +1217,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (83,0)-(83,1) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (85,0)-(85,11))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (85,0)-(85,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -1234,11 +1235,11 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ └── unescaped: "block"
β”‚ β”‚ └── operator_loc: (85,4)-(85,5) = "&"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (87,0)-(87,30))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (87,0)-(87,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -1277,11 +1278,11 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ └── unescaped: "block"
β”‚ β”‚ └── operator_loc: (87,23)-(87,24) = "&"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (89,0)-(89,21))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :some_func
β”‚ β”œβ”€β”€ message_loc: (89,0)-(89,9) = "some_func"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -1305,13 +1306,13 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :some_func
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (91,0)-(91,18))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantReadNode (location: (91,0)-(91,6))
β”‚ β”‚ └── name: :Kernel
β”‚ β”œβ”€β”€ call_operator_loc: (91,6)-(91,7) = "."
+ β”‚ β”œβ”€β”€ name: :Integer
β”‚ β”œβ”€β”€ message_loc: (91,7)-(91,14) = "Integer"
β”‚ β”œβ”€β”€ opening_loc: (91,14)-(91,15) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -1322,21 +1323,21 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (91,17)-(91,18) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :Integer
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (93,0)-(93,10))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (93,0)-(93,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :x
β”‚ β”‚ β”œβ”€β”€ message_loc: (93,0)-(93,1) = "x"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :x
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (93,1)-(93,2) = "."
+ β”‚ β”œβ”€β”€ name: :each
β”‚ β”œβ”€β”€ message_loc: (93,2)-(93,6) = "each"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -1348,21 +1349,21 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (93,7)-(93,8) = "{"
β”‚ β”‚ └── closing_loc: (93,9)-(93,10) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :each
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (95,0)-(95,14))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (95,0)-(95,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (95,0)-(95,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (95,3)-(95,4) = "."
+ β”‚ β”œβ”€β”€ name: :map
β”‚ β”œβ”€β”€ message_loc: (95,4)-(95,7) = "map"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -1378,8 +1379,7 @@
β”‚ β”‚ β”‚ └── name: :$&
β”‚ β”‚ β”œβ”€β”€ opening_loc: (95,8)-(95,9) = "{"
β”‚ β”‚ └── closing_loc: (95,13)-(95,14) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :map
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (97,0)-(97,12))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantPathNode (location: (97,0)-(97,4))
@@ -1391,6 +1391,7 @@
β”‚ β”‚ β”‚ └── name: :B
β”‚ β”‚ └── delimiter_loc: (97,1)-(97,3) = "::"
β”‚ β”œβ”€β”€ call_operator_loc: (97,4)-(97,6) = "::"
+ β”‚ β”œβ”€β”€ name: :C
β”‚ β”œβ”€β”€ message_loc: (97,6)-(97,7) = "C"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -1404,8 +1405,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :C
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (99,0)-(99,13))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantPathNode (location: (99,0)-(99,4))
@@ -1417,6 +1417,7 @@
β”‚ β”‚ β”‚ └── name: :B
β”‚ β”‚ └── delimiter_loc: (99,1)-(99,3) = "::"
β”‚ β”œβ”€β”€ call_operator_loc: (99,4)-(99,6) = "::"
+ β”‚ β”œβ”€β”€ name: :C
β”‚ β”œβ”€β”€ message_loc: (99,6)-(99,7) = "C"
β”‚ β”œβ”€β”€ opening_loc: (99,7)-(99,8) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -1430,8 +1431,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (99,12)-(99,13) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :C
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (101,0)-(101,17))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ConstantPathNode (location: (101,0)-(101,4))
@@ -1443,6 +1443,7 @@
β”‚ β”‚ β”‚ └── name: :B
β”‚ β”‚ └── delimiter_loc: (101,1)-(101,3) = "::"
β”‚ β”œβ”€β”€ call_operator_loc: (101,4)-(101,6) = "::"
+ β”‚ β”œβ”€β”€ name: :C
β”‚ β”œβ”€β”€ message_loc: (101,6)-(101,7) = "C"
β”‚ β”œβ”€β”€ opening_loc: (101,7)-(101,8) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -1462,11 +1463,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (101,14)-(101,15) = "{"
β”‚ β”‚ └── closing_loc: (101,16)-(101,17) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :C
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (103,0)-(103,12))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (103,0)-(103,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: (103,3)-(103,4) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -1488,11 +1489,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (103,11)-(103,12) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (105,0)-(105,28))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (105,0)-(105,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -1522,6 +1523,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (105,16)-(105,26))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :qux
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (105,16)-(105,19) = "qux"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -1533,19 +1535,18 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (105,20)-(105,22) = "do"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (105,23)-(105,26) = "end"
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :qux
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ └── operator_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (105,27)-(105,28) = "}"
β”‚ β”‚ β”‚ └── operator_loc: βˆ…
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (107,0)-(107,24))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (107,0)-(107,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -1569,6 +1570,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (107,13)-(107,22))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :kw
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (107,13)-(107,15) = "kw"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -1580,19 +1582,18 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (107,16)-(107,18) = "do"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (107,19)-(107,22) = "end"
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :kw
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ └── operator_loc: (107,11)-(107,13) = "**"
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (107,23)-(107,24) = "}"
β”‚ β”‚ β”‚ └── operator_loc: βˆ…
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (109,0)-(109,36))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (109,0)-(109,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -1611,14 +1612,15 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (109,7)-(109,10))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (109,7)-(109,10) = "bar"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (109,10)-(109,11) = "."
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :map
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (109,11)-(109,14) = "map"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -1638,8 +1640,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── unescaped: "baz"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (109,15)-(109,17) = "do"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (109,24)-(109,27) = "end"
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :map
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (109,27)-(109,28) = "}"
β”‚ β”‚ β”‚ └── closing_loc: (109,28)-(109,29) = "\""
β”‚ β”‚ └── flags: βˆ…
@@ -1651,11 +1652,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (109,30)-(109,32) = "do"
β”‚ β”‚ └── closing_loc: (109,33)-(109,36) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (111,0)-(111,28))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (111,0)-(111,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -1675,6 +1676,7 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (111,14)-(111,24))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (111,14)-(111,17) = "baz"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -1686,18 +1688,17 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (111,18)-(111,20) = "do"
β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (111,21)-(111,24) = "end"
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ end_keyword_loc: (111,25)-(111,28) = "end"
β”‚ β”‚ β”‚ └── name: :Bar
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (113,0)-(113,29))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (113,0)-(113,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -1715,6 +1716,7 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (113,15)-(113,25))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (113,15)-(113,18) = "baz"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -1726,18 +1728,17 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (113,19)-(113,21) = "do"
β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (113,22)-(113,25) = "end"
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ end_keyword_loc: (113,26)-(113,29) = "end"
β”‚ β”‚ β”‚ └── name: :Bar
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (115,0)-(115,16))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (115,0)-(115,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -1748,6 +1749,7 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (115,5)-(115,15))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (115,5)-(115,8) = "baz"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -1759,19 +1761,18 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (115,9)-(115,11) = "do"
β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (115,12)-(115,15) = "end"
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (115,4)-(115,5) = "["
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (115,15)-(115,16) = "]"
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (117,0)-(117,28))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :p
β”‚ β”œβ”€β”€ message_loc: (117,0)-(117,1) = "p"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -1787,6 +1788,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ @ IntegerNode (location: (117,8)-(117,9))
β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: decimal
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (117,9)-(117,10) = "."
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :times
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (117,10)-(117,15) = "times"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -1802,8 +1804,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: decimal
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (117,16)-(117,18) = "do"
β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (117,21)-(117,24) = "end"
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :times
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ rescue_clause: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ ensure_clause: βˆ…
@@ -1811,11 +1812,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :p
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (119,0)-(124,5))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (119,0)-(119,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -1832,13 +1833,13 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (120,5)-(120,6))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :x
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (120,5)-(120,6) = "x"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :x
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ then_keyword_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ β”‚ β”‚ @ StatementsNode (location: (121,4)-(123,7))
@@ -1846,6 +1847,7 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (121,4)-(123,7))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (121,4)-(121,7) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -1877,18 +1879,17 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── depth: 0
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (121,8)-(121,10) = "do"
β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (123,4)-(123,7) = "end"
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ consequent: βˆ…
β”‚ β”‚ β”‚ └── end_keyword_loc: (124,2)-(124,5) = "end"
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (126,0)-(135,5))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (126,0)-(126,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -1906,19 +1907,20 @@
β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (127,8)-(127,9))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :x
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (127,8)-(127,9) = "x"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :x
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ β”‚ β”‚ β”‚ @ StatementsNode (location: (128,4)-(130,7))
β”‚ β”‚ β”‚ β”‚ β”‚ └── body: (length: 1)
β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (128,4)-(130,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (128,4)-(128,7) = "bar"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -1950,8 +1952,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── depth: 0
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (128,8)-(128,10) = "do"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (130,4)-(130,7) = "end"
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── @ UntilNode (location: (132,2)-(135,5))
β”‚ β”‚ β”‚ β”œβ”€β”€ keyword_loc: (132,2)-(132,7) = "until"
@@ -1960,19 +1961,20 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (132,8)-(132,9))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :x
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (132,8)-(132,9) = "x"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :x
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ β”‚ β”‚ @ StatementsNode (location: (133,4)-(134,7))
β”‚ β”‚ β”‚ β”‚ └── body: (length: 1)
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (133,4)-(134,7))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (133,4)-(133,7) = "baz"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -1984,14 +1986,12 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (133,8)-(133,10) = "do"
β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (134,4)-(134,7) = "end"
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (137,0)-(137,9))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ HashNode (location: (137,0)-(137,2))
@@ -1999,6 +1999,7 @@
β”‚ β”‚ β”œβ”€β”€ elements: (length: 0)
β”‚ β”‚ └── closing_loc: (137,1)-(137,2) = "}"
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :+
β”‚ β”œβ”€β”€ message_loc: (137,3)-(137,4) = "+"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -2007,6 +2008,7 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (137,5)-(137,9))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :A
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (137,5)-(137,6) = "A"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -2018,13 +2020,11 @@
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (137,7)-(137,8) = "{"
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (137,8)-(137,9) = "}"
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :A
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :+
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (139,0)-(139,16))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ HashNode (location: (139,0)-(139,2))
@@ -2032,6 +2032,7 @@
β”‚ β”‚ β”œβ”€β”€ elements: (length: 0)
β”‚ β”‚ └── closing_loc: (139,1)-(139,2) = "}"
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :+
β”‚ β”œβ”€β”€ message_loc: (139,3)-(139,4) = "+"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -2040,6 +2041,7 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (139,5)-(139,16))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :A
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (139,5)-(139,6) = "A"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -2071,18 +2073,17 @@
β”‚ β”‚ β”‚ β”‚ β”‚ └── depth: 0
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (139,7)-(139,8) = "{"
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (139,15)-(139,16) = "}"
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :A
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :+
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (141,0)-(141,11))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (141,0)-(141,4))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :A
β”‚ β”‚ β”œβ”€β”€ message_loc: (141,0)-(141,1) = "A"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -2094,9 +2095,9 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (141,2)-(141,3) = "{"
β”‚ β”‚ β”‚ └── closing_loc: (141,3)-(141,4) = "}"
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :A
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :+
β”‚ β”œβ”€β”€ message_loc: (141,5)-(141,6) = "+"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -2105,6 +2106,7 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (141,7)-(141,11))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :A
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (141,7)-(141,8) = "A"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -2116,26 +2118,25 @@
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (141,9)-(141,10) = "{"
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (141,10)-(141,11) = "}"
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :A
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :+
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (143,0)-(143,11))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (143,0)-(143,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :lst
β”‚ β”‚ β”œβ”€β”€ message_loc: (143,0)-(143,3) = "lst"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :lst
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :<<
β”‚ β”œβ”€β”€ message_loc: (143,4)-(143,6) = "<<"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -2144,6 +2145,7 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (143,7)-(143,11))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :A
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (143,7)-(143,8) = "A"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -2155,13 +2157,11 @@
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (143,9)-(143,10) = "{"
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (143,10)-(143,11) = "}"
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :A
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :<<
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ InterpolatedStringNode (location: (145,0)-(145,17))
β”‚ β”œβ”€β”€ opening_loc: (145,0)-(145,1) = "\""
β”‚ β”œβ”€β”€ parts: (length: 1)
@@ -2173,6 +2173,7 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (145,4)-(145,14))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :join
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (145,4)-(145,8) = "join"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -2193,8 +2194,7 @@
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :join
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── closing_loc: (145,15)-(145,16) = "}"
β”‚ └── closing_loc: (145,16)-(145,17) = "\""
β”œβ”€β”€ @ InterpolatedStringNode (location: (147,0)-(147,8))
@@ -2212,13 +2212,13 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (147,4)-(147,5))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :v
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (147,4)-(147,5) = "v"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :v
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (147,3)-(147,4) = "("
β”‚ β”‚ β”‚ └── closing_loc: (147,5)-(147,6) = ")"
β”‚ β”‚ └── closing_loc: (147,6)-(147,7) = "}"
@@ -2246,6 +2246,7 @@
β”‚ └── @ CallNode (location: (149,10)-(149,13))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :p
β”‚ β”œβ”€β”€ message_loc: (149,10)-(149,11) = "p"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -2257,8 +2258,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :p
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ locals: [:*]
β”œβ”€β”€ def_keyword_loc: (149,0)-(149,3) = "def"
β”œβ”€β”€ operator_loc: βˆ…
diff --git a/test/prism/snapshots/methods.txt b/test/prism/snapshots/methods.txt
index a9652c968d..de6c206751 100644
--- a/test/prism/snapshots/methods.txt
+++ b/test/prism/snapshots/methods.txt
@@ -115,13 +115,13 @@
β”‚ β”‚ β”‚ @ CallNode (location: (10,5)-(10,6))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (10,5)-(10,6) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ opening_loc: (10,4)-(10,5) = "("
β”‚ β”‚ └── closing_loc: (10,6)-(10,7) = ")"
β”‚ β”œβ”€β”€ parameters: βˆ…
@@ -142,13 +142,13 @@
β”‚ β”‚ β”‚ @ CallNode (location: (13,5)-(13,6))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (13,5)-(13,6) = "a"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ opening_loc: (13,4)-(13,5) = "("
β”‚ β”‚ └── closing_loc: (13,6)-(13,7) = ")"
β”‚ β”œβ”€β”€ parameters: βˆ…
@@ -218,13 +218,13 @@
β”‚ β”‚ @ CallNode (location: (25,4)-(25,5))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (25,4)-(25,5) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ parameters: βˆ…
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ locals: []
@@ -903,6 +903,7 @@
β”‚ β”‚ └── @ CallNode (location: (110,10)-(110,14))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”œβ”€β”€ message_loc: (110,10)-(110,11) = "b"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (110,11)-(110,12) = "("
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -914,8 +915,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: (110,13)-(110,14) = ")"
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :b
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ locals: [:*]
β”‚ β”œβ”€β”€ def_keyword_loc: (110,0)-(110,3) = "def"
β”‚ β”œβ”€β”€ operator_loc: βˆ…
@@ -943,6 +943,7 @@
β”‚ β”‚ └── @ CallNode (location: (112,12)-(112,18))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”œβ”€β”€ message_loc: (112,12)-(112,13) = "b"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (112,13)-(112,14) = "("
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -952,8 +953,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: (112,17)-(112,18) = ")"
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :b
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ locals: [:"..."]
β”‚ β”œβ”€β”€ def_keyword_loc: (112,0)-(112,3) = "def"
β”‚ β”œβ”€β”€ operator_loc: βˆ…
@@ -981,6 +981,7 @@
β”‚ β”‚ └── @ CallNode (location: (114,12)-(114,24))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”œβ”€β”€ message_loc: (114,12)-(114,13) = "b"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (114,13)-(114,14) = "("
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -994,8 +995,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: (114,23)-(114,24) = ")"
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :b
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ locals: [:"..."]
β”‚ β”œβ”€β”€ def_keyword_loc: (114,0)-(114,3) = "def"
β”‚ β”œβ”€β”€ operator_loc: βˆ…
@@ -1017,13 +1017,13 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (116,9)-(116,10))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (116,9)-(116,10) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── operator_loc: (116,7)-(116,8) = "="
β”‚ β”‚ β”œβ”€β”€ opening_loc: (116,4)-(116,5) = "("
β”‚ β”‚ └── closing_loc: (116,10)-(116,11) = ")"
@@ -1115,13 +1115,13 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (128,9)-(128,10))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (128,9)-(128,10) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── operator_loc: (128,7)-(128,8) = "="
β”‚ β”‚ β”œβ”€β”€ opening_loc: (128,4)-(128,5) = "("
β”‚ β”‚ └── closing_loc: (128,10)-(128,11) = ")"
@@ -1204,6 +1204,7 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (136,18)-(136,24))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (136,18)-(136,19) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (136,19)-(136,20) = "("
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -1213,8 +1214,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (136,23)-(136,24) = ")"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── closing_loc: (136,24)-(136,25) = "}"
β”‚ β”‚ └── closing_loc: (136,25)-(136,26) = "\""
β”‚ β”œβ”€β”€ locals: [:"..."]
@@ -1239,6 +1239,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ elements: (length: 0)
β”‚ β”‚ β”‚ └── closing_loc: (139,3)-(139,4) = "}"
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (139,4)-(139,5) = "."
+ β”‚ β”‚ β”œβ”€β”€ name: :merge
β”‚ β”‚ β”œβ”€β”€ message_loc: (139,5)-(139,10) = "merge"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -1251,45 +1252,44 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (139,13)-(139,16))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (139,13)-(139,16) = "bar"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ └── operator_loc: (139,11)-(139,13) = "**"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ @ AssocSplatNode (location: (139,18)-(139,23))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ value:
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (139,20)-(139,23))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (139,20)-(139,23) = "baz"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ └── operator_loc: (139,18)-(139,20) = "**"
β”‚ β”‚ β”‚ β”‚ └── @ AssocSplatNode (location: (139,25)-(139,30))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ value:
β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (139,27)-(139,30))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :qux
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (139,27)-(139,30) = "qux"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :qux
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ └── operator_loc: (139,25)-(139,27) = "**"
β”‚ β”‚ β”‚ └── flags: contains_keyword_splat
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :merge
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ locals: []
β”‚ β”œβ”€β”€ def_keyword_loc: (138,0)-(138,3) = "def"
β”‚ β”œβ”€β”€ operator_loc: βˆ…
@@ -1555,14 +1555,15 @@
β”‚ β”‚ β”‚ @ CallNode (location: (161,2)-(161,6))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :item
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (161,2)-(161,6) = "item"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :item
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :>>
β”‚ β”‚ β”œβ”€β”€ message_loc: (161,7)-(161,9) = ">>"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -1571,6 +1572,7 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (161,10)-(161,14))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (161,10)-(161,11) = "a"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -1582,13 +1584,11 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (161,12)-(161,13) = "{"
β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (161,13)-(161,14) = "}"
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :>>
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ locals: [:a]
β”‚ β”œβ”€β”€ def_keyword_loc: (160,0)-(160,3) = "def"
β”‚ β”œβ”€β”€ operator_loc: βˆ…
@@ -1704,21 +1704,21 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (172,9)-(172,10))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (172,9)-(172,10) = "a"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :-@
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (172,8)-(172,9) = "-"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :-@
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ keyword_rest: βˆ…
β”‚ β”‚ └── block: βˆ…
β”‚ β”œβ”€β”€ body: βˆ…
@@ -1749,21 +1749,21 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (174,9)-(174,10))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (174,9)-(174,10) = "a"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :+@
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (174,8)-(174,9) = "+"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :+@
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ keyword_rest: βˆ…
β”‚ β”‚ └── block: βˆ…
β”‚ β”œβ”€β”€ body: βˆ…
@@ -1794,21 +1794,21 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (176,9)-(176,10))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (176,9)-(176,10) = "a"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :!
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (176,8)-(176,9) = "!"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :!
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ keyword_rest: βˆ…
β”‚ β”‚ └── block: βˆ…
β”‚ β”œβ”€β”€ body: βˆ…
diff --git a/test/prism/snapshots/modules.txt b/test/prism/snapshots/modules.txt
index 52d79a615a..b781a586d1 100644
--- a/test/prism/snapshots/modules.txt
+++ b/test/prism/snapshots/modules.txt
@@ -39,13 +39,13 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (3,9)-(3,12))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bbb
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,9)-(3,12) = "bbb"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bbb
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── closing_loc: (3,12)-(3,13) = "}"
β”‚ β”‚ └── @ StringNode (location: (3,13)-(3,17))
β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
@@ -63,13 +63,13 @@
β”‚ β”‚ β”‚ @ CallNode (location: (5,7)-(5,8))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :m
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (5,7)-(5,8) = "m"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :m
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ child:
β”‚ β”‚ β”‚ @ ConstantReadNode (location: (5,10)-(5,11))
β”‚ β”‚ β”‚ └── name: :M
@@ -134,13 +134,13 @@
β”‚ β”‚ β”‚ β”‚ @ ConstantReadNode (location: (14,7)-(14,8))
β”‚ β”‚ β”‚ β”‚ └── name: :A
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :[]
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (14,8)-(14,10) = "[]"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (14,8)-(14,9) = "["
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (14,9)-(14,10) = "]"
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :[]
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ child:
β”‚ β”‚ β”‚ @ ConstantReadNode (location: (14,12)-(14,13))
β”‚ β”‚ β”‚ └── name: :B
@@ -159,6 +159,7 @@
β”‚ β”‚ β”‚ @ ConstantReadNode (location: (17,7)-(17,8))
β”‚ β”‚ β”‚ └── name: :A
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :[]
β”‚ β”‚ β”œβ”€β”€ message_loc: (17,8)-(17,11) = "[1]"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (17,8)-(17,9) = "["
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -169,8 +170,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: (17,10)-(17,11) = "]"
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :[]
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ child:
β”‚ β”‚ @ ConstantReadNode (location: (17,13)-(17,14))
β”‚ β”‚ └── name: :B
diff --git a/test/prism/snapshots/non_alphanumeric_methods.txt b/test/prism/snapshots/non_alphanumeric_methods.txt
index acf46d6242..b846dc9b7c 100644
--- a/test/prism/snapshots/non_alphanumeric_methods.txt
+++ b/test/prism/snapshots/non_alphanumeric_methods.txt
@@ -235,13 +235,13 @@
β”‚ β”‚ @ CallNode (location: (48,4)-(48,5))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (48,4)-(48,5) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ parameters: βˆ…
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ locals: []
diff --git a/test/prism/snapshots/not.txt b/test/prism/snapshots/not.txt
index b41d65a87c..eee55fc1fc 100644
--- a/test/prism/snapshots/not.txt
+++ b/test/prism/snapshots/not.txt
@@ -10,42 +10,42 @@
β”‚ β”‚ β”‚ @ CallNode (location: (1,4)-(1,7))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,7) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :!
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "not"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :!
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ right:
β”‚ β”‚ @ CallNode (location: (1,12)-(1,19))
β”‚ β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ β”‚ @ CallNode (location: (1,16)-(1,19))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,16)-(1,19) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :!
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,12)-(1,15) = "not"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :!
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── operator_loc: (1,8)-(1,11) = "and"
β”œβ”€β”€ @ CallNode (location: (3,0)-(3,16))
β”‚ β”œβ”€β”€ receiver:
@@ -54,53 +54,53 @@
β”‚ β”‚ β”‚ @ CallNode (location: (3,4)-(3,7))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,4)-(3,7) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ right:
β”‚ β”‚ β”‚ @ CallNode (location: (3,12)-(3,15))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,12)-(3,15) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── operator_loc: (3,8)-(3,11) = "and"
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :!
β”‚ β”œβ”€β”€ message_loc: (3,0)-(3,3) = "not"
β”‚ β”œβ”€β”€ opening_loc: (3,3)-(3,4) = "("
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (3,15)-(3,16) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :!
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (5,0)-(5,7))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (5,4)-(5,7))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (5,4)-(5,7) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :!
β”‚ β”œβ”€β”€ message_loc: (5,0)-(5,3) = "not"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :!
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ AndNode (location: (7,0)-(8,5))
β”‚ β”œβ”€β”€ left:
β”‚ β”‚ @ CallNode (location: (7,0)-(7,7))
@@ -108,42 +108,42 @@
β”‚ β”‚ β”‚ @ CallNode (location: (7,4)-(7,7))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (7,4)-(7,7) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :!
β”‚ β”‚ β”œβ”€β”€ message_loc: (7,0)-(7,3) = "not"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :!
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ right:
β”‚ β”‚ @ CallNode (location: (7,12)-(8,5))
β”‚ β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ β”‚ @ CallNode (location: (8,2)-(8,5))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (8,2)-(8,5) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :!
β”‚ β”‚ β”œβ”€β”€ message_loc: (7,12)-(7,15) = "not"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :!
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── operator_loc: (7,8)-(7,11) = "and"
β”œβ”€β”€ @ AndNode (location: (11,0)-(13,5))
β”‚ β”œβ”€β”€ left:
@@ -152,42 +152,42 @@
β”‚ β”‚ β”‚ @ CallNode (location: (11,4)-(11,7))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (11,4)-(11,7) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :!
β”‚ β”‚ β”œβ”€β”€ message_loc: (11,0)-(11,3) = "not"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :!
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ right:
β”‚ β”‚ @ CallNode (location: (12,4)-(13,5))
β”‚ β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ β”‚ @ CallNode (location: (13,2)-(13,5))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (13,2)-(13,5) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :!
β”‚ β”‚ β”œβ”€β”€ message_loc: (12,4)-(12,7) = "not"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :!
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── operator_loc: (11,8)-(11,11) = "and"
β”œβ”€β”€ @ AndNode (location: (16,0)-(20,5))
β”‚ β”œβ”€β”€ left:
@@ -196,83 +196,83 @@
β”‚ β”‚ β”‚ @ CallNode (location: (16,4)-(16,7))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (16,4)-(16,7) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :!
β”‚ β”‚ β”œβ”€β”€ message_loc: (16,0)-(16,3) = "not"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :!
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ right:
β”‚ β”‚ @ CallNode (location: (17,2)-(20,5))
β”‚ β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ β”‚ @ CallNode (location: (20,2)-(20,5))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (20,2)-(20,5) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :!
β”‚ β”‚ β”œβ”€β”€ message_loc: (17,2)-(17,5) = "not"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :!
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── operator_loc: (16,8)-(16,11) = "and"
β”œβ”€β”€ @ CallNode (location: (22,0)-(25,1))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (22,4)-(22,7))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (22,4)-(22,7) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :!
β”‚ β”œβ”€β”€ message_loc: (22,0)-(22,3) = "not"
β”‚ β”œβ”€β”€ opening_loc: (22,3)-(22,4) = "("
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (25,0)-(25,1) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :!
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (27,0)-(33,3))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (30,0)-(30,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (30,0)-(30,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :!
β”‚ β”œβ”€β”€ message_loc: (27,0)-(27,3) = "not"
β”‚ β”œβ”€β”€ opening_loc: (27,3)-(27,4) = "("
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (33,2)-(33,3) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :!
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (35,0)-(35,14))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ FlipFlopNode (location: (35,4)-(35,14))
@@ -280,34 +280,34 @@
β”‚ β”‚ β”‚ @ CallNode (location: (35,4)-(35,7))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (35,4)-(35,7) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ right:
β”‚ β”‚ β”‚ @ CallNode (location: (35,11)-(35,14))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (35,11)-(35,14) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ operator_loc: (35,8)-(35,10) = ".."
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :!
β”‚ β”œβ”€β”€ message_loc: (35,0)-(35,3) = "not"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :!
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (37,0)-(37,16))
β”œβ”€β”€ receiver:
β”‚ @ ParenthesesNode (location: (37,4)-(37,16))
@@ -319,33 +319,33 @@
β”‚ β”‚ β”‚ @ CallNode (location: (37,5)-(37,8))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (37,5)-(37,8) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ right:
β”‚ β”‚ β”‚ @ CallNode (location: (37,12)-(37,15))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (37,12)-(37,15) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ operator_loc: (37,9)-(37,11) = ".."
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (37,4)-(37,5) = "("
β”‚ └── closing_loc: (37,15)-(37,16) = ")"
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :!
β”œβ”€β”€ message_loc: (37,0)-(37,3) = "not"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :!
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/patterns.txt b/test/prism/snapshots/patterns.txt
index 3051384357..665a345df0 100644
--- a/test/prism/snapshots/patterns.txt
+++ b/test/prism/snapshots/patterns.txt
@@ -8,13 +8,13 @@
β”‚ β”‚ @ CallNode (location: (1,0)-(1,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ LocalVariableTargetNode (location: (1,7)-(1,10))
β”‚ β”‚ β”œβ”€β”€ name: :bar
@@ -25,13 +25,13 @@
β”‚ β”‚ @ CallNode (location: (2,0)-(2,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (2,0)-(2,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ IntegerNode (location: (2,7)-(2,8))
β”‚ β”‚ └── flags: decimal
@@ -41,13 +41,13 @@
β”‚ β”‚ @ CallNode (location: (3,0)-(3,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,0)-(3,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ FloatNode (location: (3,7)-(3,10))
β”‚ └── operator_loc: (3,4)-(3,6) = "=>"
@@ -56,13 +56,13 @@
β”‚ β”‚ @ CallNode (location: (4,0)-(4,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (4,0)-(4,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ ImaginaryNode (location: (4,7)-(4,9))
β”‚ β”‚ └── numeric:
@@ -74,13 +74,13 @@
β”‚ β”‚ @ CallNode (location: (5,0)-(5,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (5,0)-(5,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ RationalNode (location: (5,7)-(5,9))
β”‚ β”‚ └── numeric:
@@ -92,13 +92,13 @@
β”‚ β”‚ @ CallNode (location: (6,0)-(6,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (6,0)-(6,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ SymbolNode (location: (6,7)-(6,11))
β”‚ β”‚ β”œβ”€β”€ opening_loc: (6,7)-(6,8) = ":"
@@ -111,13 +111,13 @@
β”‚ β”‚ @ CallNode (location: (7,0)-(7,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (7,0)-(7,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ SymbolNode (location: (7,7)-(7,14))
β”‚ β”‚ β”œβ”€β”€ opening_loc: (7,7)-(7,10) = "%s["
@@ -130,13 +130,13 @@
β”‚ β”‚ @ CallNode (location: (8,0)-(8,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (8,0)-(8,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ SymbolNode (location: (8,7)-(8,13))
β”‚ β”‚ β”œβ”€β”€ opening_loc: (8,7)-(8,9) = ":\""
@@ -149,13 +149,13 @@
β”‚ β”‚ @ CallNode (location: (9,0)-(9,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (9,0)-(9,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ RegularExpressionNode (location: (9,7)-(9,12))
β”‚ β”‚ β”œβ”€β”€ opening_loc: (9,7)-(9,8) = "/"
@@ -169,13 +169,13 @@
β”‚ β”‚ @ CallNode (location: (10,0)-(10,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (10,0)-(10,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ XStringNode (location: (10,7)-(10,12))
β”‚ β”‚ β”œβ”€β”€ opening_loc: (10,7)-(10,8) = "`"
@@ -188,13 +188,13 @@
β”‚ β”‚ @ CallNode (location: (11,0)-(11,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (11,0)-(11,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ XStringNode (location: (11,7)-(11,14))
β”‚ β”‚ β”œβ”€β”€ opening_loc: (11,7)-(11,10) = "%x["
@@ -207,13 +207,13 @@
β”‚ β”‚ @ CallNode (location: (12,0)-(12,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (12,0)-(12,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ ArrayNode (location: (12,7)-(12,14))
β”‚ β”‚ β”œβ”€β”€ elements: (length: 1)
@@ -231,13 +231,13 @@
β”‚ β”‚ @ CallNode (location: (13,0)-(13,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (13,0)-(13,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ ArrayNode (location: (13,7)-(13,14))
β”‚ β”‚ β”œβ”€β”€ elements: (length: 1)
@@ -255,13 +255,13 @@
β”‚ β”‚ @ CallNode (location: (14,0)-(14,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (14,0)-(14,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ ArrayNode (location: (14,7)-(14,14))
β”‚ β”‚ β”œβ”€β”€ elements: (length: 1)
@@ -280,13 +280,13 @@
β”‚ β”‚ @ CallNode (location: (15,0)-(15,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (15,0)-(15,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ ArrayNode (location: (15,7)-(15,14))
β”‚ β”‚ β”œβ”€β”€ elements: (length: 1)
@@ -305,13 +305,13 @@
β”‚ β”‚ @ CallNode (location: (16,0)-(16,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (16,0)-(16,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ StringNode (location: (16,7)-(16,14))
β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
@@ -325,13 +325,13 @@
β”‚ β”‚ @ CallNode (location: (17,0)-(17,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (17,0)-(17,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ StringNode (location: (17,7)-(17,14))
β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
@@ -345,13 +345,13 @@
β”‚ β”‚ @ CallNode (location: (18,0)-(18,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (18,0)-(18,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ StringNode (location: (18,7)-(18,12))
β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
@@ -365,13 +365,13 @@
β”‚ β”‚ @ CallNode (location: (19,0)-(19,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (19,0)-(19,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ NilNode (location: (19,7)-(19,10))
β”‚ └── operator_loc: (19,4)-(19,6) = "=>"
@@ -380,13 +380,13 @@
β”‚ β”‚ @ CallNode (location: (20,0)-(20,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (20,0)-(20,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ SelfNode (location: (20,7)-(20,11))
β”‚ └── operator_loc: (20,4)-(20,6) = "=>"
@@ -395,13 +395,13 @@
β”‚ β”‚ @ CallNode (location: (21,0)-(21,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (21,0)-(21,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ TrueNode (location: (21,7)-(21,11))
β”‚ └── operator_loc: (21,4)-(21,6) = "=>"
@@ -410,13 +410,13 @@
β”‚ β”‚ @ CallNode (location: (22,0)-(22,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (22,0)-(22,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ FalseNode (location: (22,7)-(22,12))
β”‚ └── operator_loc: (22,4)-(22,6) = "=>"
@@ -425,13 +425,13 @@
β”‚ β”‚ @ CallNode (location: (23,0)-(23,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (23,0)-(23,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ SourceFileNode (location: (23,7)-(23,15))
β”‚ β”‚ └── filepath: "patterns.txt"
@@ -441,13 +441,13 @@
β”‚ β”‚ @ CallNode (location: (24,0)-(24,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (24,0)-(24,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ SourceLineNode (location: (24,7)-(24,15))
β”‚ └── operator_loc: (24,4)-(24,6) = "=>"
@@ -456,13 +456,13 @@
β”‚ β”‚ @ CallNode (location: (25,0)-(25,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (25,0)-(25,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ SourceEncodingNode (location: (25,7)-(25,19))
β”‚ └── operator_loc: (25,4)-(25,6) = "=>"
@@ -471,13 +471,13 @@
β”‚ β”‚ @ CallNode (location: (26,0)-(26,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (26,0)-(26,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ LambdaNode (location: (26,7)-(26,17))
β”‚ β”‚ β”œβ”€β”€ locals: []
@@ -497,13 +497,13 @@
β”‚ β”‚ @ CallNode (location: (28,0)-(28,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (28,0)-(28,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ RangeNode (location: (28,7)-(28,13))
β”‚ β”‚ β”œβ”€β”€ left:
@@ -520,13 +520,13 @@
β”‚ β”‚ @ CallNode (location: (29,0)-(29,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (29,0)-(29,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ RangeNode (location: (29,7)-(29,17))
β”‚ β”‚ β”œβ”€β”€ left:
@@ -541,13 +541,13 @@
β”‚ β”‚ @ CallNode (location: (30,0)-(30,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (30,0)-(30,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ RangeNode (location: (30,7)-(30,15))
β”‚ β”‚ β”œβ”€β”€ left:
@@ -568,13 +568,13 @@
β”‚ β”‚ @ CallNode (location: (31,0)-(31,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (31,0)-(31,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ RangeNode (location: (31,7)-(31,15))
β”‚ β”‚ β”œβ”€β”€ left:
@@ -595,13 +595,13 @@
β”‚ β”‚ @ CallNode (location: (32,0)-(32,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (32,0)-(32,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ RangeNode (location: (32,7)-(32,19))
β”‚ β”‚ β”œβ”€β”€ left:
@@ -624,13 +624,13 @@
β”‚ β”‚ @ CallNode (location: (33,0)-(33,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (33,0)-(33,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ RangeNode (location: (33,7)-(33,25))
β”‚ β”‚ β”œβ”€β”€ left:
@@ -653,13 +653,13 @@
β”‚ β”‚ @ CallNode (location: (34,0)-(34,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (34,0)-(34,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ RangeNode (location: (34,7)-(34,23))
β”‚ β”‚ β”œβ”€β”€ left:
@@ -682,13 +682,13 @@
β”‚ β”‚ @ CallNode (location: (35,0)-(35,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (35,0)-(35,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ RangeNode (location: (35,7)-(35,21))
β”‚ β”‚ β”œβ”€β”€ left:
@@ -713,13 +713,13 @@
β”‚ β”‚ @ CallNode (location: (36,0)-(36,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (36,0)-(36,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ RangeNode (location: (36,7)-(36,21))
β”‚ β”‚ β”œβ”€β”€ left:
@@ -742,13 +742,13 @@
β”‚ β”‚ @ CallNode (location: (37,0)-(37,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (37,0)-(37,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ RangeNode (location: (37,7)-(37,25))
β”‚ β”‚ β”œβ”€β”€ left:
@@ -771,13 +771,13 @@
β”‚ β”‚ @ CallNode (location: (38,0)-(38,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (38,0)-(38,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ RangeNode (location: (38,7)-(38,25))
β”‚ β”‚ β”œβ”€β”€ left:
@@ -810,13 +810,13 @@
β”‚ β”‚ @ CallNode (location: (39,0)-(39,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (39,0)-(39,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ RangeNode (location: (39,7)-(39,25))
β”‚ β”‚ β”œβ”€β”€ left:
@@ -849,13 +849,13 @@
β”‚ β”‚ @ CallNode (location: (40,0)-(40,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (40,0)-(40,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ RangeNode (location: (40,7)-(40,25))
β”‚ β”‚ β”œβ”€β”€ left:
@@ -890,13 +890,13 @@
β”‚ β”‚ @ CallNode (location: (41,0)-(41,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (41,0)-(41,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ RangeNode (location: (41,7)-(41,25))
β”‚ β”‚ β”œβ”€β”€ left:
@@ -931,13 +931,13 @@
β”‚ β”‚ @ CallNode (location: (42,0)-(42,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (42,0)-(42,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ RangeNode (location: (42,7)-(42,25))
β”‚ β”‚ β”œβ”€β”€ left:
@@ -962,13 +962,13 @@
β”‚ β”‚ @ CallNode (location: (43,0)-(43,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (43,0)-(43,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ RangeNode (location: (43,7)-(43,25))
β”‚ β”‚ β”œβ”€β”€ left:
@@ -993,13 +993,13 @@
β”‚ β”‚ @ CallNode (location: (44,0)-(44,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (44,0)-(44,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ RangeNode (location: (44,7)-(44,21))
β”‚ β”‚ β”œβ”€β”€ left:
@@ -1024,13 +1024,13 @@
β”‚ β”‚ @ CallNode (location: (45,0)-(45,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (45,0)-(45,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ RangeNode (location: (45,7)-(45,17))
β”‚ β”‚ β”œβ”€β”€ left:
@@ -1045,13 +1045,13 @@
β”‚ β”‚ @ CallNode (location: (46,0)-(46,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (46,0)-(46,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ RangeNode (location: (46,7)-(46,19))
β”‚ β”‚ β”œβ”€β”€ left:
@@ -1066,13 +1066,13 @@
β”‚ β”‚ @ CallNode (location: (47,0)-(47,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (47,0)-(47,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ RangeNode (location: (47,7)-(47,19))
β”‚ β”‚ β”œβ”€β”€ left:
@@ -1087,13 +1087,13 @@
β”‚ β”‚ @ CallNode (location: (48,0)-(48,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (48,0)-(48,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ RangeNode (location: (48,7)-(48,21))
β”‚ β”‚ β”œβ”€β”€ left:
@@ -1108,13 +1108,13 @@
β”‚ β”‚ @ CallNode (location: (49,0)-(49,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (49,0)-(49,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ RangeNode (location: (49,7)-(49,27))
β”‚ β”‚ β”œβ”€β”€ left:
@@ -1131,13 +1131,13 @@
β”‚ β”‚ @ CallNode (location: (50,0)-(50,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (50,0)-(50,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ RangeNode (location: (50,7)-(50,27))
β”‚ β”‚ β”œβ”€β”€ left:
@@ -1152,13 +1152,13 @@
β”‚ β”‚ @ CallNode (location: (51,0)-(51,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (51,0)-(51,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ RangeNode (location: (51,7)-(51,35))
β”‚ β”‚ β”œβ”€β”€ left:
@@ -1173,13 +1173,13 @@
β”‚ β”‚ @ CallNode (location: (52,0)-(52,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (52,0)-(52,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ RangeNode (location: (52,7)-(52,31))
β”‚ β”‚ β”œβ”€β”€ left:
@@ -1216,13 +1216,13 @@
β”‚ β”‚ @ CallNode (location: (54,0)-(54,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (54,0)-(54,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ PinnedVariableNode (location: (54,7)-(54,11))
β”‚ β”‚ β”œβ”€β”€ variable:
@@ -1236,13 +1236,13 @@
β”‚ β”‚ @ CallNode (location: (55,0)-(55,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (55,0)-(55,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ PinnedVariableNode (location: (55,7)-(55,12))
β”‚ β”‚ β”œβ”€β”€ variable:
@@ -1255,13 +1255,13 @@
β”‚ β”‚ @ CallNode (location: (56,0)-(56,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (56,0)-(56,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ PinnedVariableNode (location: (56,7)-(56,13))
β”‚ β”‚ β”œβ”€β”€ variable:
@@ -1274,13 +1274,13 @@
β”‚ β”‚ @ CallNode (location: (57,0)-(57,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (57,0)-(57,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ PinnedVariableNode (location: (57,7)-(57,12))
β”‚ β”‚ β”œβ”€β”€ variable:
@@ -1293,13 +1293,13 @@
β”‚ β”‚ @ CallNode (location: (59,0)-(59,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (59,0)-(59,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ PinnedExpressionNode (location: (59,7)-(59,11))
β”‚ β”‚ β”œβ”€β”€ expression:
@@ -1314,13 +1314,13 @@
β”‚ β”‚ @ CallNode (location: (60,0)-(60,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (60,0)-(60,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ PinnedExpressionNode (location: (60,7)-(60,13))
β”‚ β”‚ β”œβ”€β”€ expression:
@@ -1334,13 +1334,13 @@
β”‚ β”‚ @ CallNode (location: (61,0)-(61,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (61,0)-(61,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ PinnedExpressionNode (location: (61,7)-(61,23))
β”‚ β”‚ β”œβ”€β”€ expression:
@@ -1353,6 +1353,7 @@
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (61,13)-(61,14) = "\""
β”‚ β”‚ β”‚ β”‚ └── unescaped: "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :+
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (61,15)-(61,16) = "+"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -1367,8 +1368,7 @@
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :+
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ operator_loc: (61,7)-(61,8) = "^"
β”‚ β”‚ β”œβ”€β”€ lparen_loc: (61,8)-(61,9) = "("
β”‚ β”‚ └── rparen_loc: (61,22)-(61,23) = ")"
@@ -1378,13 +1378,13 @@
β”‚ β”‚ @ CallNode (location: (63,0)-(63,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (63,0)-(63,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ ConstantReadNode (location: (63,7)-(63,10))
β”‚ β”‚ └── name: :Foo
@@ -1394,13 +1394,13 @@
β”‚ β”‚ @ CallNode (location: (64,0)-(64,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (64,0)-(64,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ ConstantPathNode (location: (64,7)-(64,20))
β”‚ β”‚ β”œβ”€β”€ parent:
@@ -1422,13 +1422,13 @@
β”‚ β”‚ @ CallNode (location: (65,0)-(65,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (65,0)-(65,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ ConstantPathNode (location: (65,7)-(65,12))
β”‚ β”‚ β”œβ”€β”€ parent: βˆ…
@@ -1442,13 +1442,13 @@
β”‚ β”‚ @ CallNode (location: (66,0)-(66,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (66,0)-(66,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ ConstantPathNode (location: (66,7)-(66,22))
β”‚ β”‚ β”œβ”€β”€ parent:
@@ -1474,13 +1474,13 @@
β”‚ β”‚ @ CallNode (location: (68,0)-(68,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (68,0)-(68,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ ArrayPatternNode (location: (68,7)-(68,12))
β”‚ β”‚ β”œβ”€β”€ constant:
@@ -1497,13 +1497,13 @@
β”‚ β”‚ @ CallNode (location: (69,0)-(69,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (69,0)-(69,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ ArrayPatternNode (location: (69,7)-(69,13))
β”‚ β”‚ β”œβ”€β”€ constant:
@@ -1522,13 +1522,13 @@
β”‚ β”‚ @ CallNode (location: (70,0)-(70,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (70,0)-(70,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ ArrayPatternNode (location: (70,7)-(70,19))
β”‚ β”‚ β”œβ”€β”€ constant:
@@ -1551,13 +1551,13 @@
β”‚ β”‚ @ CallNode (location: (71,0)-(71,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (71,0)-(71,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ ArrayPatternNode (location: (71,7)-(71,15))
β”‚ β”‚ β”œβ”€β”€ constant:
@@ -1577,13 +1577,13 @@
β”‚ β”‚ @ CallNode (location: (72,0)-(72,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (72,0)-(72,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ ArrayPatternNode (location: (72,7)-(72,21))
β”‚ β”‚ β”œβ”€β”€ constant:
@@ -1609,13 +1609,13 @@
β”‚ β”‚ @ CallNode (location: (73,0)-(73,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (73,0)-(73,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ ArrayPatternNode (location: (73,7)-(73,21))
β”‚ β”‚ β”œβ”€β”€ constant:
@@ -1641,13 +1641,13 @@
β”‚ β”‚ @ CallNode (location: (74,0)-(74,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (74,0)-(74,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ FindPatternNode (location: (74,7)-(74,27))
β”‚ β”‚ β”œβ”€β”€ constant:
@@ -1679,13 +1679,13 @@
β”‚ β”‚ @ CallNode (location: (76,0)-(76,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (76,0)-(76,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ ArrayPatternNode (location: (76,7)-(76,12))
β”‚ β”‚ β”œβ”€β”€ constant:
@@ -1702,13 +1702,13 @@
β”‚ β”‚ @ CallNode (location: (77,0)-(77,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (77,0)-(77,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ ArrayPatternNode (location: (77,7)-(77,13))
β”‚ β”‚ β”œβ”€β”€ constant:
@@ -1727,13 +1727,13 @@
β”‚ β”‚ @ CallNode (location: (78,0)-(78,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (78,0)-(78,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ ArrayPatternNode (location: (78,7)-(78,19))
β”‚ β”‚ β”œβ”€β”€ constant:
@@ -1756,13 +1756,13 @@
β”‚ β”‚ @ CallNode (location: (79,0)-(79,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (79,0)-(79,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ ArrayPatternNode (location: (79,7)-(79,17))
β”‚ β”‚ β”œβ”€β”€ constant:
@@ -1788,13 +1788,13 @@
β”‚ β”‚ @ CallNode (location: (80,0)-(80,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (80,0)-(80,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ ArrayPatternNode (location: (80,7)-(80,15))
β”‚ β”‚ β”œβ”€β”€ constant:
@@ -1814,13 +1814,13 @@
β”‚ β”‚ @ CallNode (location: (81,0)-(81,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (81,0)-(81,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ ArrayPatternNode (location: (81,7)-(81,21))
β”‚ β”‚ β”œβ”€β”€ constant:
@@ -1846,13 +1846,13 @@
β”‚ β”‚ @ CallNode (location: (82,0)-(82,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (82,0)-(82,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ ArrayPatternNode (location: (82,7)-(82,21))
β”‚ β”‚ β”œβ”€β”€ constant:
@@ -1878,13 +1878,13 @@
β”‚ β”‚ @ CallNode (location: (83,0)-(83,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (83,0)-(83,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ FindPatternNode (location: (83,7)-(83,27))
β”‚ β”‚ β”œβ”€β”€ constant:
@@ -1916,13 +1916,13 @@
β”‚ β”‚ @ CallNode (location: (85,0)-(85,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (85,0)-(85,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ ArrayPatternNode (location: (85,7)-(85,11))
β”‚ β”‚ β”œβ”€β”€ constant: βˆ…
@@ -1943,13 +1943,13 @@
β”‚ β”‚ @ CallNode (location: (86,0)-(86,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (86,0)-(86,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ ArrayPatternNode (location: (86,7)-(86,21))
β”‚ β”‚ β”œβ”€β”€ constant: βˆ…
@@ -1976,13 +1976,13 @@
β”‚ β”‚ @ CallNode (location: (87,0)-(87,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (87,0)-(87,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ ArrayPatternNode (location: (87,7)-(87,21))
β”‚ β”‚ β”œβ”€β”€ constant: βˆ…
@@ -2009,13 +2009,13 @@
β”‚ β”‚ @ CallNode (location: (88,0)-(88,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (88,0)-(88,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ ArrayPatternNode (location: (88,7)-(88,21))
β”‚ β”‚ β”œβ”€β”€ constant: βˆ…
@@ -2042,13 +2042,13 @@
β”‚ β”‚ @ CallNode (location: (89,0)-(89,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (89,0)-(89,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ FindPatternNode (location: (89,7)-(89,22))
β”‚ β”‚ β”œβ”€β”€ constant: βˆ…
@@ -2078,13 +2078,13 @@
β”‚ β”‚ @ CallNode (location: (91,0)-(91,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (91,0)-(91,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ ArrayPatternNode (location: (91,7)-(91,9))
β”‚ β”‚ β”œβ”€β”€ constant: βˆ…
@@ -2099,13 +2099,13 @@
β”‚ β”‚ @ CallNode (location: (92,0)-(92,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (92,0)-(92,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ ArrayPatternNode (location: (92,7)-(92,17))
β”‚ β”‚ β”œβ”€β”€ constant: βˆ…
@@ -2148,13 +2148,13 @@
β”‚ β”‚ @ CallNode (location: (94,0)-(94,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (94,0)-(94,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ ArrayPatternNode (location: (94,7)-(94,13))
β”‚ β”‚ β”œβ”€β”€ constant: βˆ…
@@ -2175,13 +2175,13 @@
β”‚ β”‚ @ CallNode (location: (95,0)-(95,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (95,0)-(95,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ ArrayPatternNode (location: (95,7)-(95,23))
β”‚ β”‚ β”œβ”€β”€ constant: βˆ…
@@ -2208,13 +2208,13 @@
β”‚ β”‚ @ CallNode (location: (96,0)-(96,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (96,0)-(96,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ ArrayPatternNode (location: (96,7)-(96,23))
β”‚ β”‚ β”œβ”€β”€ constant: βˆ…
@@ -2241,13 +2241,13 @@
β”‚ β”‚ @ CallNode (location: (97,0)-(97,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (97,0)-(97,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ ArrayPatternNode (location: (97,7)-(97,23))
β”‚ β”‚ β”œβ”€β”€ constant: βˆ…
@@ -2274,13 +2274,13 @@
β”‚ β”‚ @ CallNode (location: (98,0)-(98,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (98,0)-(98,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ FindPatternNode (location: (98,7)-(98,24))
β”‚ β”‚ β”œβ”€β”€ constant: βˆ…
@@ -2310,13 +2310,13 @@
β”‚ β”‚ @ CallNode (location: (100,0)-(100,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (100,0)-(100,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ LocalVariableTargetNode (location: (100,7)-(100,10))
β”‚ β”‚ β”œβ”€β”€ name: :bar
@@ -2327,13 +2327,13 @@
β”‚ β”‚ @ CallNode (location: (101,0)-(101,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (101,0)-(101,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ IntegerNode (location: (101,7)-(101,8))
β”‚ β”‚ └── flags: decimal
@@ -2343,13 +2343,13 @@
β”‚ β”‚ @ CallNode (location: (102,0)-(102,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (102,0)-(102,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ FloatNode (location: (102,7)-(102,10))
β”‚ └── operator_loc: (102,4)-(102,6) = "in"
@@ -2358,13 +2358,13 @@
β”‚ β”‚ @ CallNode (location: (103,0)-(103,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (103,0)-(103,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ ImaginaryNode (location: (103,7)-(103,9))
β”‚ β”‚ └── numeric:
@@ -2376,13 +2376,13 @@
β”‚ β”‚ @ CallNode (location: (104,0)-(104,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (104,0)-(104,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ RationalNode (location: (104,7)-(104,9))
β”‚ β”‚ └── numeric:
@@ -2394,13 +2394,13 @@
β”‚ β”‚ @ CallNode (location: (105,0)-(105,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (105,0)-(105,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ SymbolNode (location: (105,7)-(105,11))
β”‚ β”‚ β”œβ”€β”€ opening_loc: (105,7)-(105,8) = ":"
@@ -2413,13 +2413,13 @@
β”‚ β”‚ @ CallNode (location: (106,0)-(106,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (106,0)-(106,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ SymbolNode (location: (106,7)-(106,14))
β”‚ β”‚ β”œβ”€β”€ opening_loc: (106,7)-(106,10) = "%s["
@@ -2432,13 +2432,13 @@
β”‚ β”‚ @ CallNode (location: (107,0)-(107,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (107,0)-(107,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ SymbolNode (location: (107,7)-(107,13))
β”‚ β”‚ β”œβ”€β”€ opening_loc: (107,7)-(107,9) = ":\""
@@ -2451,13 +2451,13 @@
β”‚ β”‚ @ CallNode (location: (108,0)-(108,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (108,0)-(108,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ RegularExpressionNode (location: (108,7)-(108,12))
β”‚ β”‚ β”œβ”€β”€ opening_loc: (108,7)-(108,8) = "/"
@@ -2471,13 +2471,13 @@
β”‚ β”‚ @ CallNode (location: (109,0)-(109,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (109,0)-(109,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ XStringNode (location: (109,7)-(109,12))
β”‚ β”‚ β”œβ”€β”€ opening_loc: (109,7)-(109,8) = "`"
@@ -2490,13 +2490,13 @@
β”‚ β”‚ @ CallNode (location: (110,0)-(110,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (110,0)-(110,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ XStringNode (location: (110,7)-(110,14))
β”‚ β”‚ β”œβ”€β”€ opening_loc: (110,7)-(110,10) = "%x["
@@ -2509,13 +2509,13 @@
β”‚ β”‚ @ CallNode (location: (111,0)-(111,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (111,0)-(111,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ ArrayNode (location: (111,7)-(111,14))
β”‚ β”‚ β”œβ”€β”€ elements: (length: 1)
@@ -2533,13 +2533,13 @@
β”‚ β”‚ @ CallNode (location: (112,0)-(112,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (112,0)-(112,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ ArrayNode (location: (112,7)-(112,14))
β”‚ β”‚ β”œβ”€β”€ elements: (length: 1)
@@ -2557,13 +2557,13 @@
β”‚ β”‚ @ CallNode (location: (113,0)-(113,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (113,0)-(113,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ ArrayNode (location: (113,7)-(113,14))
β”‚ β”‚ β”œβ”€β”€ elements: (length: 1)
@@ -2582,13 +2582,13 @@
β”‚ β”‚ @ CallNode (location: (114,0)-(114,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (114,0)-(114,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ ArrayNode (location: (114,7)-(114,14))
β”‚ β”‚ β”œβ”€β”€ elements: (length: 1)
@@ -2607,13 +2607,13 @@
β”‚ β”‚ @ CallNode (location: (115,0)-(115,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (115,0)-(115,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ StringNode (location: (115,7)-(115,14))
β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
@@ -2627,13 +2627,13 @@
β”‚ β”‚ @ CallNode (location: (116,0)-(116,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (116,0)-(116,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ StringNode (location: (116,7)-(116,14))
β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
@@ -2647,13 +2647,13 @@
β”‚ β”‚ @ CallNode (location: (117,0)-(117,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (117,0)-(117,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ StringNode (location: (117,7)-(117,12))
β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
@@ -2667,13 +2667,13 @@
β”‚ β”‚ @ CallNode (location: (118,0)-(118,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (118,0)-(118,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ NilNode (location: (118,7)-(118,10))
β”‚ └── operator_loc: (118,4)-(118,6) = "in"
@@ -2682,13 +2682,13 @@
β”‚ β”‚ @ CallNode (location: (119,0)-(119,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (119,0)-(119,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ SelfNode (location: (119,7)-(119,11))
β”‚ └── operator_loc: (119,4)-(119,6) = "in"
@@ -2697,13 +2697,13 @@
β”‚ β”‚ @ CallNode (location: (120,0)-(120,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (120,0)-(120,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ TrueNode (location: (120,7)-(120,11))
β”‚ └── operator_loc: (120,4)-(120,6) = "in"
@@ -2712,13 +2712,13 @@
β”‚ β”‚ @ CallNode (location: (121,0)-(121,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (121,0)-(121,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ FalseNode (location: (121,7)-(121,12))
β”‚ └── operator_loc: (121,4)-(121,6) = "in"
@@ -2727,13 +2727,13 @@
β”‚ β”‚ @ CallNode (location: (122,0)-(122,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (122,0)-(122,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ SourceFileNode (location: (122,7)-(122,15))
β”‚ β”‚ └── filepath: "patterns.txt"
@@ -2743,13 +2743,13 @@
β”‚ β”‚ @ CallNode (location: (123,0)-(123,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (123,0)-(123,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ SourceLineNode (location: (123,7)-(123,15))
β”‚ └── operator_loc: (123,4)-(123,6) = "in"
@@ -2758,13 +2758,13 @@
β”‚ β”‚ @ CallNode (location: (124,0)-(124,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (124,0)-(124,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ SourceEncodingNode (location: (124,7)-(124,19))
β”‚ └── operator_loc: (124,4)-(124,6) = "in"
@@ -2773,13 +2773,13 @@
β”‚ β”‚ @ CallNode (location: (125,0)-(125,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (125,0)-(125,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ LambdaNode (location: (125,7)-(125,17))
β”‚ β”‚ β”œβ”€β”€ locals: []
@@ -2799,13 +2799,13 @@
β”‚ β”‚ @ CallNode (location: (127,5)-(127,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (127,5)-(127,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (127,10)-(127,21))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -2823,13 +2823,13 @@
β”‚ β”‚ @ CallNode (location: (128,5)-(128,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (128,5)-(128,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (128,10)-(128,19))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -2846,13 +2846,13 @@
β”‚ β”‚ @ CallNode (location: (129,5)-(129,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (129,5)-(129,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (129,10)-(129,21))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -2868,13 +2868,13 @@
β”‚ β”‚ @ CallNode (location: (130,5)-(130,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (130,5)-(130,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (130,10)-(130,20))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -2893,13 +2893,13 @@
β”‚ β”‚ @ CallNode (location: (131,5)-(131,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (131,5)-(131,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (131,10)-(131,20))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -2918,13 +2918,13 @@
β”‚ β”‚ @ CallNode (location: (132,5)-(132,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (132,5)-(132,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (132,10)-(132,22))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -2944,13 +2944,13 @@
β”‚ β”‚ @ CallNode (location: (133,5)-(133,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (133,5)-(133,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (133,10)-(133,25))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -2970,13 +2970,13 @@
β”‚ β”‚ @ CallNode (location: (134,5)-(134,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (134,5)-(134,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (134,10)-(134,24))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -2996,13 +2996,13 @@
β”‚ β”‚ @ CallNode (location: (135,5)-(135,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (135,5)-(135,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (135,10)-(135,23))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -3023,13 +3023,13 @@
β”‚ β”‚ @ CallNode (location: (136,5)-(136,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (136,5)-(136,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (136,10)-(136,23))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -3049,13 +3049,13 @@
β”‚ β”‚ @ CallNode (location: (137,5)-(137,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (137,5)-(137,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (137,10)-(137,25))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -3075,13 +3075,13 @@
β”‚ β”‚ @ CallNode (location: (138,5)-(138,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (138,5)-(138,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (138,10)-(138,25))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -3106,13 +3106,13 @@
β”‚ β”‚ @ CallNode (location: (139,5)-(139,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (139,5)-(139,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (139,10)-(139,25))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -3137,13 +3137,13 @@
β”‚ β”‚ @ CallNode (location: (140,5)-(140,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (140,5)-(140,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (140,10)-(140,25))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -3169,13 +3169,13 @@
β”‚ β”‚ @ CallNode (location: (141,5)-(141,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (141,5)-(141,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (141,10)-(141,25))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -3201,13 +3201,13 @@
β”‚ β”‚ @ CallNode (location: (142,5)-(142,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (142,5)-(142,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (142,10)-(142,25))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -3228,13 +3228,13 @@
β”‚ β”‚ @ CallNode (location: (143,5)-(143,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (143,5)-(143,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (143,10)-(143,25))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -3255,13 +3255,13 @@
β”‚ β”‚ @ CallNode (location: (144,5)-(144,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (144,5)-(144,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (144,10)-(144,23))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -3282,13 +3282,13 @@
β”‚ β”‚ @ CallNode (location: (145,5)-(145,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (145,5)-(145,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (145,10)-(145,21))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -3304,13 +3304,13 @@
β”‚ β”‚ @ CallNode (location: (146,5)-(146,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (146,5)-(146,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (146,10)-(146,22))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -3326,13 +3326,13 @@
β”‚ β”‚ @ CallNode (location: (147,5)-(147,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (147,5)-(147,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (147,10)-(147,22))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -3348,13 +3348,13 @@
β”‚ β”‚ @ CallNode (location: (148,5)-(148,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (148,5)-(148,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (148,10)-(148,23))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -3370,13 +3370,13 @@
β”‚ β”‚ @ CallNode (location: (149,5)-(149,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (149,5)-(149,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (149,10)-(149,26))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -3393,13 +3393,13 @@
β”‚ β”‚ @ CallNode (location: (150,5)-(150,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (150,5)-(150,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (150,10)-(150,26))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -3415,13 +3415,13 @@
β”‚ β”‚ @ CallNode (location: (151,5)-(151,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (151,5)-(151,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (151,10)-(151,30))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -3437,13 +3437,13 @@
β”‚ β”‚ @ CallNode (location: (152,5)-(152,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (152,5)-(152,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (152,10)-(152,28))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -3470,13 +3470,13 @@
β”‚ β”‚ @ CallNode (location: (154,5)-(154,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (154,5)-(154,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (154,10)-(154,28))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -3506,13 +3506,13 @@
β”‚ β”‚ @ CallNode (location: (155,5)-(155,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (155,5)-(155,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (155,10)-(155,26))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -3541,13 +3541,13 @@
β”‚ β”‚ @ CallNode (location: (156,5)-(156,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (156,5)-(156,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (156,10)-(156,28))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -3575,13 +3575,13 @@
β”‚ β”‚ @ CallNode (location: (157,5)-(157,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (157,5)-(157,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (157,10)-(157,27))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -3612,13 +3612,13 @@
β”‚ β”‚ @ CallNode (location: (158,5)-(158,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (158,5)-(158,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (158,10)-(158,27))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -3649,13 +3649,13 @@
β”‚ β”‚ @ CallNode (location: (159,5)-(159,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (159,5)-(159,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (159,10)-(159,29))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -3687,13 +3687,13 @@
β”‚ β”‚ @ CallNode (location: (160,5)-(160,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (160,5)-(160,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (160,10)-(160,32))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -3725,13 +3725,13 @@
β”‚ β”‚ @ CallNode (location: (161,5)-(161,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (161,5)-(161,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (161,10)-(161,31))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -3763,13 +3763,13 @@
β”‚ β”‚ @ CallNode (location: (162,5)-(162,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (162,5)-(162,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (162,10)-(162,30))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -3802,13 +3802,13 @@
β”‚ β”‚ @ CallNode (location: (163,5)-(163,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (163,5)-(163,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (163,10)-(163,30))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -3840,13 +3840,13 @@
β”‚ β”‚ @ CallNode (location: (164,5)-(164,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (164,5)-(164,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (164,10)-(164,32))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -3878,13 +3878,13 @@
β”‚ β”‚ @ CallNode (location: (165,5)-(165,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (165,5)-(165,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (165,10)-(165,32))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -3921,13 +3921,13 @@
β”‚ β”‚ @ CallNode (location: (166,5)-(166,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (166,5)-(166,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (166,10)-(166,32))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -3964,13 +3964,13 @@
β”‚ β”‚ @ CallNode (location: (167,5)-(167,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (167,5)-(167,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (167,10)-(167,32))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -4008,13 +4008,13 @@
β”‚ β”‚ @ CallNode (location: (168,5)-(168,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (168,5)-(168,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (168,10)-(168,32))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -4052,13 +4052,13 @@
β”‚ β”‚ @ CallNode (location: (169,5)-(169,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (169,5)-(169,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (169,10)-(169,32))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -4091,13 +4091,13 @@
β”‚ β”‚ @ CallNode (location: (170,5)-(170,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (170,5)-(170,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (170,10)-(170,32))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -4130,13 +4130,13 @@
β”‚ β”‚ @ CallNode (location: (171,5)-(171,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (171,5)-(171,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (171,10)-(171,30))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -4169,13 +4169,13 @@
β”‚ β”‚ @ CallNode (location: (172,5)-(172,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (172,5)-(172,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (172,10)-(172,28))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -4203,13 +4203,13 @@
β”‚ β”‚ @ CallNode (location: (173,5)-(173,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (173,5)-(173,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (173,10)-(173,29))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -4237,13 +4237,13 @@
β”‚ β”‚ @ CallNode (location: (174,5)-(174,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (174,5)-(174,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (174,10)-(174,29))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -4271,13 +4271,13 @@
β”‚ β”‚ @ CallNode (location: (175,5)-(175,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (175,5)-(175,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (175,10)-(175,30))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -4305,13 +4305,13 @@
β”‚ β”‚ @ CallNode (location: (176,5)-(176,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (176,5)-(176,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (176,10)-(176,33))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -4340,13 +4340,13 @@
β”‚ β”‚ @ CallNode (location: (177,5)-(177,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (177,5)-(177,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (177,10)-(177,33))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -4374,13 +4374,13 @@
β”‚ β”‚ @ CallNode (location: (178,5)-(178,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (178,5)-(178,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (178,10)-(178,37))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -4408,13 +4408,13 @@
β”‚ β”‚ @ CallNode (location: (179,5)-(179,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (179,5)-(179,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (179,10)-(179,35))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -4456,13 +4456,13 @@
β”‚ β”‚ β”‚ @ CallNode (location: (181,3)-(181,4))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (181,3)-(181,4) = "a"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ β”‚ @ ArrayPatternNode (location: (181,8)-(181,10))
β”‚ β”‚ β”‚ β”œβ”€β”€ constant: βˆ…
@@ -4481,13 +4481,13 @@
β”‚ β”‚ @ CallNode (location: (184,0)-(184,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (184,0)-(184,1) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ ArrayPatternNode (location: (184,5)-(186,1))
β”‚ β”‚ β”œβ”€β”€ constant: βˆ…
@@ -4505,13 +4505,13 @@
β”‚ β”‚ @ CallNode (location: (188,0)-(188,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (188,0)-(188,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ HashPatternNode (location: (188,7)-(192,1))
β”‚ β”‚ β”œβ”€β”€ constant:
@@ -4556,13 +4556,13 @@
β”‚ β”‚ @ CallNode (location: (194,0)-(194,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (194,0)-(194,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ CapturePatternNode (location: (194,7)-(194,17))
β”‚ β”‚ β”œβ”€β”€ value:
@@ -4580,13 +4580,13 @@
β”‚ @ CallNode (location: (195,0)-(195,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (195,0)-(195,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ pattern:
β”‚ @ CapturePatternNode (location: (195,7)-(195,17))
β”‚ β”œβ”€β”€ value:
diff --git a/test/prism/snapshots/procs.txt b/test/prism/snapshots/procs.txt
index c29c39fede..25783cfb34 100644
--- a/test/prism/snapshots/procs.txt
+++ b/test/prism/snapshots/procs.txt
@@ -95,13 +95,13 @@
β”‚ └── @ CallNode (location: (13,5)-(13,8))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (13,5)-(13,8) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ @ LambdaNode (location: (15,0)-(15,15))
β”‚ β”œβ”€β”€ locals: []
β”‚ β”œβ”€β”€ operator_loc: (15,0)-(15,2) = "->"
@@ -114,13 +114,13 @@
β”‚ └── @ CallNode (location: (15,7)-(15,10))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (15,7)-(15,10) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ @ LambdaNode (location: (17,0)-(17,29))
β”‚ β”œβ”€β”€ locals: [:a, :b, :c, :d, :e]
β”‚ β”œβ”€β”€ operator_loc: (17,0)-(17,2) = "->"
@@ -323,6 +323,7 @@
β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ └── depth: 1
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :*
β”‚ β”œβ”€β”€ message_loc: (25,18)-(25,19) = "*"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -334,8 +335,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :*
+ β”‚ └── flags: βˆ…
└── @ LambdaNode (location: (27,0)-(27,19))
β”œβ”€β”€ locals: [:a, :b, :c]
β”œβ”€β”€ operator_loc: (27,0)-(27,2) = "->"
diff --git a/test/prism/snapshots/ranges.txt b/test/prism/snapshots/ranges.txt
index 8b946d5f03..3c7892f29b 100644
--- a/test/prism/snapshots/ranges.txt
+++ b/test/prism/snapshots/ranges.txt
@@ -43,14 +43,15 @@
β”‚ β”‚ @ CallNode (location: (7,0)-(7,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (7,0)-(7,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :[]
β”‚ β”œβ”€β”€ message_loc: (7,3)-(7,9) = "[...2]"
β”‚ β”œβ”€β”€ opening_loc: (7,3)-(7,4) = "["
β”‚ β”œβ”€β”€ arguments:
@@ -66,8 +67,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (7,8)-(7,9) = "]"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :[]
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ HashNode (location: (9,0)-(9,15))
β”‚ β”œβ”€β”€ opening_loc: (9,0)-(9,1) = "{"
β”‚ β”œβ”€β”€ elements: (length: 1)
@@ -85,13 +85,13 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (9,10)-(9,13))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (9,10)-(9,13) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ operator_loc: (9,7)-(9,10) = "..."
β”‚ β”‚ β”‚ └── flags: exclude_end
β”‚ β”‚ └── operator_loc: βˆ…
@@ -135,13 +135,13 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (15,9)-(15,12))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (15,9)-(15,12) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ operator_loc: (15,7)-(15,9) = ".."
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── operator_loc: βˆ…
diff --git a/test/prism/snapshots/regex.txt b/test/prism/snapshots/regex.txt
index 423561ec1c..3b6ed09c53 100644
--- a/test/prism/snapshots/regex.txt
+++ b/test/prism/snapshots/regex.txt
@@ -6,6 +6,7 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(1,9))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -20,8 +21,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ RegularExpressionNode (location: (3,0)-(3,8))
β”‚ β”œβ”€β”€ opening_loc: (3,0)-(3,3) = "%r{"
β”‚ β”œβ”€β”€ content_loc: (3,3)-(3,6) = "abc"
@@ -67,13 +67,13 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (9,7)-(9,10))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bbb
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (9,7)-(9,10) = "bbb"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bbb
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── closing_loc: (9,10)-(9,11) = "}"
β”‚ β”‚ └── @ StringNode (location: (9,11)-(9,15))
β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
@@ -96,6 +96,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ unescaped: "(?<foo>bar)"
β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :=~
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (11,15)-(11,17) = "=~"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -104,18 +105,17 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (11,18)-(11,21))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (11,18)-(11,21) = "baz"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :=~
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── targets: (length: 1)
β”‚ β”‚ β”‚ └── @ LocalVariableTargetNode (location: (11,5)-(11,8))
β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
@@ -165,6 +165,7 @@
β”‚ β”‚ β”œβ”€β”€ unescaped: "(?#\\))"
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :=~
β”‚ β”œβ”€β”€ message_loc: (26,9)-(26,11) = "=~"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -179,8 +180,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :=~
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ RegularExpressionNode (location: (28,0)-(28,9))
β”‚ β”œβ”€β”€ opening_loc: (28,0)-(28,3) = "%r#"
β”‚ β”œβ”€β”€ content_loc: (28,3)-(28,8) = "pound"
@@ -204,13 +204,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (30,7)-(30,10))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bbb
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (30,7)-(30,10) = "bbb"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bbb
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── closing_loc: (30,10)-(30,11) = "}"
β”‚ β”œβ”€β”€ closing_loc: (30,11)-(30,13) = "/o"
β”‚ └── flags: once
@@ -225,6 +225,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ unescaped: "(?<ab>)"
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :=~
β”‚ β”‚ β”œβ”€β”€ message_loc: (33,5)-(33,7) = "=~"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -239,8 +240,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :=~
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── targets: (length: 1)
β”‚ └── @ LocalVariableTargetNode (location: (32,0)-(33,4))
β”‚ β”œβ”€β”€ name: :ab
@@ -259,6 +259,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ unescaped: "(?<abc>)(?<abc>)"
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :=~
β”‚ β”‚ β”œβ”€β”€ message_loc: (35,19)-(35,21) = "=~"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -273,8 +274,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :=~
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── targets: (length: 1)
β”‚ └── @ LocalVariableTargetNode (location: (35,4)-(35,7))
β”‚ β”œβ”€β”€ name: :abc
@@ -291,6 +291,7 @@
β”‚ β”‚ β”œβ”€β”€ unescaped: "(?<a b>)"
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :=~
β”‚ β”œβ”€β”€ message_loc: (37,11)-(37,13) = "=~"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -305,8 +306,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :=~
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ LocalVariableWriteNode (location: (39,0)-(39,5))
β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ depth: 0
@@ -318,6 +318,7 @@
└── @ CallNode (location: (40,0)-(40,24))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :tap
β”œβ”€β”€ message_loc: (40,0)-(40,3) = "tap"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -340,6 +341,7 @@
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ unescaped: "(?<a>)"
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :=~
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (40,15)-(40,17) = "=~"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -348,23 +350,21 @@
β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (40,18)-(40,22))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :to_s
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (40,18)-(40,22) = "to_s"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :to_s
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :=~
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── targets: (length: 1)
β”‚ β”‚ └── @ LocalVariableTargetNode (location: (40,10)-(40,11))
β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ └── depth: 1
β”‚ β”œβ”€β”€ opening_loc: (40,4)-(40,5) = "{"
β”‚ └── closing_loc: (40,23)-(40,24) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :tap
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/rescue.txt b/test/prism/snapshots/rescue.txt
index be4116717b..4537d911cf 100644
--- a/test/prism/snapshots/rescue.txt
+++ b/test/prism/snapshots/rescue.txt
@@ -8,13 +8,13 @@
β”‚ β”‚ @ CallNode (location: (1,0)-(1,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ keyword_loc: (1,4)-(1,10) = "rescue"
β”‚ └── rescue_expression:
β”‚ @ NilNode (location: (1,11)-(1,14))
@@ -23,13 +23,13 @@
β”‚ β”‚ @ CallNode (location: (3,0)-(3,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,0)-(3,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ keyword_loc: (3,4)-(3,10) = "rescue"
β”‚ └── rescue_expression:
β”‚ @ NilNode (location: (4,0)-(4,3))
@@ -62,13 +62,13 @@
β”‚ β”‚ @ CallNode (location: (12,0)-(12,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (12,0)-(12,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ keyword_loc: (12,4)-(12,10) = "rescue"
β”‚ └── rescue_expression:
β”‚ @ OrNode (location: (12,11)-(12,19))
@@ -83,13 +83,13 @@
β”‚ β”‚ @ CallNode (location: (14,0)-(14,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (14,0)-(14,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ keyword_loc: (14,4)-(14,10) = "rescue"
β”‚ └── rescue_expression:
β”‚ @ IfNode (location: (14,11)-(14,22))
@@ -120,13 +120,13 @@
β”‚ β”‚ └── @ CallNode (location: (16,7)-(16,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (16,7)-(16,8) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ rescue_clause:
β”‚ β”‚ @ RescueNode (location: (16,10)-(16,19))
β”‚ β”‚ β”œβ”€β”€ keyword_loc: (16,10)-(16,16) = "rescue"
@@ -137,13 +137,13 @@
β”‚ β”‚ β”‚ @ CallNode (location: (16,18)-(16,19))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (16,18)-(16,19) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ operator_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ reference: βˆ…
β”‚ β”‚ β”œβ”€β”€ statements: βˆ…
@@ -154,6 +154,7 @@
β”œβ”€β”€ @ CallNode (location: (18,0)-(20,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (18,0)-(18,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -185,6 +186,7 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (19,2)-(19,8))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (19,2)-(19,5) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (19,5)-(19,6) = "("
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -193,23 +195,23 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (19,6)-(19,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :y
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (19,6)-(19,7) = "y"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :y
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (19,7)-(19,8) = ")"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ keyword_loc: (19,9)-(19,15) = "rescue"
β”‚ β”‚ β”‚ └── rescue_expression:
β”‚ β”‚ β”‚ @ CallNode (location: (19,16)-(19,40))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :ArgumentError
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (19,16)-(19,29) = "ArgumentError"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -218,6 +220,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (19,30)-(19,40))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :fail
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (19,30)-(19,34) = "fail"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -232,17 +235,14 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :fail
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :ArgumentError
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (18,4)-(18,6) = "do"
β”‚ β”‚ └── closing_loc: (20,0)-(20,3) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ IfNode (location: (22,0)-(24,3))
β”‚ β”œβ”€β”€ if_keyword_loc: (22,0)-(22,2) = "if"
β”‚ β”œβ”€β”€ predicate:
@@ -256,13 +256,13 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (22,7)-(22,10))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (22,7)-(22,10) = "foo"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ keyword_loc: (22,11)-(22,17) = "rescue"
β”‚ β”‚ β”‚ └── rescue_expression:
β”‚ β”‚ β”‚ @ NilNode (location: (22,18)-(22,21))
@@ -274,13 +274,13 @@
β”‚ β”‚ └── @ CallNode (location: (23,2)-(23,5))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (23,2)-(23,5) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ consequent: βˆ…
β”‚ └── end_keyword_loc: (24,0)-(24,3) = "end"
β”œβ”€β”€ @ DefNode (location: (26,0)-(26,44))
@@ -296,6 +296,7 @@
β”‚ β”‚ β”‚ @ CallNode (location: (26,18)-(26,33))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :other_method
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (26,18)-(26,30) = "other_method"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -306,8 +307,7 @@
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :other_method
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ keyword_loc: (26,34)-(26,40) = "rescue"
β”‚ β”‚ └── rescue_expression:
β”‚ β”‚ @ NilNode (location: (26,41)-(26,44))
@@ -332,6 +332,7 @@
β”‚ β”‚ └── @ CallNode (location: (29,2)-(29,6))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (29,2)-(29,3) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -352,19 +353,18 @@
β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (29,4)-(29,6))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (29,4)-(29,5) = "b"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ └── operator_loc: βˆ…
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ rescue_clause:
β”‚ β”‚ @ RescueNode (location: (30,0)-(30,6))
β”‚ β”‚ β”œβ”€β”€ keyword_loc: (30,0)-(30,6) = "rescue"
diff --git a/test/prism/snapshots/seattlerb/TestRubyParserShared.txt b/test/prism/snapshots/seattlerb/TestRubyParserShared.txt
index eca0337ab7..aa8ee4dfcd 100644
--- a/test/prism/snapshots/seattlerb/TestRubyParserShared.txt
+++ b/test/prism/snapshots/seattlerb/TestRubyParserShared.txt
@@ -146,6 +146,7 @@
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”‚ └── depth: 0
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :+
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (54,6)-(54,7) = "+"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -157,8 +158,7 @@
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :+
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ locals: [:a, :b]
β”‚ β”‚ β”œβ”€β”€ def_keyword_loc: (52,2)-(52,5) = "def"
β”‚ β”‚ β”œβ”€β”€ operator_loc: (52,10)-(52,11) = "."
@@ -238,6 +238,7 @@
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”‚ └── depth: 0
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :+
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (69,6)-(69,7) = "+"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -249,8 +250,7 @@
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :+
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ locals: [:a, :b]
β”‚ β”‚ β”œβ”€β”€ def_keyword_loc: (67,2)-(67,5) = "def"
β”‚ β”‚ β”œβ”€β”€ operator_loc: βˆ…
@@ -323,6 +323,7 @@
└── @ CallNode (location: (89,0)-(92,1))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :x
β”œβ”€β”€ message_loc: (89,0)-(89,1) = "x"
β”œβ”€β”€ opening_loc: (89,1)-(89,2) = "("
β”œβ”€β”€ arguments:
@@ -341,5 +342,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (92,0)-(92,1) = ")"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :x
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/and_multi.txt b/test/prism/snapshots/seattlerb/and_multi.txt
index 890b6ec2fc..ab73ffd076 100644
--- a/test/prism/snapshots/seattlerb/and_multi.txt
+++ b/test/prism/snapshots/seattlerb/and_multi.txt
@@ -13,13 +13,13 @@
β”‚ β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ β”‚ @ FalseNode (location: (2,4)-(2,9))
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :!
β”‚ β”‚ β”œβ”€β”€ message_loc: (2,0)-(2,3) = "not"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :!
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── operator_loc: (1,5)-(1,8) = "and"
β”œβ”€β”€ right:
β”‚ @ TrueNode (location: (3,0)-(3,4))
diff --git a/test/prism/snapshots/seattlerb/array_lits_trailing_calls.txt b/test/prism/snapshots/seattlerb/array_lits_trailing_calls.txt
index efac4a2c35..f67eb1fc16 100644
--- a/test/prism/snapshots/seattlerb/array_lits_trailing_calls.txt
+++ b/test/prism/snapshots/seattlerb/array_lits_trailing_calls.txt
@@ -11,13 +11,13 @@
β”‚ β”‚ β”œβ”€β”€ closing_loc: (1,3)-(1,4) = "]"
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: (1,4)-(1,5) = "."
+ β”‚ β”œβ”€β”€ name: :b
β”‚ β”œβ”€β”€ message_loc: (1,5)-(1,6) = "b"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :b
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (3,0)-(3,4))
β”œβ”€β”€ receiver:
β”‚ @ ArrayNode (location: (3,0)-(3,2))
@@ -26,10 +26,10 @@
β”‚ β”œβ”€β”€ closing_loc: (3,1)-(3,2) = "]"
β”‚ └── flags: βˆ…
β”œβ”€β”€ call_operator_loc: (3,2)-(3,3) = "."
+ β”œβ”€β”€ name: :b
β”œβ”€β”€ message_loc: (3,3)-(3,4) = "b"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :b
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/assoc__bare.txt b/test/prism/snapshots/seattlerb/assoc__bare.txt
index d79ccd8ceb..b5b3bc5f25 100644
--- a/test/prism/snapshots/seattlerb/assoc__bare.txt
+++ b/test/prism/snapshots/seattlerb/assoc__bare.txt
@@ -19,12 +19,12 @@
β”‚ β”‚ @ CallNode (location: (1,2)-(1,4))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :y
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,2)-(1,3) = "y"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :y
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── operator_loc: βˆ…
└── closing_loc: (1,5)-(1,6) = "}"
diff --git a/test/prism/snapshots/seattlerb/assoc_label.txt b/test/prism/snapshots/seattlerb/assoc_label.txt
index 591918a898..6f79b2ca25 100644
--- a/test/prism/snapshots/seattlerb/assoc_label.txt
+++ b/test/prism/snapshots/seattlerb/assoc_label.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,6))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :a
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”œβ”€β”€ opening_loc: (1,1)-(1,2) = "("
β”œβ”€β”€ arguments:
@@ -27,5 +28,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (1,5)-(1,6) = ")"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :a
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/attr_asgn_colon_id.txt b/test/prism/snapshots/seattlerb/attr_asgn_colon_id.txt
index f7a25fa4c6..43e32673c2 100644
--- a/test/prism/snapshots/seattlerb/attr_asgn_colon_id.txt
+++ b/test/prism/snapshots/seattlerb/attr_asgn_colon_id.txt
@@ -8,6 +8,7 @@
β”‚ @ ConstantReadNode (location: (1,0)-(1,1))
β”‚ └── name: :A
β”œβ”€β”€ call_operator_loc: (1,1)-(1,3) = "::"
+ β”œβ”€β”€ name: :b=
β”œβ”€β”€ message_loc: (1,3)-(1,4) = "b"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -18,5 +19,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :b=
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/attrasgn_array_arg.txt b/test/prism/snapshots/seattlerb/attrasgn_array_arg.txt
index 76bde4c1c8..89650b8d09 100644
--- a/test/prism/snapshots/seattlerb/attrasgn_array_arg.txt
+++ b/test/prism/snapshots/seattlerb/attrasgn_array_arg.txt
@@ -8,14 +8,15 @@
β”‚ @ CallNode (location: (1,0)-(1,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :[]=
β”œβ”€β”€ message_loc: (1,1)-(1,9) = "[[1, 2]]"
β”œβ”€β”€ opening_loc: (1,1)-(1,2) = "["
β”œβ”€β”€ arguments:
@@ -35,5 +36,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (1,8)-(1,9) = "]"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :[]=
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/attrasgn_array_lhs.txt b/test/prism/snapshots/seattlerb/attrasgn_array_lhs.txt
index 5473cba1f7..995f191a37 100644
--- a/test/prism/snapshots/seattlerb/attrasgn_array_lhs.txt
+++ b/test/prism/snapshots/seattlerb/attrasgn_array_lhs.txt
@@ -19,6 +19,7 @@
β”‚ β”œβ”€β”€ closing_loc: (1,11)-(1,12) = "]"
β”‚ └── flags: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :[]=
β”œβ”€β”€ message_loc: (1,12)-(1,24) = "[from .. to]"
β”œβ”€β”€ opening_loc: (1,12)-(1,13) = "["
β”œβ”€β”€ arguments:
@@ -29,24 +30,24 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (1,13)-(1,17))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :from
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,13)-(1,17) = "from"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :from
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ right:
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (1,21)-(1,23))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :to
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,21)-(1,23) = "to"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :to
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ operator_loc: (1,18)-(1,20) = ".."
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── @ ArrayNode (location: (1,27)-(1,42))
@@ -75,5 +76,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (1,23)-(1,24) = "]"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :[]=
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/attrasgn_primary_dot_constant.txt b/test/prism/snapshots/seattlerb/attrasgn_primary_dot_constant.txt
index df216d9248..00777ecff4 100644
--- a/test/prism/snapshots/seattlerb/attrasgn_primary_dot_constant.txt
+++ b/test/prism/snapshots/seattlerb/attrasgn_primary_dot_constant.txt
@@ -8,14 +8,15 @@
β”‚ @ CallNode (location: (1,0)-(1,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: (1,1)-(1,2) = "."
+ β”œβ”€β”€ name: :B=
β”œβ”€β”€ message_loc: (1,2)-(1,3) = "B"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -26,5 +27,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :B=
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/backticks_interpolation_line.txt b/test/prism/snapshots/seattlerb/backticks_interpolation_line.txt
index 40734d9f86..dd6dac632d 100644
--- a/test/prism/snapshots/seattlerb/backticks_interpolation_line.txt
+++ b/test/prism/snapshots/seattlerb/backticks_interpolation_line.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,8))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :x
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "x"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -22,17 +23,16 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (1,5)-(1,6))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :y
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,5)-(1,6) = "y"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :y
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── closing_loc: (1,6)-(1,7) = "}"
β”‚ β”‚ └── closing_loc: (1,7)-(1,8) = "`"
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :x
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/bang_eq.txt b/test/prism/snapshots/seattlerb/bang_eq.txt
index be17b76bcf..cdf6b0407f 100644
--- a/test/prism/snapshots/seattlerb/bang_eq.txt
+++ b/test/prism/snapshots/seattlerb/bang_eq.txt
@@ -8,6 +8,7 @@
β”‚ @ IntegerNode (location: (1,0)-(1,1))
β”‚ └── flags: decimal
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :!=
β”œβ”€β”€ message_loc: (1,2)-(1,4) = "!="
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -18,5 +19,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :!=
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/bdot2.txt b/test/prism/snapshots/seattlerb/bdot2.txt
index d2a2ade122..d4563230d7 100644
--- a/test/prism/snapshots/seattlerb/bdot2.txt
+++ b/test/prism/snapshots/seattlerb/bdot2.txt
@@ -16,22 +16,22 @@
β”‚ β”‚ @ CallNode (location: (2,4)-(2,5))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (2,4)-(2,5) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ operator_loc: (2,2)-(2,4) = ".."
β”‚ └── flags: βˆ…
└── @ CallNode (location: (3,2)-(3,3))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :c
β”œβ”€β”€ message_loc: (3,2)-(3,3) = "c"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: variable_call
- └── name: :c
+ └── flags: variable_call
diff --git a/test/prism/snapshots/seattlerb/bdot3.txt b/test/prism/snapshots/seattlerb/bdot3.txt
index 29e5cc914b..efbea91913 100644
--- a/test/prism/snapshots/seattlerb/bdot3.txt
+++ b/test/prism/snapshots/seattlerb/bdot3.txt
@@ -16,22 +16,22 @@
β”‚ β”‚ @ CallNode (location: (2,5)-(2,6))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (2,5)-(2,6) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ operator_loc: (2,2)-(2,5) = "..."
β”‚ └── flags: exclude_end
└── @ CallNode (location: (3,2)-(3,3))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :c
β”œβ”€β”€ message_loc: (3,2)-(3,3) = "c"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: variable_call
- └── name: :c
+ └── flags: variable_call
diff --git a/test/prism/snapshots/seattlerb/block_arg_kwsplat.txt b/test/prism/snapshots/seattlerb/block_arg_kwsplat.txt
index 04c1d508ad..054e43754a 100644
--- a/test/prism/snapshots/seattlerb/block_arg_kwsplat.txt
+++ b/test/prism/snapshots/seattlerb/block_arg_kwsplat.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,11))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :a
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -34,5 +35,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,10)-(1,11) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :a
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/block_arg_opt_arg_block.txt b/test/prism/snapshots/seattlerb/block_arg_opt_arg_block.txt
index 37cbf99478..2731158862 100644
--- a/test/prism/snapshots/seattlerb/block_arg_opt_arg_block.txt
+++ b/test/prism/snapshots/seattlerb/block_arg_opt_arg_block.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,21))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :a
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -45,5 +46,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,20)-(1,21) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :a
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/block_arg_opt_splat.txt b/test/prism/snapshots/seattlerb/block_arg_opt_splat.txt
index 2d82140cd5..94b9fa4f01 100644
--- a/test/prism/snapshots/seattlerb/block_arg_opt_splat.txt
+++ b/test/prism/snapshots/seattlerb/block_arg_opt_splat.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,20))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :a
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -43,5 +44,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,19)-(1,20) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :a
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/block_arg_opt_splat_arg_block_omfg.txt b/test/prism/snapshots/seattlerb/block_arg_opt_splat_arg_block_omfg.txt
index 28203c6d71..5e362a1019 100644
--- a/test/prism/snapshots/seattlerb/block_arg_opt_splat_arg_block_omfg.txt
+++ b/test/prism/snapshots/seattlerb/block_arg_opt_splat_arg_block_omfg.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,25))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :a
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -49,5 +50,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,24)-(1,25) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :a
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/block_arg_optional.txt b/test/prism/snapshots/seattlerb/block_arg_optional.txt
index 9201d959c1..f95c7aebaa 100644
--- a/test/prism/snapshots/seattlerb/block_arg_optional.txt
+++ b/test/prism/snapshots/seattlerb/block_arg_optional.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,13))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :a
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -37,5 +38,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,12)-(1,13) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :a
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/block_arg_scope.txt b/test/prism/snapshots/seattlerb/block_arg_scope.txt
index 3d08f4e427..1c060378ca 100644
--- a/test/prism/snapshots/seattlerb/block_arg_scope.txt
+++ b/test/prism/snapshots/seattlerb/block_arg_scope.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,12))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :a
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -34,5 +35,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,11)-(1,12) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :a
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/block_arg_scope2.txt b/test/prism/snapshots/seattlerb/block_arg_scope2.txt
index 2f7d2a94af..9d8da491ec 100644
--- a/test/prism/snapshots/seattlerb/block_arg_scope2.txt
+++ b/test/prism/snapshots/seattlerb/block_arg_scope2.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,14))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :a
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -36,5 +37,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,13)-(1,14) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :a
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/block_arg_splat_arg.txt b/test/prism/snapshots/seattlerb/block_arg_splat_arg.txt
index 6af84e9d10..aad8a88607 100644
--- a/test/prism/snapshots/seattlerb/block_arg_splat_arg.txt
+++ b/test/prism/snapshots/seattlerb/block_arg_splat_arg.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,16))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :a
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -38,5 +39,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,15)-(1,16) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :a
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/block_args_kwargs.txt b/test/prism/snapshots/seattlerb/block_args_kwargs.txt
index 655dd6d3f8..484c64bc36 100644
--- a/test/prism/snapshots/seattlerb/block_args_kwargs.txt
+++ b/test/prism/snapshots/seattlerb/block_args_kwargs.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,23))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -39,5 +40,4 @@
β”‚ β”‚ └── depth: 0
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,22)-(1,23) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/block_args_no_kwargs.txt b/test/prism/snapshots/seattlerb/block_args_no_kwargs.txt
index 00f95ff5f5..bec50cfb2a 100644
--- a/test/prism/snapshots/seattlerb/block_args_no_kwargs.txt
+++ b/test/prism/snapshots/seattlerb/block_args_no_kwargs.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,13))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -33,5 +34,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,12)-(1,13) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/block_args_opt1.txt b/test/prism/snapshots/seattlerb/block_args_opt1.txt
index 6354f31d19..c2cfae78c8 100644
--- a/test/prism/snapshots/seattlerb/block_args_opt1.txt
+++ b/test/prism/snapshots/seattlerb/block_args_opt1.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,24))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -52,5 +53,4 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,23)-(1,24) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/block_args_opt2.txt b/test/prism/snapshots/seattlerb/block_args_opt2.txt
index 41835cd47e..1ec66cb9fa 100644
--- a/test/prism/snapshots/seattlerb/block_args_opt2.txt
+++ b/test/prism/snapshots/seattlerb/block_args_opt2.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,18))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :a
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -44,5 +45,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,17)-(1,18) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :a
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/block_args_opt2_2.txt b/test/prism/snapshots/seattlerb/block_args_opt2_2.txt
index 6b1546f4ee..e6722c5e65 100644
--- a/test/prism/snapshots/seattlerb/block_args_opt2_2.txt
+++ b/test/prism/snapshots/seattlerb/block_args_opt2_2.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,35))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -62,5 +63,4 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,34)-(1,35) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/block_args_opt3.txt b/test/prism/snapshots/seattlerb/block_args_opt3.txt
index 1090ffe277..0cdfa0bf8e 100644
--- a/test/prism/snapshots/seattlerb/block_args_opt3.txt
+++ b/test/prism/snapshots/seattlerb/block_args_opt3.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,42))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -69,5 +70,4 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,41)-(1,42) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/block_break.txt b/test/prism/snapshots/seattlerb/block_break.txt
index 2d541244d8..9187ab3524 100644
--- a/test/prism/snapshots/seattlerb/block_break.txt
+++ b/test/prism/snapshots/seattlerb/block_break.txt
@@ -10,6 +10,7 @@
β”‚ β”‚ └── @ CallNode (location: (1,6)-(1,26))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,6)-(1,9) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -18,13 +19,13 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (1,10)-(1,13))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :arg
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,10)-(1,13) = "arg"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :arg
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block:
@@ -49,7 +50,6 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,14)-(1,16) = "do"
β”‚ β”‚ β”‚ └── closing_loc: (1,23)-(1,26) = "end"
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── flags: βˆ…
└── keyword_loc: (1,0)-(1,5) = "break"
diff --git a/test/prism/snapshots/seattlerb/block_call_defn_call_block_call.txt b/test/prism/snapshots/seattlerb/block_call_defn_call_block_call.txt
index 1f809d456f..9a6ac52537 100644
--- a/test/prism/snapshots/seattlerb/block_call_defn_call_block_call.txt
+++ b/test/prism/snapshots/seattlerb/block_call_defn_call_block_call.txt
@@ -6,6 +6,7 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(3,4))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -32,13 +33,13 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (2,1)-(2,2))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (2,1)-(2,2) = "d"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ locals: [:c]
β”‚ β”‚ β”‚ β”œβ”€β”€ def_keyword_loc: (1,2)-(1,5) = "def"
β”‚ β”‚ β”‚ β”œβ”€β”€ operator_loc: βˆ…
@@ -49,21 +50,21 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (4,1)-(4,11))
β”œβ”€β”€ receiver:
β”‚ @ CallNode (location: (4,1)-(4,2))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :e
β”‚ β”œβ”€β”€ message_loc: (4,1)-(4,2) = "e"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :e
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: (4,2)-(4,3) = "."
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (4,3)-(4,4) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -75,5 +76,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (4,5)-(4,7) = "do"
β”‚ └── closing_loc: (4,8)-(4,11) = "end"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/block_call_dot_op2_brace_block.txt b/test/prism/snapshots/seattlerb/block_call_dot_op2_brace_block.txt
index 7a4d112572..981b56eed5 100644
--- a/test/prism/snapshots/seattlerb/block_call_dot_op2_brace_block.txt
+++ b/test/prism/snapshots/seattlerb/block_call_dot_op2_brace_block.txt
@@ -10,14 +10,15 @@
β”‚ β”‚ @ CallNode (location: (1,0)-(1,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (1,1)-(1,2) = "."
+ β”‚ β”œβ”€β”€ name: :b
β”‚ β”œβ”€β”€ message_loc: (1,2)-(1,3) = "b"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -26,13 +27,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (1,4)-(1,7))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,5) = "c"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,5)-(1,6) = "("
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (1,6)-(1,7) = ")"
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block:
@@ -45,18 +46,18 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (1,11)-(1,12))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,11)-(1,12) = "d"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,8)-(1,10) = "do"
β”‚ β”‚ └── closing_loc: (1,13)-(1,16) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :b
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ call_operator_loc: (1,16)-(1,17) = "."
+ β”œβ”€β”€ name: :e
β”œβ”€β”€ message_loc: (1,17)-(1,18) = "e"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -86,14 +87,13 @@
β”‚ β”‚ └── @ CallNode (location: (1,26)-(1,27))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :g
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,26)-(1,27) = "g"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :g
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ opening_loc: (1,19)-(1,21) = "do"
β”‚ └── closing_loc: (1,28)-(1,31) = "end"
- β”œβ”€β”€ flags: βˆ…
- └── name: :e
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/block_call_dot_op2_cmd_args_do_block.txt b/test/prism/snapshots/seattlerb/block_call_dot_op2_cmd_args_do_block.txt
index 6b05ca7a4f..92a264fff3 100644
--- a/test/prism/snapshots/seattlerb/block_call_dot_op2_cmd_args_do_block.txt
+++ b/test/prism/snapshots/seattlerb/block_call_dot_op2_cmd_args_do_block.txt
@@ -10,14 +10,15 @@
β”‚ β”‚ @ CallNode (location: (1,0)-(1,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (1,1)-(1,2) = "."
+ β”‚ β”œβ”€β”€ name: :b
β”‚ β”œβ”€β”€ message_loc: (1,2)-(1,3) = "b"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -26,13 +27,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (1,4)-(1,7))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,5) = "c"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,5)-(1,6) = "("
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (1,6)-(1,7) = ")"
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block:
@@ -45,18 +46,18 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (1,11)-(1,12))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,11)-(1,12) = "d"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,8)-(1,10) = "do"
β”‚ β”‚ └── closing_loc: (1,13)-(1,16) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :b
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ call_operator_loc: (1,16)-(1,17) = "."
+ β”œβ”€β”€ name: :e
β”œβ”€β”€ message_loc: (1,17)-(1,18) = "e"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -65,13 +66,13 @@
β”‚ β”‚ └── @ CallNode (location: (1,19)-(1,20))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :f
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,19)-(1,20) = "f"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :f
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block:
@@ -99,14 +100,13 @@
β”‚ β”‚ └── @ CallNode (location: (1,28)-(1,29))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :h
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,28)-(1,29) = "h"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :h
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ opening_loc: (1,21)-(1,23) = "do"
β”‚ └── closing_loc: (1,30)-(1,33) = "end"
- β”œβ”€β”€ flags: βˆ…
- └── name: :e
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/block_call_operation_colon.txt b/test/prism/snapshots/seattlerb/block_call_operation_colon.txt
index 6fd0dcab05..35029c74c3 100644
--- a/test/prism/snapshots/seattlerb/block_call_operation_colon.txt
+++ b/test/prism/snapshots/seattlerb/block_call_operation_colon.txt
@@ -10,14 +10,15 @@
β”‚ β”‚ @ CallNode (location: (1,0)-(1,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (1,1)-(1,2) = "."
+ β”‚ β”œβ”€β”€ name: :b
β”‚ β”œβ”€β”€ message_loc: (1,2)-(1,3) = "b"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -26,13 +27,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (1,4)-(1,5))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,5) = "c"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block:
@@ -42,13 +43,12 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,6)-(1,8) = "do"
β”‚ β”‚ └── closing_loc: (1,9)-(1,12) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :b
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ call_operator_loc: (1,12)-(1,14) = "::"
+ β”œβ”€β”€ name: :d
β”œβ”€β”€ message_loc: (1,14)-(1,15) = "d"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :d
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/block_call_operation_dot.txt b/test/prism/snapshots/seattlerb/block_call_operation_dot.txt
index 6560463c4d..85ad62fca7 100644
--- a/test/prism/snapshots/seattlerb/block_call_operation_dot.txt
+++ b/test/prism/snapshots/seattlerb/block_call_operation_dot.txt
@@ -10,14 +10,15 @@
β”‚ β”‚ @ CallNode (location: (1,0)-(1,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (1,1)-(1,2) = "."
+ β”‚ β”œβ”€β”€ name: :b
β”‚ β”œβ”€β”€ message_loc: (1,2)-(1,3) = "b"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -26,13 +27,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (1,4)-(1,5))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,5) = "c"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block:
@@ -42,13 +43,12 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,6)-(1,8) = "do"
β”‚ β”‚ └── closing_loc: (1,9)-(1,12) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :b
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ call_operator_loc: (1,12)-(1,13) = "."
+ β”œβ”€β”€ name: :d
β”œβ”€β”€ message_loc: (1,13)-(1,14) = "d"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :d
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/block_call_paren_call_block_call.txt b/test/prism/snapshots/seattlerb/block_call_paren_call_block_call.txt
index c9d3f2e336..08adde5fd8 100644
--- a/test/prism/snapshots/seattlerb/block_call_paren_call_block_call.txt
+++ b/test/prism/snapshots/seattlerb/block_call_paren_call_block_call.txt
@@ -6,6 +6,7 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(1,5))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -18,33 +19,33 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (1,3)-(1,4))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,3)-(1,4) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "("
β”‚ β”‚ β”‚ └── closing_loc: (1,4)-(1,5) = ")"
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (2,0)-(2,10))
β”œβ”€β”€ receiver:
β”‚ @ CallNode (location: (2,0)-(2,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :c
β”‚ β”œβ”€β”€ message_loc: (2,0)-(2,1) = "c"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :c
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: (2,1)-(2,2) = "."
+ β”œβ”€β”€ name: :d
β”œβ”€β”€ message_loc: (2,2)-(2,3) = "d"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -56,5 +57,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (2,4)-(2,6) = "do"
β”‚ └── closing_loc: (2,7)-(2,10) = "end"
- β”œβ”€β”€ flags: βˆ…
- └── name: :d
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/block_command_operation_colon.txt b/test/prism/snapshots/seattlerb/block_command_operation_colon.txt
index 259e2580db..5537ba25a7 100644
--- a/test/prism/snapshots/seattlerb/block_command_operation_colon.txt
+++ b/test/prism/snapshots/seattlerb/block_command_operation_colon.txt
@@ -8,6 +8,7 @@
β”‚ @ CallNode (location: (1,0)-(1,11))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -27,9 +28,9 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,5)-(1,7) = "do"
β”‚ β”‚ └── closing_loc: (1,8)-(1,11) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ call_operator_loc: (1,11)-(1,13) = "::"
+ β”œβ”€β”€ name: :c
β”œβ”€β”€ message_loc: (1,13)-(1,14) = "c"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -43,5 +44,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :c
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/block_command_operation_dot.txt b/test/prism/snapshots/seattlerb/block_command_operation_dot.txt
index 1047b99a4a..13589d2262 100644
--- a/test/prism/snapshots/seattlerb/block_command_operation_dot.txt
+++ b/test/prism/snapshots/seattlerb/block_command_operation_dot.txt
@@ -8,6 +8,7 @@
β”‚ @ CallNode (location: (1,0)-(1,11))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -27,9 +28,9 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,5)-(1,7) = "do"
β”‚ β”‚ └── closing_loc: (1,8)-(1,11) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ call_operator_loc: (1,11)-(1,12) = "."
+ β”œβ”€β”€ name: :c
β”œβ”€β”€ message_loc: (1,12)-(1,13) = "c"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -43,5 +44,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :c
+ └── flags: βˆ…
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 671e3c4ee5..f50df15dc7 100644
--- a/test/prism/snapshots/seattlerb/block_decomp_anon_splat_arg.txt
+++ b/test/prism/snapshots/seattlerb/block_decomp_anon_splat_arg.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,14))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -41,5 +42,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,13)-(1,14) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/block_decomp_arg_splat.txt b/test/prism/snapshots/seattlerb/block_decomp_arg_splat.txt
index ce92bd6a2e..74a3902c1a 100644
--- a/test/prism/snapshots/seattlerb/block_decomp_arg_splat.txt
+++ b/test/prism/snapshots/seattlerb/block_decomp_arg_splat.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,14))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :a
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -41,5 +42,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,13)-(1,14) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :a
+ └── flags: βˆ…
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 67439e5e53..caeda850b0 100644
--- a/test/prism/snapshots/seattlerb/block_decomp_arg_splat_arg.txt
+++ b/test/prism/snapshots/seattlerb/block_decomp_arg_splat_arg.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,18))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -45,5 +46,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,17)-(1,18) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/block_decomp_splat.txt b/test/prism/snapshots/seattlerb/block_decomp_splat.txt
index 5de498cac9..4335b5f4ac 100644
--- a/test/prism/snapshots/seattlerb/block_decomp_splat.txt
+++ b/test/prism/snapshots/seattlerb/block_decomp_splat.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,12))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -41,5 +42,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,11)-(1,12) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/block_kw.txt b/test/prism/snapshots/seattlerb/block_kw.txt
index 629a88080c..1ace3d9389 100644
--- a/test/prism/snapshots/seattlerb/block_kw.txt
+++ b/test/prism/snapshots/seattlerb/block_kw.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,15))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :blah
β”œβ”€β”€ message_loc: (1,0)-(1,4) = "blah"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -36,5 +37,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,5)-(1,6) = "{"
β”‚ └── closing_loc: (1,14)-(1,15) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :blah
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/block_kw__required.txt b/test/prism/snapshots/seattlerb/block_kw__required.txt
index 10ae4f5afb..f1b40925fe 100644
--- a/test/prism/snapshots/seattlerb/block_kw__required.txt
+++ b/test/prism/snapshots/seattlerb/block_kw__required.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,16))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :blah
β”œβ”€β”€ message_loc: (1,0)-(1,4) = "blah"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -33,5 +34,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,5)-(1,7) = "do"
β”‚ └── closing_loc: (1,13)-(1,16) = "end"
- β”œβ”€β”€ flags: βˆ…
- └── name: :blah
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/block_kwarg_lvar.txt b/test/prism/snapshots/seattlerb/block_kwarg_lvar.txt
index 8325437072..ce495a7a7e 100644
--- a/test/prism/snapshots/seattlerb/block_kwarg_lvar.txt
+++ b/test/prism/snapshots/seattlerb/block_kwarg_lvar.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,20))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :bl
β”œβ”€β”€ message_loc: (1,0)-(1,2) = "bl"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -44,5 +45,4 @@
β”‚ β”‚ └── depth: 0
β”‚ β”œβ”€β”€ opening_loc: (1,3)-(1,4) = "{"
β”‚ └── closing_loc: (1,19)-(1,20) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :bl
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/block_kwarg_lvar_multiple.txt b/test/prism/snapshots/seattlerb/block_kwarg_lvar_multiple.txt
index 9c9d0853ff..3bf3b252f1 100644
--- a/test/prism/snapshots/seattlerb/block_kwarg_lvar_multiple.txt
+++ b/test/prism/snapshots/seattlerb/block_kwarg_lvar_multiple.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,33))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :bl
β”œβ”€β”€ message_loc: (1,0)-(1,2) = "bl"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -53,5 +54,4 @@
β”‚ β”‚ └── depth: 0
β”‚ β”œβ”€β”€ opening_loc: (1,3)-(1,4) = "{"
β”‚ └── closing_loc: (1,32)-(1,33) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :bl
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/block_next.txt b/test/prism/snapshots/seattlerb/block_next.txt
index 6f61963d9f..4fde9c7300 100644
--- a/test/prism/snapshots/seattlerb/block_next.txt
+++ b/test/prism/snapshots/seattlerb/block_next.txt
@@ -10,6 +10,7 @@
β”‚ β”‚ └── @ CallNode (location: (1,5)-(1,25))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,5)-(1,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -18,13 +19,13 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (1,9)-(1,12))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :arg
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,9)-(1,12) = "arg"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :arg
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block:
@@ -49,7 +50,6 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,13)-(1,15) = "do"
β”‚ β”‚ β”‚ └── closing_loc: (1,22)-(1,25) = "end"
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── flags: βˆ…
└── keyword_loc: (1,0)-(1,4) = "next"
diff --git a/test/prism/snapshots/seattlerb/block_opt_arg.txt b/test/prism/snapshots/seattlerb/block_opt_arg.txt
index 6cdc01e494..4e3863c1d0 100644
--- a/test/prism/snapshots/seattlerb/block_opt_arg.txt
+++ b/test/prism/snapshots/seattlerb/block_opt_arg.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,14))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :a
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -39,5 +40,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,13)-(1,14) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :a
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/block_opt_splat.txt b/test/prism/snapshots/seattlerb/block_opt_splat.txt
index 1b18001c99..54009f2e0f 100644
--- a/test/prism/snapshots/seattlerb/block_opt_splat.txt
+++ b/test/prism/snapshots/seattlerb/block_opt_splat.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,17))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :a
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -41,5 +42,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,16)-(1,17) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :a
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/block_opt_splat_arg_block_omfg.txt b/test/prism/snapshots/seattlerb/block_opt_splat_arg_block_omfg.txt
index 62d18b4f4f..a1cccaf42a 100644
--- a/test/prism/snapshots/seattlerb/block_opt_splat_arg_block_omfg.txt
+++ b/test/prism/snapshots/seattlerb/block_opt_splat_arg_block_omfg.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,22))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :a
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -47,5 +48,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,21)-(1,22) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :a
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/block_optarg.txt b/test/prism/snapshots/seattlerb/block_optarg.txt
index bc109a51f7..6a22978ec9 100644
--- a/test/prism/snapshots/seattlerb/block_optarg.txt
+++ b/test/prism/snapshots/seattlerb/block_optarg.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,14))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :a
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -40,5 +41,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,13)-(1,14) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :a
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/block_paren_splat.txt b/test/prism/snapshots/seattlerb/block_paren_splat.txt
index 5782874d6d..04987521fe 100644
--- a/test/prism/snapshots/seattlerb/block_paren_splat.txt
+++ b/test/prism/snapshots/seattlerb/block_paren_splat.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,15))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :a
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -43,5 +44,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,14)-(1,15) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :a
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/block_reg_optarg.txt b/test/prism/snapshots/seattlerb/block_reg_optarg.txt
index 15fb24d7de..e9ad2f1a6a 100644
--- a/test/prism/snapshots/seattlerb/block_reg_optarg.txt
+++ b/test/prism/snapshots/seattlerb/block_reg_optarg.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,17))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :a
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -42,5 +43,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,16)-(1,17) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :a
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/block_return.txt b/test/prism/snapshots/seattlerb/block_return.txt
index a4a010ad78..858e1a9de4 100644
--- a/test/prism/snapshots/seattlerb/block_return.txt
+++ b/test/prism/snapshots/seattlerb/block_return.txt
@@ -11,6 +11,7 @@
β”‚ └── @ CallNode (location: (1,7)-(1,27))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (1,7)-(1,10) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -19,13 +20,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (1,11)-(1,14))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :arg
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,11)-(1,14) = "arg"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :arg
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block:
@@ -50,6 +51,5 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,15)-(1,17) = "do"
β”‚ β”‚ └── closing_loc: (1,24)-(1,27) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
└── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/block_scope.txt b/test/prism/snapshots/seattlerb/block_scope.txt
index f2eead2121..3a2e23d27f 100644
--- a/test/prism/snapshots/seattlerb/block_scope.txt
+++ b/test/prism/snapshots/seattlerb/block_scope.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,10))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :a
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -24,5 +25,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,9)-(1,10) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :a
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/block_splat_reg.txt b/test/prism/snapshots/seattlerb/block_splat_reg.txt
index 34891ead23..5f7d263def 100644
--- a/test/prism/snapshots/seattlerb/block_splat_reg.txt
+++ b/test/prism/snapshots/seattlerb/block_splat_reg.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,13))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :a
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -36,5 +37,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,12)-(1,13) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :a
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/bug169.txt b/test/prism/snapshots/seattlerb/bug169.txt
index 1b0d0645b6..901778c873 100644
--- a/test/prism/snapshots/seattlerb/bug169.txt
+++ b/test/prism/snapshots/seattlerb/bug169.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,7))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :m
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "m"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -24,5 +25,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,5)-(1,6) = "{"
β”‚ └── closing_loc: (1,6)-(1,7) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :m
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/bug179.txt b/test/prism/snapshots/seattlerb/bug179.txt
index d8b63ae6e9..0951879111 100644
--- a/test/prism/snapshots/seattlerb/bug179.txt
+++ b/test/prism/snapshots/seattlerb/bug179.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,9))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :p
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "p"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -24,5 +25,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :p
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/bug191.txt b/test/prism/snapshots/seattlerb/bug191.txt
index 20901df1a5..c617c4a79a 100644
--- a/test/prism/snapshots/seattlerb/bug191.txt
+++ b/test/prism/snapshots/seattlerb/bug191.txt
@@ -9,13 +9,13 @@
β”‚ β”‚ @ CallNode (location: (1,0)-(1,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ then_keyword_loc: (1,2)-(1,3) = "?"
β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ @ StatementsNode (location: (1,4)-(1,6))
@@ -35,13 +35,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (1,8)-(1,9))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,8)-(1,9) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── end_keyword_loc: βˆ…
β”‚ └── end_keyword_loc: βˆ…
└── @ IfNode (location: (3,0)-(3,9))
@@ -50,13 +50,13 @@
β”‚ @ CallNode (location: (3,0)-(3,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (3,0)-(3,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ then_keyword_loc: (3,2)-(3,3) = "?"
β”œβ”€β”€ statements:
β”‚ @ StatementsNode (location: (3,4)-(3,6))
@@ -76,12 +76,12 @@
β”‚ β”‚ └── @ CallNode (location: (3,8)-(3,9))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,8)-(3,9) = "b"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :b
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── end_keyword_loc: βˆ…
└── end_keyword_loc: βˆ…
diff --git a/test/prism/snapshots/seattlerb/bug236.txt b/test/prism/snapshots/seattlerb/bug236.txt
index f87c869c4b..8dc96d2292 100644
--- a/test/prism/snapshots/seattlerb/bug236.txt
+++ b/test/prism/snapshots/seattlerb/bug236.txt
@@ -6,6 +6,7 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(1,7))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :x
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "x"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -36,11 +37,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,1)-(1,2) = "{"
β”‚ β”‚ └── closing_loc: (1,6)-(1,7) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :x
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (3,0)-(3,6))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :x
β”œβ”€β”€ message_loc: (3,0)-(3,1) = "x"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -67,5 +68,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (3,1)-(3,2) = "{"
β”‚ └── closing_loc: (3,5)-(3,6) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :x
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/bug290.txt b/test/prism/snapshots/seattlerb/bug290.txt
index f703037145..ae57cfed23 100644
--- a/test/prism/snapshots/seattlerb/bug290.txt
+++ b/test/prism/snapshots/seattlerb/bug290.txt
@@ -11,13 +11,13 @@
β”‚ └── @ CallNode (location: (2,2)-(2,5))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (2,2)-(2,5) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ rescue_clause: βˆ…
β”œβ”€β”€ else_clause: βˆ…
β”œβ”€β”€ ensure_clause: βˆ…
diff --git a/test/prism/snapshots/seattlerb/bug_187.txt b/test/prism/snapshots/seattlerb/bug_187.txt
index d0cfed9ec0..83c443c7c2 100644
--- a/test/prism/snapshots/seattlerb/bug_187.txt
+++ b/test/prism/snapshots/seattlerb/bug_187.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(3,3))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :private
β”œβ”€β”€ message_loc: (1,0)-(1,7) = "private"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -24,14 +25,15 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (2,0)-(2,1))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (2,0)-(2,1) = "a"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (2,1)-(2,2) = "."
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (2,2)-(2,3) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -43,8 +45,7 @@
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (2,4)-(2,6) = "do"
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (2,7)-(2,10) = "end"
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ locals: []
β”‚ β”‚ β”œβ”€β”€ def_keyword_loc: (1,8)-(1,11) = "def"
β”‚ β”‚ β”œβ”€β”€ operator_loc: βˆ…
@@ -55,5 +56,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :private
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/bug_249.txt b/test/prism/snapshots/seattlerb/bug_249.txt
index 7a3daa032d..720c4d16f2 100644
--- a/test/prism/snapshots/seattlerb/bug_249.txt
+++ b/test/prism/snapshots/seattlerb/bug_249.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(4,28))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :mount
β”œβ”€β”€ message_loc: (1,0)-(1,5) = "mount"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -22,6 +23,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ @ ConstantReadNode (location: (1,7)-(1,12))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :Class
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (1,12)-(1,13) = "."
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :new
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,13)-(1,16) = "new"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -48,18 +50,17 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── end_keyword_loc: (3,0)-(3,3) = "end"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,17)-(1,19) = "do"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (4,1)-(4,4) = "end"
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :new
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,6)-(1,7) = "("
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (4,4)-(4,5) = ")"
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (4,5)-(4,6) = "."
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :new
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (4,6)-(4,9) = "new"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :new
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── @ KeywordHashNode (location: (4,11)-(4,28))
β”‚ β”‚ └── elements: (length: 1)
β”‚ β”‚ └── @ AssocNode (location: (4,11)-(4,28))
@@ -80,5 +81,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :mount
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/bug_args__19.txt b/test/prism/snapshots/seattlerb/bug_args__19.txt
index 751f990ea0..f4cf106679 100644
--- a/test/prism/snapshots/seattlerb/bug_args__19.txt
+++ b/test/prism/snapshots/seattlerb/bug_args__19.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,16))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -43,14 +44,13 @@
β”‚ β”‚ └── @ CallNode (location: (1,13)-(1,14))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,13)-(1,14) = "d"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :d
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,15)-(1,16) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/bug_args_masgn.txt b/test/prism/snapshots/seattlerb/bug_args_masgn.txt
index 07972ba859..ba00a0c0e2 100644
--- a/test/prism/snapshots/seattlerb/bug_args_masgn.txt
+++ b/test/prism/snapshots/seattlerb/bug_args_masgn.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,17))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -42,5 +43,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,16)-(1,17) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/bug_args_masgn2.txt b/test/prism/snapshots/seattlerb/bug_args_masgn2.txt
index 70a365428f..f417b7e040 100644
--- a/test/prism/snapshots/seattlerb/bug_args_masgn2.txt
+++ b/test/prism/snapshots/seattlerb/bug_args_masgn2.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,22))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -50,5 +51,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,21)-(1,22) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
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 131771924c..8554ec03d0 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
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,19))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -48,5 +49,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,18)-(1,19) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/bug_call_arglist_parens.txt b/test/prism/snapshots/seattlerb/bug_call_arglist_parens.txt
index b0a3db1580..ba9ed0d49f 100644
--- a/test/prism/snapshots/seattlerb/bug_call_arglist_parens.txt
+++ b/test/prism/snapshots/seattlerb/bug_call_arglist_parens.txt
@@ -14,6 +14,7 @@
β”‚ β”‚ └── @ CallNode (location: (2,8)-(2,17))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :g
β”‚ β”‚ β”œβ”€β”€ message_loc: (2,8)-(2,9) = "g"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -32,8 +33,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :g
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ locals: []
β”‚ β”œβ”€β”€ def_keyword_loc: (1,6)-(1,9) = "def"
β”‚ β”œβ”€β”€ operator_loc: βˆ…
@@ -52,6 +52,7 @@
β”‚ β”‚ └── @ CallNode (location: (7,8)-(7,16))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :g
β”‚ β”‚ β”œβ”€β”€ message_loc: (7,8)-(7,9) = "g"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -70,8 +71,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :g
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ locals: []
β”‚ β”œβ”€β”€ def_keyword_loc: (6,6)-(6,9) = "def"
β”‚ β”œβ”€β”€ operator_loc: βˆ…
@@ -82,6 +82,7 @@
└── @ CallNode (location: (11,0)-(11,9))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :g
β”œβ”€β”€ message_loc: (11,0)-(11,1) = "g"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -100,5 +101,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :g
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/bug_comma.txt b/test/prism/snapshots/seattlerb/bug_comma.txt
index f4b71ff47f..3fca88d860 100644
--- a/test/prism/snapshots/seattlerb/bug_comma.txt
+++ b/test/prism/snapshots/seattlerb/bug_comma.txt
@@ -9,6 +9,7 @@
β”‚ @ CallNode (location: (1,3)-(1,15))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :test
β”‚ β”œβ”€β”€ message_loc: (1,3)-(1,7) = "test"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -23,18 +24,17 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (1,12)-(1,15))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :dir
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,12)-(1,15) = "dir"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :dir
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :test
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ then_keyword_loc: (1,16)-(1,20) = "then"
β”œβ”€β”€ statements: βˆ…
β”œβ”€β”€ consequent: βˆ…
diff --git a/test/prism/snapshots/seattlerb/bug_hash_args.txt b/test/prism/snapshots/seattlerb/bug_hash_args.txt
index ce35191ce9..32d9dc91a5 100644
--- a/test/prism/snapshots/seattlerb/bug_hash_args.txt
+++ b/test/prism/snapshots/seattlerb/bug_hash_args.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,19))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :foo
β”œβ”€β”€ message_loc: (1,0)-(1,3) = "foo"
β”œβ”€β”€ opening_loc: (1,3)-(1,4) = "("
β”œβ”€β”€ arguments:
@@ -31,5 +32,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (1,18)-(1,19) = ")"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :foo
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/bug_hash_args_trailing_comma.txt b/test/prism/snapshots/seattlerb/bug_hash_args_trailing_comma.txt
index 2b191dc8d4..1cea78d46f 100644
--- a/test/prism/snapshots/seattlerb/bug_hash_args_trailing_comma.txt
+++ b/test/prism/snapshots/seattlerb/bug_hash_args_trailing_comma.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,20))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :foo
β”œβ”€β”€ message_loc: (1,0)-(1,3) = "foo"
β”œβ”€β”€ opening_loc: (1,3)-(1,4) = "("
β”œβ”€β”€ arguments:
@@ -31,5 +32,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (1,19)-(1,20) = ")"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :foo
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/bug_masgn_right.txt b/test/prism/snapshots/seattlerb/bug_masgn_right.txt
index c279e0d81e..fba08a0260 100644
--- a/test/prism/snapshots/seattlerb/bug_masgn_right.txt
+++ b/test/prism/snapshots/seattlerb/bug_masgn_right.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,17))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -42,5 +43,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,16)-(1,17) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/bug_not_parens.txt b/test/prism/snapshots/seattlerb/bug_not_parens.txt
index 29e62e5df9..f5328a6eb1 100644
--- a/test/prism/snapshots/seattlerb/bug_not_parens.txt
+++ b/test/prism/snapshots/seattlerb/bug_not_parens.txt
@@ -8,18 +8,18 @@
β”‚ @ CallNode (location: (1,4)-(1,5))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,5) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :!
β”œβ”€β”€ message_loc: (1,0)-(1,3) = "not"
β”œβ”€β”€ opening_loc: (1,3)-(1,4) = "("
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: (1,5)-(1,6) = ")"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :!
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/bug_op_asgn_rescue.txt b/test/prism/snapshots/seattlerb/bug_op_asgn_rescue.txt
index e7f92976c5..e8504cc967 100644
--- a/test/prism/snapshots/seattlerb/bug_op_asgn_rescue.txt
+++ b/test/prism/snapshots/seattlerb/bug_op_asgn_rescue.txt
@@ -12,13 +12,13 @@
β”‚ β”‚ @ CallNode (location: (1,6)-(1,7))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,6)-(1,7) = "b"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :b
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ keyword_loc: (1,8)-(1,14) = "rescue"
β”‚ └── rescue_expression:
β”‚ @ NilNode (location: (1,15)-(1,18))
diff --git a/test/prism/snapshots/seattlerb/call_and.txt b/test/prism/snapshots/seattlerb/call_and.txt
index 47ae924fa9..5ff2ef31f1 100644
--- a/test/prism/snapshots/seattlerb/call_and.txt
+++ b/test/prism/snapshots/seattlerb/call_and.txt
@@ -8,6 +8,7 @@
β”‚ @ IntegerNode (location: (1,0)-(1,1))
β”‚ └── flags: decimal
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :&
β”œβ”€β”€ message_loc: (1,2)-(1,3) = "&"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -18,5 +19,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :&
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/call_arg_assoc.txt b/test/prism/snapshots/seattlerb/call_arg_assoc.txt
index f34d403330..1eeb319630 100644
--- a/test/prism/snapshots/seattlerb/call_arg_assoc.txt
+++ b/test/prism/snapshots/seattlerb/call_arg_assoc.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,10))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: (1,1)-(1,2) = "("
β”œβ”€β”€ arguments:
@@ -26,5 +27,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (1,9)-(1,10) = ")"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/call_arg_assoc_kwsplat.txt b/test/prism/snapshots/seattlerb/call_arg_assoc_kwsplat.txt
index 6255d346c1..ca96559020 100644
--- a/test/prism/snapshots/seattlerb/call_arg_assoc_kwsplat.txt
+++ b/test/prism/snapshots/seattlerb/call_arg_assoc_kwsplat.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,16))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: (1,1)-(1,2) = "("
β”œβ”€β”€ arguments:
@@ -34,5 +35,4 @@
β”‚ └── flags: contains_keyword_splat
β”œβ”€β”€ closing_loc: (1,15)-(1,16) = ")"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/call_arg_kwsplat.txt b/test/prism/snapshots/seattlerb/call_arg_kwsplat.txt
index c774fb238f..1d3c7c5c5c 100644
--- a/test/prism/snapshots/seattlerb/call_arg_kwsplat.txt
+++ b/test/prism/snapshots/seattlerb/call_arg_kwsplat.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,9))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :a
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”œβ”€β”€ opening_loc: (1,1)-(1,2) = "("
β”œβ”€β”€ arguments:
@@ -14,13 +15,13 @@
β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (1,2)-(1,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,2)-(1,3) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── @ KeywordHashNode (location: (1,5)-(1,8))
β”‚ β”‚ └── elements: (length: 1)
β”‚ β”‚ └── @ AssocSplatNode (location: (1,5)-(1,8))
@@ -31,5 +32,4 @@
β”‚ └── flags: contains_keyword_splat
β”œβ”€β”€ closing_loc: (1,8)-(1,9) = ")"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :a
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/call_args_assoc_quoted.txt b/test/prism/snapshots/seattlerb/call_args_assoc_quoted.txt
index 4c2a1a732b..7bbc67bb54 100644
--- a/test/prism/snapshots/seattlerb/call_args_assoc_quoted.txt
+++ b/test/prism/snapshots/seattlerb/call_args_assoc_quoted.txt
@@ -6,6 +6,7 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(1,11))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :x
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "x"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -26,13 +27,13 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (1,5)-(1,6))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :k
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,5)-(1,6) = "k"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :k
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (1,6)-(1,7) = "}"
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (1,7)-(1,9) = "\":"
β”‚ β”‚ β”‚ β”œβ”€β”€ value:
@@ -42,11 +43,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :x
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (3,0)-(3,8))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :x
β”‚ β”œβ”€β”€ message_loc: (3,0)-(3,1) = "x"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -68,11 +69,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :x
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (5,0)-(5,8))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :x
β”œβ”€β”€ message_loc: (5,0)-(5,1) = "x"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -94,5 +95,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :x
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/call_args_assoc_trailing_comma.txt b/test/prism/snapshots/seattlerb/call_args_assoc_trailing_comma.txt
index ef78286e69..a248805777 100644
--- a/test/prism/snapshots/seattlerb/call_args_assoc_trailing_comma.txt
+++ b/test/prism/snapshots/seattlerb/call_args_assoc_trailing_comma.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,11))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: (1,1)-(1,2) = "("
β”œβ”€β”€ arguments:
@@ -26,5 +27,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (1,10)-(1,11) = ")"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/call_args_command.txt b/test/prism/snapshots/seattlerb/call_args_command.txt
index 64d39cfede..2b9353e755 100644
--- a/test/prism/snapshots/seattlerb/call_args_command.txt
+++ b/test/prism/snapshots/seattlerb/call_args_command.txt
@@ -8,14 +8,15 @@
β”‚ @ CallNode (location: (1,0)-(1,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: (1,1)-(1,2) = "."
+ β”œβ”€β”€ name: :b
β”œβ”€β”€ message_loc: (1,2)-(1,3) = "b"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -26,14 +27,15 @@
β”‚ β”‚ β”‚ @ CallNode (location: (1,4)-(1,5))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,5) = "c"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (1,5)-(1,6) = "."
+ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,6)-(1,7) = "d"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -44,10 +46,8 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :d
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :b
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/call_array_arg.txt b/test/prism/snapshots/seattlerb/call_array_arg.txt
index 6c67cf1b33..01c16c0091 100644
--- a/test/prism/snapshots/seattlerb/call_array_arg.txt
+++ b/test/prism/snapshots/seattlerb/call_array_arg.txt
@@ -8,6 +8,7 @@
β”‚ @ IntegerNode (location: (1,0)-(1,1))
β”‚ └── flags: decimal
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :==
β”œβ”€β”€ message_loc: (1,2)-(1,4) = "=="
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -31,5 +32,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :==
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/call_array_block_call.txt b/test/prism/snapshots/seattlerb/call_array_block_call.txt
index df2887b2ff..b5705817ac 100644
--- a/test/prism/snapshots/seattlerb/call_array_block_call.txt
+++ b/test/prism/snapshots/seattlerb/call_array_block_call.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,19))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :a
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -17,6 +18,7 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (1,9)-(1,17))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,9)-(1,10) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -28,13 +30,11 @@
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,11)-(1,13) = "do"
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (1,14)-(1,17) = "end"
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "["
β”‚ β”‚ β”œβ”€β”€ closing_loc: (1,18)-(1,19) = "]"
β”‚ β”‚ └── flags: βˆ…
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :a
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/call_array_lambda_block_call.txt b/test/prism/snapshots/seattlerb/call_array_lambda_block_call.txt
index 43662acf32..92f98926f6 100644
--- a/test/prism/snapshots/seattlerb/call_array_lambda_block_call.txt
+++ b/test/prism/snapshots/seattlerb/call_array_lambda_block_call.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(2,3))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :a
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -37,5 +38,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,12)-(1,14) = "do"
β”‚ └── closing_loc: (2,0)-(2,3) = "end"
- β”œβ”€β”€ flags: βˆ…
- └── name: :a
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/call_array_lit_inline_hash.txt b/test/prism/snapshots/seattlerb/call_array_lit_inline_hash.txt
index 5de8b3115e..cecdfbeaec 100644
--- a/test/prism/snapshots/seattlerb/call_array_lit_inline_hash.txt
+++ b/test/prism/snapshots/seattlerb/call_array_lit_inline_hash.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,16))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :a
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”œβ”€β”€ opening_loc: (1,1)-(1,2) = "("
β”œβ”€β”€ arguments:
@@ -37,5 +38,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (1,15)-(1,16) = ")"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :a
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/call_assoc.txt b/test/prism/snapshots/seattlerb/call_assoc.txt
index b590315446..5a81c89214 100644
--- a/test/prism/snapshots/seattlerb/call_assoc.txt
+++ b/test/prism/snapshots/seattlerb/call_assoc.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,7))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: (1,1)-(1,2) = "("
β”œβ”€β”€ arguments:
@@ -24,5 +25,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (1,6)-(1,7) = ")"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/call_assoc_new.txt b/test/prism/snapshots/seattlerb/call_assoc_new.txt
index 557a87de7a..e37e00e824 100644
--- a/test/prism/snapshots/seattlerb/call_assoc_new.txt
+++ b/test/prism/snapshots/seattlerb/call_assoc_new.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,6))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: (1,1)-(1,2) = "("
β”œβ”€β”€ arguments:
@@ -27,5 +28,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (1,5)-(1,6) = ")"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/call_assoc_new_if_multiline.txt b/test/prism/snapshots/seattlerb/call_assoc_new_if_multiline.txt
index 0c1df7c2f2..1e6c1fae01 100644
--- a/test/prism/snapshots/seattlerb/call_assoc_new_if_multiline.txt
+++ b/test/prism/snapshots/seattlerb/call_assoc_new_if_multiline.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(5,4))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :a
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”œβ”€β”€ opening_loc: (1,1)-(1,2) = "("
β”œβ”€β”€ arguments:
@@ -49,5 +50,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (5,3)-(5,4) = ")"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :a
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/call_assoc_trailing_comma.txt b/test/prism/snapshots/seattlerb/call_assoc_trailing_comma.txt
index c26f16f6a9..6c6cd49358 100644
--- a/test/prism/snapshots/seattlerb/call_assoc_trailing_comma.txt
+++ b/test/prism/snapshots/seattlerb/call_assoc_trailing_comma.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,8))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: (1,1)-(1,2) = "("
β”œβ”€β”€ arguments:
@@ -24,5 +25,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (1,7)-(1,8) = ")"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/call_bang_command_call.txt b/test/prism/snapshots/seattlerb/call_bang_command_call.txt
index f7791021b6..cfc96e3ef8 100644
--- a/test/prism/snapshots/seattlerb/call_bang_command_call.txt
+++ b/test/prism/snapshots/seattlerb/call_bang_command_call.txt
@@ -10,14 +10,15 @@
β”‚ β”‚ @ CallNode (location: (1,2)-(1,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,2)-(1,3) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (1,3)-(1,4) = "."
+ β”‚ β”œβ”€β”€ name: :b
β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,5) = "b"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -28,13 +29,12 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :b
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :!
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "!"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :!
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/call_bang_squiggle.txt b/test/prism/snapshots/seattlerb/call_bang_squiggle.txt
index c89dc41a9b..40ebf4c394 100644
--- a/test/prism/snapshots/seattlerb/call_bang_squiggle.txt
+++ b/test/prism/snapshots/seattlerb/call_bang_squiggle.txt
@@ -8,6 +8,7 @@
β”‚ @ IntegerNode (location: (1,0)-(1,1))
β”‚ └── flags: decimal
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :!~
β”œβ”€β”€ message_loc: (1,2)-(1,4) = "!~"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -18,5 +19,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :!~
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/call_begin_call_block_call.txt b/test/prism/snapshots/seattlerb/call_begin_call_block_call.txt
index 0d0b5e295a..ac3bccb3f6 100644
--- a/test/prism/snapshots/seattlerb/call_begin_call_block_call.txt
+++ b/test/prism/snapshots/seattlerb/call_begin_call_block_call.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(3,3))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :a
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -21,14 +22,15 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (2,0)-(2,1))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (2,0)-(2,1) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (2,1)-(2,2) = "."
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (2,2)-(2,3) = "c"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -40,8 +42,7 @@
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (2,4)-(2,6) = "do"
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (2,7)-(2,10) = "end"
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ rescue_clause: βˆ…
β”‚ β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”‚ β”œβ”€β”€ ensure_clause: βˆ…
@@ -49,5 +50,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :a
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/call_block_arg_named.txt b/test/prism/snapshots/seattlerb/call_block_arg_named.txt
index ebcdeae8d2..9e5bacfe29 100644
--- a/test/prism/snapshots/seattlerb/call_block_arg_named.txt
+++ b/test/prism/snapshots/seattlerb/call_block_arg_named.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,6))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :x
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "x"
β”œβ”€β”€ opening_loc: (1,1)-(1,2) = "("
β”œβ”€β”€ arguments: βˆ…
@@ -16,13 +17,12 @@
β”‚ β”‚ @ CallNode (location: (1,3)-(1,6))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :blk
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,3)-(1,6) = "blk"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :blk
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── operator_loc: (1,2)-(1,3) = "&"
- β”œβ”€β”€ flags: βˆ…
- └── name: :x
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/call_carat.txt b/test/prism/snapshots/seattlerb/call_carat.txt
index 18c12c16c5..d62eb417c7 100644
--- a/test/prism/snapshots/seattlerb/call_carat.txt
+++ b/test/prism/snapshots/seattlerb/call_carat.txt
@@ -8,6 +8,7 @@
β”‚ @ IntegerNode (location: (1,0)-(1,1))
β”‚ └── flags: decimal
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :^
β”œβ”€β”€ message_loc: (1,2)-(1,3) = "^"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -18,5 +19,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :^
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/call_colon2.txt b/test/prism/snapshots/seattlerb/call_colon2.txt
index 88f0ad11b7..9581348c6f 100644
--- a/test/prism/snapshots/seattlerb/call_colon2.txt
+++ b/test/prism/snapshots/seattlerb/call_colon2.txt
@@ -8,10 +8,10 @@
β”‚ @ ConstantReadNode (location: (1,0)-(1,1))
β”‚ └── name: :A
β”œβ”€β”€ call_operator_loc: (1,1)-(1,3) = "::"
+ β”œβ”€β”€ name: :b
β”œβ”€β”€ message_loc: (1,3)-(1,4) = "b"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :b
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/call_colon_parens.txt b/test/prism/snapshots/seattlerb/call_colon_parens.txt
index 9c7a827bad..dcdbfb4ede 100644
--- a/test/prism/snapshots/seattlerb/call_colon_parens.txt
+++ b/test/prism/snapshots/seattlerb/call_colon_parens.txt
@@ -8,10 +8,10 @@
β”‚ @ IntegerNode (location: (1,0)-(1,1))
β”‚ └── flags: decimal
β”œβ”€β”€ call_operator_loc: (1,1)-(1,3) = "::"
+ β”œβ”€β”€ name: :call
β”œβ”€β”€ message_loc: βˆ…
β”œβ”€β”€ opening_loc: (1,3)-(1,4) = "("
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: (1,4)-(1,5) = ")"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :call
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/call_div.txt b/test/prism/snapshots/seattlerb/call_div.txt
index 24a8c0668e..7b6fdcabef 100644
--- a/test/prism/snapshots/seattlerb/call_div.txt
+++ b/test/prism/snapshots/seattlerb/call_div.txt
@@ -8,6 +8,7 @@
β”‚ @ IntegerNode (location: (1,0)-(1,1))
β”‚ └── flags: decimal
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :/
β”œβ”€β”€ message_loc: (1,2)-(1,3) = "/"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -18,5 +19,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :/
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/call_dot_parens.txt b/test/prism/snapshots/seattlerb/call_dot_parens.txt
index 9f3d259a01..774c719d93 100644
--- a/test/prism/snapshots/seattlerb/call_dot_parens.txt
+++ b/test/prism/snapshots/seattlerb/call_dot_parens.txt
@@ -8,10 +8,10 @@
β”‚ @ IntegerNode (location: (1,0)-(1,1))
β”‚ └── flags: decimal
β”œβ”€β”€ call_operator_loc: (1,1)-(1,2) = "."
+ β”œβ”€β”€ name: :call
β”œβ”€β”€ message_loc: βˆ…
β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "("
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: (1,3)-(1,4) = ")"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :call
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/call_env.txt b/test/prism/snapshots/seattlerb/call_env.txt
index af6dd94696..c2863bb069 100644
--- a/test/prism/snapshots/seattlerb/call_env.txt
+++ b/test/prism/snapshots/seattlerb/call_env.txt
@@ -8,18 +8,18 @@
β”‚ @ CallNode (location: (1,0)-(1,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: (1,1)-(1,2) = "."
+ β”œβ”€β”€ name: :happy
β”œβ”€β”€ message_loc: (1,2)-(1,7) = "happy"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :happy
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/call_eq3.txt b/test/prism/snapshots/seattlerb/call_eq3.txt
index c12a8d3355..5d53180b41 100644
--- a/test/prism/snapshots/seattlerb/call_eq3.txt
+++ b/test/prism/snapshots/seattlerb/call_eq3.txt
@@ -8,6 +8,7 @@
β”‚ @ IntegerNode (location: (1,0)-(1,1))
β”‚ └── flags: decimal
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :===
β”œβ”€β”€ message_loc: (1,2)-(1,5) = "==="
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -18,5 +19,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :===
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/call_gt.txt b/test/prism/snapshots/seattlerb/call_gt.txt
index 1cc1eb6417..33bc1de6cf 100644
--- a/test/prism/snapshots/seattlerb/call_gt.txt
+++ b/test/prism/snapshots/seattlerb/call_gt.txt
@@ -8,6 +8,7 @@
β”‚ @ IntegerNode (location: (1,0)-(1,1))
β”‚ └── flags: decimal
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :>
β”œβ”€β”€ message_loc: (1,2)-(1,3) = ">"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -18,5 +19,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :>
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/call_kwsplat.txt b/test/prism/snapshots/seattlerb/call_kwsplat.txt
index 732cc87700..7e341fcbec 100644
--- a/test/prism/snapshots/seattlerb/call_kwsplat.txt
+++ b/test/prism/snapshots/seattlerb/call_kwsplat.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,6))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :a
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”œβ”€β”€ opening_loc: (1,1)-(1,2) = "("
β”œβ”€β”€ arguments:
@@ -21,5 +22,4 @@
β”‚ └── flags: contains_keyword_splat
β”œβ”€β”€ closing_loc: (1,5)-(1,6) = ")"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :a
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/call_leading_dots.txt b/test/prism/snapshots/seattlerb/call_leading_dots.txt
index ab3f75d1cb..c706cf6a5b 100644
--- a/test/prism/snapshots/seattlerb/call_leading_dots.txt
+++ b/test/prism/snapshots/seattlerb/call_leading_dots.txt
@@ -10,26 +10,26 @@
β”‚ β”‚ @ CallNode (location: (1,0)-(1,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (2,0)-(2,1) = "."
+ β”‚ β”œβ”€β”€ name: :b
β”‚ β”œβ”€β”€ message_loc: (2,1)-(2,2) = "b"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :b
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ call_operator_loc: (3,0)-(3,1) = "."
+ β”œβ”€β”€ name: :c
β”œβ”€β”€ message_loc: (3,1)-(3,2) = "c"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :c
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/call_leading_dots_comment.txt b/test/prism/snapshots/seattlerb/call_leading_dots_comment.txt
index 6e70d659fe..ee1abe6fc5 100644
--- a/test/prism/snapshots/seattlerb/call_leading_dots_comment.txt
+++ b/test/prism/snapshots/seattlerb/call_leading_dots_comment.txt
@@ -10,26 +10,26 @@
β”‚ β”‚ @ CallNode (location: (1,0)-(1,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (2,0)-(2,1) = "."
+ β”‚ β”œβ”€β”€ name: :b
β”‚ β”œβ”€β”€ message_loc: (2,1)-(2,2) = "b"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :b
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ call_operator_loc: (4,0)-(4,1) = "."
+ β”œβ”€β”€ name: :d
β”œβ”€β”€ message_loc: (4,1)-(4,2) = "d"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :d
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/call_lt.txt b/test/prism/snapshots/seattlerb/call_lt.txt
index 00ce2cdf43..64c3967dcb 100644
--- a/test/prism/snapshots/seattlerb/call_lt.txt
+++ b/test/prism/snapshots/seattlerb/call_lt.txt
@@ -8,6 +8,7 @@
β”‚ @ IntegerNode (location: (1,0)-(1,1))
β”‚ └── flags: decimal
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :<
β”œβ”€β”€ message_loc: (1,2)-(1,3) = "<"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -18,5 +19,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :<
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/call_lte.txt b/test/prism/snapshots/seattlerb/call_lte.txt
index a252aa9ab2..7f7dfb3bbf 100644
--- a/test/prism/snapshots/seattlerb/call_lte.txt
+++ b/test/prism/snapshots/seattlerb/call_lte.txt
@@ -8,6 +8,7 @@
β”‚ @ IntegerNode (location: (1,0)-(1,1))
β”‚ └── flags: decimal
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :<=
β”œβ”€β”€ message_loc: (1,2)-(1,4) = "<="
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -18,5 +19,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :<=
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/call_not.txt b/test/prism/snapshots/seattlerb/call_not.txt
index a2f0a5e09e..157f8df593 100644
--- a/test/prism/snapshots/seattlerb/call_not.txt
+++ b/test/prism/snapshots/seattlerb/call_not.txt
@@ -8,10 +8,10 @@
β”‚ @ IntegerNode (location: (1,4)-(1,6))
β”‚ └── flags: decimal
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :!
β”œβ”€β”€ message_loc: (1,0)-(1,3) = "not"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :!
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/call_pipe.txt b/test/prism/snapshots/seattlerb/call_pipe.txt
index 4e93ad6ac4..562dd56398 100644
--- a/test/prism/snapshots/seattlerb/call_pipe.txt
+++ b/test/prism/snapshots/seattlerb/call_pipe.txt
@@ -8,6 +8,7 @@
β”‚ @ IntegerNode (location: (1,0)-(1,1))
β”‚ └── flags: decimal
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :|
β”œβ”€β”€ message_loc: (1,2)-(1,3) = "|"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -18,5 +19,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :|
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/call_rshift.txt b/test/prism/snapshots/seattlerb/call_rshift.txt
index d8b7bb77df..8a9212b1f5 100644
--- a/test/prism/snapshots/seattlerb/call_rshift.txt
+++ b/test/prism/snapshots/seattlerb/call_rshift.txt
@@ -8,6 +8,7 @@
β”‚ @ IntegerNode (location: (1,0)-(1,1))
β”‚ └── flags: decimal
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :>>
β”œβ”€β”€ message_loc: (1,2)-(1,4) = ">>"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -18,5 +19,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :>>
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/call_self_brackets.txt b/test/prism/snapshots/seattlerb/call_self_brackets.txt
index 49784e653e..c3e431e654 100644
--- a/test/prism/snapshots/seattlerb/call_self_brackets.txt
+++ b/test/prism/snapshots/seattlerb/call_self_brackets.txt
@@ -7,6 +7,7 @@
β”œβ”€β”€ receiver:
β”‚ @ SelfNode (location: (1,0)-(1,4))
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :[]
β”œβ”€β”€ message_loc: (1,4)-(1,7) = "[1]"
β”œβ”€β”€ opening_loc: (1,4)-(1,5) = "["
β”œβ”€β”€ arguments:
@@ -17,5 +18,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (1,6)-(1,7) = "]"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :[]
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/call_spaceship.txt b/test/prism/snapshots/seattlerb/call_spaceship.txt
index bde094ef33..a35437d361 100644
--- a/test/prism/snapshots/seattlerb/call_spaceship.txt
+++ b/test/prism/snapshots/seattlerb/call_spaceship.txt
@@ -8,6 +8,7 @@
β”‚ @ IntegerNode (location: (1,0)-(1,1))
β”‚ └── flags: decimal
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :<=>
β”œβ”€β”€ message_loc: (1,2)-(1,5) = "<=>"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -18,5 +19,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :<=>
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/call_stabby_do_end_with_block.txt b/test/prism/snapshots/seattlerb/call_stabby_do_end_with_block.txt
index bfb1790b59..9d94a45e5d 100644
--- a/test/prism/snapshots/seattlerb/call_stabby_do_end_with_block.txt
+++ b/test/prism/snapshots/seattlerb/call_stabby_do_end_with_block.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,22))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :a
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -35,5 +36,4 @@
β”‚ β”‚ └── flags: decimal
β”‚ β”œβ”€β”€ opening_loc: (1,14)-(1,16) = "do"
β”‚ └── closing_loc: (1,19)-(1,22) = "end"
- β”œβ”€β”€ flags: βˆ…
- └── name: :a
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/call_stabby_with_braces_block.txt b/test/prism/snapshots/seattlerb/call_stabby_with_braces_block.txt
index ebbb7718ee..c641ccdeeb 100644
--- a/test/prism/snapshots/seattlerb/call_stabby_with_braces_block.txt
+++ b/test/prism/snapshots/seattlerb/call_stabby_with_braces_block.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,19))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :a
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -35,5 +36,4 @@
β”‚ β”‚ └── flags: decimal
β”‚ β”œβ”€β”€ opening_loc: (1,11)-(1,13) = "do"
β”‚ └── closing_loc: (1,16)-(1,19) = "end"
- β”œβ”€β”€ flags: βˆ…
- └── name: :a
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/call_star.txt b/test/prism/snapshots/seattlerb/call_star.txt
index ecdb52f0f4..5246bf4856 100644
--- a/test/prism/snapshots/seattlerb/call_star.txt
+++ b/test/prism/snapshots/seattlerb/call_star.txt
@@ -8,6 +8,7 @@
β”‚ @ IntegerNode (location: (1,0)-(1,1))
β”‚ └── flags: decimal
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :*
β”œβ”€β”€ message_loc: (1,2)-(1,3) = "*"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -18,5 +19,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :*
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/call_star2.txt b/test/prism/snapshots/seattlerb/call_star2.txt
index c63f67f22a..792c494f57 100644
--- a/test/prism/snapshots/seattlerb/call_star2.txt
+++ b/test/prism/snapshots/seattlerb/call_star2.txt
@@ -8,6 +8,7 @@
β”‚ @ IntegerNode (location: (1,0)-(1,1))
β”‚ └── flags: decimal
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :**
β”œβ”€β”€ message_loc: (1,2)-(1,4) = "**"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -18,5 +19,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :**
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/call_trailing_comma.txt b/test/prism/snapshots/seattlerb/call_trailing_comma.txt
index adde1e4534..6542595104 100644
--- a/test/prism/snapshots/seattlerb/call_trailing_comma.txt
+++ b/test/prism/snapshots/seattlerb/call_trailing_comma.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,5))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: (1,1)-(1,2) = "("
β”œβ”€β”€ arguments:
@@ -16,5 +17,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (1,4)-(1,5) = ")"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/call_trailing_dots.txt b/test/prism/snapshots/seattlerb/call_trailing_dots.txt
index fd4c001411..a337486e89 100644
--- a/test/prism/snapshots/seattlerb/call_trailing_dots.txt
+++ b/test/prism/snapshots/seattlerb/call_trailing_dots.txt
@@ -10,26 +10,26 @@
β”‚ β”‚ @ CallNode (location: (1,0)-(1,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (1,1)-(1,2) = "."
+ β”‚ β”œβ”€β”€ name: :b
β”‚ β”œβ”€β”€ message_loc: (2,0)-(2,1) = "b"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :b
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ call_operator_loc: (2,1)-(2,2) = "."
+ β”œβ”€β”€ name: :c
β”œβ”€β”€ message_loc: (3,0)-(3,1) = "c"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :c
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/call_unary_bang.txt b/test/prism/snapshots/seattlerb/call_unary_bang.txt
index cd18474439..378a11b738 100644
--- a/test/prism/snapshots/seattlerb/call_unary_bang.txt
+++ b/test/prism/snapshots/seattlerb/call_unary_bang.txt
@@ -8,10 +8,10 @@
β”‚ @ IntegerNode (location: (1,1)-(1,2))
β”‚ └── flags: decimal
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :!
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "!"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :!
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/case_in.txt b/test/prism/snapshots/seattlerb/case_in.txt
index ed80ae4f76..793448fb7a 100644
--- a/test/prism/snapshots/seattlerb/case_in.txt
+++ b/test/prism/snapshots/seattlerb/case_in.txt
@@ -736,13 +736,13 @@
β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (90,6)-(90,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (90,6)-(90,7) = "a"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ operator_loc: (90,4)-(90,5) = "^"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ lparen_loc: (90,5)-(90,6) = "("
β”‚ β”‚ β”‚ β”‚ └── rparen_loc: (90,7)-(90,8) = ")"
diff --git a/test/prism/snapshots/seattlerb/dasgn_icky2.txt b/test/prism/snapshots/seattlerb/dasgn_icky2.txt
index 3780d74d40..34540783fc 100644
--- a/test/prism/snapshots/seattlerb/dasgn_icky2.txt
+++ b/test/prism/snapshots/seattlerb/dasgn_icky2.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(8,3))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :a
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -57,5 +58,4 @@
β”‚ β”‚ └── end_keyword_loc: (7,2)-(7,5) = "end"
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,4) = "do"
β”‚ └── closing_loc: (8,0)-(8,3) = "end"
- β”œβ”€β”€ flags: βˆ…
- └── name: :a
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/defn_arg_forward_args.txt b/test/prism/snapshots/seattlerb/defn_arg_forward_args.txt
index a7fa779738..6218bc60f0 100644
--- a/test/prism/snapshots/seattlerb/defn_arg_forward_args.txt
+++ b/test/prism/snapshots/seattlerb/defn_arg_forward_args.txt
@@ -25,6 +25,7 @@
β”‚ └── @ CallNode (location: (1,15)-(1,24))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :b
β”‚ β”œβ”€β”€ message_loc: (1,15)-(1,16) = "b"
β”‚ β”œβ”€β”€ opening_loc: (1,16)-(1,17) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -37,8 +38,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (1,23)-(1,24) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :b
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ locals: [:x, :"..."]
β”œβ”€β”€ def_keyword_loc: (1,0)-(1,3) = "def"
β”œβ”€β”€ operator_loc: βˆ…
diff --git a/test/prism/snapshots/seattlerb/defn_args_forward_args.txt b/test/prism/snapshots/seattlerb/defn_args_forward_args.txt
index 0dff707b29..a7e896ff6a 100644
--- a/test/prism/snapshots/seattlerb/defn_args_forward_args.txt
+++ b/test/prism/snapshots/seattlerb/defn_args_forward_args.txt
@@ -29,6 +29,7 @@
β”‚ └── @ CallNode (location: (1,21)-(1,36))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :b
β”‚ β”œβ”€β”€ message_loc: (1,21)-(1,22) = "b"
β”‚ β”œβ”€β”€ opening_loc: (1,22)-(1,23) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -46,8 +47,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (1,35)-(1,36) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :b
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ locals: [:x, :y, :z, :"..."]
β”œβ”€β”€ def_keyword_loc: (1,0)-(1,3) = "def"
β”œβ”€β”€ operator_loc: βˆ…
diff --git a/test/prism/snapshots/seattlerb/defn_endless_command.txt b/test/prism/snapshots/seattlerb/defn_endless_command.txt
index 43c66665fb..ed5bd89b53 100644
--- a/test/prism/snapshots/seattlerb/defn_endless_command.txt
+++ b/test/prism/snapshots/seattlerb/defn_endless_command.txt
@@ -14,6 +14,7 @@
β”‚ └── @ CallNode (location: (1,18)-(1,33))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :other_method
β”‚ β”œβ”€β”€ message_loc: (1,18)-(1,30) = "other_method"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -24,8 +25,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :other_method
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ locals: []
β”œβ”€β”€ def_keyword_loc: (1,0)-(1,3) = "def"
β”œβ”€β”€ operator_loc: βˆ…
diff --git a/test/prism/snapshots/seattlerb/defn_endless_command_rescue.txt b/test/prism/snapshots/seattlerb/defn_endless_command_rescue.txt
index ace1227af1..2b12d3155b 100644
--- a/test/prism/snapshots/seattlerb/defn_endless_command_rescue.txt
+++ b/test/prism/snapshots/seattlerb/defn_endless_command_rescue.txt
@@ -16,6 +16,7 @@
β”‚ β”‚ @ CallNode (location: (1,18)-(1,33))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :other_method
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,18)-(1,30) = "other_method"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -26,8 +27,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :other_method
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ keyword_loc: (1,34)-(1,40) = "rescue"
β”‚ └── rescue_expression:
β”‚ @ IntegerNode (location: (1,41)-(1,43))
diff --git a/test/prism/snapshots/seattlerb/defn_forward_args.txt b/test/prism/snapshots/seattlerb/defn_forward_args.txt
index 6f14c0d1b1..4ed738aa1e 100644
--- a/test/prism/snapshots/seattlerb/defn_forward_args.txt
+++ b/test/prism/snapshots/seattlerb/defn_forward_args.txt
@@ -23,6 +23,7 @@
β”‚ └── @ CallNode (location: (1,12)-(1,18))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :b
β”‚ β”œβ”€β”€ message_loc: (1,12)-(1,13) = "b"
β”‚ β”œβ”€β”€ opening_loc: (1,13)-(1,14) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -32,8 +33,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (1,17)-(1,18) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :b
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ locals: [:"..."]
β”œβ”€β”€ def_keyword_loc: (1,0)-(1,3) = "def"
β”œβ”€β”€ operator_loc: βˆ…
diff --git a/test/prism/snapshots/seattlerb/defn_forward_args__no_parens.txt b/test/prism/snapshots/seattlerb/defn_forward_args__no_parens.txt
index de87e9757a..deacd362e4 100644
--- a/test/prism/snapshots/seattlerb/defn_forward_args__no_parens.txt
+++ b/test/prism/snapshots/seattlerb/defn_forward_args__no_parens.txt
@@ -23,6 +23,7 @@
β”‚ └── @ CallNode (location: (2,2)-(2,8))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :m
β”‚ β”œβ”€β”€ message_loc: (2,2)-(2,3) = "m"
β”‚ β”œβ”€β”€ opening_loc: (2,3)-(2,4) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -32,8 +33,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (2,7)-(2,8) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :m
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ locals: [:"..."]
β”œβ”€β”€ def_keyword_loc: (1,0)-(1,3) = "def"
β”œβ”€β”€ operator_loc: βˆ…
diff --git a/test/prism/snapshots/seattlerb/defn_kwarg_env.txt b/test/prism/snapshots/seattlerb/defn_kwarg_env.txt
index 33d48faf54..f96a658206 100644
--- a/test/prism/snapshots/seattlerb/defn_kwarg_env.txt
+++ b/test/prism/snapshots/seattlerb/defn_kwarg_env.txt
@@ -26,6 +26,7 @@
β”‚ └── @ CallNode (location: (1,20)-(1,41))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :test_splat
β”‚ β”œβ”€β”€ message_loc: (1,20)-(1,30) = "test_splat"
β”‚ β”œβ”€β”€ opening_loc: (1,30)-(1,31) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -42,8 +43,7 @@
β”‚ β”‚ └── flags: contains_keyword_splat
β”‚ β”œβ”€β”€ closing_loc: (1,40)-(1,41) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :test_splat
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ locals: [:testing]
β”œβ”€β”€ def_keyword_loc: (1,0)-(1,3) = "def"
β”œβ”€β”€ operator_loc: βˆ…
diff --git a/test/prism/snapshots/seattlerb/defn_oneliner.txt b/test/prism/snapshots/seattlerb/defn_oneliner.txt
index ecb762ca5e..cc833341cd 100644
--- a/test/prism/snapshots/seattlerb/defn_oneliner.txt
+++ b/test/prism/snapshots/seattlerb/defn_oneliner.txt
@@ -24,6 +24,7 @@
β”‚ └── @ CallNode (location: (1,16)-(1,27))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :system
β”‚ β”œβ”€β”€ message_loc: (1,16)-(1,22) = "system"
β”‚ β”œβ”€β”€ opening_loc: (1,22)-(1,23) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -35,8 +36,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (1,26)-(1,27) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :system
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ locals: [:cmd]
β”œβ”€β”€ def_keyword_loc: (1,0)-(1,3) = "def"
β”œβ”€β”€ operator_loc: βˆ…
diff --git a/test/prism/snapshots/seattlerb/defn_oneliner_noargs.txt b/test/prism/snapshots/seattlerb/defn_oneliner_noargs.txt
index 4863d34dd3..98b7c88bc0 100644
--- a/test/prism/snapshots/seattlerb/defn_oneliner_noargs.txt
+++ b/test/prism/snapshots/seattlerb/defn_oneliner_noargs.txt
@@ -14,13 +14,13 @@
β”‚ └── @ CallNode (location: (1,11)-(1,17))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :system
β”‚ β”œβ”€β”€ message_loc: (1,11)-(1,17) = "system"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :system
+ β”‚ └── flags: variable_call
β”œβ”€β”€ locals: []
β”œβ”€β”€ def_keyword_loc: (1,0)-(1,3) = "def"
β”œβ”€β”€ operator_loc: βˆ…
diff --git a/test/prism/snapshots/seattlerb/defn_oneliner_noargs_parentheses.txt b/test/prism/snapshots/seattlerb/defn_oneliner_noargs_parentheses.txt
index 2bce8977be..ea77c4c61b 100644
--- a/test/prism/snapshots/seattlerb/defn_oneliner_noargs_parentheses.txt
+++ b/test/prism/snapshots/seattlerb/defn_oneliner_noargs_parentheses.txt
@@ -14,13 +14,13 @@
β”‚ └── @ CallNode (location: (1,13)-(1,19))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :system
β”‚ β”œβ”€β”€ message_loc: (1,13)-(1,19) = "system"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :system
+ β”‚ └── flags: variable_call
β”œβ”€β”€ locals: []
β”œβ”€β”€ def_keyword_loc: (1,0)-(1,3) = "def"
β”œβ”€β”€ operator_loc: βˆ…
diff --git a/test/prism/snapshots/seattlerb/defn_oneliner_rescue.txt b/test/prism/snapshots/seattlerb/defn_oneliner_rescue.txt
index 89eaf5cae3..670d5e7e62 100644
--- a/test/prism/snapshots/seattlerb/defn_oneliner_rescue.txt
+++ b/test/prism/snapshots/seattlerb/defn_oneliner_rescue.txt
@@ -27,6 +27,7 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (2,2)-(2,13))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :system
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (2,2)-(2,8) = "system"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (2,8)-(2,9) = "("
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -38,8 +39,7 @@
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (2,12)-(2,13) = ")"
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :system
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ rescue_clause:
β”‚ β”‚ β”‚ @ RescueNode (location: (3,0)-(4,5))
β”‚ β”‚ β”‚ β”œβ”€β”€ keyword_loc: (3,0)-(3,6) = "rescue"
@@ -84,6 +84,7 @@
β”‚ β”‚ β”‚ @ CallNode (location: (9,2)-(9,13))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :system
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (9,2)-(9,8) = "system"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (9,8)-(9,9) = "("
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -95,8 +96,7 @@
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (9,12)-(9,13) = ")"
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :system
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ keyword_loc: (9,14)-(9,20) = "rescue"
β”‚ β”‚ └── rescue_expression:
β”‚ β”‚ @ NilNode (location: (9,21)-(9,24))
@@ -130,6 +130,7 @@
β”‚ β”‚ @ CallNode (location: (13,16)-(13,27))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :system
β”‚ β”‚ β”œβ”€β”€ message_loc: (13,16)-(13,22) = "system"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (13,22)-(13,23) = "("
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -141,8 +142,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: (13,26)-(13,27) = ")"
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :system
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ keyword_loc: (13,28)-(13,34) = "rescue"
β”‚ └── rescue_expression:
β”‚ @ NilNode (location: (13,35)-(13,38))
diff --git a/test/prism/snapshots/seattlerb/defs_as_arg_with_do_block_inside.txt b/test/prism/snapshots/seattlerb/defs_as_arg_with_do_block_inside.txt
index 67c4a22498..118db362cb 100644
--- a/test/prism/snapshots/seattlerb/defs_as_arg_with_do_block_inside.txt
+++ b/test/prism/snapshots/seattlerb/defs_as_arg_with_do_block_inside.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,30))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :p
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "p"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -25,14 +26,15 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (1,14)-(1,15))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :x
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,14)-(1,15) = "x"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :x
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (1,15)-(1,16) = "."
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :y
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,16)-(1,17) = "y"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -44,8 +46,7 @@
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,18)-(1,20) = "do"
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (1,22)-(1,25) = "end"
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :y
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ locals: []
β”‚ β”‚ β”œβ”€β”€ def_keyword_loc: (1,2)-(1,5) = "def"
β”‚ β”‚ β”œβ”€β”€ operator_loc: (1,10)-(1,11) = "."
@@ -56,5 +57,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :p
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/defs_endless_command.txt b/test/prism/snapshots/seattlerb/defs_endless_command.txt
index 0a579c8a02..44ce92fa8f 100644
--- a/test/prism/snapshots/seattlerb/defs_endless_command.txt
+++ b/test/prism/snapshots/seattlerb/defs_endless_command.txt
@@ -10,13 +10,13 @@
β”‚ @ CallNode (location: (1,4)-(1,5))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :x
β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,5) = "x"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :x
+ β”‚ └── flags: variable_call
β”œβ”€β”€ parameters: βˆ…
β”œβ”€β”€ body:
β”‚ @ StatementsNode (location: (1,20)-(1,35))
@@ -24,6 +24,7 @@
β”‚ └── @ CallNode (location: (1,20)-(1,35))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :other_method
β”‚ β”œβ”€β”€ message_loc: (1,20)-(1,32) = "other_method"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -34,8 +35,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :other_method
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ locals: []
β”œβ”€β”€ def_keyword_loc: (1,0)-(1,3) = "def"
β”œβ”€β”€ operator_loc: (1,5)-(1,6) = "."
diff --git a/test/prism/snapshots/seattlerb/defs_endless_command_rescue.txt b/test/prism/snapshots/seattlerb/defs_endless_command_rescue.txt
index cfa1d12086..9e6a4b5db5 100644
--- a/test/prism/snapshots/seattlerb/defs_endless_command_rescue.txt
+++ b/test/prism/snapshots/seattlerb/defs_endless_command_rescue.txt
@@ -10,13 +10,13 @@
β”‚ @ CallNode (location: (1,4)-(1,5))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :x
β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,5) = "x"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :x
+ β”‚ └── flags: variable_call
β”œβ”€β”€ parameters: βˆ…
β”œβ”€β”€ body:
β”‚ @ StatementsNode (location: (1,20)-(1,45))
@@ -26,6 +26,7 @@
β”‚ β”‚ @ CallNode (location: (1,20)-(1,35))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :other_method
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,20)-(1,32) = "other_method"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -36,8 +37,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :other_method
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ keyword_loc: (1,36)-(1,42) = "rescue"
β”‚ └── rescue_expression:
β”‚ @ IntegerNode (location: (1,43)-(1,45))
diff --git a/test/prism/snapshots/seattlerb/defs_oneliner.txt b/test/prism/snapshots/seattlerb/defs_oneliner.txt
index eb1404cfed..11199857e3 100644
--- a/test/prism/snapshots/seattlerb/defs_oneliner.txt
+++ b/test/prism/snapshots/seattlerb/defs_oneliner.txt
@@ -25,6 +25,7 @@
β”‚ └── @ CallNode (location: (1,21)-(1,32))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :system
β”‚ β”œβ”€β”€ message_loc: (1,21)-(1,27) = "system"
β”‚ β”œβ”€β”€ opening_loc: (1,27)-(1,28) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -36,8 +37,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (1,31)-(1,32) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :system
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ locals: [:cmd]
β”œβ”€β”€ def_keyword_loc: (1,0)-(1,3) = "def"
β”œβ”€β”€ operator_loc: (1,8)-(1,9) = "."
diff --git a/test/prism/snapshots/seattlerb/defs_oneliner_rescue.txt b/test/prism/snapshots/seattlerb/defs_oneliner_rescue.txt
index e246af5c0c..72cce7e459 100644
--- a/test/prism/snapshots/seattlerb/defs_oneliner_rescue.txt
+++ b/test/prism/snapshots/seattlerb/defs_oneliner_rescue.txt
@@ -28,6 +28,7 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (2,2)-(2,13))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :system
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (2,2)-(2,8) = "system"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (2,8)-(2,9) = "("
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -39,8 +40,7 @@
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (2,12)-(2,13) = ")"
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :system
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ rescue_clause:
β”‚ β”‚ β”‚ @ RescueNode (location: (3,0)-(4,5))
β”‚ β”‚ β”‚ β”œβ”€β”€ keyword_loc: (3,0)-(3,6) = "rescue"
@@ -86,6 +86,7 @@
β”‚ β”‚ β”‚ @ CallNode (location: (9,2)-(9,13))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :system
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (9,2)-(9,8) = "system"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (9,8)-(9,9) = "("
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -97,8 +98,7 @@
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (9,12)-(9,13) = ")"
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :system
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ keyword_loc: (9,14)-(9,20) = "rescue"
β”‚ β”‚ └── rescue_expression:
β”‚ β”‚ @ NilNode (location: (9,21)-(9,24))
@@ -133,6 +133,7 @@
β”‚ β”‚ @ CallNode (location: (13,21)-(13,32))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :system
β”‚ β”‚ β”œβ”€β”€ message_loc: (13,21)-(13,27) = "system"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (13,27)-(13,28) = "("
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -144,8 +145,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: (13,31)-(13,32) = ")"
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :system
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ keyword_loc: (13,33)-(13,39) = "rescue"
β”‚ └── rescue_expression:
β”‚ @ NilNode (location: (13,40)-(13,43))
diff --git a/test/prism/snapshots/seattlerb/difficult0_.txt b/test/prism/snapshots/seattlerb/difficult0_.txt
index 4d7ab2ba44..1810fa0dae 100644
--- a/test/prism/snapshots/seattlerb/difficult0_.txt
+++ b/test/prism/snapshots/seattlerb/difficult0_.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(4,8))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :p
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "p"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -22,6 +23,7 @@
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (3,0)-(4,0) = " END\n"
β”‚ β”‚ β”‚ β”‚ └── unescaped: " a\n"
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :+
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,8)-(1,9) = "+"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -46,9 +48,9 @@
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :+
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :+
β”‚ β”‚ β”œβ”€β”€ message_loc: (4,4)-(4,5) = "+"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -63,10 +65,8 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :+
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :p
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/difficult1_line_numbers.txt b/test/prism/snapshots/seattlerb/difficult1_line_numbers.txt
index c0dda2420e..17a7a3cb68 100644
--- a/test/prism/snapshots/seattlerb/difficult1_line_numbers.txt
+++ b/test/prism/snapshots/seattlerb/difficult1_line_numbers.txt
@@ -14,6 +14,7 @@
β”‚ β”œβ”€β”€ @ CallNode (location: (2,2)-(2,5))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :p
β”‚ β”‚ β”œβ”€β”€ message_loc: (2,2)-(2,3) = "p"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -24,21 +25,21 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :p
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ @ CallNode (location: (3,2)-(3,7))
β”‚ β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ β”‚ @ CallNode (location: (3,2)-(3,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,2)-(3,3) = "a"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (3,3)-(3,4) = "."
+ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,4)-(3,5) = "b"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -49,21 +50,21 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :b
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ @ CallNode (location: (4,2)-(4,10))
β”‚ β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ β”‚ @ CallNode (location: (4,2)-(4,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (4,2)-(4,3) = "c"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (4,3)-(4,4) = "."
+ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”œβ”€β”€ message_loc: (4,4)-(4,5) = "d"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -76,21 +77,21 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :d
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ @ CallNode (location: (5,2)-(5,7))
β”‚ β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ β”‚ @ CallNode (location: (5,2)-(5,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :e
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (5,2)-(5,3) = "e"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :e
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (5,3)-(5,4) = "."
+ β”‚ β”‚ β”œβ”€β”€ name: :f
β”‚ β”‚ β”œβ”€β”€ message_loc: (5,4)-(5,5) = "f"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -101,21 +102,21 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :f
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ @ CallNode (location: (6,2)-(6,10))
β”‚ β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ β”‚ @ CallNode (location: (6,2)-(6,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :g
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (6,2)-(6,3) = "g"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :g
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (6,3)-(6,4) = "."
+ β”‚ β”‚ β”œβ”€β”€ name: :h
β”‚ β”‚ β”œβ”€β”€ message_loc: (6,4)-(6,5) = "h"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -128,11 +129,11 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :h
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ @ CallNode (location: (7,2)-(7,6))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :p
β”‚ β”‚ β”œβ”€β”€ message_loc: (7,2)-(7,3) = "p"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (7,3)-(7,4) = "("
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -143,21 +144,21 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: (7,5)-(7,6) = ")"
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :p
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ @ CallNode (location: (8,2)-(8,8))
β”‚ β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ β”‚ @ CallNode (location: (8,2)-(8,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (8,2)-(8,3) = "a"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (8,3)-(8,4) = "."
+ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”œβ”€β”€ message_loc: (8,4)-(8,5) = "b"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (8,5)-(8,6) = "("
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -168,21 +169,21 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: (8,7)-(8,8) = ")"
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :b
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ @ CallNode (location: (9,2)-(9,11))
β”‚ β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ β”‚ @ CallNode (location: (9,2)-(9,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (9,2)-(9,3) = "c"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (9,3)-(9,4) = "."
+ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”œβ”€β”€ message_loc: (9,4)-(9,5) = "d"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (9,5)-(9,6) = "("
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -195,21 +196,21 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: (9,10)-(9,11) = ")"
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :d
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ @ CallNode (location: (10,2)-(10,8))
β”‚ β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ β”‚ @ CallNode (location: (10,2)-(10,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :e
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (10,2)-(10,3) = "e"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :e
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (10,3)-(10,4) = "."
+ β”‚ β”‚ β”œβ”€β”€ name: :f
β”‚ β”‚ β”œβ”€β”€ message_loc: (10,4)-(10,5) = "f"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (10,5)-(10,6) = "("
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -220,21 +221,21 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: (10,7)-(10,8) = ")"
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :f
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── @ CallNode (location: (11,2)-(11,11))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (11,2)-(11,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :g
β”‚ β”‚ β”œβ”€β”€ message_loc: (11,2)-(11,3) = "g"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :g
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (11,3)-(11,4) = "."
+ β”‚ β”œβ”€β”€ name: :h
β”‚ β”œβ”€β”€ message_loc: (11,4)-(11,5) = "h"
β”‚ β”œβ”€β”€ opening_loc: (11,5)-(11,6) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -247,7 +248,6 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (11,10)-(11,11) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :h
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ consequent: βˆ…
└── end_keyword_loc: (12,0)-(12,3) = "end"
diff --git a/test/prism/snapshots/seattlerb/difficult1_line_numbers2.txt b/test/prism/snapshots/seattlerb/difficult1_line_numbers2.txt
index bb2f11167a..f44437480f 100644
--- a/test/prism/snapshots/seattlerb/difficult1_line_numbers2.txt
+++ b/test/prism/snapshots/seattlerb/difficult1_line_numbers2.txt
@@ -14,6 +14,7 @@
β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (2,2)-(2,8))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :p
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (2,2)-(2,3) = "p"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (2,3)-(2,4) = "("
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -28,8 +29,7 @@
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (2,7)-(2,8) = ")"
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :p
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ @ LocalVariableWriteNode (location: (3,2)-(3,7))
β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ depth: 0
@@ -41,6 +41,7 @@
β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (4,2)-(4,5))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :p
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (4,2)-(4,3) = "p"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -52,8 +53,7 @@
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :p
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── @ LocalVariableWriteNode (location: (5,2)-(5,6))
β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”œβ”€β”€ depth: 0
@@ -67,10 +67,10 @@
└── @ CallNode (location: (7,0)-(7,1))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :a
β”œβ”€β”€ message_loc: (7,0)-(7,1) = "a"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: variable_call
- └── name: :a
+ └── flags: variable_call
diff --git a/test/prism/snapshots/seattlerb/difficult2_.txt b/test/prism/snapshots/seattlerb/difficult2_.txt
index 9929ca0345..599c784501 100644
--- a/test/prism/snapshots/seattlerb/difficult2_.txt
+++ b/test/prism/snapshots/seattlerb/difficult2_.txt
@@ -15,6 +15,7 @@
β”‚ β”‚ └── @ CallNode (location: (1,4)-(1,9))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,5) = "b"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,5)-(1,6) = "("
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -29,8 +30,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: (1,8)-(1,9) = ")"
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :b
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ consequent:
β”‚ β”‚ @ ElseNode (location: (1,10)-(1,13))
β”‚ β”‚ β”œβ”€β”€ else_keyword_loc: (1,10)-(1,11) = ":"
@@ -44,6 +44,7 @@
└── @ CallNode (location: (2,0)-(2,6))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :a
β”œβ”€β”€ message_loc: (2,0)-(2,1) = "a"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -65,5 +66,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :a
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/difficult3_.txt b/test/prism/snapshots/seattlerb/difficult3_.txt
index f4da0a4f76..3f2b0545dc 100644
--- a/test/prism/snapshots/seattlerb/difficult3_.txt
+++ b/test/prism/snapshots/seattlerb/difficult3_.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,18))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -45,5 +46,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,17)-(1,18) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/difficult3_2.txt b/test/prism/snapshots/seattlerb/difficult3_2.txt
index 49c6345a5a..1352705188 100644
--- a/test/prism/snapshots/seattlerb/difficult3_2.txt
+++ b/test/prism/snapshots/seattlerb/difficult3_2.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,13))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -36,5 +37,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,12)-(1,13) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/difficult3_3.txt b/test/prism/snapshots/seattlerb/difficult3_3.txt
index d7431da15a..04207aad7a 100644
--- a/test/prism/snapshots/seattlerb/difficult3_3.txt
+++ b/test/prism/snapshots/seattlerb/difficult3_3.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,17))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -40,5 +41,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,16)-(1,17) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/difficult3_4.txt b/test/prism/snapshots/seattlerb/difficult3_4.txt
index c363006c3f..c23fa784d2 100644
--- a/test/prism/snapshots/seattlerb/difficult3_4.txt
+++ b/test/prism/snapshots/seattlerb/difficult3_4.txt
@@ -14,13 +14,13 @@
β”‚ β”‚ @ CallNode (location: (1,2)-(1,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,2)-(1,3) = "b"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :b
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ then_keyword_loc: (1,4)-(1,5) = "?"
β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ @ StatementsNode (location: (1,6)-(1,10))
diff --git a/test/prism/snapshots/seattlerb/difficult3_5.txt b/test/prism/snapshots/seattlerb/difficult3_5.txt
index 0ba5dee990..d446ac88b0 100644
--- a/test/prism/snapshots/seattlerb/difficult3_5.txt
+++ b/test/prism/snapshots/seattlerb/difficult3_5.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,19))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -28,6 +29,7 @@
β”‚ β”‚ └── @ CallNode (location: (1,9)-(1,17))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :g
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,9)-(1,10) = "g"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -39,10 +41,8 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,11)-(1,13) = "do"
β”‚ β”‚ β”‚ └── closing_loc: (1,14)-(1,17) = "end"
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :g
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/difficult3__10.txt b/test/prism/snapshots/seattlerb/difficult3__10.txt
index 4d6e66c0be..eabf92f1f4 100644
--- a/test/prism/snapshots/seattlerb/difficult3__10.txt
+++ b/test/prism/snapshots/seattlerb/difficult3__10.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,18))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -45,5 +46,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,17)-(1,18) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/difficult3__11.txt b/test/prism/snapshots/seattlerb/difficult3__11.txt
index 7ee50022cc..16e2bd68b1 100644
--- a/test/prism/snapshots/seattlerb/difficult3__11.txt
+++ b/test/prism/snapshots/seattlerb/difficult3__11.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,14))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -41,5 +42,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,13)-(1,14) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/difficult3__12.txt b/test/prism/snapshots/seattlerb/difficult3__12.txt
index 6aa538625a..072b3fb130 100644
--- a/test/prism/snapshots/seattlerb/difficult3__12.txt
+++ b/test/prism/snapshots/seattlerb/difficult3__12.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,17))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -43,5 +44,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,16)-(1,17) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/difficult3__6.txt b/test/prism/snapshots/seattlerb/difficult3__6.txt
index 49eae83c23..2afabb3bb1 100644
--- a/test/prism/snapshots/seattlerb/difficult3__6.txt
+++ b/test/prism/snapshots/seattlerb/difficult3__6.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,21))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -47,5 +48,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,20)-(1,21) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/difficult3__7.txt b/test/prism/snapshots/seattlerb/difficult3__7.txt
index 7c06ac827e..c44ed91659 100644
--- a/test/prism/snapshots/seattlerb/difficult3__7.txt
+++ b/test/prism/snapshots/seattlerb/difficult3__7.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,17))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -43,5 +44,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,16)-(1,17) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/difficult3__8.txt b/test/prism/snapshots/seattlerb/difficult3__8.txt
index 5088e00b68..fe6e57b9e5 100644
--- a/test/prism/snapshots/seattlerb/difficult3__8.txt
+++ b/test/prism/snapshots/seattlerb/difficult3__8.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,20))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -45,5 +46,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,19)-(1,20) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/difficult3__9.txt b/test/prism/snapshots/seattlerb/difficult3__9.txt
index 8918bf49cf..313eac0f2c 100644
--- a/test/prism/snapshots/seattlerb/difficult3__9.txt
+++ b/test/prism/snapshots/seattlerb/difficult3__9.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,15))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -43,5 +44,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,14)-(1,15) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/difficult4__leading_dots.txt b/test/prism/snapshots/seattlerb/difficult4__leading_dots.txt
index d4550f9616..e174cf39c0 100644
--- a/test/prism/snapshots/seattlerb/difficult4__leading_dots.txt
+++ b/test/prism/snapshots/seattlerb/difficult4__leading_dots.txt
@@ -8,18 +8,18 @@
β”‚ @ CallNode (location: (1,0)-(1,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: (2,0)-(2,1) = "."
+ β”œβ”€β”€ name: :b
β”œβ”€β”€ message_loc: (2,1)-(2,2) = "b"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :b
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/difficult6_.txt b/test/prism/snapshots/seattlerb/difficult6_.txt
index 2eb9b7595e..3c2c093bad 100644
--- a/test/prism/snapshots/seattlerb/difficult6_.txt
+++ b/test/prism/snapshots/seattlerb/difficult6_.txt
@@ -36,6 +36,7 @@
└── @ CallNode (location: (1,15)-(1,23))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :p
β”œβ”€β”€ message_loc: (1,15)-(1,16) = "p"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -55,5 +56,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :p
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/difficult6__7.txt b/test/prism/snapshots/seattlerb/difficult6__7.txt
index 2cfbe65709..2b8bf58ae0 100644
--- a/test/prism/snapshots/seattlerb/difficult6__7.txt
+++ b/test/prism/snapshots/seattlerb/difficult6__7.txt
@@ -8,14 +8,15 @@
β”‚ @ CallNode (location: (1,0)-(1,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: (1,1)-(1,2) = "."
+ β”œβ”€β”€ name: :b
β”œβ”€β”€ message_loc: (1,2)-(1,3) = "b"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -41,14 +42,13 @@
β”‚ β”‚ └── @ CallNode (location: (1,9)-(1,10))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,9)-(1,10) = "c"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :c
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ opening_loc: (1,8)-(1,9) = "{"
β”‚ └── closing_loc: (1,10)-(1,11) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :b
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/difficult6__8.txt b/test/prism/snapshots/seattlerb/difficult6__8.txt
index 4456ce6b55..88f0436a72 100644
--- a/test/prism/snapshots/seattlerb/difficult6__8.txt
+++ b/test/prism/snapshots/seattlerb/difficult6__8.txt
@@ -8,14 +8,15 @@
β”‚ @ CallNode (location: (1,0)-(1,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: (1,1)-(1,3) = "::"
+ β”œβ”€β”€ name: :b
β”œβ”€β”€ message_loc: (1,3)-(1,4) = "b"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -41,14 +42,13 @@
β”‚ β”‚ └── @ CallNode (location: (1,10)-(1,11))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,10)-(1,11) = "c"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :c
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ opening_loc: (1,9)-(1,10) = "{"
β”‚ └── closing_loc: (1,11)-(1,12) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :b
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/difficult7_.txt b/test/prism/snapshots/seattlerb/difficult7_.txt
index 33cdcb2153..5650727fad 100644
--- a/test/prism/snapshots/seattlerb/difficult7_.txt
+++ b/test/prism/snapshots/seattlerb/difficult7_.txt
@@ -17,6 +17,7 @@
β”‚ β”‚ β”‚ @ CallNode (location: (2,11)-(2,33))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :lambda
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (2,11)-(2,17) = "lambda"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -34,13 +35,13 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (2,20)-(2,21))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (2,20)-(2,21) = "b"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ then_keyword_loc: (2,22)-(2,23) = "?"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ @ StatementsNode (location: (2,24)-(2,27))
@@ -48,13 +49,13 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (2,24)-(2,27))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (2,24)-(2,25) = "c"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (2,25)-(2,26) = "("
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (2,26)-(2,27) = ")"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ consequent:
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ @ ElseNode (location: (2,28)-(2,31))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ else_keyword_loc: (2,28)-(2,29) = ":"
@@ -64,19 +65,18 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (2,30)-(2,31))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (2,30)-(2,31) = "d"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── end_keyword_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ └── end_keyword_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (2,18)-(2,19) = "{"
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (2,32)-(2,33) = "}"
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :lambda
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── operator_loc: βˆ…
β”‚ └── @ AssocNode (location: (3,8)-(3,14))
β”‚ β”œβ”€β”€ key:
diff --git a/test/prism/snapshots/seattlerb/do_bug.txt b/test/prism/snapshots/seattlerb/do_bug.txt
index 62ea0072e5..14c707055f 100644
--- a/test/prism/snapshots/seattlerb/do_bug.txt
+++ b/test/prism/snapshots/seattlerb/do_bug.txt
@@ -6,6 +6,7 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(1,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -16,21 +17,21 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (2,0)-(4,3))
β”œβ”€β”€ receiver:
β”‚ @ CallNode (location: (2,0)-(2,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (2,0)-(2,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: (2,1)-(2,2) = "."
+ β”œβ”€β”€ name: :b
β”œβ”€β”€ message_loc: (2,2)-(2,3) = "b"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -57,5 +58,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (2,4)-(2,6) = "do"
β”‚ └── closing_loc: (4,0)-(4,3) = "end"
- β”œβ”€β”€ flags: βˆ…
- └── name: :b
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/dot2_nil__26.txt b/test/prism/snapshots/seattlerb/dot2_nil__26.txt
index caf67e1875..01a65eab9f 100644
--- a/test/prism/snapshots/seattlerb/dot2_nil__26.txt
+++ b/test/prism/snapshots/seattlerb/dot2_nil__26.txt
@@ -8,13 +8,13 @@
β”‚ @ CallNode (location: (1,0)-(1,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ right: βˆ…
β”œβ”€β”€ operator_loc: (1,1)-(1,3) = ".."
└── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/dot3_nil__26.txt b/test/prism/snapshots/seattlerb/dot3_nil__26.txt
index e44e359055..be7679ab77 100644
--- a/test/prism/snapshots/seattlerb/dot3_nil__26.txt
+++ b/test/prism/snapshots/seattlerb/dot3_nil__26.txt
@@ -8,13 +8,13 @@
β”‚ @ CallNode (location: (1,0)-(1,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ right: βˆ…
β”œβ”€β”€ operator_loc: (1,1)-(1,4) = "..."
└── flags: exclude_end
diff --git a/test/prism/snapshots/seattlerb/dstr_evstr.txt b/test/prism/snapshots/seattlerb/dstr_evstr.txt
index 88073d9dad..794e144c65 100644
--- a/test/prism/snapshots/seattlerb/dstr_evstr.txt
+++ b/test/prism/snapshots/seattlerb/dstr_evstr.txt
@@ -26,12 +26,12 @@
β”‚ β”‚ └── @ CallNode (location: (1,9)-(1,10))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,9)-(1,10) = "b"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :b
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── closing_loc: (1,10)-(1,11) = "}"
└── closing_loc: (1,11)-(1,12) = "\""
diff --git a/test/prism/snapshots/seattlerb/dstr_evstr_empty_end.txt b/test/prism/snapshots/seattlerb/dstr_evstr_empty_end.txt
index de9c6cd1c7..b3743114ad 100644
--- a/test/prism/snapshots/seattlerb/dstr_evstr_empty_end.txt
+++ b/test/prism/snapshots/seattlerb/dstr_evstr_empty_end.txt
@@ -14,12 +14,12 @@
β”‚ β”‚ └── @ CallNode (location: (1,4)-(1,9))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :field
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,9) = "field"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :field
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── closing_loc: (1,9)-(1,10) = "}"
└── closing_loc: (1,10)-(1,11) = "\""
diff --git a/test/prism/snapshots/seattlerb/dstr_lex_state.txt b/test/prism/snapshots/seattlerb/dstr_lex_state.txt
index f2f03649d2..9172daedc7 100644
--- a/test/prism/snapshots/seattlerb/dstr_lex_state.txt
+++ b/test/prism/snapshots/seattlerb/dstr_lex_state.txt
@@ -14,6 +14,7 @@
β”‚ β”‚ └── @ CallNode (location: (1,3)-(1,6))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :p
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,3)-(1,4) = "p"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -27,7 +28,6 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :p
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── closing_loc: (1,6)-(1,7) = "}"
└── closing_loc: (1,7)-(1,8) = "\""
diff --git a/test/prism/snapshots/seattlerb/eq_begin_why_wont_people_use_their_spacebar.txt b/test/prism/snapshots/seattlerb/eq_begin_why_wont_people_use_their_spacebar.txt
index 752e0fc41b..bc72255ff4 100644
--- a/test/prism/snapshots/seattlerb/eq_begin_why_wont_people_use_their_spacebar.txt
+++ b/test/prism/snapshots/seattlerb/eq_begin_why_wont_people_use_their_spacebar.txt
@@ -8,14 +8,15 @@
β”‚ @ CallNode (location: (1,0)-(1,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :h
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "h"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :h
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :[]=
β”œβ”€β”€ message_loc: (1,1)-(1,4) = "[k]"
β”œβ”€β”€ opening_loc: (1,1)-(1,2) = "["
β”œβ”€β”€ arguments:
@@ -24,13 +25,13 @@
β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (1,2)-(1,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :k
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,2)-(1,3) = "k"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :k
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── @ BeginNode (location: (1,5)-(3,8))
β”‚ β”‚ β”œβ”€β”€ begin_keyword_loc: (1,5)-(1,10) = "begin"
β”‚ β”‚ β”œβ”€β”€ statements:
@@ -45,5 +46,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (1,3)-(1,4) = "]"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :[]=
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/evstr_evstr.txt b/test/prism/snapshots/seattlerb/evstr_evstr.txt
index 21a5b31dbb..102f21b884 100644
--- a/test/prism/snapshots/seattlerb/evstr_evstr.txt
+++ b/test/prism/snapshots/seattlerb/evstr_evstr.txt
@@ -14,13 +14,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (1,3)-(1,4))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,3)-(1,4) = "a"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── closing_loc: (1,4)-(1,5) = "}"
β”‚ └── @ EmbeddedStatementsNode (location: (1,5)-(1,9))
β”‚ β”œβ”€β”€ opening_loc: (1,5)-(1,7) = "\#{"
@@ -30,12 +30,12 @@
β”‚ β”‚ └── @ CallNode (location: (1,7)-(1,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,7)-(1,8) = "b"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :b
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── closing_loc: (1,8)-(1,9) = "}"
└── closing_loc: (1,9)-(1,10) = "\""
diff --git a/test/prism/snapshots/seattlerb/evstr_str.txt b/test/prism/snapshots/seattlerb/evstr_str.txt
index 873d6331f5..465f89a028 100644
--- a/test/prism/snapshots/seattlerb/evstr_str.txt
+++ b/test/prism/snapshots/seattlerb/evstr_str.txt
@@ -14,13 +14,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (1,3)-(1,4))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,3)-(1,4) = "a"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── closing_loc: (1,4)-(1,5) = "}"
β”‚ └── @ StringNode (location: (1,5)-(1,7))
β”‚ β”œβ”€β”€ flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/expr_not_bang.txt b/test/prism/snapshots/seattlerb/expr_not_bang.txt
index 22394dddf0..a9bfae7381 100644
--- a/test/prism/snapshots/seattlerb/expr_not_bang.txt
+++ b/test/prism/snapshots/seattlerb/expr_not_bang.txt
@@ -8,6 +8,7 @@
β”‚ @ CallNode (location: (1,2)-(1,5))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,2)-(1,3) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -16,23 +17,22 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (1,4)-(1,5))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,5) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :!
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "!"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :!
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/flip2_env_lvar.txt b/test/prism/snapshots/seattlerb/flip2_env_lvar.txt
index 146d8cddef..3cd798e41f 100644
--- a/test/prism/snapshots/seattlerb/flip2_env_lvar.txt
+++ b/test/prism/snapshots/seattlerb/flip2_env_lvar.txt
@@ -11,24 +11,24 @@
β”‚ β”‚ @ CallNode (location: (1,3)-(1,4))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,3)-(1,4) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ right:
β”‚ β”‚ @ CallNode (location: (1,6)-(1,7))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,6)-(1,7) = "b"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :b
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ operator_loc: (1,4)-(1,6) = ".."
β”‚ └── flags: βˆ…
β”œβ”€β”€ then_keyword_loc: (1,8)-(1,12) = "then"
diff --git a/test/prism/snapshots/seattlerb/heredoc_squiggly_blank_line_plus_interpolation.txt b/test/prism/snapshots/seattlerb/heredoc_squiggly_blank_line_plus_interpolation.txt
index 237f7483ec..540dd219fa 100644
--- a/test/prism/snapshots/seattlerb/heredoc_squiggly_blank_line_plus_interpolation.txt
+++ b/test/prism/snapshots/seattlerb/heredoc_squiggly_blank_line_plus_interpolation.txt
@@ -11,6 +11,7 @@
β”‚ @ CallNode (location: (1,4)-(1,20))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,7) = "foo"
β”‚ β”œβ”€β”€ opening_loc: (1,7)-(1,8) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -35,13 +36,13 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (3,6)-(3,9))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,6)-(3,9) = "bar"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (3,9)-(3,10) = "}"
β”‚ β”‚ β”‚ β”‚ β”‚ └── @ StringNode (location: (3,10)-(4,0))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
@@ -51,16 +52,15 @@
β”‚ β”‚ β”‚ β”‚ β”‚ └── unescaped: "baz\n"
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (4,0)-(5,0) = " EOF\n"
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (1,14)-(1,15) = "."
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :chop
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,15)-(1,19) = "chop"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :chop
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (1,19)-(1,20) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
└── operator_loc: (1,2)-(1,3) = "="
diff --git a/test/prism/snapshots/seattlerb/heredoc_trailing_slash_continued_call.txt b/test/prism/snapshots/seattlerb/heredoc_trailing_slash_continued_call.txt
index f6ab13617a..c3622c841f 100644
--- a/test/prism/snapshots/seattlerb/heredoc_trailing_slash_continued_call.txt
+++ b/test/prism/snapshots/seattlerb/heredoc_trailing_slash_continued_call.txt
@@ -12,10 +12,10 @@
β”‚ β”œβ”€β”€ closing_loc: (3,0)-(4,0) = "END\n"
β”‚ └── unescaped: "blah\n"
β”œβ”€β”€ call_operator_loc: (4,0)-(4,1) = "."
+ β”œβ”€β”€ name: :strip
β”œβ”€β”€ message_loc: (4,1)-(4,6) = "strip"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :strip
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/if_symbol.txt b/test/prism/snapshots/seattlerb/if_symbol.txt
index e4358bed1a..e561b6c026 100644
--- a/test/prism/snapshots/seattlerb/if_symbol.txt
+++ b/test/prism/snapshots/seattlerb/if_symbol.txt
@@ -9,6 +9,7 @@
β”‚ @ CallNode (location: (1,3)-(1,7))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :f
β”‚ β”œβ”€β”€ message_loc: (1,3)-(1,4) = "f"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -22,8 +23,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :f
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ then_keyword_loc: βˆ…
β”œβ”€β”€ statements: βˆ…
β”œβ”€β”€ consequent: βˆ…
diff --git a/test/prism/snapshots/seattlerb/index_0.txt b/test/prism/snapshots/seattlerb/index_0.txt
index a1ccfe1ef2..e295b2aadf 100644
--- a/test/prism/snapshots/seattlerb/index_0.txt
+++ b/test/prism/snapshots/seattlerb/index_0.txt
@@ -8,14 +8,15 @@
β”‚ @ CallNode (location: (1,0)-(1,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :[]=
β”œβ”€β”€ message_loc: (1,1)-(1,3) = "[]"
β”œβ”€β”€ opening_loc: (1,1)-(1,2) = "["
β”œβ”€β”€ arguments:
@@ -24,15 +25,14 @@
β”‚ β”‚ └── @ CallNode (location: (1,6)-(1,7))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,6)-(1,7) = "b"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :b
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (1,2)-(1,3) = "]"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :[]=
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/index_0_opasgn.txt b/test/prism/snapshots/seattlerb/index_0_opasgn.txt
index 554b9f12ba..30eba375e0 100644
--- a/test/prism/snapshots/seattlerb/index_0_opasgn.txt
+++ b/test/prism/snapshots/seattlerb/index_0_opasgn.txt
@@ -8,13 +8,13 @@
β”‚ @ CallNode (location: (1,0)-(1,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: βˆ…
β”œβ”€β”€ opening_loc: (1,1)-(1,2) = "["
β”œβ”€β”€ arguments: βˆ…
@@ -27,10 +27,10 @@
@ CallNode (location: (1,7)-(1,8))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :b
β”œβ”€β”€ message_loc: (1,7)-(1,8) = "b"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: variable_call
- └── name: :b
+ └── flags: variable_call
diff --git a/test/prism/snapshots/seattlerb/iter_args_1.txt b/test/prism/snapshots/seattlerb/iter_args_1.txt
index b32558152e..3b0deb9ae6 100644
--- a/test/prism/snapshots/seattlerb/iter_args_1.txt
+++ b/test/prism/snapshots/seattlerb/iter_args_1.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,11))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -34,5 +35,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,10)-(1,11) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/iter_args_10_1.txt b/test/prism/snapshots/seattlerb/iter_args_10_1.txt
index a3d8c38e33..341954af29 100644
--- a/test/prism/snapshots/seattlerb/iter_args_10_1.txt
+++ b/test/prism/snapshots/seattlerb/iter_args_10_1.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,21))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -43,5 +44,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,20)-(1,21) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/iter_args_10_2.txt b/test/prism/snapshots/seattlerb/iter_args_10_2.txt
index 6a472f8a84..d2bcc55c71 100644
--- a/test/prism/snapshots/seattlerb/iter_args_10_2.txt
+++ b/test/prism/snapshots/seattlerb/iter_args_10_2.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,25))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -47,5 +48,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,24)-(1,25) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/iter_args_11_1.txt b/test/prism/snapshots/seattlerb/iter_args_11_1.txt
index 4bc3c815cd..d70ee259f2 100644
--- a/test/prism/snapshots/seattlerb/iter_args_11_1.txt
+++ b/test/prism/snapshots/seattlerb/iter_args_11_1.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,24))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -45,5 +46,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,23)-(1,24) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/iter_args_11_2.txt b/test/prism/snapshots/seattlerb/iter_args_11_2.txt
index 06bac83f34..553ad42132 100644
--- a/test/prism/snapshots/seattlerb/iter_args_11_2.txt
+++ b/test/prism/snapshots/seattlerb/iter_args_11_2.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,28))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -49,5 +50,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,27)-(1,28) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/iter_args_2__19.txt b/test/prism/snapshots/seattlerb/iter_args_2__19.txt
index f9b9e2cf25..967df1ac35 100644
--- a/test/prism/snapshots/seattlerb/iter_args_2__19.txt
+++ b/test/prism/snapshots/seattlerb/iter_args_2__19.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,14))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -40,5 +41,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,13)-(1,14) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/iter_args_3.txt b/test/prism/snapshots/seattlerb/iter_args_3.txt
index 85da0b88ff..b0570dc8ce 100644
--- a/test/prism/snapshots/seattlerb/iter_args_3.txt
+++ b/test/prism/snapshots/seattlerb/iter_args_3.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,20))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -44,5 +45,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,19)-(1,20) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/iter_args_4.txt b/test/prism/snapshots/seattlerb/iter_args_4.txt
index 0f1c9ff1f7..9e6822aea2 100644
--- a/test/prism/snapshots/seattlerb/iter_args_4.txt
+++ b/test/prism/snapshots/seattlerb/iter_args_4.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,16))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -38,5 +39,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,15)-(1,16) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/iter_args_5.txt b/test/prism/snapshots/seattlerb/iter_args_5.txt
index 02f83566d0..0af5cda322 100644
--- a/test/prism/snapshots/seattlerb/iter_args_5.txt
+++ b/test/prism/snapshots/seattlerb/iter_args_5.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,13))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -36,5 +37,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,12)-(1,13) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/iter_args_6.txt b/test/prism/snapshots/seattlerb/iter_args_6.txt
index 3977309e8f..34a6a87559 100644
--- a/test/prism/snapshots/seattlerb/iter_args_6.txt
+++ b/test/prism/snapshots/seattlerb/iter_args_6.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,18))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -41,5 +42,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,17)-(1,18) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/iter_args_7_1.txt b/test/prism/snapshots/seattlerb/iter_args_7_1.txt
index 9ffaac91d0..cb9521efd1 100644
--- a/test/prism/snapshots/seattlerb/iter_args_7_1.txt
+++ b/test/prism/snapshots/seattlerb/iter_args_7_1.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,18))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -41,5 +42,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,17)-(1,18) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/iter_args_7_2.txt b/test/prism/snapshots/seattlerb/iter_args_7_2.txt
index dbe44fac64..dcb74967d9 100644
--- a/test/prism/snapshots/seattlerb/iter_args_7_2.txt
+++ b/test/prism/snapshots/seattlerb/iter_args_7_2.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,22))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -45,5 +46,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,21)-(1,22) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/iter_args_8_1.txt b/test/prism/snapshots/seattlerb/iter_args_8_1.txt
index 8be6b9c15c..7f15b98ea9 100644
--- a/test/prism/snapshots/seattlerb/iter_args_8_1.txt
+++ b/test/prism/snapshots/seattlerb/iter_args_8_1.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,21))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -43,5 +44,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,20)-(1,21) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/iter_args_8_2.txt b/test/prism/snapshots/seattlerb/iter_args_8_2.txt
index b18a4284a7..305798bab2 100644
--- a/test/prism/snapshots/seattlerb/iter_args_8_2.txt
+++ b/test/prism/snapshots/seattlerb/iter_args_8_2.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,25))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -47,5 +48,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,24)-(1,25) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/iter_args_9_1.txt b/test/prism/snapshots/seattlerb/iter_args_9_1.txt
index 33db33d03a..0f37861d68 100644
--- a/test/prism/snapshots/seattlerb/iter_args_9_1.txt
+++ b/test/prism/snapshots/seattlerb/iter_args_9_1.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,17))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -39,5 +40,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,16)-(1,17) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/iter_args_9_2.txt b/test/prism/snapshots/seattlerb/iter_args_9_2.txt
index ab55180a19..3933c7d1da 100644
--- a/test/prism/snapshots/seattlerb/iter_args_9_2.txt
+++ b/test/prism/snapshots/seattlerb/iter_args_9_2.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,21))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -43,5 +44,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,20)-(1,21) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/iter_kwarg.txt b/test/prism/snapshots/seattlerb/iter_kwarg.txt
index e80e6b599a..6175f85b7f 100644
--- a/test/prism/snapshots/seattlerb/iter_kwarg.txt
+++ b/test/prism/snapshots/seattlerb/iter_kwarg.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,12))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :a
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -36,5 +37,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,11)-(1,12) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :a
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/iter_kwarg_kwsplat.txt b/test/prism/snapshots/seattlerb/iter_kwarg_kwsplat.txt
index bd910e7d40..3d197900d1 100644
--- a/test/prism/snapshots/seattlerb/iter_kwarg_kwsplat.txt
+++ b/test/prism/snapshots/seattlerb/iter_kwarg_kwsplat.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,17))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :a
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -40,5 +41,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ └── closing_loc: (1,16)-(1,17) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :a
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/label_vs_string.txt b/test/prism/snapshots/seattlerb/label_vs_string.txt
index 6160db7bc8..55c40273b8 100644
--- a/test/prism/snapshots/seattlerb/label_vs_string.txt
+++ b/test/prism/snapshots/seattlerb/label_vs_string.txt
@@ -8,14 +8,15 @@
β”‚ @ CallNode (location: (1,0)-(1,4))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :_buf
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,4) = "_buf"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :_buf
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :<<
β”œβ”€β”€ message_loc: (1,5)-(1,7) = "<<"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -30,5 +31,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :<<
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/lambda_do_vs_brace.txt b/test/prism/snapshots/seattlerb/lambda_do_vs_brace.txt
index ad60fa1231..65048d534d 100644
--- a/test/prism/snapshots/seattlerb/lambda_do_vs_brace.txt
+++ b/test/prism/snapshots/seattlerb/lambda_do_vs_brace.txt
@@ -6,6 +6,7 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(1,11))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :f
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -21,11 +22,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :f
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (3,0)-(3,7))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :f
β”‚ β”œβ”€β”€ message_loc: (3,0)-(3,1) = "f"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -41,11 +42,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :f
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (5,0)-(5,13))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :f
β”‚ β”œβ”€β”€ message_loc: (5,0)-(5,1) = "f"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -66,11 +67,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :f
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (7,0)-(7,9))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (7,0)-(7,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -91,5 +92,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/lasgn_call_bracket_rescue_arg.txt b/test/prism/snapshots/seattlerb/lasgn_call_bracket_rescue_arg.txt
index a3eb0b3f9a..82bc590100 100644
--- a/test/prism/snapshots/seattlerb/lasgn_call_bracket_rescue_arg.txt
+++ b/test/prism/snapshots/seattlerb/lasgn_call_bracket_rescue_arg.txt
@@ -13,6 +13,7 @@
β”‚ β”‚ @ CallNode (location: (1,4)-(1,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,5) = "b"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,5)-(1,6) = "("
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -23,8 +24,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: (1,7)-(1,8) = ")"
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :b
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ keyword_loc: (1,9)-(1,15) = "rescue"
β”‚ └── rescue_expression:
β”‚ @ IntegerNode (location: (1,16)-(1,17))
diff --git a/test/prism/snapshots/seattlerb/lasgn_call_nobracket_rescue_arg.txt b/test/prism/snapshots/seattlerb/lasgn_call_nobracket_rescue_arg.txt
index a54b70da92..ce6b05e8d1 100644
--- a/test/prism/snapshots/seattlerb/lasgn_call_nobracket_rescue_arg.txt
+++ b/test/prism/snapshots/seattlerb/lasgn_call_nobracket_rescue_arg.txt
@@ -13,6 +13,7 @@
β”‚ β”‚ @ CallNode (location: (1,4)-(1,7))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,5) = "b"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -23,8 +24,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :b
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ keyword_loc: (1,8)-(1,14) = "rescue"
β”‚ └── rescue_expression:
β”‚ @ IntegerNode (location: (1,15)-(1,16))
diff --git a/test/prism/snapshots/seattlerb/lasgn_command.txt b/test/prism/snapshots/seattlerb/lasgn_command.txt
index 01fab864b6..2f2709577b 100644
--- a/test/prism/snapshots/seattlerb/lasgn_command.txt
+++ b/test/prism/snapshots/seattlerb/lasgn_command.txt
@@ -13,14 +13,15 @@
β”‚ β”‚ @ CallNode (location: (1,4)-(1,5))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,5) = "b"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :b
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (1,5)-(1,6) = "."
+ β”‚ β”œβ”€β”€ name: :c
β”‚ β”œβ”€β”€ message_loc: (1,6)-(1,7) = "c"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -31,6 +32,5 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :c
+ β”‚ └── flags: βˆ…
└── operator_loc: (1,2)-(1,3) = "="
diff --git a/test/prism/snapshots/seattlerb/lasgn_lasgn_command_call.txt b/test/prism/snapshots/seattlerb/lasgn_lasgn_command_call.txt
index 6d13b12fd0..6c5bfb8d9e 100644
--- a/test/prism/snapshots/seattlerb/lasgn_lasgn_command_call.txt
+++ b/test/prism/snapshots/seattlerb/lasgn_lasgn_command_call.txt
@@ -16,6 +16,7 @@
β”‚ β”‚ @ CallNode (location: (1,8)-(1,11))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,8)-(1,9) = "c"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -26,7 +27,6 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :c
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── operator_loc: (1,6)-(1,7) = "="
└── operator_loc: (1,2)-(1,3) = "="
diff --git a/test/prism/snapshots/seattlerb/lasgn_middle_splat.txt b/test/prism/snapshots/seattlerb/lasgn_middle_splat.txt
index 2c7c91cc5c..f88e98dd50 100644
--- a/test/prism/snapshots/seattlerb/lasgn_middle_splat.txt
+++ b/test/prism/snapshots/seattlerb/lasgn_middle_splat.txt
@@ -13,36 +13,36 @@
β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (1,4)-(1,5))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,5) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ @ SplatNode (location: (1,7)-(1,9))
β”‚ β”‚ β”‚ β”œβ”€β”€ operator_loc: (1,7)-(1,8) = "*"
β”‚ β”‚ β”‚ └── expression:
β”‚ β”‚ β”‚ @ CallNode (location: (1,8)-(1,9))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,8)-(1,9) = "c"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── @ CallNode (location: (1,11)-(1,12))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,11)-(1,12) = "d"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :d
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ └── flags: contains_splat
diff --git a/test/prism/snapshots/seattlerb/masgn_anon_splat_arg.txt b/test/prism/snapshots/seattlerb/masgn_anon_splat_arg.txt
index 9b6f9169f4..f0e7b58109 100644
--- a/test/prism/snapshots/seattlerb/masgn_anon_splat_arg.txt
+++ b/test/prism/snapshots/seattlerb/masgn_anon_splat_arg.txt
@@ -20,10 +20,10 @@
@ CallNode (location: (1,7)-(1,8))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :b
β”œβ”€β”€ message_loc: (1,7)-(1,8) = "b"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: variable_call
- └── name: :b
+ └── flags: variable_call
diff --git a/test/prism/snapshots/seattlerb/masgn_arg_colon_arg.txt b/test/prism/snapshots/seattlerb/masgn_arg_colon_arg.txt
index 332ffbfa22..8bf3c37350 100644
--- a/test/prism/snapshots/seattlerb/masgn_arg_colon_arg.txt
+++ b/test/prism/snapshots/seattlerb/masgn_arg_colon_arg.txt
@@ -13,21 +13,21 @@
β”‚ β”‚ @ CallNode (location: (1,3)-(1,4))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,3)-(1,4) = "b"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :b
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (1,4)-(1,6) = "::"
+ β”‚ β”œβ”€β”€ name: :c=
β”‚ β”œβ”€β”€ message_loc: (1,6)-(1,7) = "c"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :c=
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ rest: βˆ…
β”œβ”€β”€ rights: (length: 0)
β”œβ”€β”€ lparen_loc: βˆ…
@@ -37,10 +37,10 @@
@ CallNode (location: (1,10)-(1,11))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :d
β”œβ”€β”€ message_loc: (1,10)-(1,11) = "d"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: variable_call
- └── name: :d
+ └── flags: variable_call
diff --git a/test/prism/snapshots/seattlerb/masgn_arg_ident.txt b/test/prism/snapshots/seattlerb/masgn_arg_ident.txt
index 67fe401153..ff55c6b8f7 100644
--- a/test/prism/snapshots/seattlerb/masgn_arg_ident.txt
+++ b/test/prism/snapshots/seattlerb/masgn_arg_ident.txt
@@ -13,21 +13,21 @@
β”‚ β”‚ @ CallNode (location: (1,3)-(1,4))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,3)-(1,4) = "b"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :b
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (1,4)-(1,5) = "."
+ β”‚ β”œβ”€β”€ name: :C=
β”‚ β”œβ”€β”€ message_loc: (1,5)-(1,6) = "C"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :C=
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ rest: βˆ…
β”œβ”€β”€ rights: (length: 0)
β”œβ”€β”€ lparen_loc: βˆ…
@@ -37,10 +37,10 @@
@ CallNode (location: (1,9)-(1,10))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :d
β”œβ”€β”€ message_loc: (1,9)-(1,10) = "d"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: variable_call
- └── name: :d
+ └── flags: variable_call
diff --git a/test/prism/snapshots/seattlerb/masgn_arg_splat_arg.txt b/test/prism/snapshots/seattlerb/masgn_arg_splat_arg.txt
index 0915b21e5d..9492bd340f 100644
--- a/test/prism/snapshots/seattlerb/masgn_arg_splat_arg.txt
+++ b/test/prism/snapshots/seattlerb/masgn_arg_splat_arg.txt
@@ -26,10 +26,10 @@
@ CallNode (location: (1,11)-(1,12))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :d
β”œβ”€β”€ message_loc: (1,11)-(1,12) = "d"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: variable_call
- └── name: :d
+ └── flags: variable_call
diff --git a/test/prism/snapshots/seattlerb/masgn_colon2.txt b/test/prism/snapshots/seattlerb/masgn_colon2.txt
index 9cc174f350..e97891ebd3 100644
--- a/test/prism/snapshots/seattlerb/masgn_colon2.txt
+++ b/test/prism/snapshots/seattlerb/masgn_colon2.txt
@@ -13,13 +13,13 @@
β”‚ β”‚ @ CallNode (location: (1,3)-(1,4))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,3)-(1,4) = "b"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :b
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ child:
β”‚ β”‚ @ ConstantReadNode (location: (1,6)-(1,7))
β”‚ β”‚ └── name: :C
diff --git a/test/prism/snapshots/seattlerb/masgn_command_call.txt b/test/prism/snapshots/seattlerb/masgn_command_call.txt
index 2e0105c455..ceb81c0500 100644
--- a/test/prism/snapshots/seattlerb/masgn_command_call.txt
+++ b/test/prism/snapshots/seattlerb/masgn_command_call.txt
@@ -22,14 +22,15 @@
β”‚ @ CallNode (location: (1,5)-(1,6))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :b
β”‚ β”œβ”€β”€ message_loc: (1,5)-(1,6) = "b"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :b
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: (1,6)-(1,7) = "."
+ β”œβ”€β”€ name: :c
β”œβ”€β”€ message_loc: (1,7)-(1,8) = "c"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -40,5 +41,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :c
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/masgn_double_paren.txt b/test/prism/snapshots/seattlerb/masgn_double_paren.txt
index 2a8702053e..b6a3748d3f 100644
--- a/test/prism/snapshots/seattlerb/masgn_double_paren.txt
+++ b/test/prism/snapshots/seattlerb/masgn_double_paren.txt
@@ -26,10 +26,10 @@
@ CallNode (location: (1,8)-(1,9))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :c
β”œβ”€β”€ message_loc: (1,8)-(1,9) = "c"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: variable_call
- └── name: :c
+ └── flags: variable_call
diff --git a/test/prism/snapshots/seattlerb/masgn_paren.txt b/test/prism/snapshots/seattlerb/masgn_paren.txt
index a212a45635..49c1a488b2 100644
--- a/test/prism/snapshots/seattlerb/masgn_paren.txt
+++ b/test/prism/snapshots/seattlerb/masgn_paren.txt
@@ -22,18 +22,18 @@
β”‚ @ CallNode (location: (1,9)-(1,10))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :c
β”‚ β”œβ”€β”€ message_loc: (1,9)-(1,10) = "c"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :c
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: (1,10)-(1,11) = "."
+ β”œβ”€β”€ name: :d
β”œβ”€β”€ message_loc: (1,11)-(1,12) = "d"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :d
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/masgn_splat_arg.txt b/test/prism/snapshots/seattlerb/masgn_splat_arg.txt
index 1be6d5906c..75dfd499fe 100644
--- a/test/prism/snapshots/seattlerb/masgn_splat_arg.txt
+++ b/test/prism/snapshots/seattlerb/masgn_splat_arg.txt
@@ -23,10 +23,10 @@
@ CallNode (location: (1,8)-(1,9))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :c
β”œβ”€β”€ message_loc: (1,8)-(1,9) = "c"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: variable_call
- └── name: :c
+ └── flags: variable_call
diff --git a/test/prism/snapshots/seattlerb/masgn_splat_arg_arg.txt b/test/prism/snapshots/seattlerb/masgn_splat_arg_arg.txt
index d0ecbadfa9..16fd28db42 100644
--- a/test/prism/snapshots/seattlerb/masgn_splat_arg_arg.txt
+++ b/test/prism/snapshots/seattlerb/masgn_splat_arg_arg.txt
@@ -26,10 +26,10 @@
@ CallNode (location: (1,11)-(1,12))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :d
β”œβ”€β”€ message_loc: (1,11)-(1,12) = "d"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: variable_call
- └── name: :d
+ └── flags: variable_call
diff --git a/test/prism/snapshots/seattlerb/masgn_var_star_var.txt b/test/prism/snapshots/seattlerb/masgn_var_star_var.txt
index fe129e7b48..00ef2e5cf4 100644
--- a/test/prism/snapshots/seattlerb/masgn_var_star_var.txt
+++ b/test/prism/snapshots/seattlerb/masgn_var_star_var.txt
@@ -23,10 +23,10 @@
@ CallNode (location: (1,10)-(1,11))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :c
β”œβ”€β”€ message_loc: (1,10)-(1,11) = "c"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: variable_call
- └── name: :c
+ └── flags: variable_call
diff --git a/test/prism/snapshots/seattlerb/messy_op_asgn_lineno.txt b/test/prism/snapshots/seattlerb/messy_op_asgn_lineno.txt
index c2c5f268d8..92b636949f 100644
--- a/test/prism/snapshots/seattlerb/messy_op_asgn_lineno.txt
+++ b/test/prism/snapshots/seattlerb/messy_op_asgn_lineno.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,15))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :a
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -30,6 +31,7 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (1,11)-(1,14))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,11)-(1,12) = "d"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -38,23 +40,21 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (1,13)-(1,14))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :e
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,13)-(1,14) = "e"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :e
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── operator: :*
β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "("
β”‚ β”‚ └── closing_loc: (1,14)-(1,15) = ")"
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :a
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/method_call_assoc_trailing_comma.txt b/test/prism/snapshots/seattlerb/method_call_assoc_trailing_comma.txt
index 1b9a375436..b2e8c11887 100644
--- a/test/prism/snapshots/seattlerb/method_call_assoc_trailing_comma.txt
+++ b/test/prism/snapshots/seattlerb/method_call_assoc_trailing_comma.txt
@@ -8,14 +8,15 @@
β”‚ @ CallNode (location: (1,0)-(1,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: (1,1)-(1,2) = "."
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,2)-(1,3) = "f"
β”œβ”€β”€ opening_loc: (1,3)-(1,4) = "("
β”œβ”€β”€ arguments:
@@ -34,5 +35,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (1,9)-(1,10) = ")"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/method_call_trailing_comma.txt b/test/prism/snapshots/seattlerb/method_call_trailing_comma.txt
index 6d1178f7e5..4c9a412404 100644
--- a/test/prism/snapshots/seattlerb/method_call_trailing_comma.txt
+++ b/test/prism/snapshots/seattlerb/method_call_trailing_comma.txt
@@ -8,14 +8,15 @@
β”‚ @ CallNode (location: (1,0)-(1,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: (1,1)-(1,2) = "."
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,2)-(1,3) = "f"
β”œβ”€β”€ opening_loc: (1,3)-(1,4) = "("
β”œβ”€β”€ arguments:
@@ -26,5 +27,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (1,6)-(1,7) = ")"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/mlhs_back_anonsplat.txt b/test/prism/snapshots/seattlerb/mlhs_back_anonsplat.txt
index b6c722c108..debb1e52d2 100644
--- a/test/prism/snapshots/seattlerb/mlhs_back_anonsplat.txt
+++ b/test/prism/snapshots/seattlerb/mlhs_back_anonsplat.txt
@@ -26,10 +26,10 @@
@ CallNode (location: (1,13)-(1,14))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,13)-(1,14) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: variable_call
- └── name: :f
+ └── flags: variable_call
diff --git a/test/prism/snapshots/seattlerb/mlhs_back_splat.txt b/test/prism/snapshots/seattlerb/mlhs_back_splat.txt
index 644e54bc6e..bd80071854 100644
--- a/test/prism/snapshots/seattlerb/mlhs_back_splat.txt
+++ b/test/prism/snapshots/seattlerb/mlhs_back_splat.txt
@@ -29,10 +29,10 @@
@ CallNode (location: (1,14)-(1,15))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,14)-(1,15) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: variable_call
- └── name: :f
+ └── flags: variable_call
diff --git a/test/prism/snapshots/seattlerb/mlhs_front_anonsplat.txt b/test/prism/snapshots/seattlerb/mlhs_front_anonsplat.txt
index d8a1fcb6f5..dd984f725f 100644
--- a/test/prism/snapshots/seattlerb/mlhs_front_anonsplat.txt
+++ b/test/prism/snapshots/seattlerb/mlhs_front_anonsplat.txt
@@ -26,10 +26,10 @@
@ CallNode (location: (1,13)-(1,14))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,13)-(1,14) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: variable_call
- └── name: :f
+ └── flags: variable_call
diff --git a/test/prism/snapshots/seattlerb/mlhs_front_splat.txt b/test/prism/snapshots/seattlerb/mlhs_front_splat.txt
index 48fc7f5e3b..49a7b1629a 100644
--- a/test/prism/snapshots/seattlerb/mlhs_front_splat.txt
+++ b/test/prism/snapshots/seattlerb/mlhs_front_splat.txt
@@ -29,10 +29,10 @@
@ CallNode (location: (1,14)-(1,15))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,14)-(1,15) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: variable_call
- └── name: :f
+ └── flags: variable_call
diff --git a/test/prism/snapshots/seattlerb/mlhs_keyword.txt b/test/prism/snapshots/seattlerb/mlhs_keyword.txt
index 13543acdf0..7612ebe2f0 100644
--- a/test/prism/snapshots/seattlerb/mlhs_keyword.txt
+++ b/test/prism/snapshots/seattlerb/mlhs_keyword.txt
@@ -8,14 +8,15 @@
β”‚ @ CallNode (location: (1,0)-(1,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: (1,1)-(1,2) = "."
+ β”œβ”€β”€ name: :!=
β”œβ”€β”€ message_loc: (1,2)-(1,4) = "!="
β”œβ”€β”€ opening_loc: (1,4)-(1,5) = "("
β”œβ”€β”€ arguments:
@@ -26,5 +27,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (1,15)-(1,16) = ")"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :!=
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/mlhs_mid_anonsplat.txt b/test/prism/snapshots/seattlerb/mlhs_mid_anonsplat.txt
index 8781fd3229..f0fc933ff5 100644
--- a/test/prism/snapshots/seattlerb/mlhs_mid_anonsplat.txt
+++ b/test/prism/snapshots/seattlerb/mlhs_mid_anonsplat.txt
@@ -35,10 +35,10 @@
@ CallNode (location: (1,22)-(1,23))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,22)-(1,23) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: variable_call
- └── name: :f
+ └── flags: variable_call
diff --git a/test/prism/snapshots/seattlerb/mlhs_mid_splat.txt b/test/prism/snapshots/seattlerb/mlhs_mid_splat.txt
index ceb3fd0018..f0d2126ad7 100644
--- a/test/prism/snapshots/seattlerb/mlhs_mid_splat.txt
+++ b/test/prism/snapshots/seattlerb/mlhs_mid_splat.txt
@@ -38,10 +38,10 @@
@ CallNode (location: (1,23)-(1,24))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,23)-(1,24) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: variable_call
- └── name: :f
+ └── flags: variable_call
diff --git a/test/prism/snapshots/seattlerb/mlhs_rescue.txt b/test/prism/snapshots/seattlerb/mlhs_rescue.txt
index 79152dc74f..f438bf6041 100644
--- a/test/prism/snapshots/seattlerb/mlhs_rescue.txt
+++ b/test/prism/snapshots/seattlerb/mlhs_rescue.txt
@@ -22,13 +22,13 @@
β”‚ @ CallNode (location: (1,7)-(1,8))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :f
β”‚ β”œβ”€β”€ message_loc: (1,7)-(1,8) = "f"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :f
+ β”‚ └── flags: variable_call
β”œβ”€β”€ keyword_loc: (1,9)-(1,15) = "rescue"
└── rescue_expression:
@ IntegerNode (location: (1,16)-(1,18))
diff --git a/test/prism/snapshots/seattlerb/multiline_hash_declaration.txt b/test/prism/snapshots/seattlerb/multiline_hash_declaration.txt
index 4406932415..b2041a0a3e 100644
--- a/test/prism/snapshots/seattlerb/multiline_hash_declaration.txt
+++ b/test/prism/snapshots/seattlerb/multiline_hash_declaration.txt
@@ -6,6 +6,7 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(3,2))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :f
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”‚ β”œβ”€β”€ opening_loc: (1,1)-(1,2) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -29,11 +30,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (3,1)-(3,2) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :f
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (5,0)-(6,2))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :f
β”‚ β”œβ”€β”€ message_loc: (5,0)-(5,1) = "f"
β”‚ β”œβ”€β”€ opening_loc: (5,1)-(5,2) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -57,11 +58,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (6,1)-(6,2) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :f
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (8,0)-(8,12))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (8,0)-(8,1) = "f"
β”œβ”€β”€ opening_loc: (8,1)-(8,2) = "("
β”œβ”€β”€ arguments:
@@ -85,5 +86,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (8,11)-(8,12) = ")"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/op_asgn_command_call.txt b/test/prism/snapshots/seattlerb/op_asgn_command_call.txt
index 73b0111c8c..22251546e9 100644
--- a/test/prism/snapshots/seattlerb/op_asgn_command_call.txt
+++ b/test/prism/snapshots/seattlerb/op_asgn_command_call.txt
@@ -12,14 +12,15 @@
β”‚ β”‚ @ CallNode (location: (1,6)-(1,7))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,6)-(1,7) = "b"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :b
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (1,7)-(1,8) = "."
+ β”‚ β”œβ”€β”€ name: :c
β”‚ β”œβ”€β”€ message_loc: (1,8)-(1,9) = "c"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -30,7 +31,6 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :c
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ name: :a
└── depth: 0
diff --git a/test/prism/snapshots/seattlerb/op_asgn_dot_ident_command_call.txt b/test/prism/snapshots/seattlerb/op_asgn_dot_ident_command_call.txt
index 3f8840fd6e..6da5424b8e 100644
--- a/test/prism/snapshots/seattlerb/op_asgn_dot_ident_command_call.txt
+++ b/test/prism/snapshots/seattlerb/op_asgn_dot_ident_command_call.txt
@@ -17,6 +17,7 @@
@ CallNode (location: (1,8)-(1,11))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :c
β”œβ”€β”€ message_loc: (1,8)-(1,9) = "c"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -27,5 +28,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :c
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/op_asgn_index_command_call.txt b/test/prism/snapshots/seattlerb/op_asgn_index_command_call.txt
index 207ccbd7c8..b3f1e1fc35 100644
--- a/test/prism/snapshots/seattlerb/op_asgn_index_command_call.txt
+++ b/test/prism/snapshots/seattlerb/op_asgn_index_command_call.txt
@@ -8,13 +8,13 @@
β”‚ @ CallNode (location: (1,0)-(1,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: βˆ…
β”œβ”€β”€ opening_loc: (1,1)-(1,2) = "["
β”œβ”€β”€ arguments:
@@ -34,6 +34,7 @@
@ CallNode (location: (1,10)-(1,16))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :c
β”œβ”€β”€ message_loc: (1,10)-(1,11) = "c"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -46,5 +47,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :c
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/op_asgn_primary_colon_const_command_call.txt b/test/prism/snapshots/seattlerb/op_asgn_primary_colon_const_command_call.txt
index 549257cd16..ff10caee56 100644
--- a/test/prism/snapshots/seattlerb/op_asgn_primary_colon_const_command_call.txt
+++ b/test/prism/snapshots/seattlerb/op_asgn_primary_colon_const_command_call.txt
@@ -18,6 +18,7 @@
β”‚ @ CallNode (location: (1,8)-(1,11))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :c
β”‚ β”œβ”€β”€ message_loc: (1,8)-(1,9) = "c"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -26,16 +27,15 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (1,10)-(1,11))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,10)-(1,11) = "d"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :c
+ β”‚ └── flags: βˆ…
└── operator: :*
diff --git a/test/prism/snapshots/seattlerb/op_asgn_primary_colon_identifier_command_call.txt b/test/prism/snapshots/seattlerb/op_asgn_primary_colon_identifier_command_call.txt
index 0fa761caa9..3b9bee333f 100644
--- a/test/prism/snapshots/seattlerb/op_asgn_primary_colon_identifier_command_call.txt
+++ b/test/prism/snapshots/seattlerb/op_asgn_primary_colon_identifier_command_call.txt
@@ -18,6 +18,7 @@
@ CallNode (location: (1,8)-(1,11))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :c
β”œβ”€β”€ message_loc: (1,8)-(1,9) = "c"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -26,15 +27,14 @@
β”‚ β”‚ └── @ CallNode (location: (1,10)-(1,11))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,10)-(1,11) = "d"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :d
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :c
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/op_asgn_val_dot_ident_command_call.txt b/test/prism/snapshots/seattlerb/op_asgn_val_dot_ident_command_call.txt
index 37f45009b2..4e35a7d827 100644
--- a/test/prism/snapshots/seattlerb/op_asgn_val_dot_ident_command_call.txt
+++ b/test/prism/snapshots/seattlerb/op_asgn_val_dot_ident_command_call.txt
@@ -8,13 +8,13 @@
β”‚ @ CallNode (location: (1,0)-(1,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: (1,1)-(1,2) = "."
β”œβ”€β”€ message_loc: (1,2)-(1,3) = "b"
β”œβ”€β”€ flags: βˆ…
@@ -25,6 +25,7 @@
@ CallNode (location: (1,8)-(1,11))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :c
β”œβ”€β”€ message_loc: (1,8)-(1,9) = "c"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -35,5 +36,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :c
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/parse_if_not_canonical.txt b/test/prism/snapshots/seattlerb/parse_if_not_canonical.txt
index 5990f23a74..3342f56ff9 100644
--- a/test/prism/snapshots/seattlerb/parse_if_not_canonical.txt
+++ b/test/prism/snapshots/seattlerb/parse_if_not_canonical.txt
@@ -13,29 +13,29 @@
β”‚ β”‚ β”‚ @ CallNode (location: (1,7)-(1,10))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :var
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,7)-(1,10) = "var"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :var
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (1,10)-(1,11) = "."
+ β”‚ β”‚ β”œβ”€β”€ name: :nil?
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,11)-(1,15) = "nil?"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :nil?
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :!
β”‚ β”œβ”€β”€ message_loc: (1,3)-(1,6) = "not"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :!
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ then_keyword_loc: (1,16)-(1,20) = "then"
β”œβ”€β”€ statements:
β”‚ @ StatementsNode (location: (1,21)-(1,26))
diff --git a/test/prism/snapshots/seattlerb/parse_if_not_noncanonical.txt b/test/prism/snapshots/seattlerb/parse_if_not_noncanonical.txt
index 5990f23a74..3342f56ff9 100644
--- a/test/prism/snapshots/seattlerb/parse_if_not_noncanonical.txt
+++ b/test/prism/snapshots/seattlerb/parse_if_not_noncanonical.txt
@@ -13,29 +13,29 @@
β”‚ β”‚ β”‚ @ CallNode (location: (1,7)-(1,10))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :var
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,7)-(1,10) = "var"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :var
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (1,10)-(1,11) = "."
+ β”‚ β”‚ β”œβ”€β”€ name: :nil?
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,11)-(1,15) = "nil?"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :nil?
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :!
β”‚ β”œβ”€β”€ message_loc: (1,3)-(1,6) = "not"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :!
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ then_keyword_loc: (1,16)-(1,20) = "then"
β”œβ”€β”€ statements:
β”‚ @ StatementsNode (location: (1,21)-(1,26))
diff --git a/test/prism/snapshots/seattlerb/parse_line_block.txt b/test/prism/snapshots/seattlerb/parse_line_block.txt
index 3d0cf4f251..e0d46ffeb3 100644
--- a/test/prism/snapshots/seattlerb/parse_line_block.txt
+++ b/test/prism/snapshots/seattlerb/parse_line_block.txt
@@ -14,6 +14,7 @@
└── @ CallNode (location: (2,0)-(2,3))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :p
β”œβ”€β”€ message_loc: (2,0)-(2,1) = "p"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -25,5 +26,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :p
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/parse_line_block_inline_comment.txt b/test/prism/snapshots/seattlerb/parse_line_block_inline_comment.txt
index de8c8ab321..f8fc06ed97 100644
--- a/test/prism/snapshots/seattlerb/parse_line_block_inline_comment.txt
+++ b/test/prism/snapshots/seattlerb/parse_line_block_inline_comment.txt
@@ -6,30 +6,30 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(1,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ @ CallNode (location: (2,0)-(2,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :b
β”‚ β”œβ”€β”€ message_loc: (2,0)-(2,1) = "b"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :b
+ β”‚ └── flags: variable_call
└── @ CallNode (location: (3,0)-(3,1))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :c
β”œβ”€β”€ message_loc: (3,0)-(3,1) = "c"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: variable_call
- └── name: :c
+ └── flags: variable_call
diff --git a/test/prism/snapshots/seattlerb/parse_line_block_inline_comment_leading_newlines.txt b/test/prism/snapshots/seattlerb/parse_line_block_inline_comment_leading_newlines.txt
index 7cbf48fb0b..b51919ae36 100644
--- a/test/prism/snapshots/seattlerb/parse_line_block_inline_comment_leading_newlines.txt
+++ b/test/prism/snapshots/seattlerb/parse_line_block_inline_comment_leading_newlines.txt
@@ -6,30 +6,30 @@
β”œβ”€β”€ @ CallNode (location: (4,0)-(4,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (4,0)-(4,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ @ CallNode (location: (5,0)-(5,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :b
β”‚ β”œβ”€β”€ message_loc: (5,0)-(5,1) = "b"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :b
+ β”‚ └── flags: variable_call
└── @ CallNode (location: (7,0)-(7,1))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :c
β”œβ”€β”€ message_loc: (7,0)-(7,1) = "c"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: variable_call
- └── name: :c
+ └── flags: variable_call
diff --git a/test/prism/snapshots/seattlerb/parse_line_block_inline_multiline_comment.txt b/test/prism/snapshots/seattlerb/parse_line_block_inline_multiline_comment.txt
index 8811057277..97feaf3bf6 100644
--- a/test/prism/snapshots/seattlerb/parse_line_block_inline_multiline_comment.txt
+++ b/test/prism/snapshots/seattlerb/parse_line_block_inline_multiline_comment.txt
@@ -6,30 +6,30 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(1,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ @ CallNode (location: (2,0)-(2,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :b
β”‚ β”œβ”€β”€ message_loc: (2,0)-(2,1) = "b"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :b
+ β”‚ └── flags: variable_call
└── @ CallNode (location: (4,0)-(4,1))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :c
β”œβ”€β”€ message_loc: (4,0)-(4,1) = "c"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: variable_call
- └── name: :c
+ └── flags: variable_call
diff --git a/test/prism/snapshots/seattlerb/parse_line_call_ivar_arg_no_parens_line_break.txt b/test/prism/snapshots/seattlerb/parse_line_call_ivar_arg_no_parens_line_break.txt
index 9d8888e0ca..21ea5368db 100644
--- a/test/prism/snapshots/seattlerb/parse_line_call_ivar_arg_no_parens_line_break.txt
+++ b/test/prism/snapshots/seattlerb/parse_line_call_ivar_arg_no_parens_line_break.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,4))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :a
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -16,5 +17,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :a
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/parse_line_call_ivar_line_break_paren.txt b/test/prism/snapshots/seattlerb/parse_line_call_ivar_line_break_paren.txt
index d405c6ec59..9fc496ef94 100644
--- a/test/prism/snapshots/seattlerb/parse_line_call_ivar_line_break_paren.txt
+++ b/test/prism/snapshots/seattlerb/parse_line_call_ivar_line_break_paren.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(2,1))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :a
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”œβ”€β”€ opening_loc: (1,1)-(1,2) = "("
β”œβ”€β”€ arguments:
@@ -16,5 +17,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (2,0)-(2,1) = ")"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :a
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/parse_line_call_no_args.txt b/test/prism/snapshots/seattlerb/parse_line_call_no_args.txt
index 990ae18a70..2421482f67 100644
--- a/test/prism/snapshots/seattlerb/parse_line_call_no_args.txt
+++ b/test/prism/snapshots/seattlerb/parse_line_call_no_args.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(3,3))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -40,6 +41,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ name: :x
β”‚ β”‚ β”‚ └── depth: 0
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :+
β”‚ β”‚ β”œβ”€β”€ message_loc: (2,4)-(2,5) = "+"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -51,9 +53,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :+
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,4) = "do"
β”‚ └── closing_loc: (3,0)-(3,3) = "end"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/parse_line_defn_complex.txt b/test/prism/snapshots/seattlerb/parse_line_defn_complex.txt
index f9062d9b30..79c10f0e4e 100644
--- a/test/prism/snapshots/seattlerb/parse_line_defn_complex.txt
+++ b/test/prism/snapshots/seattlerb/parse_line_defn_complex.txt
@@ -24,6 +24,7 @@
β”‚ β”œβ”€β”€ @ CallNode (location: (2,2)-(2,6))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :p
β”‚ β”‚ β”œβ”€β”€ message_loc: (2,2)-(2,3) = "p"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (2,3)-(2,4) = "("
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -35,8 +36,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: (2,5)-(2,6) = ")"
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :p
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ @ LocalVariableOperatorWriteNode (location: (3,2)-(3,8))
β”‚ β”‚ β”œβ”€β”€ name_loc: (3,2)-(3,3) = "y"
β”‚ β”‚ β”œβ”€β”€ operator_loc: (3,4)-(3,6) = "*="
diff --git a/test/prism/snapshots/seattlerb/parse_line_dot2.txt b/test/prism/snapshots/seattlerb/parse_line_dot2.txt
index ed8d7f900b..51276d2107 100644
--- a/test/prism/snapshots/seattlerb/parse_line_dot2.txt
+++ b/test/prism/snapshots/seattlerb/parse_line_dot2.txt
@@ -17,33 +17,33 @@
β”‚ β”‚ @ CallNode (location: (3,0)-(3,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,0)-(3,1) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ right:
β”‚ β”‚ @ CallNode (location: (4,0)-(4,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”œβ”€β”€ message_loc: (4,0)-(4,1) = "b"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :b
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ operator_loc: (3,1)-(3,3) = ".."
β”‚ └── flags: βˆ…
└── @ CallNode (location: (5,0)-(5,1))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :c
β”œβ”€β”€ message_loc: (5,0)-(5,1) = "c"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: variable_call
- └── name: :c
+ └── flags: variable_call
diff --git a/test/prism/snapshots/seattlerb/parse_line_dot2_open.txt b/test/prism/snapshots/seattlerb/parse_line_dot2_open.txt
index 90370375d9..7383c1f88c 100644
--- a/test/prism/snapshots/seattlerb/parse_line_dot2_open.txt
+++ b/test/prism/snapshots/seattlerb/parse_line_dot2_open.txt
@@ -15,23 +15,23 @@
β”‚ β”‚ @ CallNode (location: (2,2)-(2,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (2,2)-(2,3) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ right: βˆ…
β”‚ β”œβ”€β”€ operator_loc: (2,3)-(2,5) = ".."
β”‚ └── flags: βˆ…
└── @ CallNode (location: (3,2)-(3,3))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :c
β”œβ”€β”€ message_loc: (3,2)-(3,3) = "c"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: variable_call
- └── name: :c
+ └── flags: variable_call
diff --git a/test/prism/snapshots/seattlerb/parse_line_dot3.txt b/test/prism/snapshots/seattlerb/parse_line_dot3.txt
index 3005180bc1..87b6642040 100644
--- a/test/prism/snapshots/seattlerb/parse_line_dot3.txt
+++ b/test/prism/snapshots/seattlerb/parse_line_dot3.txt
@@ -17,33 +17,33 @@
β”‚ β”‚ @ CallNode (location: (3,0)-(3,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,0)-(3,1) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ right:
β”‚ β”‚ @ CallNode (location: (4,0)-(4,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”œβ”€β”€ message_loc: (4,0)-(4,1) = "b"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :b
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ operator_loc: (3,1)-(3,4) = "..."
β”‚ └── flags: exclude_end
└── @ CallNode (location: (5,0)-(5,1))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :c
β”œβ”€β”€ message_loc: (5,0)-(5,1) = "c"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: variable_call
- └── name: :c
+ └── flags: variable_call
diff --git a/test/prism/snapshots/seattlerb/parse_line_dot3_open.txt b/test/prism/snapshots/seattlerb/parse_line_dot3_open.txt
index c46da1fc5a..639917b5dc 100644
--- a/test/prism/snapshots/seattlerb/parse_line_dot3_open.txt
+++ b/test/prism/snapshots/seattlerb/parse_line_dot3_open.txt
@@ -15,23 +15,23 @@
β”‚ β”‚ @ CallNode (location: (2,2)-(2,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (2,2)-(2,3) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ right: βˆ…
β”‚ β”œβ”€β”€ operator_loc: (2,3)-(2,6) = "..."
β”‚ └── flags: exclude_end
└── @ CallNode (location: (3,2)-(3,3))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :c
β”œβ”€β”€ message_loc: (3,2)-(3,3) = "c"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: variable_call
- └── name: :c
+ └── flags: variable_call
diff --git a/test/prism/snapshots/seattlerb/parse_line_evstr_after_break.txt b/test/prism/snapshots/seattlerb/parse_line_evstr_after_break.txt
index 145da454dc..28d126b840 100644
--- a/test/prism/snapshots/seattlerb/parse_line_evstr_after_break.txt
+++ b/test/prism/snapshots/seattlerb/parse_line_evstr_after_break.txt
@@ -23,13 +23,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (2,3)-(2,4))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (2,3)-(2,4) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── closing_loc: (2,4)-(2,5) = "}"
β”‚ └── closing_loc: (2,5)-(2,6) = "\""
└── closing_loc: βˆ…
diff --git a/test/prism/snapshots/seattlerb/parse_line_heredoc.txt b/test/prism/snapshots/seattlerb/parse_line_heredoc.txt
index daf72f4f41..8e5a8598d2 100644
--- a/test/prism/snapshots/seattlerb/parse_line_heredoc.txt
+++ b/test/prism/snapshots/seattlerb/parse_line_heredoc.txt
@@ -17,17 +17,18 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (3,0)-(4,0) = " HEREDOC\n"
β”‚ β”‚ β”‚ └── unescaped: " very long string\n"
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (1,25)-(1,26) = "."
+ β”‚ β”‚ β”œβ”€β”€ name: :strip
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,26)-(1,31) = "strip"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :strip
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── operator_loc: (1,13)-(1,14) = "="
└── @ CallNode (location: (4,6)-(4,17))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :puts
β”œβ”€β”€ message_loc: (4,6)-(4,10) = "puts"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -39,5 +40,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :puts
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/parse_line_heredoc_evstr.txt b/test/prism/snapshots/seattlerb/parse_line_heredoc_evstr.txt
index ab7437d711..120560084a 100644
--- a/test/prism/snapshots/seattlerb/parse_line_heredoc_evstr.txt
+++ b/test/prism/snapshots/seattlerb/parse_line_heredoc_evstr.txt
@@ -20,13 +20,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (3,2)-(3,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,2)-(3,3) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── closing_loc: (3,3)-(3,4) = "}"
β”‚ └── @ StringNode (location: (3,4)-(4,0))
β”‚ β”œβ”€β”€ flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/parse_line_heredoc_regexp_chars.txt b/test/prism/snapshots/seattlerb/parse_line_heredoc_regexp_chars.txt
index 89b5ee41ad..b77d79519b 100644
--- a/test/prism/snapshots/seattlerb/parse_line_heredoc_regexp_chars.txt
+++ b/test/prism/snapshots/seattlerb/parse_line_heredoc_regexp_chars.txt
@@ -18,6 +18,7 @@
└── @ CallNode (location: (4,6)-(4,17))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :puts
β”œβ”€β”€ message_loc: (4,6)-(4,10) = "puts"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -29,5 +30,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :puts
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/parse_line_iter_call_no_parens.txt b/test/prism/snapshots/seattlerb/parse_line_iter_call_no_parens.txt
index 39ae4aa1d9..e582bc2b5f 100644
--- a/test/prism/snapshots/seattlerb/parse_line_iter_call_no_parens.txt
+++ b/test/prism/snapshots/seattlerb/parse_line_iter_call_no_parens.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(3,3))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -14,13 +15,13 @@
β”‚ β”‚ └── @ CallNode (location: (1,2)-(1,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,2)-(1,3) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block:
@@ -53,6 +54,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ name: :x
β”‚ β”‚ β”‚ └── depth: 0
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :+
β”‚ β”‚ β”œβ”€β”€ message_loc: (2,4)-(2,5) = "+"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -64,9 +66,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :+
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,4)-(1,6) = "do"
β”‚ └── closing_loc: (3,0)-(3,3) = "end"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/parse_line_iter_call_parens.txt b/test/prism/snapshots/seattlerb/parse_line_iter_call_parens.txt
index fa602e96dc..ca8f6fd729 100644
--- a/test/prism/snapshots/seattlerb/parse_line_iter_call_parens.txt
+++ b/test/prism/snapshots/seattlerb/parse_line_iter_call_parens.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(3,3))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: (1,1)-(1,2) = "("
β”œβ”€β”€ arguments:
@@ -14,13 +15,13 @@
β”‚ β”‚ └── @ CallNode (location: (1,2)-(1,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,2)-(1,3) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (1,3)-(1,4) = ")"
β”œβ”€β”€ block:
@@ -53,6 +54,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ name: :x
β”‚ β”‚ β”‚ └── depth: 0
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :+
β”‚ β”‚ β”œβ”€β”€ message_loc: (2,4)-(2,5) = "+"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -64,9 +66,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :+
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,5)-(1,7) = "do"
β”‚ └── closing_loc: (3,0)-(3,3) = "end"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/parse_line_op_asgn.txt b/test/prism/snapshots/seattlerb/parse_line_op_asgn.txt
index a024abcd31..46378fa9c4 100644
--- a/test/prism/snapshots/seattlerb/parse_line_op_asgn.txt
+++ b/test/prism/snapshots/seattlerb/parse_line_op_asgn.txt
@@ -10,23 +10,23 @@
β”‚ β”‚ @ CallNode (location: (2,8)-(2,11))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (2,8)-(2,11) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ operator: :+
β”‚ └── depth: 0
└── @ CallNode (location: (3,6)-(3,9))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :baz
β”œβ”€β”€ message_loc: (3,6)-(3,9) = "baz"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: variable_call
- └── name: :baz
+ └── flags: variable_call
diff --git a/test/prism/snapshots/seattlerb/parse_line_postexe.txt b/test/prism/snapshots/seattlerb/parse_line_postexe.txt
index 9b31bda328..37114601aa 100644
--- a/test/prism/snapshots/seattlerb/parse_line_postexe.txt
+++ b/test/prism/snapshots/seattlerb/parse_line_postexe.txt
@@ -10,13 +10,13 @@
β”‚ └── @ CallNode (location: (2,0)-(2,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (2,0)-(2,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ keyword_loc: (1,0)-(1,3) = "END"
β”œβ”€β”€ opening_loc: (1,4)-(1,5) = "{"
└── closing_loc: (3,0)-(3,1) = "}"
diff --git a/test/prism/snapshots/seattlerb/parse_line_preexe.txt b/test/prism/snapshots/seattlerb/parse_line_preexe.txt
index 573ab171f9..9de912be8f 100644
--- a/test/prism/snapshots/seattlerb/parse_line_preexe.txt
+++ b/test/prism/snapshots/seattlerb/parse_line_preexe.txt
@@ -10,13 +10,13 @@
β”‚ └── @ CallNode (location: (2,0)-(2,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (2,0)-(2,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ keyword_loc: (1,0)-(1,5) = "BEGIN"
β”œβ”€β”€ opening_loc: (1,6)-(1,7) = "{"
└── closing_loc: (3,0)-(3,1) = "}"
diff --git a/test/prism/snapshots/seattlerb/parse_line_rescue.txt b/test/prism/snapshots/seattlerb/parse_line_rescue.txt
index c30cf03e87..d269c2e820 100644
--- a/test/prism/snapshots/seattlerb/parse_line_rescue.txt
+++ b/test/prism/snapshots/seattlerb/parse_line_rescue.txt
@@ -11,13 +11,13 @@
β”‚ └── @ CallNode (location: (2,2)-(2,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (2,2)-(2,3) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ rescue_clause:
β”‚ @ RescueNode (location: (3,0)-(6,3))
β”‚ β”œβ”€β”€ keyword_loc: (3,0)-(3,6) = "rescue"
@@ -30,13 +30,13 @@
β”‚ β”‚ └── @ CallNode (location: (4,2)-(4,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”œβ”€β”€ message_loc: (4,2)-(4,3) = "b"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :b
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── consequent:
β”‚ @ RescueNode (location: (5,0)-(6,3))
β”‚ β”œβ”€β”€ keyword_loc: (5,0)-(5,6) = "rescue"
@@ -49,13 +49,13 @@
β”‚ β”‚ └── @ CallNode (location: (6,2)-(6,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”œβ”€β”€ message_loc: (6,2)-(6,3) = "c"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :c
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── consequent: βˆ…
β”œβ”€β”€ else_clause: βˆ…
β”œβ”€β”€ ensure_clause: βˆ…
diff --git a/test/prism/snapshots/seattlerb/parse_line_str_with_newline_escape.txt b/test/prism/snapshots/seattlerb/parse_line_str_with_newline_escape.txt
index 635d8d1fa3..c0b4f6cd3d 100644
--- a/test/prism/snapshots/seattlerb/parse_line_str_with_newline_escape.txt
+++ b/test/prism/snapshots/seattlerb/parse_line_str_with_newline_escape.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,13))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :a
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”œβ”€β”€ opening_loc: (1,1)-(1,2) = "("
β”œβ”€β”€ arguments:
@@ -21,5 +22,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (1,12)-(1,13) = ")"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :a
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/parse_line_to_ary.txt b/test/prism/snapshots/seattlerb/parse_line_to_ary.txt
index 551cae4ba9..bedd6611f9 100644
--- a/test/prism/snapshots/seattlerb/parse_line_to_ary.txt
+++ b/test/prism/snapshots/seattlerb/parse_line_to_ary.txt
@@ -20,20 +20,20 @@
β”‚ @ CallNode (location: (2,4)-(2,5))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :c
β”‚ β”œβ”€β”€ message_loc: (2,4)-(2,5) = "c"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :c
+ β”‚ └── flags: variable_call
└── @ CallNode (location: (3,0)-(3,1))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :d
β”œβ”€β”€ message_loc: (3,0)-(3,1) = "d"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: variable_call
- └── name: :d
+ └── flags: variable_call
diff --git a/test/prism/snapshots/seattlerb/parse_line_trailing_newlines.txt b/test/prism/snapshots/seattlerb/parse_line_trailing_newlines.txt
index f73d884d01..ab15f51526 100644
--- a/test/prism/snapshots/seattlerb/parse_line_trailing_newlines.txt
+++ b/test/prism/snapshots/seattlerb/parse_line_trailing_newlines.txt
@@ -6,20 +6,20 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(1,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
└── @ CallNode (location: (2,0)-(2,1))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :b
β”œβ”€β”€ message_loc: (2,0)-(2,1) = "b"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: variable_call
- └── name: :b
+ └── flags: variable_call
diff --git a/test/prism/snapshots/seattlerb/parse_opt_call_args_assocs_comma.txt b/test/prism/snapshots/seattlerb/parse_opt_call_args_assocs_comma.txt
index 595b592fa5..5624d07a73 100644
--- a/test/prism/snapshots/seattlerb/parse_opt_call_args_assocs_comma.txt
+++ b/test/prism/snapshots/seattlerb/parse_opt_call_args_assocs_comma.txt
@@ -8,6 +8,7 @@
β”‚ @ IntegerNode (location: (1,0)-(1,1))
β”‚ └── flags: decimal
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :[]
β”œβ”€β”€ message_loc: (1,1)-(1,8) = "[2=>3,]"
β”œβ”€β”€ opening_loc: (1,1)-(1,2) = "["
β”œβ”€β”€ arguments:
@@ -26,5 +27,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (1,7)-(1,8) = "]"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :[]
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/parse_opt_call_args_lit_comma.txt b/test/prism/snapshots/seattlerb/parse_opt_call_args_lit_comma.txt
index 10edaaeed0..a16635a0eb 100644
--- a/test/prism/snapshots/seattlerb/parse_opt_call_args_lit_comma.txt
+++ b/test/prism/snapshots/seattlerb/parse_opt_call_args_lit_comma.txt
@@ -8,6 +8,7 @@
β”‚ @ IntegerNode (location: (1,0)-(1,1))
β”‚ └── flags: decimal
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :[]
β”œβ”€β”€ message_loc: (1,1)-(1,5) = "[2,]"
β”œβ”€β”€ opening_loc: (1,1)-(1,2) = "["
β”œβ”€β”€ arguments:
@@ -18,5 +19,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (1,4)-(1,5) = "]"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :[]
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/parse_pattern_044.txt b/test/prism/snapshots/seattlerb/parse_pattern_044.txt
index f83bd5b02a..36189b756d 100644
--- a/test/prism/snapshots/seattlerb/parse_pattern_044.txt
+++ b/test/prism/snapshots/seattlerb/parse_pattern_044.txt
@@ -8,13 +8,13 @@
β”‚ @ CallNode (location: (1,5)-(1,8))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :obj
β”‚ β”œβ”€β”€ message_loc: (1,5)-(1,8) = "obj"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :obj
+ β”‚ └── flags: variable_call
β”œβ”€β”€ conditions: (length: 1)
β”‚ └── @ InNode (location: (2,0)-(3,6))
β”‚ β”œβ”€β”€ pattern:
diff --git a/test/prism/snapshots/seattlerb/parse_until_not_canonical.txt b/test/prism/snapshots/seattlerb/parse_until_not_canonical.txt
index 083bbc4f7e..f7544713f1 100644
--- a/test/prism/snapshots/seattlerb/parse_until_not_canonical.txt
+++ b/test/prism/snapshots/seattlerb/parse_until_not_canonical.txt
@@ -14,29 +14,29 @@
β”‚ β”‚ β”‚ @ CallNode (location: (1,10)-(1,13))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :var
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,10)-(1,13) = "var"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :var
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (1,13)-(1,14) = "."
+ β”‚ β”‚ β”œβ”€β”€ name: :nil?
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,14)-(1,18) = "nil?"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :nil?
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :!
β”‚ β”œβ”€β”€ message_loc: (1,6)-(1,9) = "not"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :!
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ statements:
β”‚ @ StatementsNode (location: (2,2)-(2,7))
β”‚ └── body: (length: 1)
diff --git a/test/prism/snapshots/seattlerb/parse_until_not_noncanonical.txt b/test/prism/snapshots/seattlerb/parse_until_not_noncanonical.txt
index 083bbc4f7e..f7544713f1 100644
--- a/test/prism/snapshots/seattlerb/parse_until_not_noncanonical.txt
+++ b/test/prism/snapshots/seattlerb/parse_until_not_noncanonical.txt
@@ -14,29 +14,29 @@
β”‚ β”‚ β”‚ @ CallNode (location: (1,10)-(1,13))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :var
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,10)-(1,13) = "var"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :var
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (1,13)-(1,14) = "."
+ β”‚ β”‚ β”œβ”€β”€ name: :nil?
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,14)-(1,18) = "nil?"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :nil?
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :!
β”‚ β”œβ”€β”€ message_loc: (1,6)-(1,9) = "not"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :!
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ statements:
β”‚ @ StatementsNode (location: (2,2)-(2,7))
β”‚ └── body: (length: 1)
diff --git a/test/prism/snapshots/seattlerb/parse_while_not_canonical.txt b/test/prism/snapshots/seattlerb/parse_while_not_canonical.txt
index 783c87750a..e745a865c9 100644
--- a/test/prism/snapshots/seattlerb/parse_while_not_canonical.txt
+++ b/test/prism/snapshots/seattlerb/parse_while_not_canonical.txt
@@ -14,29 +14,29 @@
β”‚ β”‚ β”‚ @ CallNode (location: (1,10)-(1,13))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :var
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,10)-(1,13) = "var"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :var
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (1,13)-(1,14) = "."
+ β”‚ β”‚ β”œβ”€β”€ name: :nil?
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,14)-(1,18) = "nil?"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :nil?
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :!
β”‚ β”œβ”€β”€ message_loc: (1,6)-(1,9) = "not"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :!
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ statements:
β”‚ @ StatementsNode (location: (2,2)-(2,7))
β”‚ └── body: (length: 1)
diff --git a/test/prism/snapshots/seattlerb/parse_while_not_noncanonical.txt b/test/prism/snapshots/seattlerb/parse_while_not_noncanonical.txt
index 783c87750a..e745a865c9 100644
--- a/test/prism/snapshots/seattlerb/parse_while_not_noncanonical.txt
+++ b/test/prism/snapshots/seattlerb/parse_while_not_noncanonical.txt
@@ -14,29 +14,29 @@
β”‚ β”‚ β”‚ @ CallNode (location: (1,10)-(1,13))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :var
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,10)-(1,13) = "var"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :var
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (1,13)-(1,14) = "."
+ β”‚ β”‚ β”œβ”€β”€ name: :nil?
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,14)-(1,18) = "nil?"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :nil?
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :!
β”‚ β”œβ”€β”€ message_loc: (1,6)-(1,9) = "not"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :!
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ statements:
β”‚ @ StatementsNode (location: (2,2)-(2,7))
β”‚ └── body: (length: 1)
diff --git a/test/prism/snapshots/seattlerb/pipe_semicolon.txt b/test/prism/snapshots/seattlerb/pipe_semicolon.txt
index d38daaae73..1201e87a66 100644
--- a/test/prism/snapshots/seattlerb/pipe_semicolon.txt
+++ b/test/prism/snapshots/seattlerb/pipe_semicolon.txt
@@ -8,14 +8,15 @@
β”‚ @ CallNode (location: (1,0)-(1,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: (1,1)-(1,2) = "."
+ β”œβ”€β”€ name: :b
β”œβ”€β”€ message_loc: (1,2)-(1,3) = "b"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -34,5 +35,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,4)-(1,6) = "do"
β”‚ └── closing_loc: (1,15)-(1,18) = "end"
- β”œβ”€β”€ flags: βˆ…
- └── name: :b
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/pipe_space.txt b/test/prism/snapshots/seattlerb/pipe_space.txt
index 6e60c324dd..9ecf022775 100644
--- a/test/prism/snapshots/seattlerb/pipe_space.txt
+++ b/test/prism/snapshots/seattlerb/pipe_space.txt
@@ -8,14 +8,15 @@
β”‚ @ CallNode (location: (1,0)-(1,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: (1,1)-(1,2) = "."
+ β”œβ”€β”€ name: :b
β”œβ”€β”€ message_loc: (1,2)-(1,3) = "b"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -32,5 +33,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,4)-(1,6) = "do"
β”‚ └── closing_loc: (1,11)-(1,14) = "end"
- β”œβ”€β”€ flags: βˆ…
- └── name: :b
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/qsymbols_interp.txt b/test/prism/snapshots/seattlerb/qsymbols_interp.txt
index 64dd6bb392..6e240759dd 100644
--- a/test/prism/snapshots/seattlerb/qsymbols_interp.txt
+++ b/test/prism/snapshots/seattlerb/qsymbols_interp.txt
@@ -29,6 +29,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ @ IntegerNode (location: (1,8)-(1,9))
β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: decimal
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :+
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,9)-(1,10) = "+"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -39,8 +40,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :+
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── closing_loc: (1,11)-(1,12) = "}"
β”‚ β”‚ └── closing_loc: βˆ…
β”‚ └── @ SymbolNode (location: (1,13)-(1,14))
diff --git a/test/prism/snapshots/seattlerb/quoted_symbol_hash_arg.txt b/test/prism/snapshots/seattlerb/quoted_symbol_hash_arg.txt
index 86d5c298d3..cdaf54b6c8 100644
--- a/test/prism/snapshots/seattlerb/quoted_symbol_hash_arg.txt
+++ b/test/prism/snapshots/seattlerb/quoted_symbol_hash_arg.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,12))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :puts
β”œβ”€β”€ message_loc: (1,0)-(1,4) = "puts"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -29,5 +30,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :puts
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/rescue_do_end_ensure_result.txt b/test/prism/snapshots/seattlerb/rescue_do_end_ensure_result.txt
index 4f247496bc..bdd92a5482 100644
--- a/test/prism/snapshots/seattlerb/rescue_do_end_ensure_result.txt
+++ b/test/prism/snapshots/seattlerb/rescue_do_end_ensure_result.txt
@@ -8,6 +8,7 @@
β”‚ @ CallNode (location: (1,0)-(5,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :proc
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,4) = "proc"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -44,13 +45,12 @@
β”‚ β”‚ β”‚ └── end_keyword_loc: (5,0)-(5,3) = "end"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,5)-(1,7) = "do"
β”‚ β”‚ └── closing_loc: (5,0)-(5,3) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :proc
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ call_operator_loc: (5,3)-(5,4) = "."
+ β”œβ”€β”€ name: :call
β”œβ”€β”€ message_loc: (5,4)-(5,8) = "call"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :call
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/rescue_do_end_no_raise.txt b/test/prism/snapshots/seattlerb/rescue_do_end_no_raise.txt
index 47b810c41f..a137470b71 100644
--- a/test/prism/snapshots/seattlerb/rescue_do_end_no_raise.txt
+++ b/test/prism/snapshots/seattlerb/rescue_do_end_no_raise.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(9,3))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :tap
β”œβ”€β”€ message_loc: (1,0)-(1,3) = "tap"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -67,5 +68,4 @@
β”‚ β”‚ └── end_keyword_loc: (9,0)-(9,3) = "end"
β”‚ β”œβ”€β”€ opening_loc: (1,4)-(1,6) = "do"
β”‚ └── closing_loc: (9,0)-(9,3) = "end"
- β”œβ”€β”€ flags: βˆ…
- └── name: :tap
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/rescue_do_end_raised.txt b/test/prism/snapshots/seattlerb/rescue_do_end_raised.txt
index 280ac567b9..a7300bda96 100644
--- a/test/prism/snapshots/seattlerb/rescue_do_end_raised.txt
+++ b/test/prism/snapshots/seattlerb/rescue_do_end_raised.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(5,3))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :tap
β”œβ”€β”€ message_loc: (1,0)-(1,3) = "tap"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -23,13 +24,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (2,2)-(2,7))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :raise
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (2,2)-(2,7) = "raise"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :raise
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ rescue_clause: βˆ…
β”‚ β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”‚ β”œβ”€β”€ ensure_clause:
@@ -47,5 +48,4 @@
β”‚ β”‚ └── end_keyword_loc: (5,0)-(5,3) = "end"
β”‚ β”œβ”€β”€ opening_loc: (1,4)-(1,6) = "do"
β”‚ └── closing_loc: (5,0)-(5,3) = "end"
- β”œβ”€β”€ flags: βˆ…
- └── name: :tap
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/rescue_do_end_rescued.txt b/test/prism/snapshots/seattlerb/rescue_do_end_rescued.txt
index 8da45bf3d0..1d192161d7 100644
--- a/test/prism/snapshots/seattlerb/rescue_do_end_rescued.txt
+++ b/test/prism/snapshots/seattlerb/rescue_do_end_rescued.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(9,3))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :tap
β”œβ”€β”€ message_loc: (1,0)-(1,3) = "tap"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -23,13 +24,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (2,2)-(2,7))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :raise
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (2,2)-(2,7) = "raise"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :raise
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ rescue_clause:
β”‚ β”‚ β”‚ @ RescueNode (location: (3,0)-(4,9))
β”‚ β”‚ β”‚ β”œβ”€β”€ keyword_loc: (3,0)-(3,6) = "rescue"
@@ -72,5 +73,4 @@
β”‚ β”‚ └── end_keyword_loc: (9,0)-(9,3) = "end"
β”‚ β”œβ”€β”€ opening_loc: (1,4)-(1,6) = "do"
β”‚ └── closing_loc: (9,0)-(9,3) = "end"
- β”œβ”€β”€ flags: βˆ…
- └── name: :tap
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/rescue_in_block.txt b/test/prism/snapshots/seattlerb/rescue_in_block.txt
index a5a6e43ef5..8864c835b1 100644
--- a/test/prism/snapshots/seattlerb/rescue_in_block.txt
+++ b/test/prism/snapshots/seattlerb/rescue_in_block.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(4,3))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :blah
β”œβ”€β”€ message_loc: (1,0)-(1,4) = "blah"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -30,18 +31,17 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (3,2)-(3,7))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :stuff
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,2)-(3,7) = "stuff"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :stuff
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── consequent: βˆ…
β”‚ β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”‚ β”œβ”€β”€ ensure_clause: βˆ…
β”‚ β”‚ └── end_keyword_loc: (4,0)-(4,3) = "end"
β”‚ β”œβ”€β”€ opening_loc: (1,5)-(1,7) = "do"
β”‚ └── closing_loc: (4,0)-(4,3) = "end"
- β”œβ”€β”€ flags: βˆ…
- └── name: :blah
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/rescue_parens.txt b/test/prism/snapshots/seattlerb/rescue_parens.txt
index f65a80e26a..300627ac80 100644
--- a/test/prism/snapshots/seattlerb/rescue_parens.txt
+++ b/test/prism/snapshots/seattlerb/rescue_parens.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,14))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :a
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -20,29 +21,28 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (1,3)-(1,4))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,3)-(1,4) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ keyword_loc: (1,5)-(1,11) = "rescue"
β”‚ β”‚ β”‚ └── rescue_expression:
β”‚ β”‚ β”‚ @ CallNode (location: (1,12)-(1,13))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,12)-(1,13) = "c"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "("
β”‚ β”‚ └── closing_loc: (1,13)-(1,14) = ")"
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :a
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/return_call_assocs.txt b/test/prism/snapshots/seattlerb/return_call_assocs.txt
index 79fe7ca30f..d67290ffb8 100644
--- a/test/prism/snapshots/seattlerb/return_call_assocs.txt
+++ b/test/prism/snapshots/seattlerb/return_call_assocs.txt
@@ -64,6 +64,7 @@
β”‚ β”‚ └── @ CallNode (location: (5,7)-(5,14))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :y
β”‚ β”‚ β”œβ”€β”€ message_loc: (5,7)-(5,8) = "y"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -85,8 +86,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :y
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── flags: βˆ…
β”œβ”€β”€ @ ReturnNode (location: (7,0)-(7,12))
β”‚ β”œβ”€β”€ keyword_loc: (7,0)-(7,6) = "return"
@@ -96,6 +96,7 @@
β”‚ β”‚ └── @ CallNode (location: (7,7)-(7,12))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :y
β”‚ β”‚ β”œβ”€β”€ message_loc: (7,7)-(7,8) = "y"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -117,8 +118,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :y
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── flags: βˆ…
β”œβ”€β”€ @ ReturnNode (location: (9,0)-(9,13))
β”‚ β”œβ”€β”€ keyword_loc: (9,0)-(9,6) = "return"
@@ -128,6 +128,7 @@
β”‚ β”‚ └── @ CallNode (location: (9,7)-(9,13))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :y
β”‚ β”‚ β”œβ”€β”€ message_loc: (9,7)-(9,8) = "y"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (9,8)-(9,9) = "("
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -149,8 +150,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: (9,12)-(9,13) = ")"
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :y
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── flags: βˆ…
└── @ ReturnNode (location: (11,0)-(11,14))
β”œβ”€β”€ keyword_loc: (11,0)-(11,6) = "return"
@@ -160,6 +160,7 @@
β”‚ └── @ CallNode (location: (11,7)-(11,14))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :y
β”‚ β”œβ”€β”€ message_loc: (11,7)-(11,8) = "y"
β”‚ β”œβ”€β”€ opening_loc: (11,8)-(11,9) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -172,13 +173,13 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (11,9)-(11,10))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :z
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (11,9)-(11,10) = "z"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :z
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ value:
β”‚ β”‚ β”‚ β”‚ @ IntegerNode (location: (11,12)-(11,13))
β”‚ β”‚ β”‚ β”‚ └── flags: decimal
@@ -186,6 +187,5 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (11,13)-(11,14) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :y
+ β”‚ └── flags: βˆ…
└── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/safe_attrasgn.txt b/test/prism/snapshots/seattlerb/safe_attrasgn.txt
index a6d7198f70..d7d36c5d7f 100644
--- a/test/prism/snapshots/seattlerb/safe_attrasgn.txt
+++ b/test/prism/snapshots/seattlerb/safe_attrasgn.txt
@@ -8,14 +8,15 @@
β”‚ @ CallNode (location: (1,0)-(1,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: (1,1)-(1,3) = "&."
+ β”œβ”€β”€ name: :b=
β”œβ”€β”€ message_loc: (1,3)-(1,4) = "b"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -26,5 +27,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: safe_navigation
- └── name: :b=
+ └── flags: safe_navigation
diff --git a/test/prism/snapshots/seattlerb/safe_attrasgn_constant.txt b/test/prism/snapshots/seattlerb/safe_attrasgn_constant.txt
index 9647886fce..c299e95929 100644
--- a/test/prism/snapshots/seattlerb/safe_attrasgn_constant.txt
+++ b/test/prism/snapshots/seattlerb/safe_attrasgn_constant.txt
@@ -8,14 +8,15 @@
β”‚ @ CallNode (location: (1,0)-(1,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: (1,1)-(1,3) = "&."
+ β”œβ”€β”€ name: :B=
β”œβ”€β”€ message_loc: (1,3)-(1,4) = "B"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -26,5 +27,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: safe_navigation
- └── name: :B=
+ └── flags: safe_navigation
diff --git a/test/prism/snapshots/seattlerb/safe_call.txt b/test/prism/snapshots/seattlerb/safe_call.txt
index 87886b1ac9..108c6ca820 100644
--- a/test/prism/snapshots/seattlerb/safe_call.txt
+++ b/test/prism/snapshots/seattlerb/safe_call.txt
@@ -8,18 +8,18 @@
β”‚ @ CallNode (location: (1,0)-(1,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: (1,1)-(1,3) = "&."
+ β”œβ”€β”€ name: :b
β”œβ”€β”€ message_loc: (1,3)-(1,4) = "b"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: safe_navigation
- └── name: :b
+ └── flags: safe_navigation
diff --git a/test/prism/snapshots/seattlerb/safe_call_after_newline.txt b/test/prism/snapshots/seattlerb/safe_call_after_newline.txt
index 1eb59ceb9d..cee2dacb26 100644
--- a/test/prism/snapshots/seattlerb/safe_call_after_newline.txt
+++ b/test/prism/snapshots/seattlerb/safe_call_after_newline.txt
@@ -8,18 +8,18 @@
β”‚ @ CallNode (location: (1,0)-(1,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: (2,0)-(2,2) = "&."
+ β”œβ”€β”€ name: :b
β”œβ”€β”€ message_loc: (2,2)-(2,3) = "b"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: safe_navigation
- └── name: :b
+ └── flags: safe_navigation
diff --git a/test/prism/snapshots/seattlerb/safe_call_dot_parens.txt b/test/prism/snapshots/seattlerb/safe_call_dot_parens.txt
index c9db506be2..1c8eade099 100644
--- a/test/prism/snapshots/seattlerb/safe_call_dot_parens.txt
+++ b/test/prism/snapshots/seattlerb/safe_call_dot_parens.txt
@@ -8,18 +8,18 @@
β”‚ @ CallNode (location: (1,0)-(1,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: (1,1)-(1,3) = "&."
+ β”œβ”€β”€ name: :call
β”œβ”€β”€ message_loc: βˆ…
β”œβ”€β”€ opening_loc: (1,3)-(1,4) = "("
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: (1,4)-(1,5) = ")"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: safe_navigation
- └── name: :call
+ └── flags: safe_navigation
diff --git a/test/prism/snapshots/seattlerb/safe_call_newline.txt b/test/prism/snapshots/seattlerb/safe_call_newline.txt
index 87886b1ac9..108c6ca820 100644
--- a/test/prism/snapshots/seattlerb/safe_call_newline.txt
+++ b/test/prism/snapshots/seattlerb/safe_call_newline.txt
@@ -8,18 +8,18 @@
β”‚ @ CallNode (location: (1,0)-(1,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: (1,1)-(1,3) = "&."
+ β”œβ”€β”€ name: :b
β”œβ”€β”€ message_loc: (1,3)-(1,4) = "b"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: safe_navigation
- └── name: :b
+ └── flags: safe_navigation
diff --git a/test/prism/snapshots/seattlerb/safe_call_operator.txt b/test/prism/snapshots/seattlerb/safe_call_operator.txt
index 182a8dde49..ed8a790add 100644
--- a/test/prism/snapshots/seattlerb/safe_call_operator.txt
+++ b/test/prism/snapshots/seattlerb/safe_call_operator.txt
@@ -8,14 +8,15 @@
β”‚ @ CallNode (location: (1,0)-(1,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: (1,1)-(1,3) = "&."
+ β”œβ”€β”€ name: :>
β”œβ”€β”€ message_loc: (1,3)-(1,4) = ">"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -26,5 +27,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: safe_navigation
- └── name: :>
+ └── flags: safe_navigation
diff --git a/test/prism/snapshots/seattlerb/safe_call_rhs_newline.txt b/test/prism/snapshots/seattlerb/safe_call_rhs_newline.txt
index d02732caed..41c17c6ef3 100644
--- a/test/prism/snapshots/seattlerb/safe_call_rhs_newline.txt
+++ b/test/prism/snapshots/seattlerb/safe_call_rhs_newline.txt
@@ -13,19 +13,19 @@
β”‚ β”‚ @ CallNode (location: (1,4)-(1,5))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,5) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (1,5)-(1,7) = "&."
+ β”‚ β”œβ”€β”€ name: :b
β”‚ β”œβ”€β”€ message_loc: (1,7)-(1,8) = "b"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: safe_navigation
- β”‚ └── name: :b
+ β”‚ └── flags: safe_navigation
└── operator_loc: (1,2)-(1,3) = "="
diff --git a/test/prism/snapshots/seattlerb/safe_calls.txt b/test/prism/snapshots/seattlerb/safe_calls.txt
index cccfea89fb..66d155db84 100644
--- a/test/prism/snapshots/seattlerb/safe_calls.txt
+++ b/test/prism/snapshots/seattlerb/safe_calls.txt
@@ -10,22 +10,23 @@
β”‚ β”‚ @ CallNode (location: (1,0)-(1,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (1,1)-(1,3) = "&."
+ β”‚ β”œβ”€β”€ name: :b
β”‚ β”œβ”€β”€ message_loc: (1,3)-(1,4) = "b"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: safe_navigation
- β”‚ └── name: :b
+ β”‚ └── flags: safe_navigation
β”œβ”€β”€ call_operator_loc: (1,4)-(1,6) = "&."
+ β”œβ”€β”€ name: :c
β”œβ”€β”€ message_loc: (1,6)-(1,7) = "c"
β”œβ”€β”€ opening_loc: (1,7)-(1,8) = "("
β”œβ”€β”€ arguments:
@@ -36,5 +37,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (1,9)-(1,10) = ")"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: safe_navigation
- └── name: :c
+ └── flags: safe_navigation
diff --git a/test/prism/snapshots/seattlerb/safe_op_asgn.txt b/test/prism/snapshots/seattlerb/safe_op_asgn.txt
index 2cf1f52da8..46cc542dfc 100644
--- a/test/prism/snapshots/seattlerb/safe_op_asgn.txt
+++ b/test/prism/snapshots/seattlerb/safe_op_asgn.txt
@@ -8,13 +8,13 @@
β”‚ @ CallNode (location: (1,0)-(1,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: (1,1)-(1,3) = "&."
β”œβ”€β”€ message_loc: (1,3)-(1,4) = "b"
β”œβ”€β”€ flags: safe_navigation
@@ -26,6 +26,7 @@
@ CallNode (location: (1,8)-(1,11))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :x
β”œβ”€β”€ message_loc: (1,8)-(1,9) = "x"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -36,5 +37,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :x
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/safe_op_asgn2.txt b/test/prism/snapshots/seattlerb/safe_op_asgn2.txt
index f3eb37eb88..238153f9fb 100644
--- a/test/prism/snapshots/seattlerb/safe_op_asgn2.txt
+++ b/test/prism/snapshots/seattlerb/safe_op_asgn2.txt
@@ -8,13 +8,13 @@
β”‚ @ CallNode (location: (1,0)-(1,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: (1,1)-(1,3) = "&."
β”œβ”€β”€ message_loc: (1,3)-(1,4) = "b"
β”œβ”€β”€ flags: safe_navigation
@@ -25,10 +25,10 @@
@ CallNode (location: (2,0)-(2,1))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :x
β”œβ”€β”€ message_loc: (2,0)-(2,1) = "x"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: variable_call
- └── name: :x
+ └── flags: variable_call
diff --git a/test/prism/snapshots/seattlerb/slashy_newlines_within_string.txt b/test/prism/snapshots/seattlerb/slashy_newlines_within_string.txt
index 63c287c146..a8486b25c0 100644
--- a/test/prism/snapshots/seattlerb/slashy_newlines_within_string.txt
+++ b/test/prism/snapshots/seattlerb/slashy_newlines_within_string.txt
@@ -6,6 +6,7 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(4,8))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :puts
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,4) = "puts"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -20,21 +21,21 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :puts
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (6,0)-(6,5))
β”œβ”€β”€ receiver:
β”‚ @ CallNode (location: (6,0)-(6,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (6,0)-(6,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :+
β”œβ”€β”€ message_loc: (6,2)-(6,3) = "+"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -43,15 +44,14 @@
β”‚ β”‚ └── @ CallNode (location: (6,4)-(6,5))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”œβ”€β”€ message_loc: (6,4)-(6,5) = "b"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :b
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :+
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/stabby_block_iter_call.txt b/test/prism/snapshots/seattlerb/stabby_block_iter_call.txt
index 2f671c38e3..19ea912814 100644
--- a/test/prism/snapshots/seattlerb/stabby_block_iter_call.txt
+++ b/test/prism/snapshots/seattlerb/stabby_block_iter_call.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(4,3))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :x
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "x"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -30,14 +31,15 @@
β”‚ β”‚ β”‚ @ CallNode (location: (2,0)-(2,1))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (2,0)-(2,1) = "a"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (2,1)-(2,2) = "."
+ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”œβ”€β”€ message_loc: (2,2)-(2,3) = "b"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -49,10 +51,8 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (2,4)-(2,6) = "do"
β”‚ β”‚ β”‚ └── closing_loc: (3,0)-(3,3) = "end"
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :b
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :x
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/stabby_block_iter_call_no_target_with_arg.txt b/test/prism/snapshots/seattlerb/stabby_block_iter_call_no_target_with_arg.txt
index 8c70f793ad..84f7aaebf9 100644
--- a/test/prism/snapshots/seattlerb/stabby_block_iter_call_no_target_with_arg.txt
+++ b/test/prism/snapshots/seattlerb/stabby_block_iter_call_no_target_with_arg.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(4,3))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :x
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "x"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -28,6 +29,7 @@
β”‚ β”‚ └── @ CallNode (location: (2,0)-(3,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (2,0)-(2,1) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (2,1)-(2,2) = "("
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -44,10 +46,8 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (2,5)-(2,7) = "do"
β”‚ β”‚ β”‚ └── closing_loc: (3,0)-(3,3) = "end"
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :x
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/str_backslashes.txt b/test/prism/snapshots/seattlerb/str_backslashes.txt
index dd7f14c1c7..6cfb89875c 100644
--- a/test/prism/snapshots/seattlerb/str_backslashes.txt
+++ b/test/prism/snapshots/seattlerb/str_backslashes.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,204))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :x
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "x"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -20,5 +21,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :x
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/str_double_double_escaped_newline.txt b/test/prism/snapshots/seattlerb/str_double_double_escaped_newline.txt
index 6b0cf4ec2d..3e7ae51f77 100644
--- a/test/prism/snapshots/seattlerb/str_double_double_escaped_newline.txt
+++ b/test/prism/snapshots/seattlerb/str_double_double_escaped_newline.txt
@@ -6,6 +6,7 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(1,7))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -20,15 +21,14 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (1,8)-(1,9))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :b
β”œβ”€β”€ message_loc: (1,8)-(1,9) = "b"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: variable_call
- └── name: :b
+ └── flags: variable_call
diff --git a/test/prism/snapshots/seattlerb/str_double_escaped_newline.txt b/test/prism/snapshots/seattlerb/str_double_escaped_newline.txt
index 6ccf0c6fee..10563703a1 100644
--- a/test/prism/snapshots/seattlerb/str_double_escaped_newline.txt
+++ b/test/prism/snapshots/seattlerb/str_double_escaped_newline.txt
@@ -6,6 +6,7 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(1,6))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -20,15 +21,14 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (1,7)-(1,8))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :b
β”œβ”€β”€ message_loc: (1,7)-(1,8) = "b"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: variable_call
- └── name: :b
+ └── flags: variable_call
diff --git a/test/prism/snapshots/seattlerb/str_double_newline.txt b/test/prism/snapshots/seattlerb/str_double_newline.txt
index 0b5d655610..3c35f62802 100644
--- a/test/prism/snapshots/seattlerb/str_double_newline.txt
+++ b/test/prism/snapshots/seattlerb/str_double_newline.txt
@@ -6,6 +6,7 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(2,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -20,15 +21,14 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (2,2)-(2,3))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :b
β”œβ”€β”€ message_loc: (2,2)-(2,3) = "b"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: variable_call
- └── name: :b
+ └── flags: variable_call
diff --git a/test/prism/snapshots/seattlerb/str_evstr.txt b/test/prism/snapshots/seattlerb/str_evstr.txt
index 3baac64f91..7dd048397e 100644
--- a/test/prism/snapshots/seattlerb/str_evstr.txt
+++ b/test/prism/snapshots/seattlerb/str_evstr.txt
@@ -20,12 +20,12 @@
β”‚ β”‚ └── @ CallNode (location: (1,5)-(1,6))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,5)-(1,6) = "b"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :b
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── closing_loc: (1,6)-(1,7) = "}"
└── closing_loc: (1,7)-(1,8) = "\""
diff --git a/test/prism/snapshots/seattlerb/str_evstr_escape.txt b/test/prism/snapshots/seattlerb/str_evstr_escape.txt
index b603038b86..49891a9e96 100644
--- a/test/prism/snapshots/seattlerb/str_evstr_escape.txt
+++ b/test/prism/snapshots/seattlerb/str_evstr_escape.txt
@@ -20,13 +20,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (1,5)-(1,6))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,5)-(1,6) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── closing_loc: (1,6)-(1,7) = "}"
β”‚ └── @ StringNode (location: (1,7)-(1,15))
β”‚ β”œβ”€β”€ flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/str_heredoc_interp.txt b/test/prism/snapshots/seattlerb/str_heredoc_interp.txt
index 164926cdf9..03852bfcdd 100644
--- a/test/prism/snapshots/seattlerb/str_heredoc_interp.txt
+++ b/test/prism/snapshots/seattlerb/str_heredoc_interp.txt
@@ -14,13 +14,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (2,2)-(2,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :x
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (2,2)-(2,3) = "x"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :x
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── closing_loc: (2,3)-(2,4) = "}"
β”‚ └── @ StringNode (location: (2,4)-(4,0))
β”‚ β”œβ”€β”€ flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/str_interp_ternary_or_label.txt b/test/prism/snapshots/seattlerb/str_interp_ternary_or_label.txt
index 31fd9fca0c..5f6d628846 100644
--- a/test/prism/snapshots/seattlerb/str_interp_ternary_or_label.txt
+++ b/test/prism/snapshots/seattlerb/str_interp_ternary_or_label.txt
@@ -19,21 +19,21 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (1,3)-(1,4))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,3)-(1,4) = "a"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (1,4)-(1,5) = "."
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b?
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,5)-(1,7) = "b?"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :b?
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ then_keyword_loc: (1,8)-(1,9) = "?"
β”‚ β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ β”‚ @ StatementsNode (location: (1,10)-(1,17))
@@ -49,6 +49,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (1,11)-(1,12) = "\""
β”‚ β”‚ β”‚ β”‚ β”‚ └── unescaped: ""
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :+
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,12)-(1,13) = "+"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -57,19 +58,19 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (1,13)-(1,14))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,13)-(1,14) = "a"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :+
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :+
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,14)-(1,15) = "+"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -84,8 +85,7 @@
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :+
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ consequent:
β”‚ β”‚ β”‚ @ ElseNode (location: (1,17)-(1,21))
β”‚ β”‚ β”‚ β”œβ”€β”€ else_keyword_loc: (1,17)-(1,18) = ":"
diff --git a/test/prism/snapshots/seattlerb/str_pct_Q_nested.txt b/test/prism/snapshots/seattlerb/str_pct_Q_nested.txt
index 1bbf4311de..9aec3ab503 100644
--- a/test/prism/snapshots/seattlerb/str_pct_Q_nested.txt
+++ b/test/prism/snapshots/seattlerb/str_pct_Q_nested.txt
@@ -20,13 +20,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (1,13)-(1,17))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :nest
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,13)-(1,17) = "nest"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :nest
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── closing_loc: (1,17)-(1,18) = "}"
β”‚ └── @ StringNode (location: (1,18)-(1,25))
β”‚ β”œβ”€β”€ flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/str_single_double_escaped_newline.txt b/test/prism/snapshots/seattlerb/str_single_double_escaped_newline.txt
index 20c228db4a..a100d78b57 100644
--- a/test/prism/snapshots/seattlerb/str_single_double_escaped_newline.txt
+++ b/test/prism/snapshots/seattlerb/str_single_double_escaped_newline.txt
@@ -6,6 +6,7 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(1,7))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -20,15 +21,14 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (1,8)-(1,9))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :b
β”œβ”€β”€ message_loc: (1,8)-(1,9) = "b"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: variable_call
- └── name: :b
+ └── flags: variable_call
diff --git a/test/prism/snapshots/seattlerb/str_single_escaped_newline.txt b/test/prism/snapshots/seattlerb/str_single_escaped_newline.txt
index e7388d0ec5..5e971dea47 100644
--- a/test/prism/snapshots/seattlerb/str_single_escaped_newline.txt
+++ b/test/prism/snapshots/seattlerb/str_single_escaped_newline.txt
@@ -6,6 +6,7 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(1,6))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -20,15 +21,14 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (1,7)-(1,8))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :b
β”œβ”€β”€ message_loc: (1,7)-(1,8) = "b"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: variable_call
- └── name: :b
+ └── flags: variable_call
diff --git a/test/prism/snapshots/seattlerb/str_single_newline.txt b/test/prism/snapshots/seattlerb/str_single_newline.txt
index a4725a50aa..32e95c6542 100644
--- a/test/prism/snapshots/seattlerb/str_single_newline.txt
+++ b/test/prism/snapshots/seattlerb/str_single_newline.txt
@@ -6,6 +6,7 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(2,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -20,15 +21,14 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (2,2)-(2,3))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :b
β”œβ”€β”€ message_loc: (2,2)-(2,3) = "b"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: variable_call
- └── name: :b
+ └── flags: variable_call
diff --git a/test/prism/snapshots/seattlerb/symbol_list.txt b/test/prism/snapshots/seattlerb/symbol_list.txt
index 2460dd63f9..bdb901daaf 100644
--- a/test/prism/snapshots/seattlerb/symbol_list.txt
+++ b/test/prism/snapshots/seattlerb/symbol_list.txt
@@ -16,13 +16,13 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (1,5)-(1,6))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,5)-(1,6) = "a"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── closing_loc: (1,6)-(1,7) = "}"
β”‚ β”‚ └── closing_loc: βˆ…
β”‚ └── @ InterpolatedSymbolNode (location: (1,8)-(1,12))
@@ -36,13 +36,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (1,10)-(1,11))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,10)-(1,11) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── closing_loc: (1,11)-(1,12) = "}"
β”‚ └── closing_loc: βˆ…
β”œβ”€β”€ opening_loc: (1,0)-(1,3) = "%I["
diff --git a/test/prism/snapshots/seattlerb/thingy.txt b/test/prism/snapshots/seattlerb/thingy.txt
index ba6d5fe235..244d858e2e 100644
--- a/test/prism/snapshots/seattlerb/thingy.txt
+++ b/test/prism/snapshots/seattlerb/thingy.txt
@@ -8,14 +8,15 @@
β”‚ β”‚ @ CallNode (location: (1,0)-(1,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :f
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :f
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (1,1)-(1,2) = "."
+ β”‚ β”œβ”€β”€ name: :call
β”‚ β”œβ”€β”€ message_loc: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -26,21 +27,21 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (1,5)-(1,6) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :call
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (3,0)-(3,7))
β”œβ”€β”€ receiver:
β”‚ @ CallNode (location: (3,0)-(3,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :f
β”‚ β”œβ”€β”€ message_loc: (3,0)-(3,1) = "f"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :f
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: (3,1)-(3,3) = "::"
+ β”œβ”€β”€ name: :call
β”œβ”€β”€ message_loc: βˆ…
β”œβ”€β”€ opening_loc: (3,3)-(3,4) = "("
β”œβ”€β”€ arguments:
@@ -51,5 +52,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (3,6)-(3,7) = ")"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :call
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/unary_minus.txt b/test/prism/snapshots/seattlerb/unary_minus.txt
index 4ed30f62a9..d68788f89b 100644
--- a/test/prism/snapshots/seattlerb/unary_minus.txt
+++ b/test/prism/snapshots/seattlerb/unary_minus.txt
@@ -8,18 +8,18 @@
β”‚ @ CallNode (location: (1,1)-(1,2))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,1)-(1,2) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :-@
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "-"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :-@
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/unary_plus.txt b/test/prism/snapshots/seattlerb/unary_plus.txt
index e6fd52c7fc..9061198242 100644
--- a/test/prism/snapshots/seattlerb/unary_plus.txt
+++ b/test/prism/snapshots/seattlerb/unary_plus.txt
@@ -8,18 +8,18 @@
β”‚ @ CallNode (location: (1,1)-(1,2))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,1)-(1,2) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :+@
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "+"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :+@
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/unary_plus_on_literal.txt b/test/prism/snapshots/seattlerb/unary_plus_on_literal.txt
index 37d183ae65..f910059153 100644
--- a/test/prism/snapshots/seattlerb/unary_plus_on_literal.txt
+++ b/test/prism/snapshots/seattlerb/unary_plus_on_literal.txt
@@ -11,10 +11,10 @@
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ └── unescaped: "a"
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :+@
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "+"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :+@
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/unary_tilde.txt b/test/prism/snapshots/seattlerb/unary_tilde.txt
index 156e93ccfa..5ba20eb961 100644
--- a/test/prism/snapshots/seattlerb/unary_tilde.txt
+++ b/test/prism/snapshots/seattlerb/unary_tilde.txt
@@ -8,18 +8,18 @@
β”‚ @ CallNode (location: (1,1)-(1,2))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,1)-(1,2) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :~
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "~"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :~
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/utf8_bom.txt b/test/prism/snapshots/seattlerb/utf8_bom.txt
index a7abc9e941..af5ce88bdb 100644
--- a/test/prism/snapshots/seattlerb/utf8_bom.txt
+++ b/test/prism/snapshots/seattlerb/utf8_bom.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (2,0)-(2,3))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :p
β”œβ”€β”€ message_loc: (2,0)-(2,1) = "p"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -16,5 +17,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :p
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/seattlerb/when_splat.txt b/test/prism/snapshots/seattlerb/when_splat.txt
index f383c8b0d0..f47f501738 100644
--- a/test/prism/snapshots/seattlerb/when_splat.txt
+++ b/test/prism/snapshots/seattlerb/when_splat.txt
@@ -8,13 +8,13 @@
β”‚ @ CallNode (location: (1,5)-(1,6))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,5)-(1,6) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ conditions: (length: 1)
β”‚ └── @ WhenNode (location: (1,8)-(1,15))
β”‚ β”œβ”€β”€ keyword_loc: (1,8)-(1,12) = "when"
@@ -25,13 +25,13 @@
β”‚ β”‚ @ CallNode (location: (1,14)-(1,15))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,14)-(1,15) = "b"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :b
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── statements: βˆ…
β”œβ”€β”€ consequent: βˆ…
β”œβ”€β”€ case_keyword_loc: (1,0)-(1,4) = "case"
diff --git a/test/prism/snapshots/seattlerb/yield_call_assocs.txt b/test/prism/snapshots/seattlerb/yield_call_assocs.txt
index c8c67d4933..5424c5558e 100644
--- a/test/prism/snapshots/seattlerb/yield_call_assocs.txt
+++ b/test/prism/snapshots/seattlerb/yield_call_assocs.txt
@@ -69,6 +69,7 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (5,6)-(5,13))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :y
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (5,6)-(5,7) = "y"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -90,8 +91,7 @@
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :y
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── flags: βˆ…
β”‚ └── rparen_loc: βˆ…
β”œβ”€β”€ @ YieldNode (location: (7,0)-(7,11))
@@ -103,6 +103,7 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (7,6)-(7,11))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :y
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (7,6)-(7,7) = "y"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -124,8 +125,7 @@
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :y
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── flags: βˆ…
β”‚ └── rparen_loc: βˆ…
β”œβ”€β”€ @ YieldNode (location: (9,0)-(9,12))
@@ -137,6 +137,7 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (9,6)-(9,12))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :y
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (9,6)-(9,7) = "y"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (9,7)-(9,8) = "("
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -158,8 +159,7 @@
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (9,11)-(9,12) = ")"
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :y
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── flags: βˆ…
β”‚ └── rparen_loc: βˆ…
└── @ YieldNode (location: (11,0)-(11,13))
@@ -171,6 +171,7 @@
β”‚ β”‚ └── @ CallNode (location: (11,6)-(11,13))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :y
β”‚ β”‚ β”œβ”€β”€ message_loc: (11,6)-(11,7) = "y"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (11,7)-(11,8) = "("
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -183,13 +184,13 @@
β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (11,8)-(11,9))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :z
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (11,8)-(11,9) = "z"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :z
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ value:
β”‚ β”‚ β”‚ β”‚ β”‚ @ IntegerNode (location: (11,11)-(11,12))
β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: decimal
@@ -197,7 +198,6 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: (11,12)-(11,13) = ")"
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :y
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── flags: βˆ…
└── rparen_loc: βˆ…
diff --git a/test/prism/snapshots/spanning_heredoc.txt b/test/prism/snapshots/spanning_heredoc.txt
index d574ba16f3..c28def31ad 100644
--- a/test/prism/snapshots/spanning_heredoc.txt
+++ b/test/prism/snapshots/spanning_heredoc.txt
@@ -6,6 +6,7 @@
β”œβ”€β”€ @ CallNode (location: (4,0)-(7,7))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :pp
β”‚ β”œβ”€β”€ message_loc: (4,0)-(4,2) = "pp"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -20,6 +21,7 @@
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (6,0)-(7,0) = "A\n"
β”‚ β”‚ β”‚ β”‚ └── unescaped: "a\n"
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (4,7)-(4,8) = "."
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :gsub
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (4,8)-(4,12) = "gsub"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (4,12)-(4,13) = "("
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -51,16 +53,15 @@
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (7,6)-(7,7) = ")"
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :gsub
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :pp
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (10,0)-(13,2))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :pp
β”‚ β”œβ”€β”€ message_loc: (10,0)-(10,2) = "pp"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -91,11 +92,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :pp
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (16,0)-(19,2))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :pp
β”‚ β”œβ”€β”€ message_loc: (16,0)-(16,2) = "pp"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -126,11 +127,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :pp
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (22,0)-(25,2))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :pp
β”‚ β”œβ”€β”€ message_loc: (22,0)-(22,2) = "pp"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -161,11 +162,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :pp
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (28,0)-(31,2))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :pp
β”‚ β”œβ”€β”€ message_loc: (28,0)-(28,2) = "pp"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -197,11 +198,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :pp
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (35,0)-(38,2))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :pp
β”‚ β”œβ”€β”€ message_loc: (35,0)-(35,2) = "pp"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -237,11 +238,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :pp
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (41,0)-(44,2))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :pp
β”‚ β”œβ”€β”€ message_loc: (41,0)-(41,2) = "pp"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -271,11 +272,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :pp
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (48,0)-(51,2))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :pp
β”‚ β”œβ”€β”€ message_loc: (48,0)-(48,2) = "pp"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -310,8 +311,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :pp
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ StringNode (location: (53,0)-(53,3))
β”‚ β”œβ”€β”€ flags: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (53,0)-(53,3) = "<<A"
@@ -340,6 +340,7 @@
β”‚ β”‚ β”œβ”€β”€ closing_loc: (55,6)-(55,7) = "/"
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :=~
β”‚ β”œβ”€β”€ message_loc: (55,8)-(55,10) = "=~"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -354,8 +355,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :=~
+ β”‚ └── flags: βˆ…
└── targets: (length: 1)
└── @ LocalVariableTargetNode (location: (53,5)-(55,7))
β”œβ”€β”€ name: :a
diff --git a/test/prism/snapshots/strings.txt b/test/prism/snapshots/strings.txt
index b98aaa0ccd..aab888f57f 100644
--- a/test/prism/snapshots/strings.txt
+++ b/test/prism/snapshots/strings.txt
@@ -124,13 +124,13 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (35,8)-(35,11))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bbb
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (35,8)-(35,11) = "bbb"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bbb
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── closing_loc: (35,11)-(35,12) = "}"
β”‚ β”‚ └── @ StringNode (location: (35,12)-(35,16))
β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
@@ -154,6 +154,7 @@
β”‚ β”‚ β”œβ”€β”€ closing_loc: (39,4)-(39,5) = "\""
β”‚ β”‚ └── unescaped: "foo"
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :+
β”‚ β”œβ”€β”€ message_loc: (39,6)-(39,7) = "+"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -168,8 +169,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :+
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ StringNode (location: (43,0)-(43,7))
β”‚ β”œβ”€β”€ flags: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (43,0)-(43,3) = "%q{"
@@ -222,13 +222,13 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (55,7)-(55,10))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bbb
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (55,7)-(55,10) = "bbb"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bbb
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── closing_loc: (55,10)-(55,11) = "}"
β”‚ β”‚ └── @ StringNode (location: (55,11)-(55,15))
β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
@@ -348,13 +348,13 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (67,8)-(67,9))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (67,8)-(67,9) = "c"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (67,9)-(67,10) = "}"
β”‚ β”‚ β”‚ β”‚ └── @ StringNode (location: (67,10)-(67,11))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
diff --git a/test/prism/snapshots/symbols.txt b/test/prism/snapshots/symbols.txt
index 965d1a7657..3770cad292 100644
--- a/test/prism/snapshots/symbols.txt
+++ b/test/prism/snapshots/symbols.txt
@@ -19,13 +19,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (3,4)-(3,7))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :var
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,4)-(3,7) = "var"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :var
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── closing_loc: (3,7)-(3,8) = "}"
β”‚ └── closing_loc: (3,8)-(3,9) = "\""
β”œβ”€β”€ @ InterpolatedSymbolNode (location: (5,0)-(5,10))
diff --git a/test/prism/snapshots/ternary_operator.txt b/test/prism/snapshots/ternary_operator.txt
index 72fd10c2e0..d26b425187 100644
--- a/test/prism/snapshots/ternary_operator.txt
+++ b/test/prism/snapshots/ternary_operator.txt
@@ -9,13 +9,13 @@
β”‚ β”‚ @ CallNode (location: (1,0)-(1,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ then_keyword_loc: (1,2)-(1,3) = "?"
β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ @ StatementsNode (location: (1,4)-(1,5))
@@ -23,13 +23,13 @@
β”‚ β”‚ └── @ CallNode (location: (1,4)-(1,5))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,5) = "b"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :b
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ consequent:
β”‚ β”‚ @ ElseNode (location: (1,6)-(1,9))
β”‚ β”‚ β”œβ”€β”€ else_keyword_loc: (1,6)-(1,7) = ":"
@@ -39,13 +39,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (1,8)-(1,9))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,8)-(1,9) = "c"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── end_keyword_loc: βˆ…
β”‚ └── end_keyword_loc: βˆ…
β”œβ”€β”€ @ IfNode (location: (3,0)-(3,27))
@@ -54,13 +54,13 @@
β”‚ β”‚ @ CallNode (location: (3,0)-(3,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,0)-(3,1) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ then_keyword_loc: (3,2)-(3,3) = "?"
β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ @ StatementsNode (location: (3,4)-(3,14))
@@ -71,13 +71,13 @@
β”‚ β”‚ β”‚ @ CallNode (location: (3,13)-(3,14))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,13)-(3,14) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ rparen_loc: βˆ…
β”‚ β”‚ └── keyword_loc: (3,4)-(3,12) = "defined?"
β”‚ β”œβ”€β”€ consequent:
@@ -92,13 +92,13 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (3,26)-(3,27))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,26)-(3,27) = "c"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ rparen_loc: βˆ…
β”‚ β”‚ β”‚ └── keyword_loc: (3,17)-(3,25) = "defined?"
β”‚ β”‚ └── end_keyword_loc: βˆ…
@@ -109,13 +109,13 @@
β”‚ β”‚ @ CallNode (location: (5,0)-(5,6))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :empty?
β”‚ β”‚ β”œβ”€β”€ message_loc: (5,0)-(5,6) = "empty?"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :empty?
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ then_keyword_loc: (5,6)-(5,7) = "?"
β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ @ StatementsNode (location: (5,7)-(5,11))
@@ -136,13 +136,13 @@
β”‚ β”‚ @ CallNode (location: (7,0)-(7,6))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :empty?
β”‚ β”‚ β”œβ”€β”€ message_loc: (7,0)-(7,6) = "empty?"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :empty?
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ then_keyword_loc: (7,6)-(7,7) = "?"
β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ @ StatementsNode (location: (7,7)-(7,12))
@@ -163,13 +163,13 @@
β”‚ β”‚ @ CallNode (location: (9,0)-(9,6))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :empty?
β”‚ β”‚ β”œβ”€β”€ message_loc: (9,0)-(9,6) = "empty?"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :empty?
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ then_keyword_loc: (9,6)-(9,7) = "?"
β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ @ StatementsNode (location: (9,7)-(9,10))
@@ -190,13 +190,13 @@
β”‚ β”‚ @ CallNode (location: (11,0)-(11,2))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a?
β”‚ β”‚ β”œβ”€β”€ message_loc: (11,0)-(11,2) = "a?"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :a?
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ then_keyword_loc: (11,2)-(11,3) = "?"
β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ @ StatementsNode (location: (11,3)-(11,6))
@@ -217,13 +217,13 @@
β”‚ β”‚ @ CallNode (location: (13,0)-(13,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (13,0)-(13,1) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ then_keyword_loc: (13,2)-(13,3) = "?"
β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ @ StatementsNode (location: (13,3)-(13,7))
@@ -231,13 +231,13 @@
β”‚ β”‚ └── @ CallNode (location: (13,3)-(13,7))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :var1
β”‚ β”‚ β”œβ”€β”€ message_loc: (13,3)-(13,7) = "var1"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :var1
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ consequent:
β”‚ β”‚ @ ElseNode (location: (13,8)-(13,14))
β”‚ β”‚ β”œβ”€β”€ else_keyword_loc: (13,8)-(13,9) = ":"
@@ -247,13 +247,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (13,10)-(13,14))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :var2
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (13,10)-(13,14) = "var2"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :var2
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── end_keyword_loc: βˆ…
β”‚ └── end_keyword_loc: βˆ…
└── @ IfNode (location: (15,0)-(15,12))
@@ -262,13 +262,13 @@
β”‚ @ CallNode (location: (15,0)-(15,4))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :nil?
β”‚ β”œβ”€β”€ message_loc: (15,0)-(15,4) = "nil?"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :nil?
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ then_keyword_loc: (15,4)-(15,5) = "?"
β”œβ”€β”€ statements:
β”‚ @ StatementsNode (location: (15,5)-(15,10))
diff --git a/test/prism/snapshots/unless.txt b/test/prism/snapshots/unless.txt
index ce1a476611..e37fee8ff6 100644
--- a/test/prism/snapshots/unless.txt
+++ b/test/prism/snapshots/unless.txt
@@ -92,13 +92,13 @@
β”‚ @ CallNode (location: (14,18)-(14,22))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :bar?
β”‚ β”œβ”€β”€ message_loc: (14,18)-(14,22) = "bar?"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar?
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ then_keyword_loc: βˆ…
β”œβ”€β”€ statements:
β”‚ @ StatementsNode (location: (14,0)-(14,10))
@@ -106,6 +106,7 @@
β”‚ └── @ CallNode (location: (14,0)-(14,10))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (14,0)-(14,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -124,7 +125,6 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ consequent: βˆ…
└── end_keyword_loc: βˆ…
diff --git a/test/prism/snapshots/unparser/corpus/literal/assignment.txt b/test/prism/snapshots/unparser/corpus/literal/assignment.txt
index fe7a06a518..ebb343a002 100644
--- a/test/prism/snapshots/unparser/corpus/literal/assignment.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/assignment.txt
@@ -293,26 +293,26 @@
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”‚ └── depth: 0
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (14,2)-(14,3) = "."
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo=
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (14,3)-(14,6) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :foo=
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── @ CallNode (location: (14,8)-(14,13))
β”‚ β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ β”‚ @ LocalVariableReadNode (location: (14,8)-(14,9))
β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ └── depth: 0
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (14,9)-(14,10) = "."
+ β”‚ β”‚ β”œβ”€β”€ name: :bar=
β”‚ β”‚ β”œβ”€β”€ message_loc: (14,10)-(14,13) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :bar=
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ rest: βˆ…
β”‚ β”œβ”€β”€ rights: (length: 0)
β”‚ β”œβ”€β”€ lparen_loc: (14,0)-(14,1) = "("
@@ -336,6 +336,7 @@
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”‚ └── depth: 0
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :[]=
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (15,2)-(15,8) = "[*foo]"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (15,2)-(15,3) = "["
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -350,14 +351,14 @@
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (15,7)-(15,8) = "]"
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :[]=
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── @ CallNode (location: (15,10)-(15,14))
β”‚ β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ β”‚ @ LocalVariableReadNode (location: (15,10)-(15,11))
β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ └── depth: 0
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :[]=
β”‚ β”‚ β”œβ”€β”€ message_loc: (15,11)-(15,14) = "[1]"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (15,11)-(15,12) = "["
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -368,8 +369,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: (15,13)-(15,14) = "]"
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :[]=
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ rest: βˆ…
β”‚ β”œβ”€β”€ rights: (length: 0)
β”‚ β”œβ”€β”€ lparen_loc: (15,0)-(15,1) = "("
@@ -393,6 +393,7 @@
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”‚ └── depth: 0
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :[]=
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (16,2)-(16,5) = "[0]"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (16,2)-(16,3) = "["
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -403,14 +404,14 @@
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (16,4)-(16,5) = "]"
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :[]=
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── @ CallNode (location: (16,7)-(16,11))
β”‚ β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ β”‚ @ LocalVariableReadNode (location: (16,7)-(16,8))
β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ └── depth: 0
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :[]=
β”‚ β”‚ β”œβ”€β”€ message_loc: (16,8)-(16,11) = "[1]"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (16,8)-(16,9) = "["
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -421,8 +422,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: (16,10)-(16,11) = "]"
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :[]=
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ rest: βˆ…
β”‚ β”œβ”€β”€ rights: (length: 0)
β”‚ β”œβ”€β”€ lparen_loc: (16,0)-(16,1) = "("
@@ -450,13 +450,13 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ └── depth: 0
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (17,3)-(17,4) = "."
+ β”‚ β”‚ β”œβ”€β”€ name: :foo=
β”‚ β”‚ β”œβ”€β”€ message_loc: (17,4)-(17,7) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :foo=
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ rights: (length: 0)
β”‚ β”œβ”€β”€ lparen_loc: (17,0)-(17,1) = "("
β”‚ β”œβ”€β”€ rparen_loc: (17,7)-(17,8) = ")"
@@ -565,13 +565,13 @@
β”‚ β”‚ @ CallNode (location: (25,6)-(25,11))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (25,6)-(25,9) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (25,9)-(25,10) = "("
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: (25,10)-(25,11) = ")"
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── operator_loc: (25,4)-(25,5) = "="
β”œβ”€β”€ @ CallNode (location: (26,0)-(26,9))
β”‚ β”œβ”€β”€ receiver:
@@ -579,19 +579,20 @@
β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ └── depth: 0
β”‚ β”œβ”€β”€ call_operator_loc: (26,3)-(26,4) = "."
+ β”‚ β”œβ”€β”€ name: :[]=
β”‚ β”œβ”€β”€ message_loc: (26,4)-(26,7) = "[]="
β”‚ β”œβ”€β”€ opening_loc: (26,7)-(26,8) = "("
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (26,8)-(26,9) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :[]=
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (27,0)-(27,13))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ LocalVariableReadNode (location: (27,0)-(27,3))
β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ └── depth: 0
β”‚ β”œβ”€β”€ call_operator_loc: (27,3)-(27,4) = "."
+ β”‚ β”œβ”€β”€ name: :[]=
β”‚ β”œβ”€β”€ message_loc: (27,4)-(27,7) = "[]="
β”‚ β”œβ”€β”€ opening_loc: (27,7)-(27,8) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -604,14 +605,14 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (27,12)-(27,13) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :[]=
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (28,0)-(28,11))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ LocalVariableReadNode (location: (28,0)-(28,3))
β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ └── depth: 0
β”‚ β”œβ”€β”€ call_operator_loc: (28,3)-(28,4) = "."
+ β”‚ β”œβ”€β”€ name: :[]=
β”‚ β”œβ”€β”€ message_loc: (28,4)-(28,7) = "[]="
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -621,14 +622,14 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :[]=
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (29,0)-(29,19))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ LocalVariableReadNode (location: (29,0)-(29,3))
β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ └── depth: 0
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :[]=
β”‚ β”œβ”€β”€ message_loc: (29,3)-(29,11) = "[*index]"
β”‚ β”œβ”€β”€ opening_loc: (29,3)-(29,4) = "["
β”‚ β”œβ”€β”€ arguments:
@@ -640,34 +641,34 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (29,5)-(29,10))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :index
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (29,5)-(29,10) = "index"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :index
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── @ CallNode (location: (29,14)-(29,19))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :value
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (29,14)-(29,19) = "value"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :value
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (29,10)-(29,11) = "]"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :[]=
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (30,0)-(30,17))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ LocalVariableReadNode (location: (30,0)-(30,3))
β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ └── depth: 0
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :[]=
β”‚ β”œβ”€β”€ message_loc: (30,3)-(30,9) = "[1..2]"
β”‚ β”œβ”€β”€ opening_loc: (30,3)-(30,4) = "["
β”‚ β”œβ”€β”€ arguments:
@@ -685,24 +686,24 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (30,12)-(30,17))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :value
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (30,12)-(30,17) = "value"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :value
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (30,8)-(30,9) = "]"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :[]=
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (31,0)-(31,9))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ LocalVariableReadNode (location: (31,0)-(31,3))
β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ └── depth: 0
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :[]=
β”‚ β”œβ”€β”€ message_loc: (31,3)-(31,5) = "[]"
β”‚ β”œβ”€β”€ opening_loc: (31,3)-(31,4) = "["
β”‚ β”œβ”€β”€ arguments:
@@ -713,14 +714,14 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (31,4)-(31,5) = "]"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :[]=
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (32,0)-(32,17))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ LocalVariableReadNode (location: (32,0)-(32,3))
β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ └── depth: 0
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :[]=
β”‚ β”œβ”€β”€ message_loc: (32,3)-(32,9) = "[a, b]"
β”‚ β”œβ”€β”€ opening_loc: (32,3)-(32,4) = "["
β”‚ β”œβ”€β”€ arguments:
@@ -735,24 +736,24 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (32,12)-(32,17))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :value
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (32,12)-(32,17) = "value"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :value
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (32,8)-(32,9) = "]"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :[]=
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (33,0)-(33,18))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ LocalVariableReadNode (location: (33,0)-(33,3))
β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ └── depth: 0
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :[]=
β”‚ β”œβ”€β”€ message_loc: (33,3)-(33,10) = "[index]"
β”‚ β”œβ”€β”€ opening_loc: (33,3)-(33,4) = "["
β”‚ β”œβ”€β”€ arguments:
@@ -761,28 +762,27 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (33,4)-(33,9))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :index
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (33,4)-(33,9) = "index"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :index
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── @ CallNode (location: (33,13)-(33,18))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :value
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (33,13)-(33,18) = "value"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :value
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (33,9)-(33,10) = "]"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :[]=
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ LocalVariableWriteNode (location: (34,0)-(34,7))
β”‚ β”œβ”€β”€ name: :x
β”‚ β”œβ”€β”€ depth: 0
@@ -801,6 +801,7 @@
β”‚ β”‚ β”œβ”€β”€ name: :x
β”‚ β”‚ └── depth: 0
β”‚ β”œβ”€β”€ call_operator_loc: (35,1)-(35,2) = "."
+ β”‚ β”œβ”€β”€ name: :x=
β”‚ β”œβ”€β”€ message_loc: (35,2)-(35,3) = "x"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -815,14 +816,14 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :x=
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (36,0)-(36,12))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ LocalVariableReadNode (location: (36,0)-(36,1))
β”‚ β”‚ β”œβ”€β”€ name: :x
β”‚ β”‚ └── depth: 0
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :[]=
β”‚ β”œβ”€β”€ message_loc: (36,1)-(36,6) = "[%()]"
β”‚ β”œβ”€β”€ opening_loc: (36,1)-(36,2) = "["
β”‚ β”œβ”€β”€ arguments:
@@ -837,18 +838,17 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (36,9)-(36,12))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (36,9)-(36,12) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (36,5)-(36,6) = "]"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :[]=
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ IndexOrWriteNode (location: (37,0)-(37,14))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ LocalVariableReadNode (location: (37,0)-(37,1))
@@ -874,13 +874,13 @@
β”‚ @ CallNode (location: (37,11)-(37,14))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (37,11)-(37,14) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :bar
+ β”‚ └── flags: variable_call
β”œβ”€β”€ @ InstanceVariableOrWriteNode (location: (38,0)-(38,10))
β”‚ β”œβ”€β”€ name: :@a
β”‚ β”œβ”€β”€ name_loc: (38,0)-(38,2) = "@a"
@@ -924,6 +924,7 @@
β”‚ β”‚ β”œβ”€β”€ name: :x
β”‚ β”‚ └── depth: 0
β”‚ β”œβ”€β”€ call_operator_loc: (42,1)-(42,2) = "."
+ β”‚ β”œβ”€β”€ name: :x=
β”‚ β”œβ”€β”€ message_loc: (42,2)-(42,3) = "x"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -952,14 +953,14 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :x=
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (45,0)-(45,16))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ LocalVariableReadNode (location: (45,0)-(45,1))
β”‚ β”‚ β”œβ”€β”€ name: :x
β”‚ β”‚ └── depth: 0
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :[]=
β”‚ β”œβ”€β”€ message_loc: (45,1)-(45,3) = "[]"
β”‚ β”œβ”€β”€ opening_loc: (45,1)-(45,2) = "["
β”‚ β”œβ”€β”€ arguments:
@@ -988,8 +989,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (45,2)-(45,3) = "]"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :[]=
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ IndexOrWriteNode (location: (48,0)-(48,21))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ LocalVariableReadNode (location: (48,0)-(48,1))
@@ -1029,13 +1029,13 @@
β”‚ @ CallNode (location: (48,18)-(48,21))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (48,18)-(48,21) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :bar
+ β”‚ └── flags: variable_call
└── @ InstanceVariableOrWriteNode (location: (51,0)-(51,17))
β”œβ”€β”€ name: :@a
β”œβ”€β”€ name_loc: (51,0)-(51,2) = "@a"
diff --git a/test/prism/snapshots/unparser/corpus/literal/block.txt b/test/prism/snapshots/unparser/corpus/literal/block.txt
index ef04ef93d6..b88e5f23a1 100644
--- a/test/prism/snapshots/unparser/corpus/literal/block.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/block.txt
@@ -6,6 +6,7 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(2,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -17,11 +18,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,4)-(1,5) = "{"
β”‚ β”‚ └── closing_loc: (2,0)-(2,1) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (3,0)-(4,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (3,0)-(3,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -48,11 +49,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (3,4)-(3,5) = "{"
β”‚ β”‚ └── closing_loc: (4,0)-(4,1) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (5,0)-(6,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (5,0)-(5,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -83,11 +84,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (5,4)-(5,5) = "{"
β”‚ β”‚ └── closing_loc: (6,0)-(6,1) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (7,0)-(8,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (7,0)-(7,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -120,11 +121,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (7,4)-(7,5) = "{"
β”‚ β”‚ └── closing_loc: (8,0)-(8,1) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (9,0)-(10,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (9,0)-(9,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -153,11 +154,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (9,4)-(9,5) = "{"
β”‚ β”‚ └── closing_loc: (10,0)-(10,1) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (11,0)-(13,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (11,0)-(11,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: (11,3)-(11,4) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -177,11 +178,11 @@
β”‚ β”‚ β”‚ └── @ NilNode (location: (12,2)-(12,5))
β”‚ β”‚ β”œβ”€β”€ opening_loc: (11,7)-(11,8) = "{"
β”‚ β”‚ └── closing_loc: (13,0)-(13,1) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (14,0)-(16,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (14,0)-(14,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -215,11 +216,11 @@
β”‚ β”‚ β”‚ └── @ NilNode (location: (15,2)-(15,5))
β”‚ β”‚ β”œβ”€β”€ opening_loc: (14,4)-(14,5) = "{"
β”‚ β”‚ └── closing_loc: (16,0)-(16,1) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (17,0)-(19,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (17,0)-(17,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -253,11 +254,11 @@
β”‚ β”‚ β”‚ └── @ NilNode (location: (18,2)-(18,5))
β”‚ β”‚ β”œβ”€β”€ opening_loc: (17,4)-(17,5) = "{"
β”‚ β”‚ └── closing_loc: (19,0)-(19,1) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (20,0)-(22,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (20,0)-(20,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -272,30 +273,30 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (21,2)-(21,5))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (21,2)-(21,5) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ opening_loc: (20,4)-(20,5) = "{"
β”‚ β”‚ └── closing_loc: (22,0)-(22,1) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (23,0)-(25,1))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (23,0)-(23,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (23,0)-(23,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (23,3)-(23,4) = "."
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (23,4)-(23,7) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -335,30 +336,30 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (24,2)-(24,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (24,2)-(24,3) = "d"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ opening_loc: (23,8)-(23,9) = "{"
β”‚ β”‚ └── closing_loc: (25,0)-(25,1) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (26,0)-(27,1))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (26,0)-(26,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (26,0)-(26,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (26,3)-(26,4) = "."
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (26,4)-(26,7) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -389,21 +390,21 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (26,8)-(26,9) = "{"
β”‚ β”‚ └── closing_loc: (27,0)-(27,1) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (28,0)-(29,1))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (28,0)-(28,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (28,0)-(28,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (28,3)-(28,4) = "."
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (28,4)-(28,7) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -432,21 +433,21 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (28,8)-(28,9) = "{"
β”‚ β”‚ └── closing_loc: (29,0)-(29,1) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (30,0)-(31,1))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (30,0)-(30,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (30,0)-(30,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (30,3)-(30,4) = "."
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (30,4)-(30,7) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -467,21 +468,21 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (30,8)-(30,9) = "{"
β”‚ β”‚ └── closing_loc: (31,0)-(31,1) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (32,0)-(34,1))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (32,0)-(32,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (32,0)-(32,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (32,3)-(32,4) = "."
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (32,4)-(32,7) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -513,30 +514,30 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (33,2)-(33,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (33,2)-(33,3) = "d"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ opening_loc: (32,8)-(32,9) = "{"
β”‚ β”‚ └── closing_loc: (34,0)-(34,1) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (35,0)-(37,1))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (35,0)-(35,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (35,0)-(35,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (35,3)-(35,4) = "."
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (35,4)-(35,7) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -573,30 +574,30 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (36,2)-(36,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (36,2)-(36,3) = "d"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ opening_loc: (35,8)-(35,9) = "{"
β”‚ β”‚ └── closing_loc: (37,0)-(37,1) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (38,0)-(40,1))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (38,0)-(38,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (38,0)-(38,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (38,3)-(38,4) = "."
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (38,4)-(38,7) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -639,30 +640,30 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (39,2)-(39,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (39,2)-(39,3) = "d"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ opening_loc: (38,8)-(38,9) = "{"
β”‚ β”‚ └── closing_loc: (40,0)-(40,1) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (41,0)-(43,1))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (41,0)-(41,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (41,0)-(41,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (41,3)-(41,4) = "."
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (41,4)-(41,7) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -707,30 +708,30 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (42,2)-(42,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (42,2)-(42,3) = "d"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ opening_loc: (41,8)-(41,9) = "{"
β”‚ β”‚ └── closing_loc: (43,0)-(43,1) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (44,0)-(46,1))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (44,0)-(44,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (44,0)-(44,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (44,3)-(44,4) = "."
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (44,4)-(44,7) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -768,17 +769,16 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (45,2)-(45,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (45,2)-(45,3) = "d"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ opening_loc: (44,8)-(44,9) = "{"
β”‚ β”‚ └── closing_loc: (46,0)-(46,1) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (47,0)-(48,5))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (47,0)-(48,1))
@@ -786,14 +786,15 @@
β”‚ β”‚ β”‚ @ CallNode (location: (47,0)-(47,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (47,0)-(47,3) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (47,3)-(47,4) = "."
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (47,4)-(47,7) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -805,19 +806,19 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (47,8)-(47,9) = "{"
β”‚ β”‚ β”‚ └── closing_loc: (48,0)-(48,1) = "}"
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: (48,1)-(48,2) = "."
+ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”œβ”€β”€ message_loc: (48,2)-(48,5) = "baz"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :baz
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (49,0)-(51,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :m
β”‚ β”œβ”€β”€ message_loc: (49,0)-(49,1) = "m"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -848,11 +849,11 @@
β”‚ β”‚ β”‚ └── end_keyword_loc: (51,0)-(51,3) = "end"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (49,2)-(49,4) = "do"
β”‚ β”‚ └── closing_loc: (51,0)-(51,3) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :m
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (52,0)-(56,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :m
β”‚ β”œβ”€β”€ message_loc: (52,0)-(52,1) = "m"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -870,13 +871,13 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (53,2)-(53,5))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (53,2)-(53,5) = "foo"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ rescue_clause:
β”‚ β”‚ β”‚ β”‚ @ RescueNode (location: (54,0)-(55,5))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ keyword_loc: (54,0)-(54,6) = "rescue"
@@ -900,11 +901,11 @@
β”‚ β”‚ β”‚ └── end_keyword_loc: (56,0)-(56,3) = "end"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (52,2)-(52,4) = "do"
β”‚ β”‚ └── closing_loc: (56,0)-(56,3) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :m
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (57,0)-(61,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :m
β”‚ β”œβ”€β”€ message_loc: (57,0)-(57,1) = "m"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -922,13 +923,13 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (58,2)-(58,5))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (58,2)-(58,5) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ rescue_clause:
β”‚ β”‚ β”‚ β”‚ @ RescueNode (location: (59,0)-(60,5))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ keyword_loc: (59,0)-(59,6) = "rescue"
@@ -941,13 +942,13 @@
β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (59,19)-(59,22))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (59,19)-(59,22) = "bar"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ operator_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ reference: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ statements:
@@ -956,24 +957,24 @@
β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (60,2)-(60,5))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (60,2)-(60,5) = "baz"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ └── consequent: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ ensure_clause: βˆ…
β”‚ β”‚ β”‚ └── end_keyword_loc: (61,0)-(61,3) = "end"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (57,2)-(57,4) = "do"
β”‚ β”‚ └── closing_loc: (61,0)-(61,3) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :m
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (62,0)-(66,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :m
β”‚ β”œβ”€β”€ message_loc: (62,0)-(62,1) = "m"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -991,13 +992,13 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (63,2)-(63,5))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (63,2)-(63,5) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ rescue_clause:
β”‚ β”‚ β”‚ β”‚ @ RescueNode (location: (64,0)-(65,5))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ keyword_loc: (64,0)-(64,6) = "rescue"
@@ -1010,13 +1011,13 @@
β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (64,19)-(64,22))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (64,19)-(64,22) = "bar"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ operator_loc: (64,23)-(64,25) = "=>"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ reference:
β”‚ β”‚ β”‚ β”‚ β”‚ @ LocalVariableTargetNode (location: (64,26)-(64,35))
@@ -1028,24 +1029,24 @@
β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (65,2)-(65,5))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (65,2)-(65,5) = "baz"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ └── consequent: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ ensure_clause: βˆ…
β”‚ β”‚ β”‚ └── end_keyword_loc: (66,0)-(66,3) = "end"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (62,2)-(62,4) = "do"
β”‚ β”‚ └── closing_loc: (66,0)-(66,3) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :m
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (67,0)-(71,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :m
β”‚ β”œβ”€β”€ message_loc: (67,0)-(67,1) = "m"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -1063,13 +1064,13 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (68,2)-(68,5))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (68,2)-(68,5) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ rescue_clause:
β”‚ β”‚ β”‚ β”‚ @ RescueNode (location: (69,0)-(70,5))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ keyword_loc: (69,0)-(69,6) = "rescue"
@@ -1080,13 +1081,13 @@
β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (69,8)-(69,11))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (69,8)-(69,11) = "bar"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ operator_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ reference: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ statements:
@@ -1095,24 +1096,24 @@
β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (70,2)-(70,5))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (70,2)-(70,5) = "baz"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ └── consequent: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ ensure_clause: βˆ…
β”‚ β”‚ β”‚ └── end_keyword_loc: (71,0)-(71,3) = "end"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (67,2)-(67,4) = "do"
β”‚ β”‚ └── closing_loc: (71,0)-(71,3) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :m
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (72,0)-(75,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :m
β”‚ β”œβ”€β”€ message_loc: (72,0)-(72,1) = "m"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -1130,13 +1131,13 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (73,2)-(73,5))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (73,2)-(73,5) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ rescue_clause:
β”‚ β”‚ β”‚ β”‚ @ RescueNode (location: (74,0)-(74,16))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ keyword_loc: (74,0)-(74,6) = "rescue"
@@ -1152,11 +1153,11 @@
β”‚ β”‚ β”‚ └── end_keyword_loc: (75,0)-(75,3) = "end"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (72,2)-(72,4) = "do"
β”‚ β”‚ └── closing_loc: (75,0)-(75,3) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :m
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (76,0)-(81,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :m
β”‚ β”œβ”€β”€ message_loc: (76,0)-(76,1) = "m"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -1174,13 +1175,13 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (77,2)-(77,5))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (77,2)-(77,5) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ rescue_clause:
β”‚ β”‚ β”‚ β”‚ @ RescueNode (location: (78,0)-(78,6))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ keyword_loc: (78,0)-(78,6) = "rescue"
@@ -1198,23 +1199,23 @@
β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (80,2)-(80,5))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (80,2)-(80,5) = "baz"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ └── end_keyword_loc: (81,0)-(81,3) = "end"
β”‚ β”‚ β”‚ β”œβ”€β”€ ensure_clause: βˆ…
β”‚ β”‚ β”‚ └── end_keyword_loc: (81,0)-(81,3) = "end"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (76,2)-(76,4) = "do"
β”‚ β”‚ └── closing_loc: (81,0)-(81,3) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :m
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (82,0)-(86,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :m
β”‚ β”œβ”€β”€ message_loc: (82,0)-(82,1) = "m"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -1232,13 +1233,13 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (83,2)-(83,5))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (83,2)-(83,5) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ rescue_clause:
β”‚ β”‚ β”‚ β”‚ @ RescueNode (location: (84,0)-(85,5))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ keyword_loc: (84,0)-(84,6) = "rescue"
@@ -1249,13 +1250,13 @@
β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (84,8)-(84,11))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (84,8)-(84,11) = "bar"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ operator_loc: (84,12)-(84,14) = "=>"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ reference:
β”‚ β”‚ β”‚ β”‚ β”‚ @ LocalVariableTargetNode (location: (84,15)-(84,24))
@@ -1267,24 +1268,24 @@
β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (85,2)-(85,5))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (85,2)-(85,5) = "baz"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ └── consequent: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ ensure_clause: βˆ…
β”‚ β”‚ β”‚ └── end_keyword_loc: (86,0)-(86,3) = "end"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (82,2)-(82,4) = "do"
β”‚ β”‚ └── closing_loc: (86,0)-(86,3) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :m
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (87,0)-(89,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :m
β”‚ β”œβ”€β”€ message_loc: (87,0)-(87,1) = "m"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -1307,11 +1308,11 @@
β”‚ β”‚ β”‚ └── end_keyword_loc: (89,0)-(89,3) = "end"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (87,2)-(87,4) = "do"
β”‚ β”‚ └── closing_loc: (89,0)-(89,3) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :m
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (90,0)-(93,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :m
β”‚ β”œβ”€β”€ message_loc: (90,0)-(90,1) = "m"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -1341,11 +1342,11 @@
β”‚ β”‚ β”‚ └── end_keyword_loc: (93,0)-(93,3) = "end"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (90,2)-(90,4) = "do"
β”‚ β”‚ └── closing_loc: (93,0)-(93,3) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :m
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (94,0)-(96,1))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :bar
β”œβ”€β”€ message_loc: (94,0)-(94,3) = "bar"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -1363,6 +1364,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ name: :_1
β”‚ β”‚ β”‚ └── depth: 0
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :+
β”‚ β”‚ β”œβ”€β”€ message_loc: (95,5)-(95,6) = "+"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -1374,9 +1376,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :+
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (94,4)-(94,5) = "{"
β”‚ └── closing_loc: (96,0)-(96,1) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :bar
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/unparser/corpus/literal/case.txt b/test/prism/snapshots/unparser/corpus/literal/case.txt
index 786c91f9b5..6d56f7edcc 100644
--- a/test/prism/snapshots/unparser/corpus/literal/case.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/case.txt
@@ -12,52 +12,52 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (2,5)-(2,8))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (2,5)-(2,8) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── statements:
β”‚ β”‚ β”‚ @ StatementsNode (location: (3,2)-(3,5))
β”‚ β”‚ β”‚ └── body: (length: 1)
β”‚ β”‚ β”‚ └── @ CallNode (location: (3,2)-(3,5))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,2)-(3,5) = "baz"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── @ WhenNode (location: (4,0)-(5,5))
β”‚ β”‚ β”œβ”€β”€ keyword_loc: (4,0)-(4,4) = "when"
β”‚ β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ β”‚ └── @ CallNode (location: (4,5)-(4,8))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (4,5)-(4,8) = "baz"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── statements:
β”‚ β”‚ @ StatementsNode (location: (5,2)-(5,5))
β”‚ β”‚ └── body: (length: 1)
β”‚ β”‚ └── @ CallNode (location: (5,2)-(5,5))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (5,2)-(5,5) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ consequent: βˆ…
β”‚ β”œβ”€β”€ case_keyword_loc: (1,0)-(1,4) = "case"
β”‚ └── end_keyword_loc: (6,0)-(6,3) = "end"
@@ -66,13 +66,13 @@
β”‚ β”‚ @ CallNode (location: (7,5)-(7,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (7,5)-(7,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 2)
β”‚ β”‚ β”œβ”€β”€ @ WhenNode (location: (8,0)-(8,8))
β”‚ β”‚ β”‚ β”œβ”€β”€ keyword_loc: (8,0)-(8,4) = "when"
@@ -80,13 +80,13 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (8,5)-(8,8))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (8,5)-(8,8) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── statements: βˆ…
β”‚ β”‚ └── @ WhenNode (location: (9,0)-(10,5))
β”‚ β”‚ β”œβ”€β”€ keyword_loc: (9,0)-(9,4) = "when"
@@ -94,26 +94,26 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (9,5)-(9,8))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (9,5)-(9,8) = "baz"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── statements:
β”‚ β”‚ @ StatementsNode (location: (10,2)-(10,5))
β”‚ β”‚ └── body: (length: 1)
β”‚ β”‚ └── @ CallNode (location: (10,2)-(10,5))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (10,2)-(10,5) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ consequent: βˆ…
β”‚ β”œβ”€β”€ case_keyword_loc: (7,0)-(7,4) = "case"
β”‚ └── end_keyword_loc: (11,0)-(11,3) = "end"
@@ -122,13 +122,13 @@
β”‚ β”‚ @ CallNode (location: (12,5)-(12,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (12,5)-(12,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 2)
β”‚ β”‚ β”œβ”€β”€ @ WhenNode (location: (13,0)-(14,5))
β”‚ β”‚ β”‚ β”œβ”€β”€ keyword_loc: (13,0)-(13,4) = "when"
@@ -136,52 +136,52 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (13,5)-(13,8))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (13,5)-(13,8) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── statements:
β”‚ β”‚ β”‚ @ StatementsNode (location: (14,2)-(14,5))
β”‚ β”‚ β”‚ └── body: (length: 1)
β”‚ β”‚ β”‚ └── @ CallNode (location: (14,2)-(14,5))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (14,2)-(14,5) = "baz"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── @ WhenNode (location: (15,0)-(16,5))
β”‚ β”‚ β”œβ”€β”€ keyword_loc: (15,0)-(15,4) = "when"
β”‚ β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ β”‚ └── @ CallNode (location: (15,5)-(15,8))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (15,5)-(15,8) = "baz"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── statements:
β”‚ β”‚ @ StatementsNode (location: (16,2)-(16,5))
β”‚ β”‚ └── body: (length: 1)
β”‚ β”‚ └── @ CallNode (location: (16,2)-(16,5))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (16,2)-(16,5) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ consequent: βˆ…
β”‚ β”œβ”€β”€ case_keyword_loc: (12,0)-(12,4) = "case"
β”‚ └── end_keyword_loc: (17,0)-(17,3) = "end"
@@ -190,13 +190,13 @@
β”‚ β”‚ @ CallNode (location: (18,5)-(18,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (18,5)-(18,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ WhenNode (location: (19,0)-(20,8))
β”‚ β”‚ β”œβ”€β”€ keyword_loc: (19,0)-(19,4) = "when"
@@ -204,23 +204,23 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (19,5)-(19,8))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (19,5)-(19,8) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── @ CallNode (location: (19,10)-(19,13))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (19,10)-(19,13) = "baz"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── statements:
β”‚ β”‚ @ StatementsNode (location: (20,2)-(20,8))
β”‚ β”‚ └── body: (length: 1)
@@ -237,13 +237,13 @@
β”‚ β”‚ @ CallNode (location: (22,5)-(22,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (22,5)-(22,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ WhenNode (location: (23,0)-(24,8))
β”‚ β”‚ β”œβ”€β”€ keyword_loc: (23,0)-(23,4) = "when"
@@ -254,13 +254,13 @@
β”‚ β”‚ β”‚ @ CallNode (location: (23,6)-(23,9))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (23,6)-(23,9) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── statements:
β”‚ β”‚ @ StatementsNode (location: (24,2)-(24,8))
β”‚ β”‚ └── body: (length: 1)
@@ -277,13 +277,13 @@
β”‚ β”‚ @ CallNode (location: (26,5)-(26,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (26,5)-(26,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ WhenNode (location: (27,0)-(28,5))
β”‚ β”‚ β”œβ”€β”€ keyword_loc: (27,0)-(27,4) = "when"
@@ -291,26 +291,26 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (27,5)-(27,8))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (27,5)-(27,8) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── statements:
β”‚ β”‚ @ StatementsNode (location: (28,2)-(28,5))
β”‚ β”‚ └── body: (length: 1)
β”‚ β”‚ └── @ CallNode (location: (28,2)-(28,5))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”œβ”€β”€ message_loc: (28,2)-(28,5) = "baz"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ consequent:
β”‚ β”‚ @ ElseNode (location: (29,0)-(31,3))
β”‚ β”‚ β”œβ”€β”€ else_keyword_loc: (29,0)-(29,4) = "else"
@@ -330,13 +330,13 @@
β”‚ β”‚ @ CallNode (location: (32,5)-(32,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (32,5)-(32,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ WhenNode (location: (33,0)-(33,15))
β”‚ β”‚ β”œβ”€β”€ keyword_loc: (33,0)-(33,4) = "when"
@@ -349,14 +349,15 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (33,6)-(33,9))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (33,6)-(33,9) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :|
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (33,10)-(33,11) = "|"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -365,18 +366,17 @@
β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (33,12)-(33,15))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (33,12)-(33,15) = "baz"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :|
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── statements: βˆ…
β”‚ β”œβ”€β”€ consequent: βˆ…
β”‚ β”œβ”€β”€ case_keyword_loc: (32,0)-(32,4) = "case"
@@ -386,13 +386,13 @@
β”‚ @ CallNode (location: (35,5)-(35,8))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (35,5)-(35,8) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ conditions: (length: 1)
β”‚ └── @ WhenNode (location: (36,0)-(36,15))
β”‚ β”œβ”€β”€ keyword_loc: (36,0)-(36,4) = "when"
@@ -405,14 +405,15 @@
β”‚ β”‚ β”‚ @ CallNode (location: (36,6)-(36,9))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (36,6)-(36,9) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (36,9)-(36,10) = "."
+ β”‚ β”‚ β”œβ”€β”€ name: :baz=
β”‚ β”‚ β”œβ”€β”€ message_loc: (36,10)-(36,13) = "baz"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -423,8 +424,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :baz=
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── statements: βˆ…
β”œβ”€β”€ consequent: βˆ…
β”œβ”€β”€ case_keyword_loc: (35,0)-(35,4) = "case"
diff --git a/test/prism/snapshots/unparser/corpus/literal/class.txt b/test/prism/snapshots/unparser/corpus/literal/class.txt
index 4c366e2f7f..29b27bc18c 100644
--- a/test/prism/snapshots/unparser/corpus/literal/class.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/class.txt
@@ -22,13 +22,13 @@
β”‚ β”‚ @ CallNode (location: (4,9)-(4,10))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (4,9)-(4,10) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ └── end_keyword_loc: (5,0)-(5,3) = "end"
β”œβ”€β”€ @ SingletonClassNode (location: (7,0)-(9,3))
@@ -39,26 +39,26 @@
β”‚ β”‚ @ CallNode (location: (7,9)-(7,10))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (7,9)-(7,10) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ body:
β”‚ β”‚ @ StatementsNode (location: (8,2)-(8,3))
β”‚ β”‚ └── body: (length: 1)
β”‚ β”‚ └── @ CallNode (location: (8,2)-(8,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”œβ”€β”€ message_loc: (8,2)-(8,3) = "b"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :b
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── end_keyword_loc: (9,0)-(9,3) = "end"
β”œβ”€β”€ @ ClassNode (location: (11,0)-(12,3))
β”‚ β”œβ”€β”€ locals: []
@@ -171,6 +171,7 @@
β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (27,2)-(27,16))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :include
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (27,2)-(27,9) = "include"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (27,9)-(27,10) = "("
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -181,18 +182,17 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ @ ConstantReadNode (location: (27,10)-(27,11))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :B
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (27,11)-(27,12) = "."
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :new
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (27,12)-(27,15) = "new"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :new
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (27,15)-(27,16) = ")"
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :include
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── @ DefNode (location: (29,2)-(31,5))
β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ name_loc: (29,6)-(29,9) = "foo"
diff --git a/test/prism/snapshots/unparser/corpus/literal/def.txt b/test/prism/snapshots/unparser/corpus/literal/def.txt
index daafd10664..13d1794421 100644
--- a/test/prism/snapshots/unparser/corpus/literal/def.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/def.txt
@@ -17,13 +17,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (2,2)-(2,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (2,2)-(2,3) = "a"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ rescue_clause:
β”‚ β”‚ β”‚ @ RescueNode (location: (3,0)-(4,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ keyword_loc: (3,0)-(3,6) = "rescue"
@@ -36,13 +36,13 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (4,2)-(4,3))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (4,2)-(4,3) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── consequent: βˆ…
β”‚ β”‚ β”œβ”€β”€ else_clause:
β”‚ β”‚ β”‚ @ ElseNode (location: (5,0)-(7,6))
@@ -53,13 +53,13 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (6,2)-(6,3))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (6,2)-(6,3) = "c"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── end_keyword_loc: (7,0)-(7,6) = "ensure"
β”‚ β”‚ β”œβ”€β”€ ensure_clause:
β”‚ β”‚ β”‚ @ EnsureNode (location: (7,0)-(9,3))
@@ -70,13 +70,13 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (8,2)-(8,3))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (8,2)-(8,3) = "d"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── end_keyword_loc: (9,0)-(9,3) = "end"
β”‚ β”‚ └── end_keyword_loc: (9,0)-(9,3) = "end"
β”‚ β”œβ”€β”€ locals: []
@@ -102,25 +102,25 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (12,2)-(12,3))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (12,2)-(12,3) = "a"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ keyword_loc: (12,4)-(12,10) = "rescue"
β”‚ β”‚ β”‚ └── rescue_expression:
β”‚ β”‚ β”‚ @ CallNode (location: (12,11)-(12,12))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (12,11)-(12,12) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ rescue_clause:
β”‚ β”‚ β”‚ @ RescueNode (location: (13,0)-(14,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ keyword_loc: (13,0)-(13,6) = "rescue"
@@ -133,13 +133,13 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (14,2)-(14,3))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (14,2)-(14,3) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── consequent: βˆ…
β”‚ β”‚ β”œβ”€β”€ else_clause:
β”‚ β”‚ β”‚ @ ElseNode (location: (15,0)-(17,6))
@@ -150,13 +150,13 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (16,2)-(16,3))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (16,2)-(16,3) = "c"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── end_keyword_loc: (17,0)-(17,6) = "ensure"
β”‚ β”‚ β”œβ”€β”€ ensure_clause:
β”‚ β”‚ β”‚ @ EnsureNode (location: (17,0)-(19,3))
@@ -167,13 +167,13 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (18,2)-(18,3))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (18,2)-(18,3) = "d"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── end_keyword_loc: (19,0)-(19,3) = "end"
β”‚ β”‚ └── end_keyword_loc: (19,0)-(19,3) = "end"
β”‚ β”œβ”€β”€ locals: []
@@ -234,13 +234,13 @@
β”‚ β”‚ └── @ CallNode (location: (28,2)-(28,5))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (28,2)-(28,5) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ locals: []
β”‚ β”œβ”€β”€ def_keyword_loc: (27,0)-(27,3) = "def"
β”‚ β”œβ”€β”€ operator_loc: βˆ…
@@ -262,13 +262,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (32,2)-(32,5))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (32,2)-(32,5) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ rescue_clause:
β”‚ β”‚ β”‚ @ RescueNode (location: (33,0)-(34,5))
β”‚ β”‚ β”‚ β”œβ”€β”€ keyword_loc: (33,0)-(33,6) = "rescue"
@@ -281,13 +281,13 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (34,2)-(34,5))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (34,2)-(34,5) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── consequent: βˆ…
β”‚ β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”‚ β”œβ”€β”€ ensure_clause:
@@ -299,13 +299,13 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (36,2)-(36,5))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (36,2)-(36,5) = "baz"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── end_keyword_loc: (37,0)-(37,3) = "end"
β”‚ β”‚ └── end_keyword_loc: (37,0)-(37,3) = "end"
β”‚ β”œβ”€β”€ locals: []
@@ -329,13 +329,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (40,2)-(40,5))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (40,2)-(40,5) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ rescue_clause: βˆ…
β”‚ β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”‚ β”œβ”€β”€ ensure_clause:
@@ -347,13 +347,13 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (42,2)-(42,5))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (42,2)-(42,5) = "baz"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── end_keyword_loc: (43,0)-(43,3) = "end"
β”‚ β”‚ └── end_keyword_loc: (43,0)-(43,3) = "end"
β”‚ β”œβ”€β”€ locals: []
@@ -377,13 +377,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (46,2)-(46,5))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (46,2)-(46,5) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ rescue_clause:
β”‚ β”‚ β”‚ @ RescueNode (location: (47,0)-(48,5))
β”‚ β”‚ β”‚ β”œβ”€β”€ keyword_loc: (47,0)-(47,6) = "rescue"
@@ -396,13 +396,13 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (48,2)-(48,5))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (48,2)-(48,5) = "baz"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── consequent: βˆ…
β”‚ β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”‚ β”œβ”€β”€ ensure_clause: βˆ…
@@ -527,13 +527,13 @@
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (63,15)-(63,18))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (63,15)-(63,18) = "baz"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ └── @ NilNode (location: (63,20)-(63,23))
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (63,14)-(63,15) = "("
β”‚ β”‚ β”‚ └── closing_loc: (63,23)-(63,24) = ")"
@@ -661,13 +661,13 @@
β”‚ β”‚ β”‚ @ CallNode (location: (77,13)-(77,16))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (77,13)-(77,16) = "baz"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ keyword_rest: βˆ…
β”‚ β”‚ └── block: βˆ…
β”‚ β”œβ”€β”€ body: βˆ…
@@ -696,13 +696,13 @@
β”‚ β”‚ β”‚ @ CallNode (location: (80,13)-(80,18))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (80,13)-(80,16) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (80,16)-(80,17) = "("
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (80,17)-(80,18) = ")"
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ keyword_rest: βˆ…
β”‚ β”‚ └── block: βˆ…
β”‚ β”œβ”€β”€ body: βˆ…
@@ -736,13 +736,13 @@
β”‚ β”‚ └── @ CallNode (location: (84,2)-(84,5))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (84,2)-(84,5) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ locals: [:*]
β”‚ β”œβ”€β”€ def_keyword_loc: (83,0)-(83,3) = "def"
β”‚ β”œβ”€β”€ operator_loc: βˆ…
@@ -841,13 +841,13 @@
β”‚ β”‚ └── @ CallNode (location: (96,2)-(96,5))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (96,2)-(96,5) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ locals: [:baz, :bor]
β”‚ β”œβ”€β”€ def_keyword_loc: (95,0)-(95,3) = "def"
β”‚ β”œβ”€β”€ operator_loc: βˆ…
@@ -888,13 +888,13 @@
β”‚ β”‚ └── @ CallNode (location: (100,2)-(100,5))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (100,2)-(100,5) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ locals: [:baz, :bor, :block]
β”‚ β”œβ”€β”€ def_keyword_loc: (99,0)-(99,3) = "def"
β”‚ β”œβ”€β”€ operator_loc: βˆ…
@@ -963,13 +963,13 @@
β”‚ β”‚ └── @ CallNode (location: (108,2)-(108,5))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (108,2)-(108,5) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ locals: [:block]
β”‚ β”œβ”€β”€ def_keyword_loc: (107,0)-(107,3) = "def"
β”‚ β”œβ”€β”€ operator_loc: βˆ…
@@ -1020,23 +1020,23 @@
β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (116,2)-(116,5))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (116,2)-(116,5) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── @ CallNode (location: (117,2)-(117,5))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”œβ”€β”€ message_loc: (117,2)-(117,5) = "baz"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ locals: []
β”‚ β”œβ”€β”€ def_keyword_loc: (115,0)-(115,3) = "def"
β”‚ β”œβ”€β”€ operator_loc: βˆ…
diff --git a/test/prism/snapshots/unparser/corpus/literal/defs.txt b/test/prism/snapshots/unparser/corpus/literal/defs.txt
index 0cf2aee489..52cd344710 100644
--- a/test/prism/snapshots/unparser/corpus/literal/defs.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/defs.txt
@@ -29,13 +29,13 @@
β”‚ β”‚ └── @ CallNode (location: (5,2)-(5,5))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (5,2)-(5,5) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ locals: []
β”‚ β”œβ”€β”€ def_keyword_loc: (4,0)-(4,3) = "def"
β”‚ β”œβ”€β”€ operator_loc: (4,8)-(4,9) = "."
@@ -55,23 +55,23 @@
β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (9,2)-(9,5))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (9,2)-(9,5) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── @ CallNode (location: (10,2)-(10,5))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”œβ”€β”€ message_loc: (10,2)-(10,5) = "baz"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ locals: []
β”‚ β”œβ”€β”€ def_keyword_loc: (8,0)-(8,3) = "def"
β”‚ β”œβ”€β”€ operator_loc: (8,8)-(8,9) = "."
@@ -92,13 +92,13 @@
β”‚ β”‚ └── @ CallNode (location: (14,2)-(14,5))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (14,2)-(14,5) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ locals: []
β”‚ β”œβ”€β”€ def_keyword_loc: (13,0)-(13,3) = "def"
β”‚ β”œβ”€β”€ operator_loc: (13,7)-(13,8) = "."
@@ -115,6 +115,7 @@
β”‚ β”‚ β”‚ @ CallNode (location: (17,5)-(18,1))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (17,5)-(17,8) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -141,8 +142,7 @@
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (17,9)-(17,10) = "{"
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (18,0)-(18,1) = "}"
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (17,4)-(17,5) = "("
β”‚ β”‚ └── closing_loc: (18,1)-(18,2) = ")"
β”‚ β”œβ”€β”€ parameters: βˆ…
@@ -152,13 +152,13 @@
β”‚ β”‚ └── @ CallNode (location: (19,2)-(19,5))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (19,2)-(19,5) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ locals: []
β”‚ β”œβ”€β”€ def_keyword_loc: (17,0)-(17,3) = "def"
β”‚ β”œβ”€β”€ operator_loc: (18,2)-(18,3) = "."
@@ -175,6 +175,7 @@
β”‚ β”‚ β”‚ @ CallNode (location: (22,5)-(22,11))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (22,5)-(22,8) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (22,8)-(22,9) = "("
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -185,8 +186,7 @@
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (22,10)-(22,11) = ")"
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (22,4)-(22,5) = "("
β”‚ β”‚ └── closing_loc: (22,11)-(22,12) = ")"
β”‚ β”œβ”€β”€ parameters: βˆ…
@@ -196,13 +196,13 @@
β”‚ β”‚ └── @ CallNode (location: (23,2)-(23,5))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (23,2)-(23,5) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ locals: []
β”‚ β”œβ”€β”€ def_keyword_loc: (22,0)-(22,3) = "def"
β”‚ β”œβ”€β”€ operator_loc: (22,12)-(22,13) = "."
@@ -227,13 +227,13 @@
β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :Bar
β”‚ β”‚ β”‚ β”‚ └── delimiter_loc: (26,8)-(26,10) = "::"
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (26,13)-(26,14) = "."
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (26,14)-(26,17) = "baz"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (26,4)-(26,5) = "("
β”‚ β”‚ └── closing_loc: (26,17)-(26,18) = ")"
β”‚ β”œβ”€β”€ parameters: βˆ…
@@ -243,13 +243,13 @@
β”‚ β”‚ └── @ CallNode (location: (27,2)-(27,5))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”œβ”€β”€ message_loc: (27,2)-(27,5) = "baz"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ locals: []
β”‚ β”œβ”€β”€ def_keyword_loc: (26,0)-(26,3) = "def"
β”‚ β”œβ”€β”€ operator_loc: (26,18)-(26,19) = "."
@@ -280,13 +280,13 @@
β”‚ β”‚ └── @ CallNode (location: (31,2)-(31,5))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”œβ”€β”€ message_loc: (31,2)-(31,5) = "baz"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ locals: []
β”‚ β”œβ”€β”€ def_keyword_loc: (30,0)-(30,3) = "def"
β”‚ β”œβ”€β”€ operator_loc: (30,14)-(30,15) = "."
@@ -307,13 +307,13 @@
β”‚ β”‚ └── @ CallNode (location: (35,2)-(35,5))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”œβ”€β”€ message_loc: (35,2)-(35,5) = "baz"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ locals: []
β”‚ β”œβ”€β”€ def_keyword_loc: (34,0)-(34,3) = "def"
β”‚ β”œβ”€β”€ operator_loc: (34,7)-(34,8) = "."
@@ -328,13 +328,13 @@
β”‚ @ CallNode (location: (38,4)-(38,7))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (38,4)-(38,7) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ parameters: βˆ…
β”œβ”€β”€ body:
β”‚ @ StatementsNode (location: (39,2)-(39,5))
@@ -342,13 +342,13 @@
β”‚ └── @ CallNode (location: (39,2)-(39,5))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”œβ”€β”€ message_loc: (39,2)-(39,5) = "baz"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :baz
+ β”‚ └── flags: variable_call
β”œβ”€β”€ locals: []
β”œβ”€β”€ def_keyword_loc: (38,0)-(38,3) = "def"
β”œβ”€β”€ operator_loc: (38,7)-(38,8) = "."
diff --git a/test/prism/snapshots/unparser/corpus/literal/dstr.txt b/test/prism/snapshots/unparser/corpus/literal/dstr.txt
index 6bc7093048..33391fe56e 100644
--- a/test/prism/snapshots/unparser/corpus/literal/dstr.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/dstr.txt
@@ -58,13 +58,13 @@
β”‚ β”‚ └── @ CallNode (location: (10,2)-(10,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :x
β”‚ β”‚ β”œβ”€β”€ message_loc: (10,2)-(10,3) = "x"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :x
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ consequent: βˆ…
β”‚ └── end_keyword_loc: (11,0)-(11,3) = "end"
β”œβ”€β”€ @ InterpolatedStringNode (location: (12,0)-(12,10))
@@ -229,6 +229,7 @@
β”œβ”€β”€ @ CallNode (location: (31,0)-(31,15))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (31,0)-(31,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: (31,3)-(31,4) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -251,13 +252,13 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (32,4)-(32,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (32,4)-(32,7) = "bar"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (32,7)-(32,8) = "}"
β”‚ β”‚ β”‚ β”‚ └── @ StringNode (location: (32,8)-(33,0))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
@@ -269,11 +270,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (31,14)-(31,15) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (34,0)-(37,1))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :foo
β”œβ”€β”€ message_loc: (34,0)-(34,3) = "foo"
β”œβ”€β”€ opening_loc: (34,3)-(34,4) = "("
β”œβ”€β”€ arguments:
@@ -296,13 +297,13 @@
β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (35,4)-(35,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (35,4)-(35,7) = "bar"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (35,7)-(35,8) = "}"
β”‚ β”‚ β”‚ └── @ StringNode (location: (35,8)-(36,0))
β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
@@ -335,5 +336,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (34,16)-(34,17) = "{"
β”‚ └── closing_loc: (37,0)-(37,1) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :foo
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/unparser/corpus/literal/flipflop.txt b/test/prism/snapshots/unparser/corpus/literal/flipflop.txt
index 5ba5daf2b3..0343232a5a 100644
--- a/test/prism/snapshots/unparser/corpus/literal/flipflop.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/flipflop.txt
@@ -21,14 +21,15 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (1,5)-(1,6))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :i
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,5)-(1,6) = "i"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :i
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :==
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,7)-(1,9) = "=="
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -39,8 +40,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :==
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,4)-(1,5) = "("
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (1,11)-(1,12) = ")"
β”‚ β”‚ β”‚ β”œβ”€β”€ right:
@@ -53,14 +53,15 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (1,15)-(1,16))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :i
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,15)-(1,16) = "i"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :i
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :==
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,17)-(1,19) = "=="
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -71,8 +72,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :==
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,14)-(1,15) = "("
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (1,21)-(1,22) = ")"
β”‚ β”‚ β”‚ β”œβ”€β”€ operator_loc: (1,12)-(1,14) = ".."
@@ -86,13 +86,13 @@
β”‚ β”‚ └── @ CallNode (location: (2,2)-(2,5))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (2,2)-(2,5) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ consequent: βˆ…
β”‚ └── end_keyword_loc: (3,0)-(3,3) = "end"
└── @ IfNode (location: (4,0)-(6,3))
@@ -113,14 +113,15 @@
β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (4,5)-(4,6))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :i
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (4,5)-(4,6) = "i"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :i
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :==
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (4,7)-(4,9) = "=="
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -131,8 +132,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :==
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (4,4)-(4,5) = "("
β”‚ β”‚ β”‚ └── closing_loc: (4,11)-(4,12) = ")"
β”‚ β”‚ β”œβ”€β”€ right:
@@ -145,14 +145,15 @@
β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (4,16)-(4,17))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :i
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (4,16)-(4,17) = "i"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :i
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :==
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (4,18)-(4,20) = "=="
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -163,8 +164,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :==
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (4,15)-(4,16) = "("
β”‚ β”‚ β”‚ └── closing_loc: (4,22)-(4,23) = ")"
β”‚ β”‚ β”œβ”€β”€ operator_loc: (4,12)-(4,15) = "..."
@@ -178,12 +178,12 @@
β”‚ └── @ CallNode (location: (5,2)-(5,5))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (5,2)-(5,5) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ consequent: βˆ…
└── end_keyword_loc: (6,0)-(6,3) = "end"
diff --git a/test/prism/snapshots/unparser/corpus/literal/for.txt b/test/prism/snapshots/unparser/corpus/literal/for.txt
index d9a8cc048b..910971ecf5 100644
--- a/test/prism/snapshots/unparser/corpus/literal/for.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/for.txt
@@ -6,6 +6,7 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(3,4))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "bar"
β”‚ β”œβ”€β”€ opening_loc: (1,3)-(1,4) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -20,26 +21,26 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (1,13)-(1,16))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,13)-(1,16) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ β”‚ β”‚ @ StatementsNode (location: (2,2)-(2,5))
β”‚ β”‚ β”‚ β”‚ └── body: (length: 1)
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (2,2)-(2,5))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (2,2)-(2,5) = "baz"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ for_keyword_loc: (1,4)-(1,7) = "for"
β”‚ β”‚ β”‚ β”œβ”€β”€ in_keyword_loc: (1,10)-(1,12) = "in"
β”‚ β”‚ β”‚ β”œβ”€β”€ do_keyword_loc: (1,17)-(1,19) = "do"
@@ -47,8 +48,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (3,3)-(3,4) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ ForNode (location: (4,0)-(6,3))
β”‚ β”œβ”€β”€ index:
β”‚ β”‚ @ LocalVariableTargetNode (location: (4,4)-(4,5))
@@ -58,26 +58,26 @@
β”‚ β”‚ @ CallNode (location: (4,9)-(4,12))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (4,9)-(4,12) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ @ StatementsNode (location: (5,2)-(5,5))
β”‚ β”‚ └── body: (length: 1)
β”‚ β”‚ └── @ CallNode (location: (5,2)-(5,5))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”œβ”€β”€ message_loc: (5,2)-(5,5) = "baz"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ for_keyword_loc: (4,0)-(4,3) = "for"
β”‚ β”œβ”€β”€ in_keyword_loc: (4,6)-(4,8) = "in"
β”‚ β”œβ”€β”€ do_keyword_loc: (4,13)-(4,15) = "do"
@@ -103,26 +103,26 @@
β”‚ β”‚ @ CallNode (location: (7,15)-(7,18))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (7,15)-(7,18) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ @ StatementsNode (location: (8,2)-(8,5))
β”‚ β”‚ └── body: (length: 1)
β”‚ β”‚ └── @ CallNode (location: (8,2)-(8,5))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”œβ”€β”€ message_loc: (8,2)-(8,5) = "baz"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ for_keyword_loc: (7,0)-(7,3) = "for"
β”‚ β”œβ”€β”€ in_keyword_loc: (7,12)-(7,14) = "in"
β”‚ β”œβ”€β”€ do_keyword_loc: (7,19)-(7,21) = "do"
@@ -145,26 +145,26 @@
β”‚ @ CallNode (location: (10,14)-(10,17))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (10,14)-(10,17) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :bar
+ β”‚ └── flags: variable_call
β”œβ”€β”€ statements:
β”‚ @ StatementsNode (location: (11,2)-(11,5))
β”‚ └── body: (length: 1)
β”‚ └── @ CallNode (location: (11,2)-(11,5))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”œβ”€β”€ message_loc: (11,2)-(11,5) = "baz"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :baz
+ β”‚ └── flags: variable_call
β”œβ”€β”€ for_keyword_loc: (10,0)-(10,3) = "for"
β”œβ”€β”€ in_keyword_loc: (10,11)-(10,13) = "in"
β”œβ”€β”€ do_keyword_loc: (10,18)-(10,20) = "do"
diff --git a/test/prism/snapshots/unparser/corpus/literal/hookexe.txt b/test/prism/snapshots/unparser/corpus/literal/hookexe.txt
index c1baa4ac12..2fe6ef2311 100644
--- a/test/prism/snapshots/unparser/corpus/literal/hookexe.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/hookexe.txt
@@ -10,26 +10,26 @@
β”‚ β”‚ └── @ CallNode (location: (2,2)-(2,5))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (2,2)-(2,5) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ keyword_loc: (1,0)-(1,5) = "BEGIN"
β”‚ β”œβ”€β”€ opening_loc: (1,6)-(1,7) = "{"
β”‚ └── closing_loc: (3,0)-(3,1) = "}"
β”œβ”€β”€ @ CallNode (location: (4,0)-(4,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (4,0)-(4,3) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :bar
+ β”‚ └── flags: variable_call
└── @ PostExecutionNode (location: (5,0)-(7,1))
β”œβ”€β”€ statements:
β”‚ @ StatementsNode (location: (6,2)-(6,5))
@@ -37,13 +37,13 @@
β”‚ └── @ CallNode (location: (6,2)-(6,5))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”œβ”€β”€ message_loc: (6,2)-(6,5) = "baz"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :baz
+ β”‚ └── flags: variable_call
β”œβ”€β”€ keyword_loc: (5,0)-(5,3) = "END"
β”œβ”€β”€ opening_loc: (5,4)-(5,5) = "{"
└── closing_loc: (7,0)-(7,1) = "}"
diff --git a/test/prism/snapshots/unparser/corpus/literal/if.txt b/test/prism/snapshots/unparser/corpus/literal/if.txt
index 594552bdb2..4cd56d5a6b 100644
--- a/test/prism/snapshots/unparser/corpus/literal/if.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/if.txt
@@ -19,13 +19,13 @@
β”‚ β”‚ └── @ CallNode (location: (2,2)-(2,5))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (2,2)-(2,5) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ consequent: βˆ…
β”‚ └── end_keyword_loc: (3,0)-(3,3) = "end"
β”œβ”€β”€ @ IfNode (location: (4,0)-(6,3))
@@ -93,13 +93,13 @@
β”‚ β”‚ @ CallNode (location: (18,3)-(18,6))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (18,3)-(18,6) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ then_keyword_loc: βˆ…
β”‚ β”œβ”€β”€ statements: βˆ…
β”‚ β”œβ”€β”€ consequent: βˆ…
@@ -131,13 +131,13 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (22,8)-(22,11))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (22,8)-(22,11) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── operator_loc: (22,6)-(22,7) = "="
β”‚ β”‚ β”œβ”€β”€ consequent: βˆ…
β”‚ β”‚ └── end_keyword_loc: βˆ…
@@ -170,13 +170,13 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (26,8)-(26,11))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (26,8)-(26,11) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── operator_loc: (26,6)-(26,7) = "="
β”‚ β”‚ β”œβ”€β”€ consequent: βˆ…
β”‚ β”‚ └── end_keyword_loc: βˆ…
@@ -188,13 +188,13 @@
β”‚ β”‚ @ CallNode (location: (28,7)-(28,10))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (28,7)-(28,10) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ then_keyword_loc: βˆ…
β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ @ StatementsNode (location: (29,2)-(29,11))
@@ -207,13 +207,13 @@
β”‚ β”‚ β”‚ @ CallNode (location: (29,8)-(29,11))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (29,8)-(29,11) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── operator_loc: (29,6)-(29,7) = "="
β”‚ β”œβ”€β”€ consequent: βˆ…
β”‚ └── end_keyword_loc: (30,0)-(30,3) = "end"
@@ -223,6 +223,7 @@
β”‚ @ CallNode (location: (31,3)-(33,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (31,3)-(31,6) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -254,8 +255,7 @@
β”‚ β”‚ β”‚ └── depth: 0
β”‚ β”‚ β”œβ”€β”€ opening_loc: (31,7)-(31,8) = "{"
β”‚ β”‚ └── closing_loc: (33,0)-(33,1) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ then_keyword_loc: βˆ…
β”œβ”€β”€ statements:
β”‚ @ StatementsNode (location: (34,2)-(35,5))
diff --git a/test/prism/snapshots/unparser/corpus/literal/kwbegin.txt b/test/prism/snapshots/unparser/corpus/literal/kwbegin.txt
index f6ae3f6438..db2bd0414f 100644
--- a/test/prism/snapshots/unparser/corpus/literal/kwbegin.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/kwbegin.txt
@@ -36,13 +36,13 @@
β”‚ β”‚ └── @ CallNode (location: (10,2)-(10,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (10,2)-(10,3) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ rescue_clause: βˆ…
β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”œβ”€β”€ ensure_clause: βˆ…
@@ -55,13 +55,13 @@
β”‚ β”‚ └── @ CallNode (location: (14,2)-(14,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (14,2)-(14,3) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ rescue_clause:
β”‚ β”‚ @ RescueNode (location: (15,0)-(16,3))
β”‚ β”‚ β”œβ”€β”€ keyword_loc: (15,0)-(15,6) = "rescue"
@@ -74,13 +74,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (16,2)-(16,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (16,2)-(16,3) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── consequent: βˆ…
β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”œβ”€β”€ ensure_clause: βˆ…
@@ -93,23 +93,23 @@
β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (20,2)-(20,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (20,2)-(20,3) = "a"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── @ CallNode (location: (21,2)-(21,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”œβ”€β”€ message_loc: (21,2)-(21,3) = "b"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :b
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ rescue_clause:
β”‚ β”‚ @ RescueNode (location: (22,0)-(23,3))
β”‚ β”‚ β”œβ”€β”€ keyword_loc: (22,0)-(22,6) = "rescue"
@@ -122,13 +122,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (23,2)-(23,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (23,2)-(23,3) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── consequent: βˆ…
β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”œβ”€β”€ ensure_clause: βˆ…
@@ -176,13 +176,13 @@
β”‚ β”‚ └── @ CallNode (location: (35,2)-(35,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (35,2)-(35,3) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ rescue_clause:
β”‚ β”‚ @ RescueNode (location: (36,0)-(39,3))
β”‚ β”‚ β”œβ”€β”€ keyword_loc: (36,0)-(36,6) = "rescue"
@@ -197,13 +197,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (37,2)-(37,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (37,2)-(37,3) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── consequent:
β”‚ β”‚ @ RescueNode (location: (38,0)-(39,3))
β”‚ β”‚ β”œβ”€β”€ keyword_loc: (38,0)-(38,6) = "rescue"
@@ -218,13 +218,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (39,2)-(39,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (39,2)-(39,3) = "c"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── consequent: βˆ…
β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”œβ”€β”€ ensure_clause:
@@ -236,13 +236,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (41,2)-(41,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (41,2)-(41,3) = "d"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── end_keyword_loc: (42,0)-(42,3) = "end"
β”‚ └── end_keyword_loc: (42,0)-(42,3) = "end"
β”œβ”€β”€ @ BeginNode (location: (44,0)-(53,3))
@@ -261,13 +261,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (47,4)-(47,7))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (47,4)-(47,7) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ rescue_clause:
β”‚ β”‚ β”‚ @ RescueNode (location: (48,2)-(48,8))
β”‚ β”‚ β”‚ β”œβ”€β”€ keyword_loc: (48,2)-(48,8) = "rescue"
@@ -291,23 +291,23 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (51,2)-(51,5))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (51,2)-(51,5) = "baz"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── @ CallNode (location: (52,2)-(52,5))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (52,2)-(52,5) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── consequent: βˆ…
β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”œβ”€β”€ ensure_clause: βˆ…
@@ -322,6 +322,7 @@
β”‚ β”‚ β”‚ @ CallNode (location: (56,2)-(56,18))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :raise
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (56,2)-(56,7) = "raise"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (56,7)-(56,8) = "("
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -332,8 +333,7 @@
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (56,17)-(56,18) = ")"
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :raise
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ keyword_loc: (56,19)-(56,25) = "rescue"
β”‚ β”‚ └── rescue_expression:
β”‚ β”‚ @ LocalVariableWriteNode (location: (56,26)-(56,35))
@@ -344,13 +344,13 @@
β”‚ β”‚ β”‚ @ CallNode (location: (56,32)-(56,35))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (56,32)-(56,35) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── operator_loc: (56,30)-(56,31) = "="
β”‚ β”œβ”€β”€ rescue_clause:
β”‚ β”‚ @ RescueNode (location: (57,0)-(57,16))
@@ -454,13 +454,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (75,2)-(75,5))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (75,2)-(75,5) = "baz"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── consequent: βˆ…
β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”œβ”€β”€ ensure_clause: βˆ…
diff --git a/test/prism/snapshots/unparser/corpus/literal/lambda.txt b/test/prism/snapshots/unparser/corpus/literal/lambda.txt
index aeeaf194e3..a8fb22d80f 100644
--- a/test/prism/snapshots/unparser/corpus/literal/lambda.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/lambda.txt
@@ -6,6 +6,7 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(2,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :lambda
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,6) = "lambda"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -17,11 +18,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,7)-(1,8) = "{"
β”‚ β”‚ └── closing_loc: (2,0)-(2,1) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :lambda
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (3,0)-(5,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :lambda
β”‚ β”œβ”€β”€ message_loc: (3,0)-(3,6) = "lambda"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -55,8 +56,7 @@
β”‚ β”‚ β”‚ └── depth: 0
β”‚ β”‚ β”œβ”€β”€ opening_loc: (3,7)-(3,8) = "{"
β”‚ β”‚ └── closing_loc: (5,0)-(5,1) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :lambda
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ LambdaNode (location: (6,0)-(7,1))
β”‚ β”œβ”€β”€ locals: []
β”‚ β”œβ”€β”€ operator_loc: (6,0)-(6,2) = "->"
diff --git a/test/prism/snapshots/unparser/corpus/literal/literal.txt b/test/prism/snapshots/unparser/corpus/literal/literal.txt
index 2816f78b41..aa36dd7e35 100644
--- a/test/prism/snapshots/unparser/corpus/literal/literal.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/literal.txt
@@ -109,6 +109,7 @@
β”‚ β”‚ @ CallNode (location: (6,0)-(6,13))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (6,0)-(6,1) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (6,1)-(6,2) = "("
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -137,21 +138,21 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: (6,12)-(6,13) = ")"
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: (6,13)-(6,14) = "."
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (6,14)-(6,15) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (9,0)-(9,8))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (9,0)-(9,6))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (9,0)-(9,1) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (9,1)-(9,2) = "("
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -166,16 +167,15 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: (9,5)-(9,6) = ")"
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: (9,6)-(9,7) = "."
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (9,7)-(9,8) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ HashNode (location: (10,0)-(10,30))
β”‚ β”œβ”€β”€ opening_loc: (10,0)-(10,1) = "{"
β”‚ β”œβ”€β”€ elements: (length: 2)
@@ -214,13 +214,13 @@
β”‚ β”‚ β”‚ @ CallNode (location: (10,25)-(10,28))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (10,25)-(10,28) = "baz"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── operator_loc: (10,23)-(10,25) = "**"
β”‚ └── closing_loc: (10,29)-(10,30) = "}"
β”œβ”€β”€ @ HashNode (location: (13,0)-(13,23))
@@ -247,13 +247,13 @@
β”‚ β”‚ β”‚ @ CallNode (location: (13,18)-(13,21))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (13,18)-(13,21) = "baz"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── operator_loc: (13,16)-(13,18) = "**"
β”‚ └── closing_loc: (13,22)-(13,23) = "}"
β”œβ”€β”€ @ InterpolatedStringNode (location: (14,0)-(14,14))
@@ -294,13 +294,13 @@
β”‚ β”‚ @ IntegerNode (location: (16,1)-(16,3))
β”‚ β”‚ └── flags: decimal
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :+@
β”‚ β”œβ”€β”€ message_loc: (16,0)-(16,1) = "+"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :+@
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ IntegerNode (location: (17,0)-(17,1))
β”‚ └── flags: decimal
β”œβ”€β”€ @ IntegerNode (location: (18,0)-(18,1))
@@ -372,13 +372,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (29,10)-(29,13))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (29,10)-(29,13) = "baz"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── closing_loc: (29,13)-(29,14) = "}"
β”‚ └── closing_loc: (29,14)-(29,15) = "\""
β”œβ”€β”€ @ InterpolatedStringNode (location: (30,0)-(30,12))
@@ -647,13 +647,13 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (58,7)-(58,10))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (58,7)-(58,10) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── closing_loc: (58,10)-(58,11) = "}"
β”‚ β”‚ └── @ StringNode (location: (58,11)-(58,14))
β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
@@ -688,6 +688,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ β”‚ β”‚ @ FloatNode (location: (60,1)-(60,4))
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :/
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (60,5)-(60,6) = "/"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -697,8 +698,7 @@
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :/
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (60,0)-(60,1) = "("
β”‚ β”‚ └── closing_loc: (60,10)-(60,11) = ")"
β”‚ β”œβ”€β”€ right:
@@ -719,6 +719,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ β”‚ β”‚ @ FloatNode (location: (61,4)-(61,7))
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :/
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (61,8)-(61,9) = "/"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -728,8 +729,7 @@
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :/
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (61,3)-(61,4) = "("
β”‚ β”‚ └── closing_loc: (61,13)-(61,14) = ")"
β”‚ β”œβ”€β”€ operator_loc: (61,1)-(61,3) = ".."
@@ -744,6 +744,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ β”‚ β”‚ @ FloatNode (location: (62,1)-(62,4))
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :/
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (62,5)-(62,6) = "/"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -753,8 +754,7 @@
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :/
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (62,0)-(62,1) = "("
β”‚ β”‚ └── closing_loc: (62,10)-(62,11) = ")"
β”‚ β”œβ”€β”€ right:
@@ -784,13 +784,13 @@
β”‚ β”‚ └── @ CallNode (location: (66,8)-(66,10))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :n2
β”‚ β”‚ β”œβ”€β”€ message_loc: (66,8)-(66,10) = "n2"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :n2
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ opening_loc: (66,0)-(66,1) = "["
β”‚ β”œβ”€β”€ closing_loc: (66,10)-(66,11) = "]"
β”‚ └── flags: βˆ…
@@ -921,13 +921,13 @@
β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (76,15)-(76,18))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (76,15)-(76,18) = "foo"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (76,5)-(76,6) = "("
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (76,18)-(76,19) = ")"
β”‚ β”‚ β”‚ └── operator_loc: βˆ…
@@ -1044,6 +1044,7 @@
β”œβ”€β”€ @ CallNode (location: (83,0)-(86,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (83,0)-(83,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -1081,8 +1082,7 @@
β”‚ β”‚ β”‚ └── closing_loc: (85,6)-(85,7) = "\""
β”‚ β”‚ β”œβ”€β”€ opening_loc: (83,4)-(83,5) = "{"
β”‚ β”‚ └── closing_loc: (86,0)-(86,1) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ SymbolNode (location: (87,0)-(88,2))
β”‚ β”œβ”€β”€ opening_loc: (87,0)-(87,2) = ":\""
β”‚ β”œβ”€β”€ value_loc: (87,2)-(88,1) = "a\\\\\nb"
@@ -1105,13 +1105,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (90,2)-(90,5))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (90,2)-(90,5) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── closing_loc: (90,5)-(90,6) = "}"
β”‚ └── @ StringNode (location: (90,6)-(91,1))
β”‚ β”œβ”€β”€ flags: βˆ…
diff --git a/test/prism/snapshots/unparser/corpus/literal/module.txt b/test/prism/snapshots/unparser/corpus/literal/module.txt
index f0f26b50ce..830f127074 100644
--- a/test/prism/snapshots/unparser/corpus/literal/module.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/module.txt
@@ -60,6 +60,7 @@
β”‚ β”œβ”€β”€ @ CallNode (location: (11,2)-(11,16))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :include
β”‚ β”‚ β”œβ”€β”€ message_loc: (11,2)-(11,9) = "include"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (11,9)-(11,10) = "("
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -70,18 +71,17 @@
β”‚ β”‚ β”‚ β”‚ β”‚ @ ConstantReadNode (location: (11,10)-(11,11))
β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :B
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (11,11)-(11,12) = "."
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :new
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (11,12)-(11,15) = "new"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :new
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: (11,15)-(11,16) = ")"
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :include
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── @ DefNode (location: (13,2)-(15,5))
β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ name_loc: (13,6)-(13,9) = "foo"
diff --git a/test/prism/snapshots/unparser/corpus/literal/opasgn.txt b/test/prism/snapshots/unparser/corpus/literal/opasgn.txt
index a7ec9f9f22..662caa0ced 100644
--- a/test/prism/snapshots/unparser/corpus/literal/opasgn.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/opasgn.txt
@@ -55,13 +55,13 @@
β”‚ β”‚ @ CallNode (location: (6,6)-(6,7))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”œβ”€β”€ message_loc: (6,6)-(6,7) = "b"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :b
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ name: :a
β”‚ └── depth: 0
β”œβ”€β”€ @ LocalVariableOrWriteNode (location: (7,0)-(7,7))
@@ -89,13 +89,13 @@
β”‚ β”‚ β”œβ”€β”€ opening_loc: (8,0)-(8,1) = "("
β”‚ β”‚ └── closing_loc: (8,8)-(8,9) = ")"
β”‚ β”œβ”€β”€ call_operator_loc: (8,9)-(8,10) = "."
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (8,10)-(8,13) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (9,0)-(9,17))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ParenthesesNode (location: (9,0)-(9,10))
@@ -115,6 +115,7 @@
β”‚ β”‚ β”œβ”€β”€ opening_loc: (9,0)-(9,1) = "("
β”‚ β”‚ └── closing_loc: (9,9)-(9,10) = ")"
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :[]=
β”‚ β”œβ”€β”€ message_loc: (9,10)-(9,13) = "[k]"
β”‚ β”œβ”€β”€ opening_loc: (9,10)-(9,11) = "["
β”‚ β”œβ”€β”€ arguments:
@@ -123,28 +124,27 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (9,11)-(9,12))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :k
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (9,11)-(9,12) = "k"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :k
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── @ CallNode (location: (9,16)-(9,17))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :v
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (9,16)-(9,17) = "v"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :v
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (9,12)-(9,13) = "]"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :[]=
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallOperatorWriteNode (location: (10,0)-(10,8))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ LocalVariableReadNode (location: (10,0)-(10,1))
@@ -235,13 +235,13 @@
β”‚ @ CallNode (location: (15,8)-(15,9))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :b
β”‚ β”œβ”€β”€ message_loc: (15,8)-(15,9) = "b"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :b
+ β”‚ └── flags: variable_call
β”œβ”€β”€ @ CallOrWriteNode (location: (16,0)-(16,9))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ LocalVariableReadNode (location: (16,0)-(16,1))
@@ -269,13 +269,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (17,2)-(17,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (17,2)-(17,3) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (17,3)-(17,4) = "]"
β”‚ β”œβ”€β”€ block: βˆ…
@@ -298,13 +298,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (18,2)-(18,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (18,2)-(18,3) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (18,3)-(18,4) = "]"
β”‚ β”œβ”€β”€ block: βˆ…
@@ -327,13 +327,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (19,2)-(19,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (19,2)-(19,3) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (19,3)-(19,4) = "]"
β”‚ β”œβ”€β”€ block: βˆ…
@@ -356,13 +356,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (20,2)-(20,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (20,2)-(20,3) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (20,3)-(20,4) = "]"
β”‚ β”œβ”€β”€ block: βˆ…
@@ -385,13 +385,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (21,2)-(21,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (21,2)-(21,3) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (21,3)-(21,4) = "]"
β”‚ β”œβ”€β”€ block: βˆ…
@@ -414,13 +414,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (22,2)-(22,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (22,2)-(22,3) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (22,3)-(22,4) = "]"
β”‚ β”œβ”€β”€ block: βˆ…
@@ -430,13 +430,13 @@
β”‚ @ CallNode (location: (22,9)-(22,10))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :b
β”‚ β”œβ”€β”€ message_loc: (22,9)-(22,10) = "b"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :b
+ β”‚ └── flags: variable_call
β”œβ”€β”€ @ IndexOrWriteNode (location: (23,0)-(23,10))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ LocalVariableReadNode (location: (23,0)-(23,1))
@@ -450,13 +450,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (23,2)-(23,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (23,2)-(23,3) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (23,3)-(23,4) = "]"
β”‚ β”œβ”€β”€ block: βˆ…
@@ -470,13 +470,13 @@
β”‚ @ CallNode (location: (24,0)-(24,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (24,0)-(24,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: (24,3)-(24,4) = "."
β”œβ”€β”€ message_loc: (24,4)-(24,5) = "A"
β”œβ”€β”€ flags: βˆ…
diff --git a/test/prism/snapshots/unparser/corpus/literal/pattern.txt b/test/prism/snapshots/unparser/corpus/literal/pattern.txt
index 492528b599..88a191a334 100644
--- a/test/prism/snapshots/unparser/corpus/literal/pattern.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/pattern.txt
@@ -8,13 +8,13 @@
β”‚ β”‚ @ CallNode (location: (1,5)-(1,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,5)-(1,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 15)
β”‚ β”‚ β”œβ”€β”€ @ InNode (location: (2,0)-(3,6))
β”‚ β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -64,13 +64,13 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (5,2)-(5,3))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :y
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (5,2)-(5,3) = "y"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :y
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ in_loc: (4,0)-(4,2) = "in"
β”‚ β”‚ β”‚ └── then_loc: (4,12)-(4,16) = "then"
β”‚ β”‚ β”œβ”€β”€ @ InNode (location: (6,0)-(7,6))
@@ -337,13 +337,13 @@
β”‚ β”‚ @ CallNode (location: (34,5)-(34,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (34,5)-(34,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (35,0)-(35,17))
β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -379,13 +379,13 @@
β”‚ β”‚ @ CallNode (location: (37,5)-(37,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (37,5)-(37,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ └── @ InNode (location: (38,0)-(38,4))
β”‚ β”‚ β”œβ”€β”€ pattern:
diff --git a/test/prism/snapshots/unparser/corpus/literal/pragma.txt b/test/prism/snapshots/unparser/corpus/literal/pragma.txt
index f6e4d9971e..6d76480eca 100644
--- a/test/prism/snapshots/unparser/corpus/literal/pragma.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/pragma.txt
@@ -10,10 +10,10 @@
└── @ CallNode (location: (4,0)-(4,7))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :__dir__
β”œβ”€β”€ message_loc: (4,0)-(4,7) = "__dir__"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: variable_call
- └── name: :__dir__
+ └── flags: variable_call
diff --git a/test/prism/snapshots/unparser/corpus/literal/rescue.txt b/test/prism/snapshots/unparser/corpus/literal/rescue.txt
index ccbc8d0510..3f0dfedd59 100644
--- a/test/prism/snapshots/unparser/corpus/literal/rescue.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/rescue.txt
@@ -8,37 +8,37 @@
β”‚ β”‚ @ CallNode (location: (1,0)-(1,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ keyword_loc: (1,4)-(1,10) = "rescue"
β”‚ └── rescue_expression:
β”‚ @ CallNode (location: (1,11)-(1,14))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (1,11)-(1,14) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :bar
+ β”‚ └── flags: variable_call
β”œβ”€β”€ @ RescueModifierNode (location: (2,0)-(2,21))
β”‚ β”œβ”€β”€ expression:
β”‚ β”‚ @ CallNode (location: (2,0)-(2,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (2,0)-(2,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ keyword_loc: (2,4)-(2,10) = "rescue"
β”‚ └── rescue_expression:
β”‚ @ ReturnNode (location: (2,11)-(2,21))
@@ -49,13 +49,13 @@
β”‚ β”‚ └── @ CallNode (location: (2,18)-(2,21))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (2,18)-(2,21) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── flags: βˆ…
└── @ LocalVariableWriteNode (location: (3,0)-(3,27))
β”œβ”€β”€ name: :x
@@ -71,13 +71,13 @@
β”‚ β”‚ β”‚ @ CallNode (location: (3,5)-(3,8))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,5)-(3,8) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ keyword_loc: (3,9)-(3,15) = "rescue"
β”‚ β”‚ └── rescue_expression:
β”‚ β”‚ @ ReturnNode (location: (3,16)-(3,26))
@@ -88,13 +88,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (3,23)-(3,26))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,23)-(3,26) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (3,4)-(3,5) = "("
β”‚ └── closing_loc: (3,26)-(3,27) = ")"
diff --git a/test/prism/snapshots/unparser/corpus/literal/send.txt b/test/prism/snapshots/unparser/corpus/literal/send.txt
index d366ec25c0..469b3dae4b 100644
--- a/test/prism/snapshots/unparser/corpus/literal/send.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/send.txt
@@ -37,13 +37,13 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (2,20)-(2,21))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (2,20)-(2,21) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (2,10)-(2,11) = "("
β”‚ β”‚ β”‚ └── closing_loc: (2,21)-(2,22) = ")"
β”‚ β”‚ β”œβ”€β”€ name: :foo
@@ -73,13 +73,13 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ name: :local
β”‚ β”‚ β”‚ └── depth: 0
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (7,7)-(7,8) = "."
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (7,8)-(7,11) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ end_keyword_loc: (8,0)-(8,3) = "end"
β”‚ └── name: :A
β”œβ”€β”€ @ CallNode (location: (9,0)-(10,7))
@@ -96,13 +96,13 @@
β”‚ β”‚ β”œβ”€β”€ end_keyword_loc: (10,0)-(10,3) = "end"
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (10,3)-(10,4) = "."
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (10,4)-(10,7) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (11,0)-(12,7))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ModuleNode (location: (11,0)-(12,3))
@@ -115,13 +115,13 @@
β”‚ β”‚ β”œβ”€β”€ end_keyword_loc: (12,0)-(12,3) = "end"
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (12,3)-(12,4) = "."
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (12,4)-(12,7) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (13,0)-(15,7))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ BeginNode (location: (13,0)-(15,3))
@@ -139,13 +139,13 @@
β”‚ β”‚ β”œβ”€β”€ ensure_clause: βˆ…
β”‚ β”‚ └── end_keyword_loc: (15,0)-(15,3) = "end"
β”‚ β”œβ”€β”€ call_operator_loc: (15,3)-(15,4) = "."
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (15,4)-(15,7) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (16,0)-(19,7))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CaseNode (location: (16,0)-(19,3))
@@ -181,25 +181,25 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (18,5)-(18,8))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (18,5)-(18,8) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── statements: βˆ…
β”‚ β”‚ β”œβ”€β”€ consequent: βˆ…
β”‚ β”‚ β”œβ”€β”€ case_keyword_loc: (16,0)-(16,4) = "case"
β”‚ β”‚ └── end_keyword_loc: (19,0)-(19,3) = "end"
β”‚ β”œβ”€β”€ call_operator_loc: (19,3)-(19,4) = "."
+ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”œβ”€β”€ message_loc: (19,4)-(19,7) = "baz"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :baz
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (20,0)-(22,7))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CaseNode (location: (20,0)-(22,3))
@@ -207,13 +207,13 @@
β”‚ β”‚ β”‚ @ CallNode (location: (20,5)-(20,8))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (20,5)-(20,8) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ conditions: (length: 1)
β”‚ β”‚ β”‚ └── @ WhenNode (location: (21,0)-(21,8))
β”‚ β”‚ β”‚ β”œβ”€β”€ keyword_loc: (21,0)-(21,4) = "when"
@@ -221,25 +221,25 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (21,5)-(21,8))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (21,5)-(21,8) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── statements: βˆ…
β”‚ β”‚ β”œβ”€β”€ consequent: βˆ…
β”‚ β”‚ β”œβ”€β”€ case_keyword_loc: (20,0)-(20,4) = "case"
β”‚ β”‚ └── end_keyword_loc: (22,0)-(22,3) = "end"
β”‚ β”œβ”€β”€ call_operator_loc: (22,3)-(22,4) = "."
+ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”œβ”€β”€ message_loc: (22,4)-(22,7) = "baz"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :baz
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (23,0)-(24,7))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ SingletonClassNode (location: (23,0)-(24,3))
@@ -251,13 +251,13 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ └── end_keyword_loc: (24,0)-(24,3) = "end"
β”‚ β”œβ”€β”€ call_operator_loc: (24,3)-(24,4) = "."
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (24,4)-(24,7) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (25,0)-(26,7))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ DefNode (location: (25,0)-(26,3))
@@ -275,13 +275,13 @@
β”‚ β”‚ β”œβ”€β”€ equal_loc: βˆ…
β”‚ β”‚ └── end_keyword_loc: (26,0)-(26,3) = "end"
β”‚ β”œβ”€β”€ call_operator_loc: (26,3)-(26,4) = "."
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (26,4)-(26,7) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (27,0)-(28,7))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ DefNode (location: (27,0)-(28,3))
@@ -298,13 +298,13 @@
β”‚ β”‚ β”œβ”€β”€ equal_loc: βˆ…
β”‚ β”‚ └── end_keyword_loc: (28,0)-(28,3) = "end"
β”‚ β”œβ”€β”€ call_operator_loc: (28,3)-(28,4) = "."
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (28,4)-(28,7) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (29,0)-(30,7))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ UntilNode (location: (29,0)-(30,3))
@@ -314,23 +314,23 @@
β”‚ β”‚ β”‚ @ CallNode (location: (29,6)-(29,9))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (29,6)-(29,9) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ statements: βˆ…
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: (30,3)-(30,4) = "."
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (30,4)-(30,7) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (31,0)-(32,7))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ WhileNode (location: (31,0)-(32,3))
@@ -340,28 +340,29 @@
β”‚ β”‚ β”‚ @ CallNode (location: (31,6)-(31,9))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (31,6)-(31,9) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ statements: βˆ…
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: (32,3)-(32,4) = "."
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (32,4)-(32,7) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (33,0)-(34,5))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (33,0)-(34,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :loop
β”‚ β”‚ β”œβ”€β”€ message_loc: (33,0)-(33,4) = "loop"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -373,16 +374,15 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (33,5)-(33,6) = "{"
β”‚ β”‚ β”‚ └── closing_loc: (34,0)-(34,1) = "}"
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :loop
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: (34,1)-(34,2) = "."
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (34,2)-(34,5) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (35,0)-(36,7))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ IfNode (location: (35,0)-(36,3))
@@ -391,25 +391,25 @@
β”‚ β”‚ β”‚ @ CallNode (location: (35,3)-(35,6))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (35,3)-(35,6) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ then_keyword_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ statements: βˆ…
β”‚ β”‚ β”œβ”€β”€ consequent: βˆ…
β”‚ β”‚ └── end_keyword_loc: (36,0)-(36,3) = "end"
β”‚ β”œβ”€β”€ call_operator_loc: (36,3)-(36,4) = "."
+ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”œβ”€β”€ message_loc: (36,4)-(36,7) = "baz"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :baz
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (37,0)-(37,19))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ParenthesesNode (location: (37,0)-(37,15))
@@ -425,6 +425,7 @@
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ unescaped: "bar"
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :=~
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (37,7)-(37,9) = "=~"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -438,18 +439,17 @@
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :=~
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (37,0)-(37,1) = "("
β”‚ β”‚ └── closing_loc: (37,14)-(37,15) = ")"
β”‚ β”œβ”€β”€ call_operator_loc: (37,15)-(37,16) = "."
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (37,16)-(37,19) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (38,0)-(38,10))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ParenthesesNode (location: (38,0)-(38,6))
@@ -468,13 +468,13 @@
β”‚ β”‚ β”œβ”€β”€ opening_loc: (38,0)-(38,1) = "("
β”‚ β”‚ └── closing_loc: (38,5)-(38,6) = ")"
β”‚ β”œβ”€β”€ call_operator_loc: (38,6)-(38,7) = "."
+ β”‚ β”œβ”€β”€ name: :max
β”‚ β”œβ”€β”€ message_loc: (38,7)-(38,10) = "max"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :max
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (39,0)-(39,18))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ParenthesesNode (location: (39,0)-(39,14))
@@ -486,14 +486,15 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (39,1)-(39,4))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (39,1)-(39,4) = "foo"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :=~
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (39,5)-(39,7) = "=~"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -508,18 +509,17 @@
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :=~
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (39,0)-(39,1) = "("
β”‚ β”‚ └── closing_loc: (39,13)-(39,14) = ")"
β”‚ β”œβ”€β”€ call_operator_loc: (39,14)-(39,15) = "."
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (39,15)-(39,18) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (40,0)-(40,13))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ RegularExpressionNode (location: (40,0)-(40,5))
@@ -529,6 +529,7 @@
β”‚ β”‚ β”œβ”€β”€ unescaped: "bar"
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :=~
β”‚ β”œβ”€β”€ message_loc: (40,6)-(40,8) = "=~"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -542,8 +543,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :=~
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (41,0)-(41,12))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ RegularExpressionNode (location: (41,0)-(41,5))
@@ -553,6 +553,7 @@
β”‚ β”‚ β”œβ”€β”€ unescaped: "bar"
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :=~
β”‚ β”œβ”€β”€ message_loc: (41,6)-(41,8) = "=~"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -561,18 +562,17 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (41,9)-(41,12))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (41,9)-(41,12) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :=~
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ RangeNode (location: (42,0)-(42,8))
β”‚ β”œβ”€β”€ left:
β”‚ β”‚ @ IntegerNode (location: (42,0)-(42,1))
@@ -583,13 +583,13 @@
β”‚ β”‚ β”‚ @ IntegerNode (location: (42,3)-(42,4))
β”‚ β”‚ β”‚ └── flags: decimal
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (42,4)-(42,5) = "."
+ β”‚ β”‚ β”œβ”€β”€ name: :max
β”‚ β”‚ β”œβ”€β”€ message_loc: (42,5)-(42,8) = "max"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :max
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ operator_loc: (42,1)-(42,3) = ".."
β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (43,0)-(43,5))
@@ -597,86 +597,87 @@
β”‚ β”‚ @ ConstantReadNode (location: (43,0)-(43,1))
β”‚ β”‚ └── name: :A
β”‚ β”œβ”€β”€ call_operator_loc: (43,1)-(43,2) = "."
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (43,2)-(43,5) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (44,0)-(44,5))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :FOO
β”‚ β”œβ”€β”€ message_loc: (44,0)-(44,3) = "FOO"
β”‚ β”œβ”€β”€ opening_loc: (44,3)-(44,4) = "("
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (44,4)-(44,5) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :FOO
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (45,0)-(45,4))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (45,0)-(45,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (45,0)-(45,1) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (45,1)-(45,3) = "&."
+ β”‚ β”œβ”€β”€ name: :b
β”‚ β”œβ”€β”€ message_loc: (45,3)-(45,4) = "b"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: safe_navigation
- β”‚ └── name: :b
+ β”‚ └── flags: safe_navigation
β”œβ”€β”€ @ CallNode (location: (46,0)-(46,5))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (46,0)-(46,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (46,0)-(46,1) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (46,1)-(46,2) = "."
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (46,2)-(46,5) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (47,0)-(47,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (47,0)-(47,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ @ CallNode (location: (48,0)-(48,18))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (48,0)-(48,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (48,0)-(48,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :<<
β”‚ β”œβ”€β”€ message_loc: (48,4)-(48,6) = "<<"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -691,14 +692,15 @@
β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (48,8)-(48,11))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (48,8)-(48,11) = "bar"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :*
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (48,12)-(48,13) = "*"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -707,38 +709,37 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (48,14)-(48,17))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (48,14)-(48,17) = "baz"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :*
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (48,7)-(48,8) = "("
β”‚ β”‚ β”‚ └── closing_loc: (48,17)-(48,18) = ")"
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :<<
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (49,0)-(49,12))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (49,0)-(49,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (49,0)-(49,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :=~
β”‚ β”œβ”€β”€ message_loc: (49,4)-(49,6) = "=~"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -753,11 +754,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :=~
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (50,0)-(50,17))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (50,0)-(50,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: (50,3)-(50,4) = "("
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -774,33 +775,33 @@
β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (50,6)-(50,9))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (50,6)-(50,9) = "foo"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ right:
β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (50,13)-(50,16))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (50,13)-(50,16) = "bar"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ └── operator_loc: (50,10)-(50,12) = "||"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (50,5)-(50,6) = "("
β”‚ β”‚ β”‚ └── closing_loc: (50,16)-(50,17) = ")"
β”‚ β”‚ └── operator_loc: (50,4)-(50,5) = "&"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (51,0)-(51,10))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (51,0)-(51,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: (51,3)-(51,4) = "("
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -811,19 +812,19 @@
β”‚ β”‚ β”‚ @ CallNode (location: (51,5)-(51,10))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :block
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (51,5)-(51,10) = "block"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :block
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── operator_loc: (51,4)-(51,5) = "&"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (52,0)-(52,17))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (52,0)-(52,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: (52,3)-(52,4) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -835,13 +836,13 @@
β”‚ β”‚ β”‚ @ CallNode (location: (52,5)-(52,9))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :args
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (52,5)-(52,9) = "args"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :args
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (52,17)-(52,18) = ")"
β”‚ β”œβ”€β”€ block:
@@ -850,19 +851,19 @@
β”‚ β”‚ β”‚ @ CallNode (location: (52,12)-(52,17))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :block
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (52,12)-(52,17) = "block"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :block
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── operator_loc: (52,11)-(52,12) = "&"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (53,0)-(53,15))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (53,0)-(53,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: (53,3)-(53,4) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -874,21 +875,21 @@
β”‚ β”‚ β”‚ @ CallNode (location: (53,5)-(53,14))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :arguments
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (53,5)-(53,14) = "arguments"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :arguments
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (53,14)-(53,15) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (54,0)-(54,9))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (54,0)-(54,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: (54,3)-(54,4) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -901,11 +902,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (54,8)-(54,9) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (55,0)-(55,8))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (55,0)-(55,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: (55,3)-(55,4) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -914,21 +915,21 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (55,4)-(55,7))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (55,4)-(55,7) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (55,7)-(55,8) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (56,0)-(56,15))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (56,0)-(56,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: (56,3)-(56,4) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -937,34 +938,34 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (56,4)-(56,7))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (56,4)-(56,7) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── @ SplatNode (location: (56,9)-(56,14))
β”‚ β”‚ β”‚ β”œβ”€β”€ operator_loc: (56,9)-(56,10) = "*"
β”‚ β”‚ β”‚ └── expression:
β”‚ β”‚ β”‚ @ CallNode (location: (56,10)-(56,14))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :args
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (56,10)-(56,14) = "args"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :args
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (56,14)-(56,15) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (57,0)-(57,17))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (57,0)-(57,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: (57,3)-(57,4) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -975,14 +976,15 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (57,4)-(57,7))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (57,4)-(57,7) = "foo"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :=~
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (57,8)-(57,10) = "=~"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -997,26 +999,25 @@
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :=~
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (57,16)-(57,17) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (58,0)-(58,13))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (58,0)-(58,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (58,0)-(58,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (58,3)-(58,4) = "."
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (58,4)-(58,7) = "bar"
β”‚ β”œβ”€β”€ opening_loc: (58,7)-(58,8) = "("
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -1027,29 +1028,29 @@
β”‚ β”‚ β”‚ @ CallNode (location: (58,9)-(58,12))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (58,9)-(58,12) = "baz"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── operator_loc: (58,8)-(58,9) = "&"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (59,0)-(59,26))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (59,0)-(59,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (59,0)-(59,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (59,3)-(59,4) = "."
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (59,4)-(59,7) = "bar"
β”‚ β”œβ”€β”€ opening_loc: (59,7)-(59,8) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -1061,54 +1062,54 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (59,9)-(59,13))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :arga
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (59,9)-(59,13) = "arga"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :arga
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (59,15)-(59,18))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (59,15)-(59,18) = "foo"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── @ SplatNode (location: (59,20)-(59,25))
β”‚ β”‚ β”‚ β”œβ”€β”€ operator_loc: (59,20)-(59,21) = "*"
β”‚ β”‚ β”‚ └── expression:
β”‚ β”‚ β”‚ @ CallNode (location: (59,21)-(59,25))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :argb
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (59,21)-(59,25) = "argb"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :argb
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (59,25)-(59,26) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (60,0)-(60,14))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (60,0)-(60,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (60,0)-(60,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (60,3)-(60,4) = "."
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (60,4)-(60,7) = "bar"
β”‚ β”œβ”€β”€ opening_loc: (60,7)-(60,8) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -1120,31 +1121,31 @@
β”‚ β”‚ β”‚ @ CallNode (location: (60,9)-(60,13))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :args
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (60,9)-(60,13) = "args"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :args
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (60,13)-(60,14) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (61,0)-(61,19))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (61,0)-(61,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (61,0)-(61,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (61,3)-(61,4) = "."
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (61,4)-(61,7) = "bar"
β”‚ β”œβ”€β”€ opening_loc: (61,7)-(61,8) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -1156,41 +1157,41 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (61,9)-(61,13))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :args
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (61,9)-(61,13) = "args"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :args
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── @ CallNode (location: (61,15)-(61,18))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (61,15)-(61,18) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (61,18)-(61,19) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (62,0)-(62,19))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (62,0)-(62,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (62,0)-(62,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (62,3)-(62,4) = "."
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (62,4)-(62,7) = "bar"
β”‚ β”œβ”€β”€ opening_loc: (62,7)-(62,8) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -1209,29 +1210,29 @@
β”‚ β”‚ β”‚ @ CallNode (location: (62,15)-(62,18))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (62,15)-(62,18) = "baz"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── operator_loc: (62,14)-(62,15) = "&"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (63,0)-(63,17))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (63,0)-(63,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (63,0)-(63,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (63,3)-(63,4) = "."
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (63,4)-(63,7) = "bar"
β”‚ β”œβ”€β”€ opening_loc: (63,7)-(63,8) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -1250,32 +1251,32 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (63,13)-(63,16))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :boz
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (63,13)-(63,16) = "boz"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :boz
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── operator_loc: βˆ…
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (63,16)-(63,17) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (64,0)-(64,26))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (64,0)-(64,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (64,0)-(64,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (64,3)-(64,4) = "."
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (64,4)-(64,7) = "bar"
β”‚ β”œβ”€β”€ opening_loc: (64,7)-(64,8) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -1284,13 +1285,13 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (64,8)-(64,11))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (64,8)-(64,11) = "foo"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── @ KeywordHashNode (location: (64,13)-(64,25))
β”‚ β”‚ β”‚ └── elements: (length: 1)
β”‚ β”‚ β”‚ └── @ AssocNode (location: (64,13)-(64,25))
@@ -1305,32 +1306,32 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (64,22)-(64,25))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :boz
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (64,22)-(64,25) = "boz"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :boz
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── operator_loc: (64,19)-(64,21) = "=>"
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (64,25)-(64,26) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (65,0)-(65,19))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (65,0)-(65,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (65,0)-(65,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (65,3)-(65,4) = "."
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (65,4)-(65,7) = "bar"
β”‚ β”œβ”€β”€ opening_loc: (65,7)-(65,8) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -1339,44 +1340,44 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (65,8)-(65,11))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (65,8)-(65,11) = "foo"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── @ SplatNode (location: (65,13)-(65,18))
β”‚ β”‚ β”‚ β”œβ”€β”€ operator_loc: (65,13)-(65,14) = "*"
β”‚ β”‚ β”‚ └── expression:
β”‚ β”‚ β”‚ @ CallNode (location: (65,14)-(65,18))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :args
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (65,14)-(65,18) = "args"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :args
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (65,18)-(65,19) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (66,0)-(66,27))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (66,0)-(66,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (66,0)-(66,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (66,3)-(66,4) = "."
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (66,4)-(66,7) = "bar"
β”‚ β”œβ”€β”€ opening_loc: (66,7)-(66,8) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -1385,26 +1386,26 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (66,8)-(66,11))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (66,8)-(66,11) = "foo"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── @ SplatNode (location: (66,13)-(66,18))
β”‚ β”‚ β”‚ β”œβ”€β”€ operator_loc: (66,13)-(66,14) = "*"
β”‚ β”‚ β”‚ └── expression:
β”‚ β”‚ β”‚ @ CallNode (location: (66,14)-(66,18))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :args
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (66,14)-(66,18) = "args"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :args
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (66,26)-(66,27) = ")"
β”‚ β”œβ”€β”€ block:
@@ -1413,29 +1414,29 @@
β”‚ β”‚ β”‚ @ CallNode (location: (66,21)-(66,26))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :block
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (66,21)-(66,26) = "block"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :block
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── operator_loc: (66,20)-(66,21) = "&"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (67,0)-(67,16))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (67,0)-(67,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (67,0)-(67,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (67,3)-(67,4) = "."
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (67,4)-(67,7) = "bar"
β”‚ β”œβ”€β”€ opening_loc: (67,7)-(67,8) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -1444,13 +1445,13 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (67,8)-(67,11))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (67,8)-(67,11) = "foo"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── @ HashNode (location: (67,13)-(67,15))
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (67,13)-(67,14) = "{"
β”‚ β”‚ β”‚ β”œβ”€β”€ elements: (length: 0)
@@ -1458,21 +1459,21 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (67,15)-(67,16) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (68,0)-(68,26))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (68,0)-(68,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (68,0)-(68,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (68,3)-(68,4) = "."
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (68,4)-(68,7) = "bar"
β”‚ β”œβ”€β”€ opening_loc: (68,7)-(68,8) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -1492,43 +1493,43 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (68,15)-(68,18))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :boz
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (68,15)-(68,18) = "boz"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :boz
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ └── operator_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (68,19)-(68,20) = "}"
β”‚ β”‚ β”‚ └── @ CallNode (location: (68,22)-(68,25))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :boz
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (68,22)-(68,25) = "boz"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :boz
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (68,25)-(68,26) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (69,0)-(69,12))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (69,0)-(69,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (69,0)-(69,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (69,3)-(69,4) = "."
+ β”‚ β”œβ”€β”€ name: :bar=
β”‚ β”œβ”€β”€ message_loc: (69,4)-(69,7) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -1542,11 +1543,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar=
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (70,0)-(70,9))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (70,0)-(70,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: (70,3)-(70,4) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -1565,32 +1566,32 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (70,7)-(70,8))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (70,7)-(70,8) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── operator_loc: βˆ…
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (70,8)-(70,9) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (71,0)-(71,11))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (71,0)-(71,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (71,0)-(71,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (71,3)-(71,4) = "."
+ β”‚ β”œβ”€β”€ name: :&
β”‚ β”œβ”€β”€ message_loc: (71,4)-(71,5) = "&"
β”‚ β”œβ”€β”€ opening_loc: (71,5)-(71,6) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -1609,32 +1610,32 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (71,9)-(71,10))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (71,9)-(71,10) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── operator_loc: βˆ…
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (71,10)-(71,11) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :&
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (72,0)-(72,10))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (72,0)-(72,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (72,0)-(72,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (72,3)-(72,4) = "."
+ β”‚ β”œβ”€β”€ name: :&
β”‚ β”œβ”€β”€ message_loc: (72,4)-(72,5) = "&"
β”‚ β”œβ”€β”€ opening_loc: (72,5)-(72,6) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -1647,32 +1648,32 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (72,8)-(72,9))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (72,8)-(72,9) = "a"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── operator_loc: (72,6)-(72,8) = "**"
β”‚ β”‚ └── flags: contains_keyword_splat
β”‚ β”œβ”€β”€ closing_loc: (72,9)-(72,10) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :&
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (73,0)-(73,9))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (73,0)-(73,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (73,0)-(73,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :[]
β”‚ β”œβ”€β”€ message_loc: (73,3)-(73,9) = "[*baz]"
β”‚ β”œβ”€β”€ opening_loc: (73,3)-(73,4) = "["
β”‚ β”œβ”€β”€ arguments:
@@ -1684,31 +1685,31 @@
β”‚ β”‚ β”‚ @ CallNode (location: (73,5)-(73,8))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (73,5)-(73,8) = "baz"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (73,8)-(73,9) = "]"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :[]
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (74,0)-(74,9))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (74,0)-(74,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (74,0)-(74,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :[]
β”‚ β”œβ”€β”€ message_loc: (74,3)-(74,9) = "[1, 2]"
β”‚ β”œβ”€β”€ opening_loc: (74,3)-(74,4) = "["
β”‚ β”œβ”€β”€ arguments:
@@ -1721,43 +1722,43 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (74,8)-(74,9) = "]"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :[]
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (75,0)-(75,5))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (75,0)-(75,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (75,0)-(75,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :[]
β”‚ β”œβ”€β”€ message_loc: (75,3)-(75,5) = "[]"
β”‚ β”œβ”€β”€ opening_loc: (75,3)-(75,4) = "["
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (75,4)-(75,5) = "]"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :[]
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (76,0)-(76,8))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ SelfNode (location: (76,0)-(76,4))
β”‚ β”œβ”€β”€ call_operator_loc: (76,4)-(76,5) = "."
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (76,5)-(76,8) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (77,0)-(77,13))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ SelfNode (location: (77,0)-(77,4))
β”‚ β”œβ”€β”€ call_operator_loc: (77,4)-(77,5) = "."
+ β”‚ β”œβ”€β”€ name: :foo=
β”‚ β”œβ”€β”€ message_loc: (77,5)-(77,8) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -1771,8 +1772,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo=
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (78,0)-(78,17))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ParenthesesNode (location: (78,0)-(78,7))
@@ -1784,14 +1784,15 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (78,1)-(78,2))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (78,1)-(78,2) = "a"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :+
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (78,3)-(78,4) = "+"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -1800,21 +1801,21 @@
β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (78,5)-(78,6))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (78,5)-(78,6) = "b"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :+
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (78,0)-(78,1) = "("
β”‚ β”‚ └── closing_loc: (78,6)-(78,7) = ")"
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :/
β”‚ β”œβ”€β”€ message_loc: (78,8)-(78,9) = "/"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -1829,14 +1830,15 @@
β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (78,11)-(78,12))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (78,11)-(78,12) = "c"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :-
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (78,13)-(78,14) = "-"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -1845,25 +1847,23 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (78,15)-(78,16))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (78,15)-(78,16) = "d"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :-
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (78,10)-(78,11) = "("
β”‚ β”‚ β”‚ └── closing_loc: (78,16)-(78,17) = ")"
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :/
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (79,0)-(79,19))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ParenthesesNode (location: (79,0)-(79,7))
@@ -1875,14 +1875,15 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (79,1)-(79,2))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (79,1)-(79,2) = "a"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :+
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (79,3)-(79,4) = "+"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -1891,21 +1892,21 @@
β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (79,5)-(79,6))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (79,5)-(79,6) = "b"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :+
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (79,0)-(79,1) = "("
β”‚ β”‚ └── closing_loc: (79,6)-(79,7) = ")"
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :/
β”‚ β”œβ”€β”€ message_loc: (79,8)-(79,9) = "/"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -1916,14 +1917,15 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (79,10)-(79,11))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (79,10)-(79,11) = "c"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (79,11)-(79,12) = "."
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :-
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (79,12)-(79,13) = "-"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (79,13)-(79,14) = "("
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -1932,33 +1934,31 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (79,14)-(79,15))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :e
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (79,14)-(79,15) = "e"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :e
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (79,17)-(79,18))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :f
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (79,17)-(79,18) = "f"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :f
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (79,18)-(79,19) = ")"
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :-
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :/
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (80,0)-(80,17))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ParenthesesNode (location: (80,0)-(80,7))
@@ -1970,14 +1970,15 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (80,1)-(80,2))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (80,1)-(80,2) = "a"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :+
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (80,3)-(80,4) = "+"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -1986,21 +1987,21 @@
β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (80,5)-(80,6))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (80,5)-(80,6) = "b"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :+
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (80,0)-(80,1) = "("
β”‚ β”‚ └── closing_loc: (80,6)-(80,7) = ")"
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :/
β”‚ β”œβ”€β”€ message_loc: (80,8)-(80,9) = "/"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -2011,14 +2012,15 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (80,10)-(80,11))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (80,10)-(80,11) = "c"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (80,11)-(80,12) = "."
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :-
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (80,12)-(80,13) = "-"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (80,13)-(80,14) = "("
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -2030,26 +2032,25 @@
β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (80,15)-(80,16))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :f
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (80,15)-(80,16) = "f"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :f
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (80,16)-(80,17) = ")"
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :-
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :/
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (81,0)-(81,8))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :x
β”‚ β”œβ”€β”€ message_loc: (81,0)-(81,1) = "x"
β”‚ β”œβ”€β”€ opening_loc: (81,1)-(81,2) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -2062,52 +2063,52 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (81,4)-(81,7))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (81,4)-(81,7) = "foo"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── operator_loc: (81,2)-(81,4) = "**"
β”‚ β”‚ └── flags: contains_keyword_splat
β”‚ β”œβ”€β”€ closing_loc: (81,7)-(81,8) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :x
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (82,0)-(82,6))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (82,0)-(82,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (82,0)-(82,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (82,3)-(82,5) = "&."
+ β”‚ β”œβ”€β”€ name: :!
β”‚ β”œβ”€β”€ message_loc: (82,5)-(82,6) = "!"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: safe_navigation
- β”‚ └── name: :!
+ β”‚ └── flags: safe_navigation
β”œβ”€β”€ @ CallNode (location: (83,0)-(83,8))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (83,0)-(83,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (83,0)-(83,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (83,3)-(83,4) = "."
+ β”‚ β”œβ”€β”€ name: :~
β”‚ β”œβ”€β”€ message_loc: (83,4)-(83,5) = "~"
β”‚ β”œβ”€β”€ opening_loc: (83,5)-(83,6) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -2116,31 +2117,31 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (83,6)-(83,7))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (83,6)-(83,7) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (83,7)-(83,8) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :~
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (84,0)-(84,7))
β”œβ”€β”€ receiver:
β”‚ @ CallNode (location: (84,0)-(84,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (84,0)-(84,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: (84,1)-(84,3) = "&."
+ β”œβ”€β”€ name: :+
β”œβ”€β”€ message_loc: (84,3)-(84,4) = "+"
β”œβ”€β”€ opening_loc: (84,4)-(84,5) = "("
β”œβ”€β”€ arguments:
@@ -2149,15 +2150,14 @@
β”‚ β”‚ └── @ CallNode (location: (84,5)-(84,6))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”œβ”€β”€ message_loc: (84,5)-(84,6) = "b"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :b
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (84,6)-(84,7) = ")"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: safe_navigation
- └── name: :+
+ └── flags: safe_navigation
diff --git a/test/prism/snapshots/unparser/corpus/literal/since/27.txt b/test/prism/snapshots/unparser/corpus/literal/since/27.txt
index 27b55d29da..8e79acb870 100644
--- a/test/prism/snapshots/unparser/corpus/literal/since/27.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/since/27.txt
@@ -18,6 +18,7 @@
β”‚ β”‚ β”œβ”€β”€ name: :_1
β”‚ β”‚ └── depth: 0
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :+
β”‚ β”œβ”€β”€ message_loc: (2,5)-(2,6) = "+"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -29,8 +30,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :+
+ β”‚ └── flags: βˆ…
└── @ ParenthesesNode (location: (4,0)-(4,5))
β”œβ”€β”€ body:
β”‚ @ StatementsNode (location: (4,1)-(4,4))
diff --git a/test/prism/snapshots/unparser/corpus/literal/since/31.txt b/test/prism/snapshots/unparser/corpus/literal/since/31.txt
index 87d3fb8bf8..0572d6faa9 100644
--- a/test/prism/snapshots/unparser/corpus/literal/since/31.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/since/31.txt
@@ -26,6 +26,7 @@
β”‚ β”‚ └── @ CallNode (location: (2,2)-(2,7))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (2,2)-(2,5) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (2,5)-(2,6) = "("
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -34,8 +35,7 @@
β”‚ β”‚ β”‚ @ BlockArgumentNode (location: (2,6)-(2,7))
β”‚ β”‚ β”‚ β”œβ”€β”€ expression: βˆ…
β”‚ β”‚ β”‚ └── operator_loc: (2,6)-(2,7) = "&"
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ locals: [:&]
β”‚ β”œβ”€β”€ def_keyword_loc: (1,0)-(1,3) = "def"
β”‚ β”œβ”€β”€ operator_loc: βˆ…
@@ -68,6 +68,7 @@
β”‚ └── @ CallNode (location: (6,2)-(6,7))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (6,2)-(6,5) = "bar"
β”‚ β”œβ”€β”€ opening_loc: (6,5)-(6,6) = "("
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -76,8 +77,7 @@
β”‚ β”‚ @ BlockArgumentNode (location: (6,6)-(6,7))
β”‚ β”‚ β”œβ”€β”€ expression: βˆ…
β”‚ β”‚ └── operator_loc: (6,6)-(6,7) = "&"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ locals: [:a, :&]
β”œβ”€β”€ def_keyword_loc: (5,0)-(5,3) = "def"
β”œβ”€β”€ operator_loc: βˆ…
diff --git a/test/prism/snapshots/unparser/corpus/literal/since/32.txt b/test/prism/snapshots/unparser/corpus/literal/since/32.txt
index 77b09ba0de..8aeab646c8 100644
--- a/test/prism/snapshots/unparser/corpus/literal/since/32.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/since/32.txt
@@ -28,6 +28,7 @@
β”‚ β”‚ └── @ CallNode (location: (2,2)-(2,19))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (2,2)-(2,5) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (2,5)-(2,6) = "("
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -44,8 +45,7 @@
β”‚ β”‚ β”‚ └── flags: contains_keyword_splat
β”‚ β”‚ β”œβ”€β”€ closing_loc: (2,18)-(2,19) = ")"
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ locals: [:argument, :**]
β”‚ β”œβ”€β”€ def_keyword_loc: (1,0)-(1,3) = "def"
β”‚ β”œβ”€β”€ operator_loc: βˆ…
@@ -78,6 +78,7 @@
β”‚ └── @ CallNode (location: (6,2)-(6,18))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (6,2)-(6,5) = "bar"
β”‚ β”œβ”€β”€ opening_loc: (6,5)-(6,6) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -92,8 +93,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (6,17)-(6,18) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ locals: [:argument, :*]
β”œβ”€β”€ def_keyword_loc: (5,0)-(5,3) = "def"
β”œβ”€β”€ operator_loc: βˆ…
diff --git a/test/prism/snapshots/unparser/corpus/literal/super.txt b/test/prism/snapshots/unparser/corpus/literal/super.txt
index 3beb41916f..8175d3504a 100644
--- a/test/prism/snapshots/unparser/corpus/literal/super.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/super.txt
@@ -20,13 +20,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (3,6)-(3,7))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,6)-(3,7) = "a"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ rparen_loc: (3,7)-(3,8) = ")"
β”‚ └── block: βˆ…
@@ -39,23 +39,23 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (4,6)-(4,7))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (4,6)-(4,7) = "a"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── @ CallNode (location: (4,9)-(4,10))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (4,9)-(4,10) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ rparen_loc: (4,10)-(4,11) = ")"
β”‚ └── block: βˆ…
@@ -70,13 +70,13 @@
β”‚ β”‚ @ CallNode (location: (5,7)-(5,12))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :block
β”‚ β”‚ β”œβ”€β”€ message_loc: (5,7)-(5,12) = "block"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :block
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── operator_loc: (5,6)-(5,7) = "&"
β”œβ”€β”€ @ SuperNode (location: (6,0)-(6,16))
β”‚ β”œβ”€β”€ keyword_loc: (6,0)-(6,5) = "super"
@@ -87,13 +87,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (6,6)-(6,7))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (6,6)-(6,7) = "a"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ rparen_loc: (6,15)-(6,16) = ")"
β”‚ └── block:
@@ -102,13 +102,13 @@
β”‚ β”‚ @ CallNode (location: (6,10)-(6,15))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :block
β”‚ β”‚ β”œβ”€β”€ message_loc: (6,10)-(6,15) = "block"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :block
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── operator_loc: (6,9)-(6,10) = "&"
β”œβ”€β”€ @ SuperNode (location: (7,0)-(9,2))
β”‚ β”œβ”€β”€ keyword_loc: (7,0)-(7,5) = "super"
@@ -119,6 +119,7 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (7,6)-(9,1))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (7,6)-(7,7) = "a"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -133,17 +134,16 @@
β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (8,2)-(8,5))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (8,2)-(8,5) = "foo"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (7,8)-(7,9) = "{"
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (9,0)-(9,1) = "}"
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ rparen_loc: (9,1)-(9,2) = ")"
β”‚ └── block: βˆ…
@@ -158,13 +158,13 @@
β”‚ β”‚ └── @ CallNode (location: (11,2)-(11,5))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (11,2)-(11,5) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ opening_loc: (10,6)-(10,7) = "{"
β”‚ └── closing_loc: (12,0)-(12,1) = "}"
β”œβ”€β”€ @ SuperNode (location: (13,0)-(15,1))
@@ -176,13 +176,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (13,6)-(13,7))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (13,6)-(13,7) = "a"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ rparen_loc: (13,7)-(13,8) = ")"
β”‚ └── block:
@@ -195,13 +195,13 @@
β”‚ β”‚ └── @ CallNode (location: (14,2)-(14,5))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (14,2)-(14,5) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ opening_loc: (13,9)-(13,10) = "{"
β”‚ └── closing_loc: (15,0)-(15,1) = "}"
β”œβ”€β”€ @ SuperNode (location: (16,0)-(18,1))
@@ -219,13 +219,13 @@
β”‚ β”‚ └── @ CallNode (location: (17,2)-(17,5))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (17,2)-(17,5) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ opening_loc: (16,8)-(16,9) = "{"
β”‚ └── closing_loc: (18,0)-(18,1) = "}"
└── @ SuperNode (location: (19,0)-(21,1))
@@ -237,23 +237,23 @@
β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (19,6)-(19,7))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (19,6)-(19,7) = "a"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── @ CallNode (location: (19,9)-(19,10))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”œβ”€β”€ message_loc: (19,9)-(19,10) = "b"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :b
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── flags: βˆ…
β”œβ”€β”€ rparen_loc: (19,10)-(19,11) = ")"
└── block:
@@ -266,12 +266,12 @@
β”‚ └── @ CallNode (location: (20,2)-(20,5))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (20,2)-(20,5) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ opening_loc: (19,12)-(19,13) = "{"
└── closing_loc: (21,0)-(21,1) = "}"
diff --git a/test/prism/snapshots/unparser/corpus/literal/unary.txt b/test/prism/snapshots/unparser/corpus/literal/unary.txt
index 2a3330fdea..1828fc9926 100644
--- a/test/prism/snapshots/unparser/corpus/literal/unary.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/unary.txt
@@ -8,13 +8,13 @@
β”‚ β”‚ @ IntegerNode (location: (1,1)-(1,2))
β”‚ β”‚ └── flags: decimal
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :!
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "!"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :!
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (2,0)-(2,5))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ParenthesesNode (location: (2,1)-(2,5))
@@ -26,23 +26,23 @@
β”‚ β”‚ β”‚ β”‚ @ IntegerNode (location: (2,3)-(2,4))
β”‚ β”‚ β”‚ β”‚ └── flags: decimal
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :!
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (2,2)-(2,3) = "!"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :!
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (2,1)-(2,2) = "("
β”‚ β”‚ └── closing_loc: (2,4)-(2,5) = ")"
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :!
β”‚ β”œβ”€β”€ message_loc: (2,0)-(2,1) = "!"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :!
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (3,0)-(3,16))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ ParenthesesNode (location: (3,1)-(3,16))
@@ -60,45 +60,45 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (3,4)-(3,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,4)-(3,7) = "foo"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ right:
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (3,11)-(3,14))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,11)-(3,14) = "bar"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ └── operator_loc: (3,8)-(3,10) = "||"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (3,3)-(3,4) = "("
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (3,14)-(3,15) = ")"
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :!
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,2)-(3,3) = "!"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :!
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (3,1)-(3,2) = "("
β”‚ β”‚ └── closing_loc: (3,15)-(3,16) = ")"
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :!
β”‚ β”œβ”€β”€ message_loc: (3,0)-(3,1) = "!"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :!
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (4,0)-(4,9))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (4,1)-(4,9))
@@ -112,91 +112,91 @@
β”‚ β”‚ β”‚ β”‚ β”‚ @ IntegerNode (location: (4,3)-(4,4))
β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: decimal
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :!
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (4,2)-(4,3) = "!"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :!
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (4,1)-(4,2) = "("
β”‚ β”‚ β”‚ └── closing_loc: (4,4)-(4,5) = ")"
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (4,5)-(4,6) = "."
+ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”œβ”€β”€ message_loc: (4,6)-(4,9) = "baz"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :!
β”‚ β”œβ”€β”€ message_loc: (4,0)-(4,1) = "!"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :!
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (5,0)-(5,2))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (5,1)-(5,2))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (5,1)-(5,2) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :~
β”‚ β”œβ”€β”€ message_loc: (5,0)-(5,1) = "~"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :~
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (6,0)-(6,2))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (6,1)-(6,2))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (6,1)-(6,2) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :-@
β”‚ β”œβ”€β”€ message_loc: (6,0)-(6,1) = "-"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :-@
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (7,0)-(7,2))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (7,1)-(7,2))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (7,1)-(7,2) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :+@
β”‚ β”œβ”€β”€ message_loc: (7,0)-(7,1) = "+"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :+@
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (8,0)-(8,9))
β”œβ”€β”€ receiver:
β”‚ @ CallNode (location: (8,1)-(8,9))
@@ -210,36 +210,36 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (8,3)-(8,4))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (8,3)-(8,4) = "a"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :-@
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (8,2)-(8,3) = "-"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :-@
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (8,1)-(8,2) = "("
β”‚ β”‚ └── closing_loc: (8,4)-(8,5) = ")"
β”‚ β”œβ”€β”€ call_operator_loc: (8,5)-(8,6) = "."
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (8,6)-(8,9) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :-@
β”œβ”€β”€ message_loc: (8,0)-(8,1) = "-"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :-@
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/unparser/corpus/literal/variables.txt b/test/prism/snapshots/unparser/corpus/literal/variables.txt
index b86865a0a6..c894d5803e 100644
--- a/test/prism/snapshots/unparser/corpus/literal/variables.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/variables.txt
@@ -6,13 +6,13 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(1,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ @ InstanceVariableReadNode (location: (2,0)-(2,2))
β”‚ └── name: :@a
β”œβ”€β”€ @ ClassVariableReadNode (location: (3,0)-(3,3))
diff --git a/test/prism/snapshots/unparser/corpus/literal/while.txt b/test/prism/snapshots/unparser/corpus/literal/while.txt
index 64dd4f5889..7bcf111cef 100644
--- a/test/prism/snapshots/unparser/corpus/literal/while.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/while.txt
@@ -15,6 +15,7 @@
β”‚ β”‚ └── @ CallNode (location: (2,2)-(6,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (2,2)-(2,5) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -48,13 +49,13 @@
β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (3,10)-(3,13))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,10)-(3,13) = "foo"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ β”‚ β”‚ β”‚ @ StatementsNode (location: (4,6)-(4,15))
β”‚ β”‚ β”‚ β”‚ β”‚ └── body: (length: 1)
@@ -70,8 +71,7 @@
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (2,6)-(2,7) = "{"
β”‚ β”‚ β”‚ └── closing_loc: (6,2)-(6,3) = "}"
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ end_keyword_loc: (7,0)-(7,3) = "end"
β”‚ └── name: :A
β”œβ”€β”€ @ DefNode (location: (9,0)-(11,3))
@@ -92,6 +92,7 @@
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”‚ └── depth: 0
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :!=
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (10,22)-(10,24) = "!="
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -100,18 +101,17 @@
β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (10,25)-(10,28))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (10,25)-(10,28) = "baz"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :!=
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ β”‚ @ StatementsNode (location: (10,2)-(10,11))
β”‚ β”‚ β”‚ └── body: (length: 1)
@@ -123,13 +123,13 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (10,8)-(10,11))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (10,8)-(10,11) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── operator_loc: (10,6)-(10,7) = "="
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ locals: [:foo]
@@ -166,13 +166,13 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (14,8)-(14,11))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (14,8)-(14,11) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── operator_loc: (14,6)-(14,7) = "="
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ end_keyword_loc: (15,0)-(15,3) = "end"
@@ -204,13 +204,13 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (18,8)-(18,11))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (18,8)-(18,11) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── operator_loc: (18,6)-(18,7) = "="
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ end_keyword_loc: (19,0)-(19,3) = "end"
@@ -231,13 +231,13 @@
β”‚ β”‚ β”‚ @ CallNode (location: (22,8)-(22,11))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (22,8)-(22,11) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ β”‚ @ StatementsNode (location: (23,4)-(23,13))
β”‚ β”‚ β”‚ └── body: (length: 1)
@@ -249,13 +249,13 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (23,10)-(23,13))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (23,10)-(23,13) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── operator_loc: (23,8)-(23,9) = "="
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ end_keyword_loc: (25,0)-(25,3) = "end"
@@ -272,6 +272,7 @@
β”‚ β”‚ └── @ CallNode (location: (28,2)-(32,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :each
β”‚ β”‚ β”œβ”€β”€ message_loc: (28,2)-(28,6) = "each"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -305,13 +306,13 @@
β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (29,10)-(29,13))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (29,10)-(29,13) = "foo"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ β”‚ β”‚ β”‚ @ StatementsNode (location: (30,6)-(30,15))
β”‚ β”‚ β”‚ β”‚ β”‚ └── body: (length: 1)
@@ -323,19 +324,18 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (30,12)-(30,15))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (30,12)-(30,15) = "bar"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ └── operator_loc: (30,10)-(30,11) = "="
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (28,7)-(28,8) = "{"
β”‚ β”‚ β”‚ └── closing_loc: (32,2)-(32,3) = "}"
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :each
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ end_keyword_loc: (33,0)-(33,3) = "end"
β”‚ └── name: :A
β”œβ”€β”€ @ ModuleNode (location: (35,0)-(41,3))
@@ -350,6 +350,7 @@
β”‚ β”‚ └── @ CallNode (location: (36,2)-(40,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :each
β”‚ β”‚ β”œβ”€β”€ message_loc: (36,2)-(36,6) = "each"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -394,19 +395,18 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (38,12)-(38,15))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (38,12)-(38,15) = "bar"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ └── operator_loc: (38,10)-(38,11) = "="
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (36,7)-(36,8) = "{"
β”‚ β”‚ β”‚ └── closing_loc: (40,2)-(40,3) = "}"
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :each
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ end_keyword_loc: (41,0)-(41,3) = "end"
β”‚ └── name: :A
β”œβ”€β”€ @ LocalVariableWriteNode (location: (42,0)-(44,14))
@@ -425,13 +425,13 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (44,10)-(44,13))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (44,10)-(44,13) = "baz"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ β”‚ β”‚ @ StatementsNode (location: (42,5)-(44,3))
β”‚ β”‚ β”‚ β”‚ └── body: (length: 1)
@@ -443,13 +443,13 @@
β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (43,2)-(43,5))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (43,2)-(43,5) = "foo"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ rescue_clause: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ ensure_clause: βˆ…
@@ -465,13 +465,13 @@
β”‚ β”‚ @ CallNode (location: (47,10)-(47,13))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”œβ”€β”€ message_loc: (47,10)-(47,13) = "baz"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ @ StatementsNode (location: (45,0)-(47,3))
β”‚ β”‚ └── body: (length: 1)
@@ -483,13 +483,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (46,2)-(46,5))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (46,2)-(46,5) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ rescue_clause: βˆ…
β”‚ β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”‚ β”œβ”€β”€ ensure_clause: βˆ…
@@ -502,13 +502,13 @@
β”‚ β”‚ @ CallNode (location: (51,10)-(51,13))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”œβ”€β”€ message_loc: (51,10)-(51,13) = "baz"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ @ StatementsNode (location: (48,0)-(51,3))
β”‚ β”‚ └── body: (length: 1)
@@ -520,23 +520,23 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (49,2)-(49,5))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (49,2)-(49,5) = "foo"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── @ CallNode (location: (50,2)-(50,5))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (50,2)-(50,5) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ rescue_clause: βˆ…
β”‚ β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”‚ β”œβ”€β”€ ensure_clause: βˆ…
@@ -549,13 +549,13 @@
β”‚ β”‚ @ CallNode (location: (55,10)-(55,13))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”œβ”€β”€ message_loc: (55,10)-(55,13) = "baz"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ @ StatementsNode (location: (52,0)-(55,3))
β”‚ β”‚ └── body: (length: 1)
@@ -567,23 +567,23 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (53,2)-(53,5))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (53,2)-(53,5) = "foo"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── @ CallNode (location: (54,2)-(54,5))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (54,2)-(54,5) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ rescue_clause: βˆ…
β”‚ β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”‚ β”œβ”€β”€ ensure_clause: βˆ…
@@ -618,6 +618,7 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (61,7)-(62,1))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (61,7)-(61,10) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -629,8 +630,7 @@
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (61,11)-(61,12) = "{"
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (62,0)-(62,1) = "}"
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (61,6)-(61,7) = "("
β”‚ β”‚ └── closing_loc: (62,1)-(62,2) = ")"
β”‚ β”œβ”€β”€ statements:
@@ -671,6 +671,7 @@
β”‚ β”‚ └── @ CallNode (location: (70,7)-(71,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (70,7)-(70,10) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -682,8 +683,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (70,11)-(70,12) = "{"
β”‚ β”‚ β”‚ └── closing_loc: (71,0)-(71,1) = "}"
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (70,6)-(70,7) = "("
β”‚ └── closing_loc: (71,1)-(71,2) = ")"
β”œβ”€β”€ statements:
diff --git a/test/prism/snapshots/unparser/corpus/literal/yield.txt b/test/prism/snapshots/unparser/corpus/literal/yield.txt
index 5bb2745691..dcedb07426 100644
--- a/test/prism/snapshots/unparser/corpus/literal/yield.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/yield.txt
@@ -17,13 +17,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (2,6)-(2,7))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (2,6)-(2,7) = "a"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ └── rparen_loc: (2,7)-(2,8) = ")"
└── @ YieldNode (location: (3,0)-(3,11))
@@ -35,22 +35,22 @@
β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (3,6)-(3,7))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,6)-(3,7) = "a"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── @ CallNode (location: (3,9)-(3,10))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,9)-(3,10) = "b"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :b
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── flags: βˆ…
└── rparen_loc: (3,10)-(3,11) = ")"
diff --git a/test/prism/snapshots/unparser/corpus/semantic/and.txt b/test/prism/snapshots/unparser/corpus/semantic/and.txt
index eb780a73de..51ef6ff0a4 100644
--- a/test/prism/snapshots/unparser/corpus/semantic/and.txt
+++ b/test/prism/snapshots/unparser/corpus/semantic/and.txt
@@ -10,24 +10,24 @@
β”‚ β”‚ β”‚ @ CallNode (location: (1,0)-(1,1))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ right:
β”‚ β”‚ β”‚ @ CallNode (location: (1,4)-(1,5))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,5) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ operator_loc: (1,1)-(1,4) = "..."
β”‚ β”‚ └── flags: exclude_end
β”‚ β”œβ”€β”€ right:
@@ -36,24 +36,24 @@
β”‚ β”‚ β”‚ @ CallNode (location: (1,9)-(1,10))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,9)-(1,10) = "c"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ right:
β”‚ β”‚ β”‚ @ CallNode (location: (1,13)-(1,14))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,13)-(1,14) = "d"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ operator_loc: (1,10)-(1,13) = "..."
β”‚ β”‚ └── flags: exclude_end
β”‚ └── operator_loc: (1,6)-(1,8) = "or"
@@ -64,24 +64,24 @@
β”‚ β”‚ β”‚ @ CallNode (location: (2,0)-(2,1))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (2,0)-(2,1) = "a"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ right:
β”‚ β”‚ β”‚ @ CallNode (location: (2,4)-(2,5))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (2,4)-(2,5) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ operator_loc: (2,1)-(2,4) = "..."
β”‚ β”‚ └── flags: exclude_end
β”‚ β”œβ”€β”€ right:
@@ -90,24 +90,24 @@
β”‚ β”‚ β”‚ @ CallNode (location: (2,10)-(2,11))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (2,10)-(2,11) = "c"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ right:
β”‚ β”‚ β”‚ @ CallNode (location: (2,14)-(2,15))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (2,14)-(2,15) = "d"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ operator_loc: (2,11)-(2,14) = "..."
β”‚ β”‚ └── flags: exclude_end
β”‚ └── operator_loc: (2,6)-(2,9) = "and"
@@ -121,24 +121,24 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (4,3)-(4,4))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (4,3)-(4,4) = "a"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ right:
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (4,7)-(4,8))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (4,7)-(4,8) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ operator_loc: (4,4)-(4,7) = "..."
β”‚ β”‚ β”‚ └── flags: exclude_end
β”‚ β”‚ β”œβ”€β”€ right:
@@ -147,24 +147,24 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (4,12)-(4,13))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (4,12)-(4,13) = "c"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ right:
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (4,16)-(4,17))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (4,16)-(4,17) = "d"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ operator_loc: (4,13)-(4,16) = "..."
β”‚ β”‚ β”‚ └── flags: exclude_end
β”‚ β”‚ └── operator_loc: (4,9)-(4,11) = "or"
@@ -182,24 +182,24 @@
β”‚ β”‚ β”‚ @ CallNode (location: (7,3)-(7,4))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (7,3)-(7,4) = "a"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ right:
β”‚ β”‚ β”‚ @ CallNode (location: (7,7)-(7,8))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (7,7)-(7,8) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ operator_loc: (7,4)-(7,7) = "..."
β”‚ β”‚ └── flags: exclude_end
β”‚ β”œβ”€β”€ right:
@@ -208,24 +208,24 @@
β”‚ β”‚ β”‚ @ CallNode (location: (7,13)-(7,14))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (7,13)-(7,14) = "c"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ right:
β”‚ β”‚ β”‚ @ CallNode (location: (7,17)-(7,18))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (7,17)-(7,18) = "d"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ operator_loc: (7,14)-(7,17) = "..."
β”‚ β”‚ └── flags: exclude_end
β”‚ └── operator_loc: (7,9)-(7,12) = "and"
diff --git a/test/prism/snapshots/unparser/corpus/semantic/block.txt b/test/prism/snapshots/unparser/corpus/semantic/block.txt
index e525e3d5ad..f3d5440a59 100644
--- a/test/prism/snapshots/unparser/corpus/semantic/block.txt
+++ b/test/prism/snapshots/unparser/corpus/semantic/block.txt
@@ -6,6 +6,7 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(2,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -17,11 +18,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,4)-(1,6) = "do"
β”‚ β”‚ └── closing_loc: (2,0)-(2,3) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (4,0)-(6,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (4,0)-(4,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -47,11 +48,11 @@
β”‚ β”‚ β”‚ └── end_keyword_loc: (6,0)-(6,3) = "end"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (4,4)-(4,6) = "do"
β”‚ β”‚ └── closing_loc: (6,0)-(6,3) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (8,0)-(11,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (8,0)-(8,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -72,11 +73,11 @@
β”‚ β”‚ β”‚ └── @ NilNode (location: (10,2)-(10,5))
β”‚ β”‚ β”œβ”€β”€ opening_loc: (8,4)-(8,6) = "do"
β”‚ β”‚ └── closing_loc: (11,0)-(11,3) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (13,0)-(14,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (13,0)-(13,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -103,11 +104,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (13,4)-(13,6) = "do"
β”‚ β”‚ └── closing_loc: (14,0)-(14,3) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (16,0)-(20,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (16,0)-(16,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: (16,3)-(16,4) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -148,11 +149,11 @@
β”‚ β”‚ β”‚ └── depth: 0
β”‚ β”‚ β”œβ”€β”€ opening_loc: (16,12)-(16,14) = "do"
β”‚ β”‚ └── closing_loc: (20,0)-(20,3) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (22,0)-(26,3))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :foo
β”œβ”€β”€ message_loc: (22,0)-(22,3) = "foo"
β”œβ”€β”€ opening_loc: (22,3)-(22,4) = "("
β”œβ”€β”€ arguments:
@@ -176,14 +177,13 @@
β”‚ β”‚ └── @ CallNode (location: (25,2)-(25,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (25,2)-(25,3) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ opening_loc: (22,12)-(22,14) = "do"
β”‚ └── closing_loc: (26,0)-(26,3) = "end"
- β”œβ”€β”€ flags: βˆ…
- └── name: :foo
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/unparser/corpus/semantic/def.txt b/test/prism/snapshots/unparser/corpus/semantic/def.txt
index 2d88a9d85b..fe66152a28 100644
--- a/test/prism/snapshots/unparser/corpus/semantic/def.txt
+++ b/test/prism/snapshots/unparser/corpus/semantic/def.txt
@@ -20,14 +20,15 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (2,3)-(2,4))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (2,3)-(2,4) = "a"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :-
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (2,5)-(2,6) = "-"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -36,18 +37,17 @@
β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (2,7)-(2,8))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (2,7)-(2,8) = "b"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :-
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (2,2)-(2,3) = "("
β”‚ β”‚ └── closing_loc: (2,8)-(2,9) = ")"
β”‚ β”œβ”€β”€ locals: []
@@ -70,13 +70,13 @@
β”‚ β”‚ @ CallNode (location: (6,2)-(6,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (6,2)-(6,3) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ keyword_loc: (6,4)-(6,10) = "rescue"
β”‚ └── rescue_expression:
β”‚ @ ConstantReadNode (location: (6,11)-(6,20))
diff --git a/test/prism/snapshots/unparser/corpus/semantic/kwbegin.txt b/test/prism/snapshots/unparser/corpus/semantic/kwbegin.txt
index 9499e968ad..00abd39b81 100644
--- a/test/prism/snapshots/unparser/corpus/semantic/kwbegin.txt
+++ b/test/prism/snapshots/unparser/corpus/semantic/kwbegin.txt
@@ -43,13 +43,13 @@
β”‚ β”‚ └── @ CallNode (location: (11,2)-(11,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (11,2)-(11,3) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ rescue_clause: βˆ…
β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”œβ”€β”€ ensure_clause: βˆ…
@@ -62,13 +62,13 @@
β”‚ β”‚ └── @ CallNode (location: (15,2)-(15,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (15,2)-(15,3) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ rescue_clause:
β”‚ β”‚ @ RescueNode (location: (16,0)-(17,3))
β”‚ β”‚ β”œβ”€β”€ keyword_loc: (16,0)-(16,6) = "rescue"
@@ -81,13 +81,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (17,2)-(17,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (17,2)-(17,3) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── consequent: βˆ…
β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”œβ”€β”€ ensure_clause: βˆ…
@@ -100,23 +100,23 @@
β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (21,2)-(21,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (21,2)-(21,3) = "a"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── @ CallNode (location: (22,2)-(22,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”œβ”€β”€ message_loc: (22,2)-(22,3) = "b"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :b
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ rescue_clause:
β”‚ β”‚ @ RescueNode (location: (23,0)-(24,3))
β”‚ β”‚ β”œβ”€β”€ keyword_loc: (23,0)-(23,6) = "rescue"
@@ -129,13 +129,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (24,2)-(24,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (24,2)-(24,3) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── consequent: βˆ…
β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”œβ”€β”€ ensure_clause: βˆ…
@@ -188,13 +188,13 @@
β”‚ └── @ CallNode (location: (35,2)-(35,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (35,2)-(35,3) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ rescue_clause:
β”‚ @ RescueNode (location: (36,0)-(39,3))
β”‚ β”œβ”€β”€ keyword_loc: (36,0)-(36,6) = "rescue"
@@ -209,13 +209,13 @@
β”‚ β”‚ └── @ CallNode (location: (37,2)-(37,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”œβ”€β”€ message_loc: (37,2)-(37,3) = "b"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :b
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── consequent:
β”‚ @ RescueNode (location: (38,0)-(39,3))
β”‚ β”œβ”€β”€ keyword_loc: (38,0)-(38,6) = "rescue"
@@ -230,13 +230,13 @@
β”‚ β”‚ └── @ CallNode (location: (39,2)-(39,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”œβ”€β”€ message_loc: (39,2)-(39,3) = "c"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :c
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── consequent: βˆ…
β”œβ”€β”€ else_clause: βˆ…
β”œβ”€β”€ ensure_clause:
@@ -248,12 +248,12 @@
β”‚ β”‚ └── @ CallNode (location: (41,2)-(41,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”œβ”€β”€ message_loc: (41,2)-(41,3) = "d"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :d
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── end_keyword_loc: (42,0)-(42,3) = "end"
└── end_keyword_loc: (42,0)-(42,3) = "end"
diff --git a/test/prism/snapshots/unparser/corpus/semantic/literal.txt b/test/prism/snapshots/unparser/corpus/semantic/literal.txt
index 5867a9adcc..221be0775c 100644
--- a/test/prism/snapshots/unparser/corpus/semantic/literal.txt
+++ b/test/prism/snapshots/unparser/corpus/semantic/literal.txt
@@ -59,6 +59,7 @@
└── @ CallNode (location: (14,0)-(14,10))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :w
β”œβ”€β”€ message_loc: (14,0)-(14,1) = "w"
β”œβ”€β”€ opening_loc: (14,1)-(14,2) = "("
β”œβ”€β”€ arguments:
@@ -67,6 +68,7 @@
β”‚ β”‚ └── @ CallNode (location: (14,2)-(14,9))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (14,2)-(14,5) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -75,20 +77,18 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (14,6)-(14,9))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (14,6)-(14,9) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (14,9)-(14,10) = ")"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :w
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/unparser/corpus/semantic/send.txt b/test/prism/snapshots/unparser/corpus/semantic/send.txt
index 30e2707edc..7f359ed765 100644
--- a/test/prism/snapshots/unparser/corpus/semantic/send.txt
+++ b/test/prism/snapshots/unparser/corpus/semantic/send.txt
@@ -6,16 +6,17 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(1,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ @ CallNode (location: (2,0)-(2,6))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (2,0)-(2,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: (2,3)-(2,4) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -26,8 +27,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (2,5)-(2,6) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (4,0)-(4,15))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (4,0)-(4,10))
@@ -37,14 +37,15 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (4,0)-(4,1))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (4,0)-(4,1) = "a"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (4,1)-(4,2) = "."
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :===
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (4,2)-(4,5) = "==="
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (4,5)-(4,6) = "("
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -53,27 +54,27 @@
β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (4,6)-(4,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (4,6)-(4,7) = "b"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (4,7)-(4,8) = ")"
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :===
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (4,8)-(4,9) = "."
+ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”œβ”€β”€ message_loc: (4,9)-(4,10) = "c"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :c
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :==
β”‚ β”œβ”€β”€ message_loc: (4,11)-(4,13) = "=="
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -82,31 +83,31 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (4,14)-(4,15))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (4,14)-(4,15) = "d"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :==
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (6,0)-(6,15))
β”œβ”€β”€ receiver:
β”‚ @ CallNode (location: (6,0)-(6,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (6,0)-(6,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :==
β”œβ”€β”€ message_loc: (6,2)-(6,4) = "=="
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -119,22 +120,23 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (6,5)-(6,6))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (6,5)-(6,6) = "d"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (6,6)-(6,7) = "."
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (6,7)-(6,8) = "c"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (6,8)-(6,9) = "."
+ β”‚ β”‚ β”œβ”€β”€ name: :===
β”‚ β”‚ β”œβ”€β”€ message_loc: (6,9)-(6,12) = "==="
β”‚ β”‚ β”œβ”€β”€ opening_loc: (6,12)-(6,13) = "("
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -143,20 +145,18 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (6,13)-(6,14))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (6,13)-(6,14) = "c"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: (6,14)-(6,15) = ")"
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :===
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :==
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/unparser/corpus/semantic/while.txt b/test/prism/snapshots/unparser/corpus/semantic/while.txt
index 859c21386e..6339a0208a 100644
--- a/test/prism/snapshots/unparser/corpus/semantic/while.txt
+++ b/test/prism/snapshots/unparser/corpus/semantic/while.txt
@@ -10,6 +10,7 @@
β”‚ β”‚ @ CallNode (location: (1,8)-(1,13))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :b?
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,8)-(1,10) = "b?"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -21,21 +22,20 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,11)-(1,12) = "{"
β”‚ β”‚ β”‚ └── closing_loc: (1,12)-(1,13) = "}"
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :b?
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ @ StatementsNode (location: (1,0)-(1,1))
β”‚ β”‚ └── body: (length: 1)
β”‚ β”‚ └── @ CallNode (location: (1,0)-(1,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── flags: βˆ…
β”œβ”€β”€ @ UntilNode (location: (3,0)-(5,3))
β”‚ β”œβ”€β”€ keyword_loc: (3,0)-(3,5) = "until"
@@ -44,6 +44,7 @@
β”‚ β”‚ @ CallNode (location: (3,6)-(3,11))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :b?
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,6)-(3,8) = "b?"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -55,21 +56,20 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (3,9)-(3,10) = "{"
β”‚ β”‚ β”‚ └── closing_loc: (3,10)-(3,11) = "}"
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :b?
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ @ StatementsNode (location: (4,2)-(4,3))
β”‚ β”‚ └── body: (length: 1)
β”‚ β”‚ └── @ CallNode (location: (4,2)-(4,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (4,2)-(4,3) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── flags: βˆ…
β”œβ”€β”€ @ WhileNode (location: (7,0)-(7,19))
β”‚ β”œβ”€β”€ keyword_loc: (7,10)-(7,15) = "while"
@@ -89,13 +89,13 @@
β”‚ β”‚ β”‚ @ CallNode (location: (7,6)-(7,9))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (7,6)-(7,9) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── operator_loc: (7,4)-(7,5) = "="
β”‚ └── flags: βˆ…
β”œβ”€β”€ @ UntilNode (location: (9,0)-(9,18))
@@ -107,17 +107,18 @@
β”‚ β”‚ β”‚ @ CallNode (location: (9,8)-(9,9))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (9,8)-(9,9) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ right:
β”‚ β”‚ β”‚ @ CallNode (location: (9,13)-(9,18))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (9,13)-(9,14) = "a"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -129,8 +130,7 @@
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (9,15)-(9,16) = "{"
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (9,17)-(9,18) = "}"
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── operator_loc: (9,10)-(9,12) = "&&"
β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ @ StatementsNode (location: (9,0)-(9,1))
@@ -138,13 +138,13 @@
β”‚ β”‚ └── @ CallNode (location: (9,0)-(9,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (9,0)-(9,1) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── flags: βˆ…
β”œβ”€β”€ @ WhileNode (location: (11,0)-(13,3))
β”‚ β”œβ”€β”€ keyword_loc: (11,0)-(11,5) = "while"
@@ -158,13 +158,13 @@
β”‚ β”‚ β”‚ @ CallNode (location: (11,10)-(11,11))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (11,10)-(11,11) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── operator_loc: (11,8)-(11,9) = "="
β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ @ StatementsNode (location: (12,2)-(12,3))
@@ -180,6 +180,7 @@
β”‚ β”‚ @ CallNode (location: (15,8)-(18,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”œβ”€β”€ message_loc: (15,8)-(15,9) = "b"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (15,9)-(15,10) = "("
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -203,17 +204,16 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (17,2)-(17,3))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (17,2)-(17,3) = "c"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (15,18)-(15,20) = "do"
β”‚ β”‚ β”‚ └── closing_loc: (18,0)-(18,3) = "end"
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :b
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ @ StatementsNode (location: (15,0)-(15,1))
β”‚ β”‚ └── body: (length: 1)
@@ -238,13 +238,13 @@
β”‚ β”‚ β”‚ @ CallNode (location: (21,8)-(21,11))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :exp
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (21,8)-(21,11) = "exp"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :exp
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── operator_loc: (21,6)-(21,7) = "="
β”‚ └── @ WhileNode (location: (22,2)-(24,5))
β”‚ β”œβ”€β”€ keyword_loc: (22,2)-(22,7) = "while"
@@ -264,13 +264,13 @@
β”‚ β”‚ β”‚ @ CallNode (location: (23,10)-(23,13))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (23,10)-(23,13) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── operator_loc: (23,8)-(23,9) = "="
β”‚ └── flags: βˆ…
β”œβ”€β”€ end_keyword_loc: (25,0)-(25,3) = "end"
diff --git a/test/prism/snapshots/until.txt b/test/prism/snapshots/until.txt
index 7e741603db..dd50b084a1 100644
--- a/test/prism/snapshots/until.txt
+++ b/test/prism/snapshots/until.txt
@@ -68,19 +68,20 @@
β”‚ β”‚ @ CallNode (location: (11,17)-(11,21))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar?
β”‚ β”‚ β”œβ”€β”€ message_loc: (11,17)-(11,21) = "bar?"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :bar?
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ @ StatementsNode (location: (11,0)-(11,10))
β”‚ β”‚ └── body: (length: 1)
β”‚ β”‚ └── @ CallNode (location: (11,0)-(11,10))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (11,0)-(11,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -99,8 +100,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── flags: βˆ…
└── @ WhileNode (location: (13,0)-(13,20))
β”œβ”€β”€ keyword_loc: (13,4)-(13,9) = "while"
@@ -111,13 +111,13 @@
β”‚ β”‚ @ CallNode (location: (13,10)-(13,13))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (13,10)-(13,13) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ LocalVariableTargetNode (location: (13,17)-(13,20))
β”‚ β”‚ β”œβ”€β”€ name: :baz
@@ -129,11 +129,11 @@
β”‚ └── @ CallNode (location: (13,0)-(13,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (13,0)-(13,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
└── flags: βˆ…
diff --git a/test/prism/snapshots/variables.txt b/test/prism/snapshots/variables.txt
index 9bd5c42904..887b2a1b47 100644
--- a/test/prism/snapshots/variables.txt
+++ b/test/prism/snapshots/variables.txt
@@ -61,13 +61,13 @@
β”œβ”€β”€ @ CallNode (location: (17,0)-(17,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (17,0)-(17,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ @ LocalVariableWriteNode (location: (19,0)-(19,7))
β”‚ β”œβ”€β”€ name: :abc
β”‚ β”œβ”€β”€ depth: 0
@@ -319,33 +319,33 @@
β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (45,1)-(45,2))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (45,1)-(45,2) = "a"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (45,4)-(45,5))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (45,4)-(45,5) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── @ CallNode (location: (45,7)-(45,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”œβ”€β”€ message_loc: (45,7)-(45,8) = "c"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :c
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ opening_loc: (45,0)-(45,1) = "("
β”‚ └── closing_loc: (45,8)-(45,9) = ")"
└── @ MultiWriteNode (location: (47,0)-(47,17))
diff --git a/test/prism/snapshots/while.txt b/test/prism/snapshots/while.txt
index 58cbac8ba5..3d74f777b6 100644
--- a/test/prism/snapshots/while.txt
+++ b/test/prism/snapshots/while.txt
@@ -68,19 +68,20 @@
β”‚ β”‚ @ CallNode (location: (11,17)-(11,21))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar?
β”‚ β”‚ β”œβ”€β”€ message_loc: (11,17)-(11,21) = "bar?"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :bar?
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ @ StatementsNode (location: (11,0)-(11,10))
β”‚ β”‚ └── body: (length: 1)
β”‚ β”‚ └── @ CallNode (location: (11,0)-(11,10))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (11,0)-(11,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -99,8 +100,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── flags: βˆ…
β”œβ”€β”€ @ WhileNode (location: (13,0)-(13,50))
β”‚ β”œβ”€β”€ keyword_loc: (13,0)-(13,5) = "while"
@@ -123,6 +123,7 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (13,23)-(13,33))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :tap
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (13,23)-(13,26) = "tap"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -134,8 +135,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (13,27)-(13,29) = "do"
β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (13,30)-(13,33) = "end"
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :tap
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ rest: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ posts: (length: 0)
β”‚ β”‚ β”‚ β”œβ”€β”€ keywords: (length: 0)
@@ -179,6 +179,7 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (15,20)-(15,30))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :tap
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (15,20)-(15,23) = "tap"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -190,8 +191,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (15,24)-(15,26) = "do"
β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (15,27)-(15,30) = "end"
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :tap
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── operator_loc: (15,18)-(15,19) = "="
β”‚ β”‚ β”œβ”€β”€ end_keyword_loc: (15,32)-(15,35) = "end"
β”‚ β”‚ └── name: :Foo
@@ -218,6 +218,7 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (17,21)-(17,31))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :tap
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (17,21)-(17,24) = "tap"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -229,8 +230,7 @@
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (17,25)-(17,27) = "do"
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (17,28)-(17,31) = "end"
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :tap
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── end_keyword_loc: (17,33)-(17,36) = "end"
β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ @ StatementsNode (location: (17,38)-(17,43))
@@ -260,6 +260,7 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (19,25)-(19,35))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :tap
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (19,25)-(19,28) = "tap"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -271,8 +272,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (19,29)-(19,31) = "do"
β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (19,32)-(19,35) = "end"
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :tap
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── operator_loc: (19,23)-(19,24) = "="
β”‚ β”‚ └── end_keyword_loc: (19,37)-(19,40) = "end"
β”‚ β”œβ”€β”€ statements:
@@ -297,6 +297,7 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (21,16)-(21,26))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (21,16)-(21,19) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -308,8 +309,7 @@
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (21,20)-(21,22) = "do"
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (21,23)-(21,26) = "end"
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ locals: []
β”‚ β”‚ β”œβ”€β”€ def_keyword_loc: (21,6)-(21,9) = "def"
β”‚ β”‚ β”œβ”€β”€ operator_loc: βˆ…
@@ -328,13 +328,13 @@
β”‚ β”‚ @ CallNode (location: (23,10)-(23,13))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (23,10)-(23,13) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ pattern:
β”‚ β”‚ @ LocalVariableTargetNode (location: (23,17)-(23,20))
β”‚ β”‚ β”œβ”€β”€ name: :baz
@@ -346,11 +346,11 @@
β”‚ └── @ CallNode (location: (23,0)-(23,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (23,0)-(23,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
└── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/ambiuous_quoted_label_in_ternary_operator.txt b/test/prism/snapshots/whitequark/ambiuous_quoted_label_in_ternary_operator.txt
index 8951625c11..e407945622 100644
--- a/test/prism/snapshots/whitequark/ambiuous_quoted_label_in_ternary_operator.txt
+++ b/test/prism/snapshots/whitequark/ambiuous_quoted_label_in_ternary_operator.txt
@@ -9,13 +9,13 @@
β”‚ @ CallNode (location: (1,0)-(1,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ then_keyword_loc: (1,2)-(1,3) = "?"
β”œβ”€β”€ statements:
β”‚ @ StatementsNode (location: (1,4)-(1,10))
@@ -25,14 +25,15 @@
β”‚ β”‚ @ CallNode (location: (1,4)-(1,5))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,5) = "b"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :b
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :&
β”‚ β”œβ”€β”€ message_loc: (1,6)-(1,7) = "&"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -47,8 +48,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :&
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ consequent:
β”‚ @ ElseNode (location: (1,10)-(1,15))
β”‚ β”œβ”€β”€ else_keyword_loc: (1,10)-(1,11) = ":"
diff --git a/test/prism/snapshots/whitequark/and.txt b/test/prism/snapshots/whitequark/and.txt
index dd415893a8..a0bbc72917 100644
--- a/test/prism/snapshots/whitequark/and.txt
+++ b/test/prism/snapshots/whitequark/and.txt
@@ -8,46 +8,46 @@
β”‚ β”‚ @ CallNode (location: (1,0)-(1,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ right:
β”‚ β”‚ @ CallNode (location: (1,7)-(1,10))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,7)-(1,10) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── operator_loc: (1,4)-(1,6) = "&&"
└── @ AndNode (location: (3,0)-(3,11))
β”œβ”€β”€ left:
β”‚ @ CallNode (location: (3,0)-(3,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (3,0)-(3,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ right:
β”‚ @ CallNode (location: (3,8)-(3,11))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (3,8)-(3,11) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :bar
+ β”‚ └── flags: variable_call
└── operator_loc: (3,4)-(3,7) = "and"
diff --git a/test/prism/snapshots/whitequark/and_asgn.txt b/test/prism/snapshots/whitequark/and_asgn.txt
index c401e6ac2d..5c6ae1d703 100644
--- a/test/prism/snapshots/whitequark/and_asgn.txt
+++ b/test/prism/snapshots/whitequark/and_asgn.txt
@@ -8,13 +8,13 @@
β”‚ β”‚ @ CallNode (location: (1,0)-(1,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (1,3)-(1,4) = "."
β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,5) = "a"
β”‚ β”œβ”€β”€ flags: βˆ…
@@ -29,13 +29,13 @@
β”‚ @ CallNode (location: (3,0)-(3,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (3,0)-(3,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: βˆ…
β”œβ”€β”€ opening_loc: (3,3)-(3,4) = "["
β”œβ”€β”€ arguments:
diff --git a/test/prism/snapshots/whitequark/and_or_masgn.txt b/test/prism/snapshots/whitequark/and_or_masgn.txt
index ac148ceadf..033c4f6321 100644
--- a/test/prism/snapshots/whitequark/and_or_masgn.txt
+++ b/test/prism/snapshots/whitequark/and_or_masgn.txt
@@ -8,13 +8,13 @@
β”‚ β”‚ @ CallNode (location: (1,0)-(1,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ right:
β”‚ β”‚ @ ParenthesesNode (location: (1,7)-(1,19))
β”‚ β”‚ β”œβ”€β”€ body:
@@ -37,13 +37,13 @@
β”‚ β”‚ β”‚ @ CallNode (location: (1,15)-(1,18))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,15)-(1,18) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,7)-(1,8) = "("
β”‚ β”‚ └── closing_loc: (1,18)-(1,19) = ")"
β”‚ └── operator_loc: (1,4)-(1,6) = "&&"
@@ -52,13 +52,13 @@
β”‚ @ CallNode (location: (3,0)-(3,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (3,0)-(3,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ right:
β”‚ @ ParenthesesNode (location: (3,7)-(3,19))
β”‚ β”œβ”€β”€ body:
@@ -81,13 +81,13 @@
β”‚ β”‚ @ CallNode (location: (3,15)-(3,18))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,15)-(3,18) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ opening_loc: (3,7)-(3,8) = "("
β”‚ └── closing_loc: (3,18)-(3,19) = ")"
└── operator_loc: (3,4)-(3,6) = "||"
diff --git a/test/prism/snapshots/whitequark/anonymous_blockarg.txt b/test/prism/snapshots/whitequark/anonymous_blockarg.txt
index 65d9d645e8..639684a4e9 100644
--- a/test/prism/snapshots/whitequark/anonymous_blockarg.txt
+++ b/test/prism/snapshots/whitequark/anonymous_blockarg.txt
@@ -26,6 +26,7 @@
β”‚ └── @ CallNode (location: (1,12)-(1,17))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (1,12)-(1,15) = "bar"
β”‚ β”œβ”€β”€ opening_loc: (1,15)-(1,16) = "("
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -34,8 +35,7 @@
β”‚ β”‚ @ BlockArgumentNode (location: (1,16)-(1,17))
β”‚ β”‚ β”œβ”€β”€ expression: βˆ…
β”‚ β”‚ └── operator_loc: (1,16)-(1,17) = "&"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ locals: [:&]
β”œβ”€β”€ def_keyword_loc: (1,0)-(1,3) = "def"
β”œβ”€β”€ operator_loc: βˆ…
diff --git a/test/prism/snapshots/whitequark/arg_label.txt b/test/prism/snapshots/whitequark/arg_label.txt
index e2e9386147..1f04f6d5f1 100644
--- a/test/prism/snapshots/whitequark/arg_label.txt
+++ b/test/prism/snapshots/whitequark/arg_label.txt
@@ -14,6 +14,7 @@
β”‚ β”‚ └── @ CallNode (location: (2,1)-(2,4))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (2,1)-(2,2) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -27,8 +28,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ locals: []
β”‚ β”œβ”€β”€ def_keyword_loc: (1,0)-(1,3) = "def"
β”‚ β”œβ”€β”€ operator_loc: βˆ…
@@ -47,6 +47,7 @@
β”‚ β”‚ └── @ CallNode (location: (4,10)-(4,13))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (4,10)-(4,11) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -60,8 +61,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ locals: []
β”‚ β”œβ”€β”€ def_keyword_loc: (4,0)-(4,3) = "def"
β”‚ β”œβ”€β”€ operator_loc: βˆ…
@@ -72,6 +72,7 @@
└── @ CallNode (location: (6,0)-(6,12))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (6,0)-(6,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -91,6 +92,7 @@
β”‚ β”‚ └── @ CallNode (location: (6,7)-(6,10))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (6,7)-(6,8) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -104,9 +106,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (6,2)-(6,3) = "{"
β”‚ └── closing_loc: (6,11)-(6,12) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/arg_scope.txt b/test/prism/snapshots/whitequark/arg_scope.txt
index 48ed1b3e96..cb08a16a4c 100644
--- a/test/prism/snapshots/whitequark/arg_scope.txt
+++ b/test/prism/snapshots/whitequark/arg_scope.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,13))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :lambda
β”œβ”€β”€ message_loc: (1,0)-(1,6) = "lambda"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -29,5 +30,4 @@
β”‚ β”‚ └── depth: 0
β”‚ β”œβ”€β”€ opening_loc: (1,6)-(1,7) = "{"
β”‚ └── closing_loc: (1,12)-(1,13) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :lambda
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/args_args_assocs.txt b/test/prism/snapshots/whitequark/args_args_assocs.txt
index fa7d0b291f..ce9ef9b4c1 100644
--- a/test/prism/snapshots/whitequark/args_args_assocs.txt
+++ b/test/prism/snapshots/whitequark/args_args_assocs.txt
@@ -6,6 +6,7 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(1,19))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :fun
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "fun"
β”‚ β”œβ”€β”€ opening_loc: (1,3)-(1,4) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -14,13 +15,13 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (1,4)-(1,7))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,7) = "foo"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── @ KeywordHashNode (location: (1,9)-(1,18))
β”‚ β”‚ β”‚ └── elements: (length: 1)
β”‚ β”‚ β”‚ └── @ AssocNode (location: (1,9)-(1,18))
@@ -37,11 +38,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (1,18)-(1,19) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :fun
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (3,0)-(3,24))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :fun
β”œβ”€β”€ message_loc: (3,0)-(3,3) = "fun"
β”œβ”€β”€ opening_loc: (3,3)-(3,4) = "("
β”œβ”€β”€ arguments:
@@ -50,13 +51,13 @@
β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (3,4)-(3,7))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,4)-(3,7) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── @ KeywordHashNode (location: (3,9)-(3,18))
β”‚ β”‚ └── elements: (length: 1)
β”‚ β”‚ └── @ AssocNode (location: (3,9)-(3,18))
@@ -78,13 +79,12 @@
β”‚ β”‚ @ CallNode (location: (3,21)-(3,24))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,21)-(3,24) = "baz"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── operator_loc: (3,20)-(3,21) = "&"
- β”œβ”€β”€ flags: βˆ…
- └── name: :fun
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/args_args_assocs_comma.txt b/test/prism/snapshots/whitequark/args_args_assocs_comma.txt
index 1ccd9eaf07..ca87c57e69 100644
--- a/test/prism/snapshots/whitequark/args_args_assocs_comma.txt
+++ b/test/prism/snapshots/whitequark/args_args_assocs_comma.txt
@@ -8,14 +8,15 @@
β”‚ @ CallNode (location: (1,0)-(1,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :[]
β”œβ”€β”€ message_loc: (1,3)-(1,20) = "[bar, :baz => 1,]"
β”œβ”€β”€ opening_loc: (1,3)-(1,4) = "["
β”œβ”€β”€ arguments:
@@ -24,13 +25,13 @@
β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (1,4)-(1,7))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,7) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── @ KeywordHashNode (location: (1,9)-(1,18))
β”‚ β”‚ └── elements: (length: 1)
β”‚ β”‚ └── @ AssocNode (location: (1,9)-(1,18))
@@ -47,5 +48,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (1,19)-(1,20) = "]"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :[]
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/args_args_comma.txt b/test/prism/snapshots/whitequark/args_args_comma.txt
index 15f72bd075..2bd95fde0f 100644
--- a/test/prism/snapshots/whitequark/args_args_comma.txt
+++ b/test/prism/snapshots/whitequark/args_args_comma.txt
@@ -8,14 +8,15 @@
β”‚ @ CallNode (location: (1,0)-(1,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :[]
β”œβ”€β”€ message_loc: (1,3)-(1,9) = "[bar,]"
β”œβ”€β”€ opening_loc: (1,3)-(1,4) = "["
β”œβ”€β”€ arguments:
@@ -24,15 +25,14 @@
β”‚ β”‚ └── @ CallNode (location: (1,4)-(1,7))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,7) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (1,8)-(1,9) = "]"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :[]
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/args_args_star.txt b/test/prism/snapshots/whitequark/args_args_star.txt
index 48028b6f39..21ce7af2b4 100644
--- a/test/prism/snapshots/whitequark/args_args_star.txt
+++ b/test/prism/snapshots/whitequark/args_args_star.txt
@@ -6,6 +6,7 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(1,14))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :fun
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "fun"
β”‚ β”œβ”€β”€ opening_loc: (1,3)-(1,4) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -14,34 +15,34 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (1,4)-(1,7))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,7) = "foo"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── @ SplatNode (location: (1,9)-(1,13))
β”‚ β”‚ β”‚ β”œβ”€β”€ operator_loc: (1,9)-(1,10) = "*"
β”‚ β”‚ β”‚ └── expression:
β”‚ β”‚ β”‚ @ CallNode (location: (1,10)-(1,13))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,10)-(1,13) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (1,13)-(1,14) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :fun
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (3,0)-(3,19))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :fun
β”œβ”€β”€ message_loc: (3,0)-(3,3) = "fun"
β”œβ”€β”€ opening_loc: (3,3)-(3,4) = "("
β”œβ”€β”€ arguments:
@@ -50,26 +51,26 @@
β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (3,4)-(3,7))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,4)-(3,7) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── @ SplatNode (location: (3,9)-(3,13))
β”‚ β”‚ β”œβ”€β”€ operator_loc: (3,9)-(3,10) = "*"
β”‚ β”‚ └── expression:
β”‚ β”‚ @ CallNode (location: (3,10)-(3,13))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,10)-(3,13) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (3,19)-(3,20) = ")"
β”œβ”€β”€ block:
@@ -78,13 +79,12 @@
β”‚ β”‚ @ CallNode (location: (3,16)-(3,19))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,16)-(3,19) = "baz"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── operator_loc: (3,15)-(3,16) = "&"
- β”œβ”€β”€ flags: βˆ…
- └── name: :fun
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/args_assocs.txt b/test/prism/snapshots/whitequark/args_assocs.txt
index 6730512872..b136bbd322 100644
--- a/test/prism/snapshots/whitequark/args_assocs.txt
+++ b/test/prism/snapshots/whitequark/args_assocs.txt
@@ -6,6 +6,7 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(1,14))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :fun
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "fun"
β”‚ β”œβ”€β”€ opening_loc: (1,3)-(1,4) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -27,11 +28,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (1,13)-(1,14) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :fun
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (3,0)-(3,19))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :fun
β”‚ β”œβ”€β”€ message_loc: (3,0)-(3,3) = "fun"
β”‚ β”œβ”€β”€ opening_loc: (3,3)-(3,4) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -58,20 +59,20 @@
β”‚ β”‚ β”‚ @ CallNode (location: (3,16)-(3,19))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,16)-(3,19) = "baz"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── operator_loc: (3,15)-(3,16) = "&"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :fun
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (5,0)-(5,21))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ SelfNode (location: (5,0)-(5,4))
β”‚ β”œβ”€β”€ call_operator_loc: (5,4)-(5,5) = "."
+ β”‚ β”œβ”€β”€ name: :[]=
β”‚ β”œβ”€β”€ message_loc: (5,5)-(5,8) = "[]="
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -80,13 +81,13 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (5,9)-(5,12))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (5,9)-(5,12) = "foo"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── @ KeywordHashNode (location: (5,14)-(5,21))
β”‚ β”‚ β”‚ └── elements: (length: 1)
β”‚ β”‚ β”‚ └── @ AssocNode (location: (5,14)-(5,21))
@@ -103,12 +104,12 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :[]=
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (7,0)-(7,15))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ SelfNode (location: (7,0)-(7,4))
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :[]
β”‚ β”œβ”€β”€ message_loc: (7,4)-(7,15) = "[:bar => 1]"
β”‚ β”œβ”€β”€ opening_loc: (7,4)-(7,5) = "["
β”‚ β”œβ”€β”€ arguments:
@@ -130,8 +131,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (7,14)-(7,15) = "]"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :[]
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ SuperNode (location: (9,0)-(9,17))
β”‚ β”œβ”€β”€ keyword_loc: (9,0)-(9,5) = "super"
β”‚ β”œβ”€β”€ lparen_loc: (9,5)-(9,6) = "("
diff --git a/test/prism/snapshots/whitequark/args_assocs_comma.txt b/test/prism/snapshots/whitequark/args_assocs_comma.txt
index ee8c0ac408..bb3dc68d06 100644
--- a/test/prism/snapshots/whitequark/args_assocs_comma.txt
+++ b/test/prism/snapshots/whitequark/args_assocs_comma.txt
@@ -8,14 +8,15 @@
β”‚ @ CallNode (location: (1,0)-(1,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :[]
β”œβ”€β”€ message_loc: (1,3)-(1,15) = "[:baz => 1,]"
β”œβ”€β”€ opening_loc: (1,3)-(1,4) = "["
β”œβ”€β”€ arguments:
@@ -37,5 +38,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (1,14)-(1,15) = "]"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :[]
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/args_assocs_legacy.txt b/test/prism/snapshots/whitequark/args_assocs_legacy.txt
index 6730512872..b136bbd322 100644
--- a/test/prism/snapshots/whitequark/args_assocs_legacy.txt
+++ b/test/prism/snapshots/whitequark/args_assocs_legacy.txt
@@ -6,6 +6,7 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(1,14))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :fun
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "fun"
β”‚ β”œβ”€β”€ opening_loc: (1,3)-(1,4) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -27,11 +28,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (1,13)-(1,14) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :fun
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (3,0)-(3,19))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :fun
β”‚ β”œβ”€β”€ message_loc: (3,0)-(3,3) = "fun"
β”‚ β”œβ”€β”€ opening_loc: (3,3)-(3,4) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -58,20 +59,20 @@
β”‚ β”‚ β”‚ @ CallNode (location: (3,16)-(3,19))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,16)-(3,19) = "baz"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── operator_loc: (3,15)-(3,16) = "&"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :fun
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (5,0)-(5,21))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ SelfNode (location: (5,0)-(5,4))
β”‚ β”œβ”€β”€ call_operator_loc: (5,4)-(5,5) = "."
+ β”‚ β”œβ”€β”€ name: :[]=
β”‚ β”œβ”€β”€ message_loc: (5,5)-(5,8) = "[]="
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -80,13 +81,13 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (5,9)-(5,12))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (5,9)-(5,12) = "foo"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── @ KeywordHashNode (location: (5,14)-(5,21))
β”‚ β”‚ β”‚ └── elements: (length: 1)
β”‚ β”‚ β”‚ └── @ AssocNode (location: (5,14)-(5,21))
@@ -103,12 +104,12 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :[]=
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (7,0)-(7,15))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ SelfNode (location: (7,0)-(7,4))
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :[]
β”‚ β”œβ”€β”€ message_loc: (7,4)-(7,15) = "[:bar => 1]"
β”‚ β”œβ”€β”€ opening_loc: (7,4)-(7,5) = "["
β”‚ β”œβ”€β”€ arguments:
@@ -130,8 +131,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (7,14)-(7,15) = "]"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :[]
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ SuperNode (location: (9,0)-(9,17))
β”‚ β”œβ”€β”€ keyword_loc: (9,0)-(9,5) = "super"
β”‚ β”œβ”€β”€ lparen_loc: (9,5)-(9,6) = "("
diff --git a/test/prism/snapshots/whitequark/args_block_pass.txt b/test/prism/snapshots/whitequark/args_block_pass.txt
index 690f2056f0..b4c70862c1 100644
--- a/test/prism/snapshots/whitequark/args_block_pass.txt
+++ b/test/prism/snapshots/whitequark/args_block_pass.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,8))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :fun
β”œβ”€β”€ message_loc: (1,0)-(1,3) = "fun"
β”œβ”€β”€ opening_loc: (1,3)-(1,4) = "("
β”œβ”€β”€ arguments: βˆ…
@@ -16,13 +17,12 @@
β”‚ β”‚ @ CallNode (location: (1,5)-(1,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,5)-(1,8) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── operator_loc: (1,4)-(1,5) = "&"
- β”œβ”€β”€ flags: βˆ…
- └── name: :fun
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/args_cmd.txt b/test/prism/snapshots/whitequark/args_cmd.txt
index 9c77fa0eac..eca8ff1ce8 100644
--- a/test/prism/snapshots/whitequark/args_cmd.txt
+++ b/test/prism/snapshots/whitequark/args_cmd.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,10))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :fun
β”œβ”€β”€ message_loc: (1,0)-(1,3) = "fun"
β”œβ”€β”€ opening_loc: (1,3)-(1,4) = "("
β”œβ”€β”€ arguments:
@@ -14,6 +15,7 @@
β”‚ β”‚ └── @ CallNode (location: (1,4)-(1,9))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :f
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,5) = "f"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -22,20 +24,18 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (1,6)-(1,9))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,6)-(1,9) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :f
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (1,9)-(1,10) = ")"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :fun
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/args_star.txt b/test/prism/snapshots/whitequark/args_star.txt
index 7ebe20a9a1..0715016d55 100644
--- a/test/prism/snapshots/whitequark/args_star.txt
+++ b/test/prism/snapshots/whitequark/args_star.txt
@@ -6,6 +6,7 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(1,9))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :fun
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "fun"
β”‚ β”œβ”€β”€ opening_loc: (1,3)-(1,4) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -17,21 +18,21 @@
β”‚ β”‚ β”‚ @ CallNode (location: (1,5)-(1,8))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,5)-(1,8) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (1,8)-(1,9) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :fun
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (3,0)-(3,14))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :fun
β”œβ”€β”€ message_loc: (3,0)-(3,3) = "fun"
β”œβ”€β”€ opening_loc: (3,3)-(3,4) = "("
β”œβ”€β”€ arguments:
@@ -43,13 +44,13 @@
β”‚ β”‚ @ CallNode (location: (3,5)-(3,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,5)-(3,8) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (3,14)-(3,15) = ")"
β”œβ”€β”€ block:
@@ -58,13 +59,12 @@
β”‚ β”‚ @ CallNode (location: (3,11)-(3,14))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,11)-(3,14) = "baz"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── operator_loc: (3,10)-(3,11) = "&"
- β”œβ”€β”€ flags: βˆ…
- └── name: :fun
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/array_splat.txt b/test/prism/snapshots/whitequark/array_splat.txt
index 5119e29529..f0e14838e4 100644
--- a/test/prism/snapshots/whitequark/array_splat.txt
+++ b/test/prism/snapshots/whitequark/array_splat.txt
@@ -11,13 +11,13 @@
β”‚ β”‚ @ CallNode (location: (1,2)-(1,5))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,2)-(1,5) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ opening_loc: (1,0)-(1,1) = "["
β”‚ β”œβ”€β”€ closing_loc: (1,5)-(1,6) = "]"
β”‚ └── flags: contains_splat
@@ -31,13 +31,13 @@
β”‚ β”‚ β”‚ @ CallNode (location: (3,5)-(3,8))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,5)-(3,8) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── @ IntegerNode (location: (3,10)-(3,11))
β”‚ β”‚ └── flags: decimal
β”‚ β”œβ”€β”€ opening_loc: (3,0)-(3,1) = "["
@@ -53,13 +53,13 @@
β”‚ @ CallNode (location: (5,5)-(5,8))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (5,5)-(5,8) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ opening_loc: (5,0)-(5,1) = "["
β”œβ”€β”€ closing_loc: (5,8)-(5,9) = "]"
└── flags: contains_splat
diff --git a/test/prism/snapshots/whitequark/array_symbols_interp.txt b/test/prism/snapshots/whitequark/array_symbols_interp.txt
index 047e91a0c0..433e78de7f 100644
--- a/test/prism/snapshots/whitequark/array_symbols_interp.txt
+++ b/test/prism/snapshots/whitequark/array_symbols_interp.txt
@@ -21,13 +21,13 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (1,9)-(1,12))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,9)-(1,12) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── closing_loc: (1,12)-(1,13) = "}"
β”‚ β”‚ └── closing_loc: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,0)-(1,3) = "%I["
@@ -52,13 +52,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (3,8)-(3,11))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,8)-(3,11) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── closing_loc: (3,11)-(3,12) = "}"
β”‚ └── closing_loc: βˆ…
β”œβ”€β”€ opening_loc: (3,0)-(3,3) = "%I["
diff --git a/test/prism/snapshots/whitequark/array_words_interp.txt b/test/prism/snapshots/whitequark/array_words_interp.txt
index 7fb2f3620d..ff3bb3d0ed 100644
--- a/test/prism/snapshots/whitequark/array_words_interp.txt
+++ b/test/prism/snapshots/whitequark/array_words_interp.txt
@@ -22,13 +22,13 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (1,9)-(1,12))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,9)-(1,12) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── closing_loc: (1,12)-(1,13) = "}"
β”‚ β”‚ └── closing_loc: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,0)-(1,3) = "%W["
@@ -53,13 +53,13 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (3,9)-(3,12))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,9)-(3,12) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── closing_loc: (3,12)-(3,13) = "}"
β”‚ β”‚ β”œβ”€β”€ @ StringNode (location: (3,13)-(3,16))
β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/asgn_cmd.txt b/test/prism/snapshots/whitequark/asgn_cmd.txt
index 60ac23b405..79dc064bb8 100644
--- a/test/prism/snapshots/whitequark/asgn_cmd.txt
+++ b/test/prism/snapshots/whitequark/asgn_cmd.txt
@@ -16,6 +16,7 @@
β”‚ β”‚ β”‚ @ CallNode (location: (1,12)-(1,17))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :m
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,12)-(1,13) = "m"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -27,8 +28,7 @@
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :m
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── operator_loc: (1,10)-(1,11) = "="
β”‚ └── operator_loc: (1,4)-(1,5) = "="
└── @ LocalVariableWriteNode (location: (3,0)-(3,11))
@@ -39,6 +39,7 @@
β”‚ @ CallNode (location: (3,6)-(3,11))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :m
β”‚ β”œβ”€β”€ message_loc: (3,6)-(3,7) = "m"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -50,6 +51,5 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :m
+ β”‚ └── flags: βˆ…
└── operator_loc: (3,4)-(3,5) = "="
diff --git a/test/prism/snapshots/whitequark/asgn_mrhs.txt b/test/prism/snapshots/whitequark/asgn_mrhs.txt
index 6ba74dc003..869a2d0626 100644
--- a/test/prism/snapshots/whitequark/asgn_mrhs.txt
+++ b/test/prism/snapshots/whitequark/asgn_mrhs.txt
@@ -16,13 +16,13 @@
β”‚ β”‚ β”‚ @ CallNode (location: (1,7)-(1,10))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,7)-(1,10) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ └── flags: contains_splat
@@ -37,13 +37,13 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (3,6)-(3,9))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,6)-(3,9) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── @ IntegerNode (location: (3,11)-(3,12))
β”‚ β”‚ β”‚ └── flags: decimal
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
@@ -60,26 +60,26 @@
β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (5,6)-(5,9))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (5,6)-(5,9) = "baz"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── @ SplatNode (location: (5,11)-(5,15))
β”‚ β”‚ β”œβ”€β”€ operator_loc: (5,11)-(5,12) = "*"
β”‚ β”‚ └── expression:
β”‚ β”‚ @ CallNode (location: (5,12)-(5,15))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (5,12)-(5,15) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ └── flags: contains_splat
diff --git a/test/prism/snapshots/whitequark/bang.txt b/test/prism/snapshots/whitequark/bang.txt
index f045313ec6..0638e48e46 100644
--- a/test/prism/snapshots/whitequark/bang.txt
+++ b/test/prism/snapshots/whitequark/bang.txt
@@ -8,18 +8,18 @@
β”‚ @ CallNode (location: (1,1)-(1,4))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (1,1)-(1,4) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :!
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "!"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :!
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/bang_cmd.txt b/test/prism/snapshots/whitequark/bang_cmd.txt
index 566a26af66..df6f18ae81 100644
--- a/test/prism/snapshots/whitequark/bang_cmd.txt
+++ b/test/prism/snapshots/whitequark/bang_cmd.txt
@@ -8,6 +8,7 @@
β”‚ @ CallNode (location: (1,1)-(1,6))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :m
β”‚ β”œβ”€β”€ message_loc: (1,1)-(1,2) = "m"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -16,23 +17,22 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (1,3)-(1,6))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,3)-(1,6) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :m
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :!
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "!"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :!
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/begin_cmdarg.txt b/test/prism/snapshots/whitequark/begin_cmdarg.txt
index 2be353d9d4..696be9e2f8 100644
--- a/test/prism/snapshots/whitequark/begin_cmdarg.txt
+++ b/test/prism/snapshots/whitequark/begin_cmdarg.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,28))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :p
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "p"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -21,6 +22,7 @@
β”‚ β”‚ β”‚ β”‚ @ IntegerNode (location: (1,8)-(1,9))
β”‚ β”‚ β”‚ β”‚ └── flags: decimal
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (1,9)-(1,10) = "."
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :times
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,10)-(1,15) = "times"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -36,8 +38,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: decimal
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,16)-(1,18) = "do"
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (1,21)-(1,24) = "end"
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :times
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ rescue_clause: βˆ…
β”‚ β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”‚ β”œβ”€β”€ ensure_clause: βˆ…
@@ -45,5 +46,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :p
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/beginless_erange_after_newline.txt b/test/prism/snapshots/whitequark/beginless_erange_after_newline.txt
index ad0628c509..97cdd35f5c 100644
--- a/test/prism/snapshots/whitequark/beginless_erange_after_newline.txt
+++ b/test/prism/snapshots/whitequark/beginless_erange_after_newline.txt
@@ -6,13 +6,13 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(1,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
└── @ RangeNode (location: (2,0)-(2,6))
β”œβ”€β”€ left: βˆ…
β”œβ”€β”€ right:
diff --git a/test/prism/snapshots/whitequark/beginless_irange_after_newline.txt b/test/prism/snapshots/whitequark/beginless_irange_after_newline.txt
index 58ad1bfa4e..6792574ec9 100644
--- a/test/prism/snapshots/whitequark/beginless_irange_after_newline.txt
+++ b/test/prism/snapshots/whitequark/beginless_irange_after_newline.txt
@@ -6,13 +6,13 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(1,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
└── @ RangeNode (location: (2,0)-(2,5))
β”œβ”€β”€ left: βˆ…
β”œβ”€β”€ right:
diff --git a/test/prism/snapshots/whitequark/blockargs.txt b/test/prism/snapshots/whitequark/blockargs.txt
index 78281ce706..ad2210cb6e 100644
--- a/test/prism/snapshots/whitequark/blockargs.txt
+++ b/test/prism/snapshots/whitequark/blockargs.txt
@@ -6,6 +6,7 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(1,5))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :f
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -17,11 +18,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,1)-(1,2) = "{"
β”‚ β”‚ └── closing_loc: (1,4)-(1,5) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :f
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (3,0)-(3,8))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :f
β”‚ β”œβ”€β”€ message_loc: (3,0)-(3,1) = "f"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -38,11 +39,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (3,1)-(3,2) = "{"
β”‚ β”‚ └── closing_loc: (3,7)-(3,8) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :f
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (5,0)-(5,9))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :f
β”‚ β”œβ”€β”€ message_loc: (5,0)-(5,1) = "f"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -71,11 +72,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (5,1)-(5,2) = "{"
β”‚ β”‚ └── closing_loc: (5,8)-(5,9) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :f
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (7,0)-(7,16))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :f
β”‚ β”œβ”€β”€ message_loc: (7,0)-(7,1) = "f"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -108,11 +109,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (7,1)-(7,2) = "{"
β”‚ β”‚ └── closing_loc: (7,15)-(7,16) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :f
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (9,0)-(9,12))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :f
β”‚ β”œβ”€β”€ message_loc: (9,0)-(9,1) = "f"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -145,11 +146,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (9,1)-(9,2) = "{"
β”‚ β”‚ └── closing_loc: (9,11)-(9,12) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :f
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (11,0)-(11,16))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :f
β”‚ β”œβ”€β”€ message_loc: (11,0)-(11,1) = "f"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -184,11 +185,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (11,1)-(11,2) = "{"
β”‚ β”‚ └── closing_loc: (11,15)-(11,16) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :f
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (13,0)-(13,13))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :f
β”‚ β”œβ”€β”€ message_loc: (13,0)-(13,1) = "f"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -221,11 +222,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (13,1)-(13,2) = "{"
β”‚ β”‚ └── closing_loc: (13,12)-(13,13) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :f
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (15,0)-(15,9))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :f
β”‚ β”œβ”€β”€ message_loc: (15,0)-(15,1) = "f"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -254,11 +255,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (15,1)-(15,2) = "{"
β”‚ β”‚ └── closing_loc: (15,8)-(15,9) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :f
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (17,0)-(17,8))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :f
β”‚ β”œβ”€β”€ message_loc: (17,0)-(17,1) = "f"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -287,11 +288,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (17,1)-(17,2) = "{"
β”‚ β”‚ └── closing_loc: (17,7)-(17,8) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :f
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (19,0)-(21,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :f
β”‚ β”œβ”€β”€ message_loc: (19,0)-(19,1) = "f"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -310,11 +311,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (19,1)-(19,2) = "{"
β”‚ β”‚ └── closing_loc: (21,2)-(21,3) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :f
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (23,0)-(23,9))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :f
β”‚ β”œβ”€β”€ message_loc: (23,0)-(23,1) = "f"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -333,11 +334,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (23,1)-(23,2) = "{"
β”‚ β”‚ └── closing_loc: (23,8)-(23,9) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :f
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (25,0)-(25,12))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :f
β”‚ β”œβ”€β”€ message_loc: (25,0)-(25,1) = "f"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -368,11 +369,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (25,1)-(25,2) = "{"
β”‚ β”‚ └── closing_loc: (25,11)-(25,12) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :f
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (27,0)-(27,15))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :f
β”‚ β”œβ”€β”€ message_loc: (27,0)-(27,1) = "f"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -407,11 +408,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (27,1)-(27,2) = "{"
β”‚ β”‚ └── closing_loc: (27,14)-(27,15) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :f
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (29,0)-(29,19))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :f
β”‚ β”œβ”€β”€ message_loc: (29,0)-(29,1) = "f"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -448,11 +449,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (29,1)-(29,2) = "{"
β”‚ β”‚ └── closing_loc: (29,18)-(29,19) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :f
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (31,0)-(31,16))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :f
β”‚ β”œβ”€β”€ message_loc: (31,0)-(31,1) = "f"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -487,11 +488,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (31,1)-(31,2) = "{"
β”‚ β”‚ └── closing_loc: (31,15)-(31,16) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :f
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (33,0)-(33,12))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :f
β”‚ β”œβ”€β”€ message_loc: (33,0)-(33,1) = "f"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -522,11 +523,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (33,1)-(33,2) = "{"
β”‚ β”‚ └── closing_loc: (33,11)-(33,12) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :f
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (35,0)-(35,11))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :f
β”‚ β”œβ”€β”€ message_loc: (35,0)-(35,1) = "f"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -557,11 +558,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (35,1)-(35,2) = "{"
β”‚ β”‚ └── closing_loc: (35,10)-(35,11) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :f
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (37,0)-(37,12))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :f
β”‚ β”œβ”€β”€ message_loc: (37,0)-(37,1) = "f"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -594,11 +595,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (37,1)-(37,2) = "{"
β”‚ β”‚ └── closing_loc: (37,11)-(37,12) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :f
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (39,0)-(39,11))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :f
β”‚ β”œβ”€β”€ message_loc: (39,0)-(39,1) = "f"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -627,11 +628,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (39,1)-(39,2) = "{"
β”‚ β”‚ └── closing_loc: (39,10)-(39,11) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :f
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (41,0)-(41,17))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :f
β”‚ β”œβ”€β”€ message_loc: (41,0)-(41,1) = "f"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -669,11 +670,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (41,1)-(41,2) = "{"
β”‚ β”‚ └── closing_loc: (41,16)-(41,17) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :f
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (43,0)-(43,24))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :f
β”‚ β”œβ”€β”€ message_loc: (43,0)-(43,1) = "f"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -717,11 +718,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (43,1)-(43,2) = "{"
β”‚ β”‚ └── closing_loc: (43,23)-(43,24) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :f
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (45,0)-(45,27))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :f
β”‚ β”œβ”€β”€ message_loc: (45,0)-(45,1) = "f"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -770,11 +771,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (45,1)-(45,2) = "{"
β”‚ β”‚ └── closing_loc: (45,26)-(45,27) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :f
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (47,0)-(47,20))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :f
β”‚ β”œβ”€β”€ message_loc: (47,0)-(47,1) = "f"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -814,11 +815,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (47,1)-(47,2) = "{"
β”‚ β”‚ └── closing_loc: (47,19)-(47,20) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :f
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (49,0)-(49,9))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :f
β”‚ β”œβ”€β”€ message_loc: (49,0)-(49,1) = "f"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -849,11 +850,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (49,1)-(49,2) = "{"
β”‚ β”‚ └── closing_loc: (49,8)-(49,9) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :f
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (51,0)-(51,8))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :f
β”‚ β”œβ”€β”€ message_loc: (51,0)-(51,1) = "f"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -880,11 +881,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (51,1)-(51,2) = "{"
β”‚ β”‚ └── closing_loc: (51,7)-(51,8) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :f
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (53,0)-(53,8))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :f
β”‚ β”œβ”€β”€ message_loc: (53,0)-(53,1) = "f"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -911,11 +912,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (53,1)-(53,2) = "{"
β”‚ β”‚ └── closing_loc: (53,7)-(53,8) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :f
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (55,0)-(55,8))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :f
β”‚ β”œβ”€β”€ message_loc: (55,0)-(55,1) = "f"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -942,11 +943,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (55,1)-(55,2) = "{"
β”‚ β”‚ └── closing_loc: (55,7)-(55,8) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :f
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (57,0)-(57,17))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :f
β”‚ β”œβ”€β”€ message_loc: (57,0)-(57,1) = "f"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -981,11 +982,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (57,1)-(57,2) = "{"
β”‚ β”‚ └── closing_loc: (57,16)-(57,17) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :f
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (59,0)-(59,32))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :f
β”‚ β”œβ”€β”€ message_loc: (59,0)-(59,1) = "f"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -1030,11 +1031,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (59,1)-(59,2) = "{"
β”‚ β”‚ └── closing_loc: (59,31)-(59,32) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :f
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (61,0)-(61,11))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :f
β”‚ β”œβ”€β”€ message_loc: (61,0)-(61,1) = "f"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -1062,11 +1063,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (61,1)-(61,2) = "{"
β”‚ β”‚ └── closing_loc: (61,10)-(61,11) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :f
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (63,0)-(63,14))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :f
β”‚ β”œβ”€β”€ message_loc: (63,0)-(63,1) = "f"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -1102,11 +1103,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (63,1)-(63,2) = "{"
β”‚ β”‚ └── closing_loc: (63,13)-(63,14) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :f
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (65,0)-(65,18))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :f
β”‚ β”œβ”€β”€ message_loc: (65,0)-(65,1) = "f"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -1146,11 +1147,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (65,1)-(65,2) = "{"
β”‚ β”‚ └── closing_loc: (65,17)-(65,18) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :f
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (67,0)-(67,21))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :f
β”‚ β”œβ”€β”€ message_loc: (67,0)-(67,1) = "f"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -1192,11 +1193,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (67,1)-(67,2) = "{"
β”‚ β”‚ └── closing_loc: (67,20)-(67,21) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :f
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (69,0)-(69,17))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :f
β”‚ β”œβ”€β”€ message_loc: (69,0)-(69,1) = "f"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -1234,11 +1235,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (69,1)-(69,2) = "{"
β”‚ β”‚ └── closing_loc: (69,16)-(69,17) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :f
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (71,0)-(71,7))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (71,0)-(71,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -1255,5 +1256,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (71,1)-(71,2) = "{"
β”‚ └── closing_loc: (71,6)-(71,7) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/break.txt b/test/prism/snapshots/whitequark/break.txt
index 6d74087943..c9da928223 100644
--- a/test/prism/snapshots/whitequark/break.txt
+++ b/test/prism/snapshots/whitequark/break.txt
@@ -13,13 +13,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (3,6)-(3,9))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,6)-(3,9) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ └── keyword_loc: (3,0)-(3,5) = "break"
β”œβ”€β”€ @ BreakNode (location: (5,0)-(5,7))
@@ -43,13 +43,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (7,6)-(7,9))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (7,6)-(7,9) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ opening_loc: (7,5)-(7,6) = "("
β”‚ β”‚ └── closing_loc: (7,9)-(7,10) = ")"
β”‚ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/break_block.txt b/test/prism/snapshots/whitequark/break_block.txt
index 1c33aede81..d6d6347eda 100644
--- a/test/prism/snapshots/whitequark/break_block.txt
+++ b/test/prism/snapshots/whitequark/break_block.txt
@@ -10,6 +10,7 @@
β”‚ β”‚ └── @ CallNode (location: (1,6)-(1,20))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :fun
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,6)-(1,9) = "fun"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -18,13 +19,13 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (1,10)-(1,13))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,10)-(1,13) = "foo"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block:
@@ -34,7 +35,6 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,14)-(1,16) = "do"
β”‚ β”‚ β”‚ └── closing_loc: (1,17)-(1,20) = "end"
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :fun
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── flags: βˆ…
└── keyword_loc: (1,0)-(1,5) = "break"
diff --git a/test/prism/snapshots/whitequark/bug_447.txt b/test/prism/snapshots/whitequark/bug_447.txt
index 43a7a3c7ce..a056bd2ce3 100644
--- a/test/prism/snapshots/whitequark/bug_447.txt
+++ b/test/prism/snapshots/whitequark/bug_447.txt
@@ -6,6 +6,7 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(1,11))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :m
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "m"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -25,11 +26,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,5)-(1,7) = "do"
β”‚ β”‚ └── closing_loc: (1,8)-(1,11) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :m
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (3,0)-(3,14))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :m
β”œβ”€β”€ message_loc: (3,0)-(3,1) = "m"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -51,5 +52,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (3,8)-(3,10) = "do"
β”‚ └── closing_loc: (3,11)-(3,14) = "end"
- β”œβ”€β”€ flags: βˆ…
- └── name: :m
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/bug_452.txt b/test/prism/snapshots/whitequark/bug_452.txt
index bbb1d2a467..435181b643 100644
--- a/test/prism/snapshots/whitequark/bug_452.txt
+++ b/test/prism/snapshots/whitequark/bug_452.txt
@@ -6,6 +6,7 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(1,21))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :td
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,2) = "td"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -22,31 +23,31 @@
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,3)-(1,4) = "("
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (1,9)-(1,10) = ")"
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (1,10)-(1,11) = "."
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :toString
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,11)-(1,19) = "toString"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,19)-(1,20) = "("
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (1,20)-(1,21) = ")"
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :toString
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :td
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (1,23)-(1,37))
β”œβ”€β”€ receiver:
β”‚ @ CallNode (location: (1,23)-(1,25))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :td
β”‚ β”œβ”€β”€ message_loc: (1,23)-(1,25) = "td"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :td
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: (1,25)-(1,26) = "."
+ β”œβ”€β”€ name: :num
β”œβ”€β”€ message_loc: (1,26)-(1,29) = "num"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -58,5 +59,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,30)-(1,32) = "do"
β”‚ └── closing_loc: (1,34)-(1,37) = "end"
- β”œβ”€β”€ flags: βˆ…
- └── name: :num
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/bug_466.txt b/test/prism/snapshots/whitequark/bug_466.txt
index e9bd44467f..2b4af5d72c 100644
--- a/test/prism/snapshots/whitequark/bug_466.txt
+++ b/test/prism/snapshots/whitequark/bug_466.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,27))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :foo
β”œβ”€β”€ message_loc: (1,0)-(1,3) = "foo"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -30,6 +31,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ @ IntegerNode (location: (1,8)-(1,9))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: decimal
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :+
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,9)-(1,10) = "+"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -40,18 +42,17 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :+
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,7)-(1,8) = "("
β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (1,11)-(1,12) = ")"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (1,12)-(1,13) = "."
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :to_i
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,13)-(1,17) = "to_i"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :to_i
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── closing_loc: (1,17)-(1,18) = "}"
β”‚ β”‚ └── closing_loc: (1,18)-(1,19) = "\""
β”‚ └── flags: βˆ…
@@ -63,5 +64,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,20)-(1,22) = "do"
β”‚ └── closing_loc: (1,24)-(1,27) = "end"
- β”œβ”€β”€ flags: βˆ…
- └── name: :foo
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/bug_473.txt b/test/prism/snapshots/whitequark/bug_473.txt
index 3e5eed805c..d78a8fe303 100644
--- a/test/prism/snapshots/whitequark/bug_473.txt
+++ b/test/prism/snapshots/whitequark/bug_473.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,9))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :m
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "m"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -29,5 +30,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :m
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/bug_480.txt b/test/prism/snapshots/whitequark/bug_480.txt
index 0837a9ec2c..ab98c19d7d 100644
--- a/test/prism/snapshots/whitequark/bug_480.txt
+++ b/test/prism/snapshots/whitequark/bug_480.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,12))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :m
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "m"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -32,5 +33,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :m
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/bug_481.txt b/test/prism/snapshots/whitequark/bug_481.txt
index 629843b4e4..dbd7de7a0c 100644
--- a/test/prism/snapshots/whitequark/bug_481.txt
+++ b/test/prism/snapshots/whitequark/bug_481.txt
@@ -6,6 +6,7 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(1,14))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :m
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "m"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -27,13 +28,13 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :m
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (1,16)-(1,28))
β”œβ”€β”€ receiver:
β”‚ @ IntegerNode (location: (1,16)-(1,17))
β”‚ └── flags: decimal
β”œβ”€β”€ call_operator_loc: (1,17)-(1,18) = "."
+ β”œβ”€β”€ name: :tap
β”œβ”€β”€ message_loc: (1,18)-(1,21) = "tap"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -45,5 +46,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,22)-(1,24) = "do"
β”‚ └── closing_loc: (1,25)-(1,28) = "end"
- β”œβ”€β”€ flags: βˆ…
- └── name: :tap
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/bug_cmd_string_lookahead.txt b/test/prism/snapshots/whitequark/bug_cmd_string_lookahead.txt
index 95fb89c2f5..94c39e2021 100644
--- a/test/prism/snapshots/whitequark/bug_cmd_string_lookahead.txt
+++ b/test/prism/snapshots/whitequark/bug_cmd_string_lookahead.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,17))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :desc
β”œβ”€β”€ message_loc: (1,0)-(1,4) = "desc"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -26,5 +27,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,11)-(1,13) = "do"
β”‚ └── closing_loc: (1,14)-(1,17) = "end"
- β”œβ”€β”€ flags: βˆ…
- └── name: :desc
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/bug_cmdarg.txt b/test/prism/snapshots/whitequark/bug_cmdarg.txt
index a5b9dbffe8..93eafdb3a3 100644
--- a/test/prism/snapshots/whitequark/bug_cmdarg.txt
+++ b/test/prism/snapshots/whitequark/bug_cmdarg.txt
@@ -6,6 +6,7 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(1,15))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :assert
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,6) = "assert"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -26,11 +27,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :assert
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (3,0)-(3,11))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :assert
β”‚ β”œβ”€β”€ message_loc: (3,0)-(3,6) = "assert"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -39,21 +40,21 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (3,7)-(3,11))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :dogs
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,7)-(3,11) = "dogs"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :dogs
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :assert
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (5,0)-(5,26))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (5,0)-(5,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -81,6 +82,7 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (5,11)-(5,22))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :meth
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (5,11)-(5,15) = "meth"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -92,11 +94,9 @@
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (5,16)-(5,18) = "do"
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (5,19)-(5,22) = "end"
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :meth
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── operator_loc: βˆ…
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/bug_do_block_in_call_args.txt b/test/prism/snapshots/whitequark/bug_do_block_in_call_args.txt
index e92c63741c..65bb6e8668 100644
--- a/test/prism/snapshots/whitequark/bug_do_block_in_call_args.txt
+++ b/test/prism/snapshots/whitequark/bug_do_block_in_call_args.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,33))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :bar
β”œβ”€β”€ message_loc: (1,0)-(1,3) = "bar"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -23,6 +24,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ β”‚ β”‚ @ SelfNode (location: (1,13)-(1,17))
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (1,17)-(1,18) = "."
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :each
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,18)-(1,22) = "each"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -34,8 +36,7 @@
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,23)-(1,25) = "do"
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (1,26)-(1,29) = "end"
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :each
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ locals: []
β”‚ β”‚ β”œβ”€β”€ def_keyword_loc: (1,4)-(1,7) = "def"
β”‚ β”‚ β”œβ”€β”€ operator_loc: βˆ…
@@ -46,5 +47,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :bar
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/bug_do_block_in_cmdarg.txt b/test/prism/snapshots/whitequark/bug_do_block_in_cmdarg.txt
index ac277f1ae8..42600a495a 100644
--- a/test/prism/snapshots/whitequark/bug_do_block_in_cmdarg.txt
+++ b/test/prism/snapshots/whitequark/bug_do_block_in_cmdarg.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,17))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :tap
β”œβ”€β”€ message_loc: (1,0)-(1,3) = "tap"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -18,6 +19,7 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (1,5)-(1,16))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :proc
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,5)-(1,9) = "proc"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -29,12 +31,10 @@
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,10)-(1,12) = "do"
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (1,13)-(1,16) = "end"
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :proc
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,4)-(1,5) = "("
β”‚ β”‚ └── closing_loc: (1,16)-(1,17) = ")"
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :tap
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/bug_do_block_in_hash_brace.txt b/test/prism/snapshots/whitequark/bug_do_block_in_hash_brace.txt
index 582559fc85..2604e721bc 100644
--- a/test/prism/snapshots/whitequark/bug_do_block_in_hash_brace.txt
+++ b/test/prism/snapshots/whitequark/bug_do_block_in_hash_brace.txt
@@ -6,6 +6,7 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(1,42))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :p
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "p"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -30,6 +31,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (1,14)-(1,25))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :proc
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,14)-(1,18) = "proc"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -41,8 +43,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,19)-(1,21) = "do"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (1,22)-(1,25) = "end"
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :proc
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ └── operator_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ └── @ AssocNode (location: (1,27)-(1,41))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ key:
@@ -55,6 +56,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (1,30)-(1,41))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :proc
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,30)-(1,34) = "proc"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -66,18 +68,17 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,35)-(1,37) = "do"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (1,38)-(1,41) = "end"
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :proc
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ └── operator_loc: βˆ…
β”‚ β”‚ β”‚ └── closing_loc: (1,41)-(1,42) = "}"
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :p
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (3,0)-(3,40))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :p
β”‚ β”œβ”€β”€ message_loc: (3,0)-(3,1) = "p"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -96,6 +97,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (3,12)-(3,23))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :proc
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,12)-(3,16) = "proc"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -107,8 +109,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (3,17)-(3,19) = "do"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (3,20)-(3,23) = "end"
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :proc
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ └── operator_loc: (3,9)-(3,11) = "**"
β”‚ β”‚ β”‚ β”‚ └── @ AssocNode (location: (3,25)-(3,39))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ key:
@@ -121,6 +122,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (3,28)-(3,39))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :proc
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,28)-(3,32) = "proc"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -132,18 +134,17 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (3,33)-(3,35) = "do"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (3,36)-(3,39) = "end"
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :proc
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ └── operator_loc: βˆ…
β”‚ β”‚ β”‚ └── closing_loc: (3,39)-(3,40) = "}"
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :p
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (5,0)-(5,43))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :p
β”‚ β”œβ”€β”€ message_loc: (5,0)-(5,1) = "p"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -168,6 +169,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (5,15)-(5,26))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :proc
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (5,15)-(5,19) = "proc"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -179,8 +181,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (5,20)-(5,22) = "do"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (5,23)-(5,26) = "end"
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :proc
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ └── operator_loc: (5,12)-(5,14) = "=>"
β”‚ β”‚ β”‚ β”‚ └── @ AssocNode (location: (5,28)-(5,42))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ key:
@@ -193,6 +194,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (5,31)-(5,42))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :proc
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (5,31)-(5,35) = "proc"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -204,18 +206,17 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (5,36)-(5,38) = "do"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (5,39)-(5,42) = "end"
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :proc
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ └── operator_loc: βˆ…
β”‚ β”‚ β”‚ └── closing_loc: (5,42)-(5,43) = "}"
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :p
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (7,0)-(7,40))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :p
β”‚ β”œβ”€β”€ message_loc: (7,0)-(7,1) = "p"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -240,6 +241,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (7,12)-(7,23))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :proc
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (7,12)-(7,16) = "proc"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -251,8 +253,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (7,17)-(7,19) = "do"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (7,20)-(7,23) = "end"
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :proc
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ └── operator_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ └── @ AssocNode (location: (7,25)-(7,39))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ key:
@@ -265,6 +266,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (7,28)-(7,39))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :proc
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (7,28)-(7,32) = "proc"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -276,18 +278,17 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (7,33)-(7,35) = "do"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (7,36)-(7,39) = "end"
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :proc
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ └── operator_loc: βˆ…
β”‚ β”‚ β”‚ └── closing_loc: (7,39)-(7,40) = "}"
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :p
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (9,0)-(9,52))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :p
β”œβ”€β”€ message_loc: (9,0)-(9,1) = "p"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -306,6 +307,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (9,9)-(9,20))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :proc
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (9,9)-(9,13) = "proc"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -317,12 +319,12 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (9,14)-(9,16) = "do"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (9,17)-(9,20) = "end"
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :proc
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ value:
β”‚ β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (9,24)-(9,35))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :proc
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (9,24)-(9,28) = "proc"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -334,8 +336,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (9,29)-(9,31) = "do"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (9,32)-(9,35) = "end"
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :proc
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ └── operator_loc: (9,21)-(9,23) = "=>"
β”‚ β”‚ β”‚ └── @ AssocNode (location: (9,37)-(9,51))
β”‚ β”‚ β”‚ β”œβ”€β”€ key:
@@ -348,6 +349,7 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (9,40)-(9,51))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :proc
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (9,40)-(9,44) = "proc"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -359,12 +361,10 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (9,45)-(9,47) = "do"
β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (9,48)-(9,51) = "end"
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :proc
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── operator_loc: βˆ…
β”‚ β”‚ └── closing_loc: (9,51)-(9,52) = "}"
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :p
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/bug_heredoc_do.txt b/test/prism/snapshots/whitequark/bug_heredoc_do.txt
index f62ef2e0d2..ccf2fb56fc 100644
--- a/test/prism/snapshots/whitequark/bug_heredoc_do.txt
+++ b/test/prism/snapshots/whitequark/bug_heredoc_do.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(3,3))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -26,5 +27,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,11)-(1,13) = "do"
β”‚ └── closing_loc: (3,0)-(3,3) = "end"
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/bug_lambda_leakage.txt b/test/prism/snapshots/whitequark/bug_lambda_leakage.txt
index b78d1fde08..2fd9d0fc0b 100644
--- a/test/prism/snapshots/whitequark/bug_lambda_leakage.txt
+++ b/test/prism/snapshots/whitequark/bug_lambda_leakage.txt
@@ -28,10 +28,10 @@
└── @ CallNode (location: (1,14)-(1,19))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :scope
β”œβ”€β”€ message_loc: (1,14)-(1,19) = "scope"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: variable_call
- └── name: :scope
+ └── flags: variable_call
diff --git a/test/prism/snapshots/whitequark/bug_while_not_parens_do.txt b/test/prism/snapshots/whitequark/bug_while_not_parens_do.txt
index a2918093f8..bb973e766e 100644
--- a/test/prism/snapshots/whitequark/bug_while_not_parens_do.txt
+++ b/test/prism/snapshots/whitequark/bug_while_not_parens_do.txt
@@ -17,12 +17,12 @@
β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,10)-(1,11) = "("
β”‚ β”‚ └── closing_loc: (1,15)-(1,16) = ")"
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :!
β”‚ β”œβ”€β”€ message_loc: (1,6)-(1,9) = "not"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :!
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ statements: βˆ…
└── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/case_cond.txt b/test/prism/snapshots/whitequark/case_cond.txt
index f78cf93ba3..3989390967 100644
--- a/test/prism/snapshots/whitequark/case_cond.txt
+++ b/test/prism/snapshots/whitequark/case_cond.txt
@@ -12,13 +12,13 @@
β”‚ β”‚ └── @ CallNode (location: (1,11)-(1,14))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,11)-(1,14) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── statements:
β”‚ @ StatementsNode (location: (1,16)-(1,21))
β”‚ └── body: (length: 1)
diff --git a/test/prism/snapshots/whitequark/case_cond_else.txt b/test/prism/snapshots/whitequark/case_cond_else.txt
index f2f41e61b8..18b13aa409 100644
--- a/test/prism/snapshots/whitequark/case_cond_else.txt
+++ b/test/prism/snapshots/whitequark/case_cond_else.txt
@@ -12,13 +12,13 @@
β”‚ β”‚ └── @ CallNode (location: (1,11)-(1,14))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,11)-(1,14) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── statements:
β”‚ @ StatementsNode (location: (1,16)-(1,21))
β”‚ └── body: (length: 1)
diff --git a/test/prism/snapshots/whitequark/case_expr.txt b/test/prism/snapshots/whitequark/case_expr.txt
index e58144aa76..68e63c3e9b 100644
--- a/test/prism/snapshots/whitequark/case_expr.txt
+++ b/test/prism/snapshots/whitequark/case_expr.txt
@@ -8,13 +8,13 @@
β”‚ @ CallNode (location: (1,5)-(1,8))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (1,5)-(1,8) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ conditions: (length: 1)
β”‚ └── @ WhenNode (location: (1,10)-(1,25))
β”‚ β”œβ”€β”€ keyword_loc: (1,10)-(1,14) = "when"
@@ -31,13 +31,13 @@
β”‚ └── @ CallNode (location: (1,22)-(1,25))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (1,22)-(1,25) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :bar
+ β”‚ └── flags: variable_call
β”œβ”€β”€ consequent: βˆ…
β”œβ”€β”€ case_keyword_loc: (1,0)-(1,4) = "case"
└── end_keyword_loc: (1,27)-(1,30) = "end"
diff --git a/test/prism/snapshots/whitequark/case_expr_else.txt b/test/prism/snapshots/whitequark/case_expr_else.txt
index 5f59e744f3..0231a46c10 100644
--- a/test/prism/snapshots/whitequark/case_expr_else.txt
+++ b/test/prism/snapshots/whitequark/case_expr_else.txt
@@ -8,13 +8,13 @@
β”‚ @ CallNode (location: (1,5)-(1,8))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (1,5)-(1,8) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ conditions: (length: 1)
β”‚ └── @ WhenNode (location: (1,10)-(1,25))
β”‚ β”œβ”€β”€ keyword_loc: (1,10)-(1,14) = "when"
@@ -31,13 +31,13 @@
β”‚ └── @ CallNode (location: (1,22)-(1,25))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (1,22)-(1,25) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :bar
+ β”‚ └── flags: variable_call
β”œβ”€β”€ consequent:
β”‚ @ ElseNode (location: (1,27)-(1,40))
β”‚ β”œβ”€β”€ else_keyword_loc: (1,27)-(1,31) = "else"
@@ -47,13 +47,13 @@
β”‚ β”‚ └── @ CallNode (location: (1,32)-(1,35))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,32)-(1,35) = "baz"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── end_keyword_loc: (1,37)-(1,40) = "end"
β”œβ”€β”€ case_keyword_loc: (1,0)-(1,4) = "case"
└── end_keyword_loc: (1,37)-(1,40) = "end"
diff --git a/test/prism/snapshots/whitequark/class_definition_in_while_cond.txt b/test/prism/snapshots/whitequark/class_definition_in_while_cond.txt
index 6348eb580e..cf5806d0a2 100644
--- a/test/prism/snapshots/whitequark/class_definition_in_while_cond.txt
+++ b/test/prism/snapshots/whitequark/class_definition_in_while_cond.txt
@@ -24,6 +24,7 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (1,25)-(1,35))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :tap
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,25)-(1,28) = "tap"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -35,8 +36,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,29)-(1,31) = "do"
β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (1,32)-(1,35) = "end"
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :tap
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── operator_loc: (1,23)-(1,24) = "="
β”‚ β”‚ └── end_keyword_loc: (1,37)-(1,40) = "end"
β”‚ β”œβ”€β”€ statements:
@@ -62,6 +62,7 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (3,21)-(3,31))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :tap
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,21)-(3,24) = "tap"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -73,8 +74,7 @@
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (3,25)-(3,27) = "do"
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (3,28)-(3,31) = "end"
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :tap
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── end_keyword_loc: (3,33)-(3,36) = "end"
β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ @ StatementsNode (location: (3,38)-(3,43))
@@ -106,6 +106,7 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (5,20)-(5,30))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :tap
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (5,20)-(5,23) = "tap"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -117,8 +118,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (5,24)-(5,26) = "do"
β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (5,27)-(5,30) = "end"
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :tap
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── operator_loc: (5,18)-(5,19) = "="
β”‚ β”‚ β”œβ”€β”€ end_keyword_loc: (5,32)-(5,35) = "end"
β”‚ β”‚ └── name: :Foo
@@ -147,6 +147,7 @@
β”‚ β”‚ └── @ CallNode (location: (7,17)-(7,27))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :tap
β”‚ β”‚ β”œβ”€β”€ message_loc: (7,17)-(7,20) = "tap"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -158,8 +159,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (7,21)-(7,23) = "do"
β”‚ β”‚ β”‚ └── closing_loc: (7,24)-(7,27) = "end"
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :tap
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ end_keyword_loc: (7,29)-(7,32) = "end"
β”‚ └── name: :Foo
β”œβ”€β”€ statements:
diff --git a/test/prism/snapshots/whitequark/class_super_label.txt b/test/prism/snapshots/whitequark/class_super_label.txt
index 14ebfe5fc3..8e16cef1ed 100644
--- a/test/prism/snapshots/whitequark/class_super_label.txt
+++ b/test/prism/snapshots/whitequark/class_super_label.txt
@@ -14,6 +14,7 @@
β”‚ @ CallNode (location: (1,12)-(1,15))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,12)-(1,13) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -27,8 +28,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ body: βˆ…
β”œβ”€β”€ end_keyword_loc: (1,17)-(1,20) = "end"
└── name: :Foo
diff --git a/test/prism/snapshots/whitequark/comments_before_leading_dot__27.txt b/test/prism/snapshots/whitequark/comments_before_leading_dot__27.txt
index 68fe52ffd2..f560664f89 100644
--- a/test/prism/snapshots/whitequark/comments_before_leading_dot__27.txt
+++ b/test/prism/snapshots/whitequark/comments_before_leading_dot__27.txt
@@ -8,78 +8,78 @@
β”‚ β”‚ @ CallNode (location: (1,0)-(1,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (3,0)-(3,2) = "&."
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (3,2)-(3,5) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: safe_navigation
- β”‚ └── name: :foo
+ β”‚ └── flags: safe_navigation
β”œβ”€β”€ @ CallNode (location: (6,0)-(8,4))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (6,0)-(6,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (6,0)-(6,1) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (8,0)-(8,1) = "."
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (8,1)-(8,4) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (11,0)-(13,5))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (11,0)-(11,1))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (11,0)-(11,1) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (13,0)-(13,2) = "&."
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (13,2)-(13,5) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: safe_navigation
- β”‚ └── name: :foo
+ β”‚ └── flags: safe_navigation
└── @ CallNode (location: (16,0)-(18,4))
β”œβ”€β”€ receiver:
β”‚ @ CallNode (location: (16,0)-(16,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (16,0)-(16,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: (18,0)-(18,1) = "."
+ β”œβ”€β”€ name: :foo
β”œβ”€β”€ message_loc: (18,1)-(18,4) = "foo"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :foo
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/cond_begin.txt b/test/prism/snapshots/whitequark/cond_begin.txt
index ab9d37aaec..78e1f65d0a 100644
--- a/test/prism/snapshots/whitequark/cond_begin.txt
+++ b/test/prism/snapshots/whitequark/cond_begin.txt
@@ -13,13 +13,13 @@
β”‚ β”‚ └── @ CallNode (location: (1,4)-(1,7))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,7) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ opening_loc: (1,3)-(1,4) = "("
β”‚ └── closing_loc: (1,7)-(1,8) = ")"
β”œβ”€β”€ then_keyword_loc: βˆ…
@@ -29,12 +29,12 @@
β”‚ └── @ CallNode (location: (1,10)-(1,13))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (1,10)-(1,13) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ consequent: βˆ…
└── end_keyword_loc: (1,15)-(1,18) = "end"
diff --git a/test/prism/snapshots/whitequark/cond_begin_masgn.txt b/test/prism/snapshots/whitequark/cond_begin_masgn.txt
index e7608fce44..a763c7ee8b 100644
--- a/test/prism/snapshots/whitequark/cond_begin_masgn.txt
+++ b/test/prism/snapshots/whitequark/cond_begin_masgn.txt
@@ -13,13 +13,13 @@
β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (1,4)-(1,7))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,7) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── @ MultiWriteNode (location: (1,9)-(1,19))
β”‚ β”‚ β”œβ”€β”€ lefts: (length: 2)
β”‚ β”‚ β”‚ β”œβ”€β”€ @ LocalVariableTargetNode (location: (1,9)-(1,10))
@@ -37,13 +37,13 @@
β”‚ β”‚ @ CallNode (location: (1,16)-(1,19))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,16)-(1,19) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ opening_loc: (1,3)-(1,4) = "("
β”‚ └── closing_loc: (1,19)-(1,20) = ")"
β”œβ”€β”€ then_keyword_loc: βˆ…
diff --git a/test/prism/snapshots/whitequark/cond_eflipflop.txt b/test/prism/snapshots/whitequark/cond_eflipflop.txt
index 60c6f13094..4761b22164 100644
--- a/test/prism/snapshots/whitequark/cond_eflipflop.txt
+++ b/test/prism/snapshots/whitequark/cond_eflipflop.txt
@@ -14,36 +14,36 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (1,2)-(1,5))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,2)-(1,5) = "foo"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ right:
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (1,8)-(1,11))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,8)-(1,11) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ operator_loc: (1,5)-(1,8) = "..."
β”‚ β”‚ β”‚ └── flags: exclude_end
β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,1)-(1,2) = "("
β”‚ β”‚ └── closing_loc: (1,11)-(1,12) = ")"
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :!
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "!"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :!
+ β”‚ └── flags: βˆ…
└── @ IfNode (location: (3,0)-(3,17))
β”œβ”€β”€ if_keyword_loc: (3,0)-(3,2) = "if"
β”œβ”€β”€ predicate:
@@ -52,24 +52,24 @@
β”‚ β”‚ @ CallNode (location: (3,3)-(3,6))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,3)-(3,6) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ right:
β”‚ β”‚ @ CallNode (location: (3,9)-(3,12))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,9)-(3,12) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ operator_loc: (3,6)-(3,9) = "..."
β”‚ └── flags: exclude_end
β”œβ”€β”€ then_keyword_loc: βˆ…
diff --git a/test/prism/snapshots/whitequark/cond_iflipflop.txt b/test/prism/snapshots/whitequark/cond_iflipflop.txt
index b26c207bca..3d54edf883 100644
--- a/test/prism/snapshots/whitequark/cond_iflipflop.txt
+++ b/test/prism/snapshots/whitequark/cond_iflipflop.txt
@@ -14,36 +14,36 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (1,2)-(1,5))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,2)-(1,5) = "foo"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ right:
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (1,7)-(1,10))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,7)-(1,10) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ operator_loc: (1,5)-(1,7) = ".."
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,1)-(1,2) = "("
β”‚ β”‚ └── closing_loc: (1,10)-(1,11) = ")"
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :!
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "!"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :!
+ β”‚ └── flags: βˆ…
└── @ IfNode (location: (3,0)-(3,16))
β”œβ”€β”€ if_keyword_loc: (3,0)-(3,2) = "if"
β”œβ”€β”€ predicate:
@@ -52,24 +52,24 @@
β”‚ β”‚ @ CallNode (location: (3,3)-(3,6))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,3)-(3,6) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ right:
β”‚ β”‚ @ CallNode (location: (3,8)-(3,11))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,8)-(3,11) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ operator_loc: (3,6)-(3,8) = ".."
β”‚ └── flags: βˆ…
β”œβ”€β”€ then_keyword_loc: βˆ…
diff --git a/test/prism/snapshots/whitequark/cond_match_current_line.txt b/test/prism/snapshots/whitequark/cond_match_current_line.txt
index ff77102991..a3765182bd 100644
--- a/test/prism/snapshots/whitequark/cond_match_current_line.txt
+++ b/test/prism/snapshots/whitequark/cond_match_current_line.txt
@@ -12,13 +12,13 @@
β”‚ β”‚ β”œβ”€β”€ unescaped: "wat"
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :!
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "!"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :!
+ β”‚ └── flags: βˆ…
└── @ IfNode (location: (3,0)-(3,13))
β”œβ”€β”€ if_keyword_loc: (3,0)-(3,2) = "if"
β”œβ”€β”€ predicate:
diff --git a/test/prism/snapshots/whitequark/dedenting_heredoc.txt b/test/prism/snapshots/whitequark/dedenting_heredoc.txt
index c0ee06c1b5..3d442e664a 100644
--- a/test/prism/snapshots/whitequark/dedenting_heredoc.txt
+++ b/test/prism/snapshots/whitequark/dedenting_heredoc.txt
@@ -6,6 +6,7 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(1,8))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :p
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "p"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -42,11 +43,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :p
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (6,0)-(6,8))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :p
β”‚ β”œβ”€β”€ message_loc: (6,0)-(6,1) = "p"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -69,13 +70,13 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (8,4)-(8,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (8,4)-(8,7) = "foo"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (8,7)-(8,8) = "}"
β”‚ β”‚ β”‚ β”‚ └── @ StringNode (location: (8,8)-(9,0))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
@@ -87,11 +88,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :p
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (11,0)-(11,6))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :p
β”‚ β”œβ”€β”€ message_loc: (11,0)-(11,1) = "p"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -116,11 +117,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :p
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (16,0)-(16,6))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :p
β”‚ β”œβ”€β”€ message_loc: (16,0)-(16,1) = "p"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -145,11 +146,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :p
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (21,0)-(21,6))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :p
β”‚ β”œβ”€β”€ message_loc: (21,0)-(21,1) = "p"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -174,11 +175,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :p
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (26,0)-(26,6))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :p
β”‚ β”œβ”€β”€ message_loc: (26,0)-(26,1) = "p"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -203,11 +204,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :p
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (31,0)-(31,6))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :p
β”‚ β”œβ”€β”€ message_loc: (31,0)-(31,1) = "p"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -232,11 +233,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :p
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (36,0)-(36,6))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :p
β”‚ β”œβ”€β”€ message_loc: (36,0)-(36,1) = "p"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -261,11 +262,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :p
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (41,0)-(41,6))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :p
β”‚ β”œβ”€β”€ message_loc: (41,0)-(41,1) = "p"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -280,11 +281,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :p
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (44,0)-(44,6))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :p
β”‚ β”œβ”€β”€ message_loc: (44,0)-(44,1) = "p"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -315,11 +316,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :p
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (50,0)-(50,6))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :p
β”‚ β”œβ”€β”€ message_loc: (50,0)-(50,1) = "p"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -350,11 +351,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :p
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (56,0)-(56,6))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :p
β”‚ β”œβ”€β”€ message_loc: (56,0)-(56,1) = "p"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -379,11 +380,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :p
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (61,0)-(61,6))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :p
β”‚ β”œβ”€β”€ message_loc: (61,0)-(61,1) = "p"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -398,11 +399,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :p
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (65,0)-(65,6))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :p
β”‚ β”œβ”€β”€ message_loc: (65,0)-(65,1) = "p"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -417,11 +418,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :p
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (69,0)-(69,6))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :p
β”‚ β”œβ”€β”€ message_loc: (69,0)-(69,1) = "p"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -436,11 +437,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :p
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (72,0)-(72,8))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :p
β”œβ”€β”€ message_loc: (72,0)-(72,1) = "p"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -463,13 +464,13 @@
β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (74,4)-(74,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (74,4)-(74,7) = "foo"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (74,7)-(74,8) = "}"
β”‚ β”‚ β”‚ └── @ StringNode (location: (74,8)-(75,0))
β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
@@ -481,5 +482,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :p
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/defined.txt b/test/prism/snapshots/whitequark/defined.txt
index a7073313f6..1c83784db1 100644
--- a/test/prism/snapshots/whitequark/defined.txt
+++ b/test/prism/snapshots/whitequark/defined.txt
@@ -16,13 +16,13 @@
β”‚ β”‚ @ CallNode (location: (3,9)-(3,12))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,9)-(3,12) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ rparen_loc: βˆ…
β”‚ └── keyword_loc: (3,0)-(3,8) = "defined?"
└── @ DefinedNode (location: (5,0)-(5,13))
@@ -31,12 +31,12 @@
β”‚ @ CallNode (location: (5,9)-(5,12))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (5,9)-(5,12) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ rparen_loc: (5,12)-(5,13) = ")"
└── keyword_loc: (5,0)-(5,8) = "defined?"
diff --git a/test/prism/snapshots/whitequark/defs.txt b/test/prism/snapshots/whitequark/defs.txt
index 609897e293..7dde68282f 100644
--- a/test/prism/snapshots/whitequark/defs.txt
+++ b/test/prism/snapshots/whitequark/defs.txt
@@ -12,13 +12,13 @@
β”‚ β”‚ β”‚ @ CallNode (location: (1,5)-(1,8))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,5)-(1,8) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,4)-(1,5) = "("
β”‚ β”‚ └── closing_loc: (1,8)-(1,9) = ")"
β”‚ β”œβ”€β”€ parameters: βˆ…
diff --git a/test/prism/snapshots/whitequark/endless_comparison_method.txt b/test/prism/snapshots/whitequark/endless_comparison_method.txt
index 5d6b5a1afa..9e6dd4e0a0 100644
--- a/test/prism/snapshots/whitequark/endless_comparison_method.txt
+++ b/test/prism/snapshots/whitequark/endless_comparison_method.txt
@@ -24,13 +24,13 @@
β”‚ β”‚ └── @ CallNode (location: (1,16)-(1,28))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :do_something
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,16)-(1,28) = "do_something"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :do_something
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ locals: [:other]
β”‚ β”œβ”€β”€ def_keyword_loc: (1,0)-(1,3) = "def"
β”‚ β”œβ”€β”€ operator_loc: βˆ…
@@ -59,13 +59,13 @@
β”‚ β”‚ └── @ CallNode (location: (3,16)-(3,28))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :do_something
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,16)-(3,28) = "do_something"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :do_something
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ locals: [:other]
β”‚ β”œβ”€β”€ def_keyword_loc: (3,0)-(3,3) = "def"
β”‚ β”œβ”€β”€ operator_loc: βˆ…
@@ -94,13 +94,13 @@
β”‚ β”‚ └── @ CallNode (location: (5,16)-(5,28))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :do_something
β”‚ β”‚ β”œβ”€β”€ message_loc: (5,16)-(5,28) = "do_something"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :do_something
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ locals: [:other]
β”‚ β”œβ”€β”€ def_keyword_loc: (5,0)-(5,3) = "def"
β”‚ β”œβ”€β”€ operator_loc: βˆ…
@@ -129,13 +129,13 @@
β”‚ β”‚ └── @ CallNode (location: (7,16)-(7,28))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :do_something
β”‚ β”‚ β”œβ”€β”€ message_loc: (7,16)-(7,28) = "do_something"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :do_something
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ locals: [:other]
β”‚ β”œβ”€β”€ def_keyword_loc: (7,0)-(7,3) = "def"
β”‚ β”œβ”€β”€ operator_loc: βˆ…
@@ -164,13 +164,13 @@
β”‚ β”‚ └── @ CallNode (location: (9,17)-(9,29))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :do_something
β”‚ β”‚ β”œβ”€β”€ message_loc: (9,17)-(9,29) = "do_something"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :do_something
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ locals: [:other]
β”‚ β”œβ”€β”€ def_keyword_loc: (9,0)-(9,3) = "def"
β”‚ β”œβ”€β”€ operator_loc: βˆ…
@@ -199,13 +199,13 @@
β”‚ └── @ CallNode (location: (11,16)-(11,28))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :do_something
β”‚ β”œβ”€β”€ message_loc: (11,16)-(11,28) = "do_something"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :do_something
+ β”‚ └── flags: variable_call
β”œβ”€β”€ locals: [:other]
β”œβ”€β”€ def_keyword_loc: (11,0)-(11,3) = "def"
β”œβ”€β”€ operator_loc: βˆ…
diff --git a/test/prism/snapshots/whitequark/endless_method.txt b/test/prism/snapshots/whitequark/endless_method.txt
index fcf3c1c216..b0670ad937 100644
--- a/test/prism/snapshots/whitequark/endless_method.txt
+++ b/test/prism/snapshots/whitequark/endless_method.txt
@@ -44,6 +44,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ name: :x
β”‚ β”‚ β”‚ └── depth: 0
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :+
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,15)-(3,16) = "+"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -54,8 +55,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :+
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ locals: [:x]
β”‚ β”œβ”€β”€ def_keyword_loc: (3,0)-(3,3) = "def"
β”‚ β”œβ”€β”€ operator_loc: βˆ…
@@ -70,13 +70,13 @@
β”‚ β”‚ @ CallNode (location: (5,4)-(5,7))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :obj
β”‚ β”‚ β”œβ”€β”€ message_loc: (5,4)-(5,7) = "obj"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :obj
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ parameters: βˆ…
β”‚ β”œβ”€β”€ body:
β”‚ β”‚ @ StatementsNode (location: (5,16)-(5,18))
@@ -97,13 +97,13 @@
β”‚ @ CallNode (location: (7,4)-(7,7))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :obj
β”‚ β”œβ”€β”€ message_loc: (7,4)-(7,7) = "obj"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :obj
+ β”‚ └── flags: variable_call
β”œβ”€β”€ parameters:
β”‚ @ ParametersNode (location: (7,12)-(7,13))
β”‚ β”œβ”€β”€ requireds: (length: 1)
@@ -124,6 +124,7 @@
β”‚ β”‚ β”œβ”€β”€ name: :x
β”‚ β”‚ └── depth: 0
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :+
β”‚ β”œβ”€β”€ message_loc: (7,19)-(7,20) = "+"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -134,8 +135,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :+
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ locals: [:x]
β”œβ”€β”€ def_keyword_loc: (7,0)-(7,3) = "def"
β”œβ”€β”€ operator_loc: (7,7)-(7,8) = "."
diff --git a/test/prism/snapshots/whitequark/endless_method_command_syntax.txt b/test/prism/snapshots/whitequark/endless_method_command_syntax.txt
index b63bfe817f..4ac9556d36 100644
--- a/test/prism/snapshots/whitequark/endless_method_command_syntax.txt
+++ b/test/prism/snapshots/whitequark/endless_method_command_syntax.txt
@@ -14,6 +14,7 @@
β”‚ β”‚ └── @ CallNode (location: (1,10)-(1,22))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :puts
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,10)-(1,14) = "puts"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -28,8 +29,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :puts
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ locals: []
β”‚ β”œβ”€β”€ def_keyword_loc: (1,0)-(1,3) = "def"
β”‚ β”œβ”€β”€ operator_loc: βˆ…
@@ -48,6 +48,7 @@
β”‚ β”‚ └── @ CallNode (location: (3,12)-(3,24))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :puts
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,12)-(3,16) = "puts"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -62,8 +63,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :puts
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ locals: []
β”‚ β”œβ”€β”€ def_keyword_loc: (3,0)-(3,3) = "def"
β”‚ β”œβ”€β”€ operator_loc: βˆ…
@@ -92,6 +92,7 @@
β”‚ β”‚ └── @ CallNode (location: (5,13)-(5,19))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :puts
β”‚ β”‚ β”œβ”€β”€ message_loc: (5,13)-(5,17) = "puts"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -103,8 +104,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :puts
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ locals: [:x]
β”‚ β”œβ”€β”€ def_keyword_loc: (5,0)-(5,3) = "def"
β”‚ β”œβ”€β”€ operator_loc: βˆ…
@@ -119,13 +119,13 @@
β”‚ β”‚ @ CallNode (location: (7,4)-(7,7))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :obj
β”‚ β”‚ β”œβ”€β”€ message_loc: (7,4)-(7,7) = "obj"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :obj
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ parameters: βˆ…
β”‚ β”œβ”€β”€ body:
β”‚ β”‚ @ StatementsNode (location: (7,14)-(7,26))
@@ -133,6 +133,7 @@
β”‚ β”‚ └── @ CallNode (location: (7,14)-(7,26))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :puts
β”‚ β”‚ β”œβ”€β”€ message_loc: (7,14)-(7,18) = "puts"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -147,8 +148,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :puts
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ locals: []
β”‚ β”œβ”€β”€ def_keyword_loc: (7,0)-(7,3) = "def"
β”‚ β”œβ”€β”€ operator_loc: (7,7)-(7,8) = "."
@@ -163,13 +163,13 @@
β”‚ β”‚ @ CallNode (location: (9,4)-(9,7))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :obj
β”‚ β”‚ β”œβ”€β”€ message_loc: (9,4)-(9,7) = "obj"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :obj
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ parameters: βˆ…
β”‚ β”œβ”€β”€ body:
β”‚ β”‚ @ StatementsNode (location: (9,16)-(9,28))
@@ -177,6 +177,7 @@
β”‚ β”‚ └── @ CallNode (location: (9,16)-(9,28))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :puts
β”‚ β”‚ β”œβ”€β”€ message_loc: (9,16)-(9,20) = "puts"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -191,8 +192,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :puts
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ locals: []
β”‚ β”œβ”€β”€ def_keyword_loc: (9,0)-(9,3) = "def"
β”‚ β”œβ”€β”€ operator_loc: (9,7)-(9,8) = "."
@@ -207,13 +207,13 @@
β”‚ β”‚ @ CallNode (location: (11,4)-(11,7))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :obj
β”‚ β”‚ β”œβ”€β”€ message_loc: (11,4)-(11,7) = "obj"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :obj
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ parameters:
β”‚ β”‚ @ ParametersNode (location: (11,12)-(11,13))
β”‚ β”‚ β”œβ”€β”€ requireds: (length: 1)
@@ -231,6 +231,7 @@
β”‚ β”‚ └── @ CallNode (location: (11,17)-(11,23))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :puts
β”‚ β”‚ β”œβ”€β”€ message_loc: (11,17)-(11,21) = "puts"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -242,8 +243,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :puts
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ locals: [:x]
β”‚ β”œβ”€β”€ def_keyword_loc: (11,0)-(11,3) = "def"
β”‚ β”œβ”€β”€ operator_loc: (11,7)-(11,8) = "."
@@ -274,6 +274,7 @@
β”‚ β”‚ β”‚ @ CallNode (location: (13,17)-(13,37))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :raise
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (13,17)-(13,22) = "raise"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -288,8 +289,7 @@
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :raise
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ keyword_loc: (13,38)-(13,44) = "rescue"
β”‚ β”‚ └── rescue_expression:
β”‚ β”‚ @ InterpolatedStringNode (location: (13,45)-(13,60))
@@ -342,6 +342,7 @@
β”‚ β”‚ @ CallNode (location: (15,22)-(15,42))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :raise
β”‚ β”‚ β”œβ”€β”€ message_loc: (15,22)-(15,27) = "raise"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -356,8 +357,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :raise
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ keyword_loc: (15,43)-(15,49) = "rescue"
β”‚ └── rescue_expression:
β”‚ @ InterpolatedStringNode (location: (15,50)-(15,62))
diff --git a/test/prism/snapshots/whitequark/endless_method_forwarded_args_legacy.txt b/test/prism/snapshots/whitequark/endless_method_forwarded_args_legacy.txt
index 07ff89fe29..828e642755 100644
--- a/test/prism/snapshots/whitequark/endless_method_forwarded_args_legacy.txt
+++ b/test/prism/snapshots/whitequark/endless_method_forwarded_args_legacy.txt
@@ -23,6 +23,7 @@
β”‚ └── @ CallNode (location: (1,15)-(1,23))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (1,15)-(1,18) = "bar"
β”‚ β”œβ”€β”€ opening_loc: (1,18)-(1,19) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -32,8 +33,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (1,22)-(1,23) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ locals: [:"..."]
β”œβ”€β”€ def_keyword_loc: (1,0)-(1,3) = "def"
β”œβ”€β”€ operator_loc: βˆ…
diff --git a/test/prism/snapshots/whitequark/ensure.txt b/test/prism/snapshots/whitequark/ensure.txt
index 0e3c04b050..a2fdb4d1ea 100644
--- a/test/prism/snapshots/whitequark/ensure.txt
+++ b/test/prism/snapshots/whitequark/ensure.txt
@@ -11,13 +11,13 @@
β”‚ └── @ CallNode (location: (1,7)-(1,11))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :meth
β”‚ β”œβ”€β”€ message_loc: (1,7)-(1,11) = "meth"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :meth
+ β”‚ └── flags: variable_call
β”œβ”€β”€ rescue_clause: βˆ…
β”œβ”€β”€ else_clause: βˆ…
β”œβ”€β”€ ensure_clause:
@@ -29,12 +29,12 @@
β”‚ β”‚ └── @ CallNode (location: (1,21)-(1,24))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,21)-(1,24) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── end_keyword_loc: (1,26)-(1,29) = "end"
└── end_keyword_loc: (1,26)-(1,29) = "end"
diff --git a/test/prism/snapshots/whitequark/for.txt b/test/prism/snapshots/whitequark/for.txt
index 2bd2ebbfd8..923ca46d14 100644
--- a/test/prism/snapshots/whitequark/for.txt
+++ b/test/prism/snapshots/whitequark/for.txt
@@ -12,19 +12,20 @@
β”‚ β”‚ @ CallNode (location: (1,9)-(1,12))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,9)-(1,12) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ @ StatementsNode (location: (1,16)-(1,19))
β”‚ β”‚ └── body: (length: 1)
β”‚ β”‚ └── @ CallNode (location: (1,16)-(1,19))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :p
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,16)-(1,17) = "p"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -36,8 +37,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :p
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ for_keyword_loc: (1,0)-(1,3) = "for"
β”‚ β”œβ”€β”€ in_keyword_loc: (1,6)-(1,8) = "in"
β”‚ β”œβ”€β”€ do_keyword_loc: (1,13)-(1,15) = "do"
@@ -51,19 +51,20 @@
β”‚ @ CallNode (location: (3,9)-(3,12))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (3,9)-(3,12) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ statements:
β”‚ @ StatementsNode (location: (3,14)-(3,17))
β”‚ └── body: (length: 1)
β”‚ └── @ CallNode (location: (3,14)-(3,17))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :p
β”‚ β”œβ”€β”€ message_loc: (3,14)-(3,15) = "p"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -75,8 +76,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :p
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ for_keyword_loc: (3,0)-(3,3) = "for"
β”œβ”€β”€ in_keyword_loc: (3,6)-(3,8) = "in"
β”œβ”€β”€ do_keyword_loc: βˆ…
diff --git a/test/prism/snapshots/whitequark/for_mlhs.txt b/test/prism/snapshots/whitequark/for_mlhs.txt
index 21960c4b33..ef88d339c5 100644
--- a/test/prism/snapshots/whitequark/for_mlhs.txt
+++ b/test/prism/snapshots/whitequark/for_mlhs.txt
@@ -21,19 +21,20 @@
β”‚ @ CallNode (location: (1,12)-(1,15))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (1,12)-(1,15) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ statements:
β”‚ @ StatementsNode (location: (1,17)-(1,23))
β”‚ └── body: (length: 1)
β”‚ └── @ CallNode (location: (1,17)-(1,23))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :p
β”‚ β”œβ”€β”€ message_loc: (1,17)-(1,18) = "p"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -48,8 +49,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :p
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ for_keyword_loc: (1,0)-(1,3) = "for"
β”œβ”€β”€ in_keyword_loc: (1,9)-(1,11) = "in"
β”œβ”€β”€ do_keyword_loc: βˆ…
diff --git a/test/prism/snapshots/whitequark/forward_arg.txt b/test/prism/snapshots/whitequark/forward_arg.txt
index 1a9aaec90b..1775f70ace 100644
--- a/test/prism/snapshots/whitequark/forward_arg.txt
+++ b/test/prism/snapshots/whitequark/forward_arg.txt
@@ -23,6 +23,7 @@
β”‚ └── @ CallNode (location: (1,14)-(1,22))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (1,14)-(1,17) = "bar"
β”‚ β”œβ”€β”€ opening_loc: (1,17)-(1,18) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -32,8 +33,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (1,21)-(1,22) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ locals: [:"..."]
β”œβ”€β”€ def_keyword_loc: (1,0)-(1,3) = "def"
β”œβ”€β”€ operator_loc: βˆ…
diff --git a/test/prism/snapshots/whitequark/forward_arg_with_open_args.txt b/test/prism/snapshots/whitequark/forward_arg_with_open_args.txt
index 7d7727ad27..7f823fcf49 100644
--- a/test/prism/snapshots/whitequark/forward_arg_with_open_args.txt
+++ b/test/prism/snapshots/whitequark/forward_arg_with_open_args.txt
@@ -27,6 +27,7 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (2,2)-(2,10))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (2,2)-(2,5) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (2,5)-(2,6) = "("
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -36,8 +37,7 @@
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (2,9)-(2,10) = ")"
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ locals: [:"..."]
β”‚ β”‚ β”œβ”€β”€ def_keyword_loc: (1,1)-(1,4) = "def"
β”‚ β”‚ β”œβ”€β”€ operator_loc: βˆ…
@@ -71,6 +71,7 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (5,14)-(5,22))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (5,14)-(5,17) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (5,17)-(5,18) = "("
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -80,8 +81,7 @@
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (5,21)-(5,22) = ")"
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ locals: [:"..."]
β”‚ β”‚ β”œβ”€β”€ def_keyword_loc: (5,1)-(5,4) = "def"
β”‚ β”‚ β”œβ”€β”€ operator_loc: βˆ…
@@ -133,6 +133,7 @@
β”‚ β”‚ └── @ CallNode (location: (10,13)-(10,21))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (10,13)-(10,16) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (10,16)-(10,17) = "("
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -142,8 +143,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: (10,20)-(10,21) = ")"
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ locals: [:"..."]
β”‚ β”œβ”€β”€ def_keyword_loc: (10,0)-(10,3) = "def"
β”‚ β”œβ”€β”€ operator_loc: βˆ…
@@ -173,6 +173,7 @@
β”‚ β”‚ └── @ CallNode (location: (13,2)-(13,10))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (13,2)-(13,5) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (13,5)-(13,6) = "("
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -182,8 +183,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: (13,9)-(13,10) = ")"
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ locals: [:a, :"..."]
β”‚ β”œβ”€β”€ def_keyword_loc: (12,0)-(12,3) = "def"
β”‚ β”œβ”€β”€ operator_loc: βˆ…
@@ -213,6 +213,7 @@
β”‚ β”‚ └── @ CallNode (location: (16,16)-(16,24))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (16,16)-(16,19) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (16,19)-(16,20) = "("
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -222,8 +223,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: (16,23)-(16,24) = ")"
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ locals: [:a, :"..."]
β”‚ β”œβ”€β”€ def_keyword_loc: (16,0)-(16,3) = "def"
β”‚ β”œβ”€β”€ operator_loc: βˆ…
@@ -289,6 +289,7 @@
β”‚ β”‚ └── @ CallNode (location: (22,2)-(22,10))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (22,2)-(22,5) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (22,5)-(22,6) = "("
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -298,8 +299,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: (22,9)-(22,10) = ")"
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ locals: [:b, :"..."]
β”‚ β”œβ”€β”€ def_keyword_loc: (21,0)-(21,3) = "def"
β”‚ β”œβ”€β”€ operator_loc: βˆ…
@@ -334,6 +334,7 @@
β”‚ β”‚ └── @ CallNode (location: (25,20)-(25,28))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (25,20)-(25,23) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (25,23)-(25,24) = "("
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -343,8 +344,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: (25,27)-(25,28) = ")"
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ locals: [:b, :"..."]
β”‚ β”œβ”€β”€ def_keyword_loc: (25,0)-(25,3) = "def"
β”‚ β”œβ”€β”€ operator_loc: βˆ…
@@ -374,6 +374,7 @@
β”‚ └── @ CallNode (location: (27,16)-(27,24))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (27,16)-(27,19) = "bar"
β”‚ β”œβ”€β”€ opening_loc: (27,19)-(27,20) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -383,8 +384,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (27,23)-(27,24) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ locals: [:a, :"..."]
β”œβ”€β”€ def_keyword_loc: (27,0)-(27,3) = "def"
β”œβ”€β”€ operator_loc: βˆ…
diff --git a/test/prism/snapshots/whitequark/forward_args_legacy.txt b/test/prism/snapshots/whitequark/forward_args_legacy.txt
index 5bca692fab..05c267a866 100644
--- a/test/prism/snapshots/whitequark/forward_args_legacy.txt
+++ b/test/prism/snapshots/whitequark/forward_args_legacy.txt
@@ -23,6 +23,7 @@
β”‚ β”‚ └── @ CallNode (location: (1,14)-(1,22))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,14)-(1,17) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,17)-(1,18) = "("
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -32,8 +33,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: (1,21)-(1,22) = ")"
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ locals: [:"..."]
β”‚ β”œβ”€β”€ def_keyword_loc: (1,0)-(1,3) = "def"
β”‚ β”œβ”€β”€ operator_loc: βˆ…
diff --git a/test/prism/snapshots/whitequark/forwarded_argument_with_kwrestarg.txt b/test/prism/snapshots/whitequark/forwarded_argument_with_kwrestarg.txt
index 53b3d90dd5..a324e9b916 100644
--- a/test/prism/snapshots/whitequark/forwarded_argument_with_kwrestarg.txt
+++ b/test/prism/snapshots/whitequark/forwarded_argument_with_kwrestarg.txt
@@ -28,6 +28,7 @@
β”‚ └── @ CallNode (location: (1,23)-(1,40))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (1,23)-(1,26) = "bar"
β”‚ β”œβ”€β”€ opening_loc: (1,26)-(1,27) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -44,8 +45,7 @@
β”‚ β”‚ └── flags: contains_keyword_splat
β”‚ β”œβ”€β”€ closing_loc: (1,39)-(1,40) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ locals: [:argument, :**]
β”œβ”€β”€ def_keyword_loc: (1,0)-(1,3) = "def"
β”œβ”€β”€ operator_loc: βˆ…
diff --git a/test/prism/snapshots/whitequark/forwarded_argument_with_restarg.txt b/test/prism/snapshots/whitequark/forwarded_argument_with_restarg.txt
index 071d15a496..b73c7231a7 100644
--- a/test/prism/snapshots/whitequark/forwarded_argument_with_restarg.txt
+++ b/test/prism/snapshots/whitequark/forwarded_argument_with_restarg.txt
@@ -28,6 +28,7 @@
β”‚ └── @ CallNode (location: (1,22)-(1,38))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (1,22)-(1,25) = "bar"
β”‚ β”œβ”€β”€ opening_loc: (1,25)-(1,26) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -42,8 +43,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (1,37)-(1,38) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ locals: [:argument, :*]
β”œβ”€β”€ def_keyword_loc: (1,0)-(1,3) = "def"
β”œβ”€β”€ operator_loc: βˆ…
diff --git a/test/prism/snapshots/whitequark/forwarded_kwrestarg.txt b/test/prism/snapshots/whitequark/forwarded_kwrestarg.txt
index f6ae042763..151de97b3d 100644
--- a/test/prism/snapshots/whitequark/forwarded_kwrestarg.txt
+++ b/test/prism/snapshots/whitequark/forwarded_kwrestarg.txt
@@ -26,6 +26,7 @@
β”‚ └── @ CallNode (location: (1,13)-(1,20))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (1,13)-(1,16) = "bar"
β”‚ β”œβ”€β”€ opening_loc: (1,16)-(1,17) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -39,8 +40,7 @@
β”‚ β”‚ └── flags: contains_keyword_splat
β”‚ β”œβ”€β”€ closing_loc: (1,19)-(1,20) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ locals: [:**]
β”œβ”€β”€ def_keyword_loc: (1,0)-(1,3) = "def"
β”œβ”€β”€ operator_loc: βˆ…
diff --git a/test/prism/snapshots/whitequark/forwarded_kwrestarg_with_additional_kwarg.txt b/test/prism/snapshots/whitequark/forwarded_kwrestarg_with_additional_kwarg.txt
index 32f05cdf17..caca04ec5a 100644
--- a/test/prism/snapshots/whitequark/forwarded_kwrestarg_with_additional_kwarg.txt
+++ b/test/prism/snapshots/whitequark/forwarded_kwrestarg_with_additional_kwarg.txt
@@ -26,6 +26,7 @@
β”‚ └── @ CallNode (location: (1,13)-(1,36))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (1,13)-(1,16) = "bar"
β”‚ β”œβ”€β”€ opening_loc: (1,16)-(1,17) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -49,8 +50,7 @@
β”‚ β”‚ └── flags: contains_keyword_splat
β”‚ β”œβ”€β”€ closing_loc: (1,35)-(1,36) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ locals: [:**]
β”œβ”€β”€ def_keyword_loc: (1,0)-(1,3) = "def"
β”œβ”€β”€ operator_loc: βˆ…
diff --git a/test/prism/snapshots/whitequark/forwarded_restarg.txt b/test/prism/snapshots/whitequark/forwarded_restarg.txt
index 61333d9170..10de7c587f 100644
--- a/test/prism/snapshots/whitequark/forwarded_restarg.txt
+++ b/test/prism/snapshots/whitequark/forwarded_restarg.txt
@@ -26,6 +26,7 @@
β”‚ └── @ CallNode (location: (1,12)-(1,18))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (1,12)-(1,15) = "bar"
β”‚ β”œβ”€β”€ opening_loc: (1,15)-(1,16) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -37,8 +38,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (1,17)-(1,18) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ locals: [:*]
β”œβ”€β”€ def_keyword_loc: (1,0)-(1,3) = "def"
β”œβ”€β”€ operator_loc: βˆ…
diff --git a/test/prism/snapshots/whitequark/hash_kwsplat.txt b/test/prism/snapshots/whitequark/hash_kwsplat.txt
index 8751e31cf4..450393cdba 100644
--- a/test/prism/snapshots/whitequark/hash_kwsplat.txt
+++ b/test/prism/snapshots/whitequark/hash_kwsplat.txt
@@ -22,12 +22,12 @@
β”‚ β”‚ @ CallNode (location: (1,12)-(1,15))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,12)-(1,15) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── operator_loc: (1,10)-(1,12) = "**"
└── closing_loc: (1,16)-(1,17) = "}"
diff --git a/test/prism/snapshots/whitequark/hash_label_end.txt b/test/prism/snapshots/whitequark/hash_label_end.txt
index 232cfdbef1..0e3a6c69e6 100644
--- a/test/prism/snapshots/whitequark/hash_label_end.txt
+++ b/test/prism/snapshots/whitequark/hash_label_end.txt
@@ -6,6 +6,7 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(1,12))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :f
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”‚ β”œβ”€β”€ opening_loc: (1,1)-(1,2) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -17,13 +18,13 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (1,2)-(1,3))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,2)-(1,3) = "a"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ then_keyword_loc: (1,4)-(1,5) = "?"
β”‚ β”‚ β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ β”‚ β”‚ @ StatementsNode (location: (1,6)-(1,9))
@@ -47,8 +48,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (1,11)-(1,12) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :f
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ HashNode (location: (3,0)-(3,12))
β”‚ β”œβ”€β”€ opening_loc: (3,0)-(3,1) = "{"
β”‚ β”œβ”€β”€ elements: (length: 1)
diff --git a/test/prism/snapshots/whitequark/hash_pair_value_omission.txt b/test/prism/snapshots/whitequark/hash_pair_value_omission.txt
index 205d2ce10c..38865c5a6d 100644
--- a/test/prism/snapshots/whitequark/hash_pair_value_omission.txt
+++ b/test/prism/snapshots/whitequark/hash_pair_value_omission.txt
@@ -36,13 +36,13 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (3,1)-(3,3))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,1)-(3,2) = "a"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── operator_loc: βˆ…
β”‚ β”‚ └── @ AssocNode (location: (3,5)-(3,7))
β”‚ β”‚ β”œβ”€β”€ key:
@@ -57,13 +57,13 @@
β”‚ β”‚ β”‚ @ CallNode (location: (3,5)-(3,7))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,5)-(3,6) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── operator_loc: βˆ…
β”‚ └── closing_loc: (3,7)-(3,8) = "}"
└── @ HashNode (location: (5,0)-(5,7))
@@ -82,12 +82,12 @@
β”‚ β”‚ @ CallNode (location: (5,1)-(5,6))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :puts
β”‚ β”‚ β”œβ”€β”€ message_loc: (5,1)-(5,5) = "puts"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :puts
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── operator_loc: βˆ…
└── closing_loc: (5,6)-(5,7) = "}"
diff --git a/test/prism/snapshots/whitequark/if.txt b/test/prism/snapshots/whitequark/if.txt
index efedd32d05..decf911e7b 100644
--- a/test/prism/snapshots/whitequark/if.txt
+++ b/test/prism/snapshots/whitequark/if.txt
@@ -9,13 +9,13 @@
β”‚ β”‚ @ CallNode (location: (1,3)-(1,6))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,3)-(1,6) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ then_keyword_loc: (1,7)-(1,11) = "then"
β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ @ StatementsNode (location: (1,12)-(1,15))
@@ -23,13 +23,13 @@
β”‚ β”‚ └── @ CallNode (location: (1,12)-(1,15))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,12)-(1,15) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ consequent: βˆ…
β”‚ └── end_keyword_loc: (1,17)-(1,20) = "end"
└── @ IfNode (location: (3,0)-(3,16))
@@ -38,13 +38,13 @@
β”‚ @ CallNode (location: (3,3)-(3,6))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (3,3)-(3,6) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ then_keyword_loc: βˆ…
β”œβ”€β”€ statements:
β”‚ @ StatementsNode (location: (3,8)-(3,11))
@@ -52,12 +52,12 @@
β”‚ └── @ CallNode (location: (3,8)-(3,11))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (3,8)-(3,11) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :bar
+ β”‚ └── flags: variable_call
β”œβ”€β”€ consequent: βˆ…
└── end_keyword_loc: (3,13)-(3,16) = "end"
diff --git a/test/prism/snapshots/whitequark/if_else.txt b/test/prism/snapshots/whitequark/if_else.txt
index a7fbb016e6..eb69a25eed 100644
--- a/test/prism/snapshots/whitequark/if_else.txt
+++ b/test/prism/snapshots/whitequark/if_else.txt
@@ -9,13 +9,13 @@
β”‚ β”‚ @ CallNode (location: (1,3)-(1,6))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,3)-(1,6) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ then_keyword_loc: (1,7)-(1,11) = "then"
β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ @ StatementsNode (location: (1,12)-(1,15))
@@ -23,13 +23,13 @@
β”‚ β”‚ └── @ CallNode (location: (1,12)-(1,15))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,12)-(1,15) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ consequent:
β”‚ β”‚ @ ElseNode (location: (1,17)-(1,30))
β”‚ β”‚ β”œβ”€β”€ else_keyword_loc: (1,17)-(1,21) = "else"
@@ -39,13 +39,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (1,22)-(1,25))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,22)-(1,25) = "baz"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── end_keyword_loc: (1,27)-(1,30) = "end"
β”‚ └── end_keyword_loc: (1,27)-(1,30) = "end"
└── @ IfNode (location: (3,0)-(3,26))
@@ -54,13 +54,13 @@
β”‚ @ CallNode (location: (3,3)-(3,6))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (3,3)-(3,6) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ then_keyword_loc: βˆ…
β”œβ”€β”€ statements:
β”‚ @ StatementsNode (location: (3,8)-(3,11))
@@ -68,13 +68,13 @@
β”‚ └── @ CallNode (location: (3,8)-(3,11))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (3,8)-(3,11) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :bar
+ β”‚ └── flags: variable_call
β”œβ”€β”€ consequent:
β”‚ @ ElseNode (location: (3,13)-(3,26))
β”‚ β”œβ”€β”€ else_keyword_loc: (3,13)-(3,17) = "else"
@@ -84,12 +84,12 @@
β”‚ β”‚ └── @ CallNode (location: (3,18)-(3,21))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,18)-(3,21) = "baz"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── end_keyword_loc: (3,23)-(3,26) = "end"
└── end_keyword_loc: (3,23)-(3,26) = "end"
diff --git a/test/prism/snapshots/whitequark/if_elsif.txt b/test/prism/snapshots/whitequark/if_elsif.txt
index 991b7741f9..39cf1d6fef 100644
--- a/test/prism/snapshots/whitequark/if_elsif.txt
+++ b/test/prism/snapshots/whitequark/if_elsif.txt
@@ -9,13 +9,13 @@
β”‚ @ CallNode (location: (1,3)-(1,6))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (1,3)-(1,6) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ then_keyword_loc: βˆ…
β”œβ”€β”€ statements:
β”‚ @ StatementsNode (location: (1,8)-(1,11))
@@ -23,13 +23,13 @@
β”‚ └── @ CallNode (location: (1,8)-(1,11))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (1,8)-(1,11) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :bar
+ β”‚ └── flags: variable_call
β”œβ”€β”€ consequent:
β”‚ @ IfNode (location: (1,13)-(1,38))
β”‚ β”œβ”€β”€ if_keyword_loc: (1,13)-(1,18) = "elsif"
@@ -37,13 +37,13 @@
β”‚ β”‚ @ CallNode (location: (1,19)-(1,22))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,19)-(1,22) = "baz"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ then_keyword_loc: βˆ…
β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ @ StatementsNode (location: (1,24)-(1,25))
diff --git a/test/prism/snapshots/whitequark/if_masgn__24.txt b/test/prism/snapshots/whitequark/if_masgn__24.txt
index ab02456f9b..7866dff924 100644
--- a/test/prism/snapshots/whitequark/if_masgn__24.txt
+++ b/test/prism/snapshots/whitequark/if_masgn__24.txt
@@ -27,13 +27,13 @@
β”‚ β”‚ @ CallNode (location: (1,11)-(1,14))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,11)-(1,14) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ opening_loc: (1,3)-(1,4) = "("
β”‚ └── closing_loc: (1,14)-(1,15) = ")"
β”œβ”€β”€ then_keyword_loc: βˆ…
diff --git a/test/prism/snapshots/whitequark/if_mod.txt b/test/prism/snapshots/whitequark/if_mod.txt
index e1ead01328..708e475e21 100644
--- a/test/prism/snapshots/whitequark/if_mod.txt
+++ b/test/prism/snapshots/whitequark/if_mod.txt
@@ -9,13 +9,13 @@
β”‚ @ CallNode (location: (1,7)-(1,10))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (1,7)-(1,10) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ then_keyword_loc: βˆ…
β”œβ”€β”€ statements:
β”‚ @ StatementsNode (location: (1,0)-(1,3))
@@ -23,12 +23,12 @@
β”‚ └── @ CallNode (location: (1,0)-(1,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :bar
+ β”‚ └── flags: variable_call
β”œβ”€β”€ consequent: βˆ…
└── end_keyword_loc: βˆ…
diff --git a/test/prism/snapshots/whitequark/if_nl_then.txt b/test/prism/snapshots/whitequark/if_nl_then.txt
index 2146c2462a..c38be5ebd2 100644
--- a/test/prism/snapshots/whitequark/if_nl_then.txt
+++ b/test/prism/snapshots/whitequark/if_nl_then.txt
@@ -9,13 +9,13 @@
β”‚ @ CallNode (location: (1,3)-(1,6))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (1,3)-(1,6) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ then_keyword_loc: (2,0)-(2,4) = "then"
β”œβ”€β”€ statements:
β”‚ @ StatementsNode (location: (2,5)-(2,8))
@@ -23,12 +23,12 @@
β”‚ └── @ CallNode (location: (2,5)-(2,8))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (2,5)-(2,8) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :bar
+ β”‚ └── flags: variable_call
β”œβ”€β”€ consequent: βˆ…
└── end_keyword_loc: (2,9)-(2,12) = "end"
diff --git a/test/prism/snapshots/whitequark/keyword_argument_omission.txt b/test/prism/snapshots/whitequark/keyword_argument_omission.txt
index b4f6e9f852..cb57776005 100644
--- a/test/prism/snapshots/whitequark/keyword_argument_omission.txt
+++ b/test/prism/snapshots/whitequark/keyword_argument_omission.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,11))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :foo
β”œβ”€β”€ message_loc: (1,0)-(1,3) = "foo"
β”œβ”€β”€ opening_loc: (1,3)-(1,4) = "("
β”œβ”€β”€ arguments:
@@ -26,13 +27,13 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (1,4)-(1,6))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,5) = "a"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── operator_loc: βˆ…
β”‚ β”‚ └── @ AssocNode (location: (1,8)-(1,10))
β”‚ β”‚ β”œβ”€β”€ key:
@@ -47,16 +48,15 @@
β”‚ β”‚ β”‚ @ CallNode (location: (1,8)-(1,10))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,8)-(1,9) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── operator_loc: βˆ…
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (1,10)-(1,11) = ")"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :foo
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/kwbegin_compstmt.txt b/test/prism/snapshots/whitequark/kwbegin_compstmt.txt
index e4da7c1eb0..dcbf053139 100644
--- a/test/prism/snapshots/whitequark/kwbegin_compstmt.txt
+++ b/test/prism/snapshots/whitequark/kwbegin_compstmt.txt
@@ -11,23 +11,23 @@
β”‚ β”œβ”€β”€ @ CallNode (location: (1,6)-(1,10))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo!
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,6)-(1,10) = "foo!"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :foo!
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── @ CallNode (location: (1,12)-(1,16))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :bar!
β”‚ β”œβ”€β”€ message_loc: (1,12)-(1,16) = "bar!"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar!
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ rescue_clause: βˆ…
β”œβ”€β”€ else_clause: βˆ…
β”œβ”€β”€ ensure_clause: βˆ…
diff --git a/test/prism/snapshots/whitequark/kwnilarg.txt b/test/prism/snapshots/whitequark/kwnilarg.txt
index de2173b1c6..2b5902db1a 100644
--- a/test/prism/snapshots/whitequark/kwnilarg.txt
+++ b/test/prism/snapshots/whitequark/kwnilarg.txt
@@ -53,6 +53,7 @@
└── @ CallNode (location: (5,0)-(5,13))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :m
β”œβ”€β”€ message_loc: (5,0)-(5,1) = "m"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -80,5 +81,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (5,2)-(5,3) = "{"
β”‚ └── closing_loc: (5,12)-(5,13) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :m
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/kwoptarg_with_kwrestarg_and_forwarded_args.txt b/test/prism/snapshots/whitequark/kwoptarg_with_kwrestarg_and_forwarded_args.txt
index 58d3928db2..05498094b5 100644
--- a/test/prism/snapshots/whitequark/kwoptarg_with_kwrestarg_and_forwarded_args.txt
+++ b/test/prism/snapshots/whitequark/kwoptarg_with_kwrestarg_and_forwarded_args.txt
@@ -31,6 +31,7 @@
β”‚ └── @ CallNode (location: (1,19)-(1,24))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :b
β”‚ β”œβ”€β”€ message_loc: (1,19)-(1,20) = "b"
β”‚ β”œβ”€β”€ opening_loc: (1,20)-(1,21) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -44,8 +45,7 @@
β”‚ β”‚ └── flags: contains_keyword_splat
β”‚ β”œβ”€β”€ closing_loc: (1,23)-(1,24) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :b
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ locals: [:a, :**]
β”œβ”€β”€ def_keyword_loc: (1,0)-(1,3) = "def"
β”œβ”€β”€ operator_loc: βˆ…
diff --git a/test/prism/snapshots/whitequark/lbrace_arg_after_command_args.txt b/test/prism/snapshots/whitequark/lbrace_arg_after_command_args.txt
index 2f833cb70c..2b85b2980e 100644
--- a/test/prism/snapshots/whitequark/lbrace_arg_after_command_args.txt
+++ b/test/prism/snapshots/whitequark/lbrace_arg_after_command_args.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,22))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :let
β”œβ”€β”€ message_loc: (1,0)-(1,3) = "let"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -34,6 +35,7 @@
β”‚ β”‚ └── @ CallNode (location: (1,11)-(1,20))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :m
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,11)-(1,12) = "m"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -45,9 +47,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,13)-(1,15) = "do"
β”‚ β”‚ β”‚ └── closing_loc: (1,17)-(1,20) = "end"
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :m
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,9)-(1,10) = "{"
β”‚ └── closing_loc: (1,21)-(1,22) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :let
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/lparenarg_after_lvar__since_25.txt b/test/prism/snapshots/whitequark/lparenarg_after_lvar__since_25.txt
index 11183e016d..b8fee1d50b 100644
--- a/test/prism/snapshots/whitequark/lparenarg_after_lvar__since_25.txt
+++ b/test/prism/snapshots/whitequark/lparenarg_after_lvar__since_25.txt
@@ -6,6 +6,7 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(1,14))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -21,21 +22,21 @@
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,4)-(1,5) = "("
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (1,9)-(1,10) = ")"
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (1,10)-(1,11) = "."
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :abs
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,11)-(1,14) = "abs"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :abs
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :foo
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (3,0)-(3,15))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :meth
β”œβ”€β”€ message_loc: (3,0)-(3,4) = "meth"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -51,15 +52,14 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (3,5)-(3,6) = "("
β”‚ β”‚ β”‚ └── closing_loc: (3,10)-(3,11) = ")"
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (3,11)-(3,12) = "."
+ β”‚ β”‚ β”œβ”€β”€ name: :abs
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,12)-(3,15) = "abs"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :abs
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :meth
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/lvar.txt b/test/prism/snapshots/whitequark/lvar.txt
index 8c7b232cb2..3d0ee78f85 100644
--- a/test/prism/snapshots/whitequark/lvar.txt
+++ b/test/prism/snapshots/whitequark/lvar.txt
@@ -6,10 +6,10 @@
└── @ CallNode (location: (1,0)-(1,3))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :foo
β”œβ”€β”€ message_loc: (1,0)-(1,3) = "foo"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: variable_call
- └── name: :foo
+ └── flags: variable_call
diff --git a/test/prism/snapshots/whitequark/lvar_injecting_match.txt b/test/prism/snapshots/whitequark/lvar_injecting_match.txt
index de6d5eb99a..f58882b9bd 100644
--- a/test/prism/snapshots/whitequark/lvar_injecting_match.txt
+++ b/test/prism/snapshots/whitequark/lvar_injecting_match.txt
@@ -14,6 +14,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ unescaped: "(?<match>bar)"
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :=~
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,16)-(1,18) = "=~"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -28,8 +29,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :=~
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── targets: (length: 1)
β”‚ └── @ LocalVariableTargetNode (location: (1,4)-(1,9))
β”‚ β”œβ”€β”€ name: :match
diff --git a/test/prism/snapshots/whitequark/masgn_attr.txt b/test/prism/snapshots/whitequark/masgn_attr.txt
index b74843a60c..301c894e99 100644
--- a/test/prism/snapshots/whitequark/masgn_attr.txt
+++ b/test/prism/snapshots/whitequark/masgn_attr.txt
@@ -9,13 +9,13 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ β”‚ β”‚ @ SelfNode (location: (1,0)-(1,4))
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (1,4)-(1,5) = "."
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :A=
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,5)-(1,6) = "A"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :A=
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── @ LocalVariableTargetNode (location: (1,8)-(1,11))
β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ └── depth: 0
@@ -34,17 +34,18 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ β”‚ β”‚ @ SelfNode (location: (3,0)-(3,4))
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (3,4)-(3,5) = "."
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a=
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,5)-(3,6) = "a"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :a=
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── @ CallNode (location: (3,8)-(3,18))
β”‚ β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ β”‚ @ SelfNode (location: (3,8)-(3,12))
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :[]=
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,12)-(3,18) = "[1, 2]"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (3,12)-(3,13) = "["
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -57,8 +58,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: (3,17)-(3,18) = "]"
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :[]=
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ rest: βˆ…
β”‚ β”œβ”€β”€ rights: (length: 0)
β”‚ β”œβ”€β”€ lparen_loc: βˆ…
@@ -74,13 +74,13 @@
β”‚ β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ β”‚ @ SelfNode (location: (5,0)-(5,4))
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (5,4)-(5,6) = "::"
+ β”‚ β”‚ β”œβ”€β”€ name: :a=
β”‚ β”‚ β”œβ”€β”€ message_loc: (5,6)-(5,7) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :a=
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── @ LocalVariableTargetNode (location: (5,9)-(5,12))
β”‚ β”œβ”€β”€ name: :foo
β”‚ └── depth: 0
diff --git a/test/prism/snapshots/whitequark/masgn_cmd.txt b/test/prism/snapshots/whitequark/masgn_cmd.txt
index 003dd47c13..4300096f4d 100644
--- a/test/prism/snapshots/whitequark/masgn_cmd.txt
+++ b/test/prism/snapshots/whitequark/masgn_cmd.txt
@@ -20,6 +20,7 @@
@ CallNode (location: (1,11)-(1,16))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :m
β”œβ”€β”€ message_loc: (1,11)-(1,12) = "m"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -31,5 +32,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :m
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/masgn_nested.txt b/test/prism/snapshots/whitequark/masgn_nested.txt
index 4ee7ea3e00..e716762a98 100644
--- a/test/prism/snapshots/whitequark/masgn_nested.txt
+++ b/test/prism/snapshots/whitequark/masgn_nested.txt
@@ -26,13 +26,13 @@
β”‚ @ CallNode (location: (1,10)-(1,13))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (1,10)-(1,13) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
└── @ MultiWriteNode (location: (3,0)-(3,15))
β”œβ”€β”€ lefts: (length: 2)
β”‚ β”œβ”€β”€ @ LocalVariableTargetNode (location: (3,0)-(3,1))
@@ -59,10 +59,10 @@
@ CallNode (location: (3,12)-(3,15))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :foo
β”œβ”€β”€ message_loc: (3,12)-(3,15) = "foo"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: variable_call
- └── name: :foo
+ └── flags: variable_call
diff --git a/test/prism/snapshots/whitequark/masgn_splat.txt b/test/prism/snapshots/whitequark/masgn_splat.txt
index 16a8e1a468..5660ebbc06 100644
--- a/test/prism/snapshots/whitequark/masgn_splat.txt
+++ b/test/prism/snapshots/whitequark/masgn_splat.txt
@@ -17,13 +17,13 @@
β”‚ @ CallNode (location: (1,4)-(1,7))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,7) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :bar
+ β”‚ └── flags: variable_call
β”œβ”€β”€ @ MultiWriteNode (location: (3,0)-(3,13))
β”‚ β”œβ”€β”€ lefts: (length: 0)
β”‚ β”œβ”€β”€ rest:
@@ -44,13 +44,13 @@
β”‚ @ CallNode (location: (3,10)-(3,13))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (3,10)-(3,13) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :bar
+ β”‚ └── flags: variable_call
β”œβ”€β”€ @ MultiWriteNode (location: (5,0)-(5,8))
β”‚ β”œβ”€β”€ lefts: (length: 0)
β”‚ β”œβ”€β”€ rest:
@@ -68,13 +68,13 @@
β”‚ @ CallNode (location: (5,5)-(5,8))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (5,5)-(5,8) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :bar
+ β”‚ └── flags: variable_call
β”œβ”€β”€ @ MultiWriteNode (location: (7,0)-(7,11))
β”‚ β”œβ”€β”€ lefts: (length: 0)
β”‚ β”œβ”€β”€ rest:
@@ -95,13 +95,13 @@
β”‚ @ CallNode (location: (7,8)-(7,11))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (7,8)-(7,11) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :bar
+ β”‚ └── flags: variable_call
β”œβ”€β”€ @ MultiWriteNode (location: (9,0)-(9,18))
β”‚ β”œβ”€β”€ lefts: (length: 2)
β”‚ β”‚ β”œβ”€β”€ @ InstanceVariableTargetNode (location: (9,0)-(9,4))
@@ -122,13 +122,13 @@
β”‚ β”‚ @ CallNode (location: (9,15)-(9,18))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (9,15)-(9,18) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ └── flags: contains_splat
@@ -149,13 +149,13 @@
β”‚ @ CallNode (location: (11,7)-(11,10))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (11,7)-(11,10) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :bar
+ β”‚ └── flags: variable_call
β”œβ”€β”€ @ MultiWriteNode (location: (13,0)-(13,13))
β”‚ β”œβ”€β”€ lefts: (length: 1)
β”‚ β”‚ └── @ LocalVariableTargetNode (location: (13,0)-(13,1))
@@ -176,13 +176,13 @@
β”‚ @ CallNode (location: (13,10)-(13,13))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (13,10)-(13,13) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :bar
+ β”‚ └── flags: variable_call
β”œβ”€β”€ @ MultiWriteNode (location: (15,0)-(15,11))
β”‚ β”œβ”€β”€ lefts: (length: 1)
β”‚ β”‚ └── @ LocalVariableTargetNode (location: (15,0)-(15,1))
@@ -203,13 +203,13 @@
β”‚ @ CallNode (location: (15,8)-(15,11))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (15,8)-(15,11) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :bar
+ β”‚ └── flags: variable_call
β”œβ”€β”€ @ MultiWriteNode (location: (17,0)-(17,14))
β”‚ β”œβ”€β”€ lefts: (length: 1)
β”‚ β”‚ └── @ LocalVariableTargetNode (location: (17,0)-(17,1))
@@ -233,13 +233,13 @@
β”‚ @ CallNode (location: (17,11)-(17,14))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (17,11)-(17,14) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :bar
+ β”‚ └── flags: variable_call
└── @ MultiWriteNode (location: (19,0)-(19,16))
β”œβ”€β”€ lefts: (length: 2)
β”‚ β”œβ”€β”€ @ LocalVariableTargetNode (location: (19,0)-(19,1))
@@ -262,23 +262,23 @@
β”‚ β”‚ @ CallNode (location: (19,8)-(19,11))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (19,8)-(19,11) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── @ CallNode (location: (19,13)-(19,16))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (19,13)-(19,16) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :bar
+ β”‚ └── flags: variable_call
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
└── flags: contains_splat
diff --git a/test/prism/snapshots/whitequark/method_definition_in_while_cond.txt b/test/prism/snapshots/whitequark/method_definition_in_while_cond.txt
index 523b92e7ab..cbb114dd69 100644
--- a/test/prism/snapshots/whitequark/method_definition_in_while_cond.txt
+++ b/test/prism/snapshots/whitequark/method_definition_in_while_cond.txt
@@ -23,6 +23,7 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (1,18)-(1,28))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :tap
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,18)-(1,21) = "tap"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -34,8 +35,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,22)-(1,24) = "do"
β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (1,25)-(1,28) = "end"
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :tap
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ rest: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ posts: (length: 0)
β”‚ β”‚ β”‚ β”œβ”€β”€ keywords: (length: 0)
@@ -71,6 +71,7 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (3,15)-(3,25))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :tap
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,15)-(3,18) = "tap"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -82,8 +83,7 @@
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (3,19)-(3,21) = "do"
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (3,22)-(3,25) = "end"
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :tap
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ locals: []
β”‚ β”‚ β”œβ”€β”€ def_keyword_loc: (3,6)-(3,9) = "def"
β”‚ β”‚ β”œβ”€β”€ operator_loc: βˆ…
@@ -119,6 +119,7 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (5,23)-(5,33))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :tap
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (5,23)-(5,26) = "tap"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -130,8 +131,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (5,27)-(5,29) = "do"
β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (5,30)-(5,33) = "end"
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :tap
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ rest: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ posts: (length: 0)
β”‚ β”‚ β”‚ β”œβ”€β”€ keywords: (length: 0)
@@ -168,6 +168,7 @@
β”‚ β”‚ └── @ CallNode (location: (7,20)-(7,30))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :tap
β”‚ β”‚ β”œβ”€β”€ message_loc: (7,20)-(7,23) = "tap"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -179,8 +180,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (7,24)-(7,26) = "do"
β”‚ β”‚ β”‚ └── closing_loc: (7,27)-(7,30) = "end"
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :tap
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ locals: []
β”‚ β”œβ”€β”€ def_keyword_loc: (7,6)-(7,9) = "def"
β”‚ β”œβ”€β”€ operator_loc: (7,14)-(7,15) = "."
diff --git a/test/prism/snapshots/whitequark/newline_in_hash_argument.txt b/test/prism/snapshots/whitequark/newline_in_hash_argument.txt
index 43791501f3..6bfce489dc 100644
--- a/test/prism/snapshots/whitequark/newline_in_hash_argument.txt
+++ b/test/prism/snapshots/whitequark/newline_in_hash_argument.txt
@@ -8,13 +8,13 @@
β”‚ β”‚ @ CallNode (location: (1,5)-(1,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,5)-(1,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ conditions: (length: 2)
β”‚ β”‚ β”œβ”€β”€ @ InNode (location: (2,0)-(4,4))
β”‚ β”‚ β”‚ β”œβ”€β”€ pattern:
@@ -74,14 +74,15 @@
β”‚ β”‚ @ CallNode (location: (10,0)-(10,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :obj
β”‚ β”‚ β”œβ”€β”€ message_loc: (10,0)-(10,3) = "obj"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :obj
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (10,3)-(10,4) = "."
+ β”‚ β”œβ”€β”€ name: :set
β”‚ β”œβ”€β”€ message_loc: (10,4)-(10,7) = "set"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -103,21 +104,21 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :set
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (13,0)-(14,1))
β”œβ”€β”€ receiver:
β”‚ @ CallNode (location: (13,0)-(13,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :obj
β”‚ β”œβ”€β”€ message_loc: (13,0)-(13,3) = "obj"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :obj
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: (13,3)-(13,4) = "."
+ β”œβ”€β”€ name: :set
β”œβ”€β”€ message_loc: (13,4)-(13,7) = "set"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -139,5 +140,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :set
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/next.txt b/test/prism/snapshots/whitequark/next.txt
index 2e8422085e..3164e58599 100644
--- a/test/prism/snapshots/whitequark/next.txt
+++ b/test/prism/snapshots/whitequark/next.txt
@@ -13,13 +13,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (3,5)-(3,8))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,5)-(3,8) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ └── keyword_loc: (3,0)-(3,4) = "next"
β”œβ”€β”€ @ NextNode (location: (5,0)-(5,6))
@@ -43,13 +43,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (7,5)-(7,8))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (7,5)-(7,8) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ opening_loc: (7,4)-(7,5) = "("
β”‚ β”‚ └── closing_loc: (7,8)-(7,9) = ")"
β”‚ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/next_block.txt b/test/prism/snapshots/whitequark/next_block.txt
index 1e7a8c6f0e..b49d3dc4a2 100644
--- a/test/prism/snapshots/whitequark/next_block.txt
+++ b/test/prism/snapshots/whitequark/next_block.txt
@@ -10,6 +10,7 @@
β”‚ β”‚ └── @ CallNode (location: (1,5)-(1,19))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :fun
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,5)-(1,8) = "fun"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -18,13 +19,13 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (1,9)-(1,12))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,9)-(1,12) = "foo"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block:
@@ -34,7 +35,6 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,13)-(1,15) = "do"
β”‚ β”‚ β”‚ └── closing_loc: (1,16)-(1,19) = "end"
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :fun
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── flags: βˆ…
└── keyword_loc: (1,0)-(1,4) = "next"
diff --git a/test/prism/snapshots/whitequark/non_lvar_injecting_match.txt b/test/prism/snapshots/whitequark/non_lvar_injecting_match.txt
index 1c0ff8774e..d58da0f420 100644
--- a/test/prism/snapshots/whitequark/non_lvar_injecting_match.txt
+++ b/test/prism/snapshots/whitequark/non_lvar_injecting_match.txt
@@ -25,6 +25,7 @@
β”‚ β”œβ”€β”€ closing_loc: (1,18)-(1,19) = "/"
β”‚ └── flags: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :=~
β”œβ”€β”€ message_loc: (1,20)-(1,22) = "=~"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -39,5 +40,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :=~
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/not.txt b/test/prism/snapshots/whitequark/not.txt
index 16bff85016..44812ba140 100644
--- a/test/prism/snapshots/whitequark/not.txt
+++ b/test/prism/snapshots/whitequark/not.txt
@@ -8,48 +8,48 @@
β”‚ β”‚ @ CallNode (location: (1,4)-(1,7))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,7) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :!
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "not"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :!
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (3,0)-(3,5))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :!
β”‚ β”œβ”€β”€ message_loc: (3,0)-(3,3) = "not"
β”‚ β”œβ”€β”€ opening_loc: (3,3)-(3,4) = "("
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (3,4)-(3,5) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :!
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (5,0)-(5,8))
β”œβ”€β”€ receiver:
β”‚ @ CallNode (location: (5,4)-(5,7))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (5,4)-(5,7) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :!
β”œβ”€β”€ message_loc: (5,0)-(5,3) = "not"
β”œβ”€β”€ opening_loc: (5,3)-(5,4) = "("
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: (5,7)-(5,8) = ")"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :!
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/not_cmd.txt b/test/prism/snapshots/whitequark/not_cmd.txt
index 90f52fbe3e..64240e9fa7 100644
--- a/test/prism/snapshots/whitequark/not_cmd.txt
+++ b/test/prism/snapshots/whitequark/not_cmd.txt
@@ -8,6 +8,7 @@
β”‚ @ CallNode (location: (1,4)-(1,9))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :m
β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,5) = "m"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -16,23 +17,22 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (1,6)-(1,9))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,6)-(1,9) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :m
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :!
β”œβ”€β”€ message_loc: (1,0)-(1,3) = "not"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :!
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/not_masgn__24.txt b/test/prism/snapshots/whitequark/not_masgn__24.txt
index 59fea27a14..3e333a25f2 100644
--- a/test/prism/snapshots/whitequark/not_masgn__24.txt
+++ b/test/prism/snapshots/whitequark/not_masgn__24.txt
@@ -26,20 +26,20 @@
β”‚ β”‚ @ CallNode (location: (1,9)-(1,12))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,9)-(1,12) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ opening_loc: (1,1)-(1,2) = "("
β”‚ └── closing_loc: (1,12)-(1,13) = ")"
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :!
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "!"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :!
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/numbered_args_after_27.txt b/test/prism/snapshots/whitequark/numbered_args_after_27.txt
index cedf1fc9de..a19cedc599 100644
--- a/test/prism/snapshots/whitequark/numbered_args_after_27.txt
+++ b/test/prism/snapshots/whitequark/numbered_args_after_27.txt
@@ -18,6 +18,7 @@
β”‚ β”‚ β”œβ”€β”€ name: :_1
β”‚ β”‚ └── depth: 0
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :+
β”‚ β”œβ”€β”€ message_loc: (1,9)-(1,10) = "+"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -29,8 +30,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :+
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ LambdaNode (location: (3,0)-(3,13))
β”‚ β”œβ”€β”€ locals: [:_1, :_2, :_3, :_4, :_5, :_6, :_7, :_8, :_9]
β”‚ β”œβ”€β”€ operator_loc: (3,0)-(3,2) = "->"
@@ -46,6 +46,7 @@
β”‚ β”‚ β”œβ”€β”€ name: :_1
β”‚ β”‚ └── depth: 0
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :+
β”‚ β”œβ”€β”€ message_loc: (3,8)-(3,9) = "+"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -57,11 +58,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :+
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (5,0)-(5,16))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :m
β”‚ β”œβ”€β”€ message_loc: (5,0)-(5,1) = "m"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -79,6 +80,7 @@
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :_1
β”‚ β”‚ β”‚ β”‚ └── depth: 0
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :+
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (5,8)-(5,9) = "+"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -90,15 +92,14 @@
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :+
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (5,2)-(5,4) = "do"
β”‚ β”‚ └── closing_loc: (5,13)-(5,16) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :m
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (7,0)-(7,13))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :m
β”œβ”€β”€ message_loc: (7,0)-(7,1) = "m"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -116,6 +117,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ name: :_1
β”‚ β”‚ β”‚ └── depth: 0
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :+
β”‚ β”‚ β”œβ”€β”€ message_loc: (7,7)-(7,8) = "+"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -127,9 +129,7 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :+
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (7,2)-(7,3) = "{"
β”‚ └── closing_loc: (7,12)-(7,13) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :m
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/numparam_outside_block.txt b/test/prism/snapshots/whitequark/numparam_outside_block.txt
index d9e417f2a5..1e7f15942d 100644
--- a/test/prism/snapshots/whitequark/numparam_outside_block.txt
+++ b/test/prism/snapshots/whitequark/numparam_outside_block.txt
@@ -6,13 +6,13 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(1,2))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :_1
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,2) = "_1"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :_1
+ β”‚ └── flags: variable_call
β”œβ”€β”€ @ SingletonClassNode (location: (3,0)-(3,21))
β”‚ β”œβ”€β”€ locals: []
β”‚ β”œβ”€β”€ class_keyword_loc: (3,0)-(3,5) = "class"
@@ -21,26 +21,26 @@
β”‚ β”‚ @ CallNode (location: (3,9)-(3,12))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,9)-(3,12) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ body:
β”‚ β”‚ @ StatementsNode (location: (3,14)-(3,16))
β”‚ β”‚ └── body: (length: 1)
β”‚ β”‚ └── @ CallNode (location: (3,14)-(3,16))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :_1
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,14)-(3,16) = "_1"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :_1
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── end_keyword_loc: (3,18)-(3,21) = "end"
β”œβ”€β”€ @ ClassNode (location: (5,0)-(5,16))
β”‚ β”œβ”€β”€ locals: []
@@ -56,13 +56,13 @@
β”‚ β”‚ └── @ CallNode (location: (5,9)-(5,11))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :_1
β”‚ β”‚ β”œβ”€β”€ message_loc: (5,9)-(5,11) = "_1"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :_1
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ end_keyword_loc: (5,13)-(5,16) = "end"
β”‚ └── name: :A
β”œβ”€β”€ @ DefNode (location: (7,0)-(7,19))
@@ -77,13 +77,13 @@
β”‚ β”‚ └── @ CallNode (location: (7,12)-(7,14))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :_1
β”‚ β”‚ β”œβ”€β”€ message_loc: (7,12)-(7,14) = "_1"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :_1
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ locals: []
β”‚ β”œβ”€β”€ def_keyword_loc: (7,0)-(7,3) = "def"
β”‚ β”œβ”€β”€ operator_loc: (7,8)-(7,9) = "."
@@ -103,12 +103,12 @@
β”‚ └── @ CallNode (location: (9,10)-(9,12))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :_1
β”‚ β”œβ”€β”€ message_loc: (9,10)-(9,12) = "_1"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :_1
+ β”‚ └── flags: variable_call
β”œβ”€β”€ end_keyword_loc: (9,14)-(9,17) = "end"
└── name: :A
diff --git a/test/prism/snapshots/whitequark/op_asgn.txt b/test/prism/snapshots/whitequark/op_asgn.txt
index bd49593a0b..38906896cd 100644
--- a/test/prism/snapshots/whitequark/op_asgn.txt
+++ b/test/prism/snapshots/whitequark/op_asgn.txt
@@ -8,13 +8,13 @@
β”‚ β”‚ @ CallNode (location: (1,0)-(1,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (1,3)-(1,4) = "."
β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,5) = "A"
β”‚ β”œβ”€β”€ flags: βˆ…
@@ -30,13 +30,13 @@
β”‚ β”‚ @ CallNode (location: (3,0)-(3,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,0)-(3,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (3,3)-(3,4) = "."
β”‚ β”œβ”€β”€ message_loc: (3,4)-(3,5) = "a"
β”‚ β”œβ”€β”€ flags: βˆ…
@@ -52,13 +52,13 @@
β”‚ @ CallNode (location: (5,0)-(5,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (5,0)-(5,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: (5,3)-(5,5) = "::"
β”œβ”€β”€ message_loc: (5,5)-(5,6) = "a"
β”œβ”€β”€ flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/op_asgn_cmd.txt b/test/prism/snapshots/whitequark/op_asgn_cmd.txt
index a0b17a8338..90710078a2 100644
--- a/test/prism/snapshots/whitequark/op_asgn_cmd.txt
+++ b/test/prism/snapshots/whitequark/op_asgn_cmd.txt
@@ -8,13 +8,13 @@
β”‚ β”‚ @ CallNode (location: (1,0)-(1,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (1,3)-(1,4) = "."
β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,5) = "A"
β”‚ β”œβ”€β”€ flags: βˆ…
@@ -26,6 +26,7 @@
β”‚ @ CallNode (location: (1,9)-(1,14))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :m
β”‚ β”œβ”€β”€ message_loc: (1,9)-(1,10) = "m"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -34,30 +35,29 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (1,11)-(1,14))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,11)-(1,14) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :m
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallOperatorWriteNode (location: (3,0)-(3,14))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (3,0)-(3,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,0)-(3,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (3,3)-(3,4) = "."
β”‚ β”œβ”€β”€ message_loc: (3,4)-(3,5) = "a"
β”‚ β”œβ”€β”€ flags: βˆ…
@@ -69,6 +69,7 @@
β”‚ @ CallNode (location: (3,9)-(3,14))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :m
β”‚ β”œβ”€β”€ message_loc: (3,9)-(3,10) = "m"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -77,18 +78,17 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (3,11)-(3,14))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,11)-(3,14) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :m
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ ConstantPathOperatorWriteNode (location: (5,0)-(5,15))
β”‚ β”œβ”€β”€ target:
β”‚ β”‚ @ ConstantPathNode (location: (5,0)-(5,6))
@@ -96,13 +96,13 @@
β”‚ β”‚ β”‚ @ CallNode (location: (5,0)-(5,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (5,0)-(5,3) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ child:
β”‚ β”‚ β”‚ @ ConstantReadNode (location: (5,5)-(5,6))
β”‚ β”‚ β”‚ └── name: :A
@@ -112,6 +112,7 @@
β”‚ β”‚ @ CallNode (location: (5,10)-(5,15))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :m
β”‚ β”‚ β”œβ”€β”€ message_loc: (5,10)-(5,11) = "m"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -120,31 +121,30 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (5,12)-(5,15))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (5,12)-(5,15) = "foo"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :m
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── operator: :+
└── @ CallOperatorWriteNode (location: (7,0)-(7,15))
β”œβ”€β”€ receiver:
β”‚ @ CallNode (location: (7,0)-(7,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (7,0)-(7,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: (7,3)-(7,5) = "::"
β”œβ”€β”€ message_loc: (7,5)-(7,6) = "a"
β”œβ”€β”€ flags: βˆ…
@@ -156,6 +156,7 @@
@ CallNode (location: (7,10)-(7,15))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :m
β”œβ”€β”€ message_loc: (7,10)-(7,11) = "m"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -164,15 +165,14 @@
β”‚ β”‚ └── @ CallNode (location: (7,12)-(7,15))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (7,12)-(7,15) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :m
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/op_asgn_index.txt b/test/prism/snapshots/whitequark/op_asgn_index.txt
index 4d7f4a2d5d..a05b679668 100644
--- a/test/prism/snapshots/whitequark/op_asgn_index.txt
+++ b/test/prism/snapshots/whitequark/op_asgn_index.txt
@@ -8,13 +8,13 @@
β”‚ @ CallNode (location: (1,0)-(1,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: βˆ…
β”œβ”€β”€ opening_loc: (1,3)-(1,4) = "["
β”œβ”€β”€ arguments:
diff --git a/test/prism/snapshots/whitequark/op_asgn_index_cmd.txt b/test/prism/snapshots/whitequark/op_asgn_index_cmd.txt
index f07a4202d1..c0cb8dacc2 100644
--- a/test/prism/snapshots/whitequark/op_asgn_index_cmd.txt
+++ b/test/prism/snapshots/whitequark/op_asgn_index_cmd.txt
@@ -8,13 +8,13 @@
β”‚ @ CallNode (location: (1,0)-(1,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: βˆ…
β”œβ”€β”€ opening_loc: (1,3)-(1,4) = "["
β”œβ”€β”€ arguments:
@@ -34,6 +34,7 @@
@ CallNode (location: (1,13)-(1,18))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :m
β”œβ”€β”€ message_loc: (1,13)-(1,14) = "m"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -42,15 +43,14 @@
β”‚ β”‚ └── @ CallNode (location: (1,15)-(1,18))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,15)-(1,18) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :m
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/or.txt b/test/prism/snapshots/whitequark/or.txt
index 9e755a1271..8334bdba88 100644
--- a/test/prism/snapshots/whitequark/or.txt
+++ b/test/prism/snapshots/whitequark/or.txt
@@ -8,46 +8,46 @@
β”‚ β”‚ @ CallNode (location: (1,0)-(1,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ right:
β”‚ β”‚ @ CallNode (location: (1,7)-(1,10))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,7)-(1,10) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── operator_loc: (1,4)-(1,6) = "or"
└── @ OrNode (location: (3,0)-(3,10))
β”œβ”€β”€ left:
β”‚ @ CallNode (location: (3,0)-(3,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (3,0)-(3,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ right:
β”‚ @ CallNode (location: (3,7)-(3,10))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (3,7)-(3,10) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :bar
+ β”‚ └── flags: variable_call
└── operator_loc: (3,4)-(3,6) = "||"
diff --git a/test/prism/snapshots/whitequark/or_asgn.txt b/test/prism/snapshots/whitequark/or_asgn.txt
index 9b64fb29a4..2578cce8e2 100644
--- a/test/prism/snapshots/whitequark/or_asgn.txt
+++ b/test/prism/snapshots/whitequark/or_asgn.txt
@@ -8,13 +8,13 @@
β”‚ β”‚ @ CallNode (location: (1,0)-(1,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (1,3)-(1,4) = "."
β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,5) = "a"
β”‚ β”œβ”€β”€ flags: βˆ…
@@ -29,13 +29,13 @@
β”‚ @ CallNode (location: (3,0)-(3,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (3,0)-(3,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: βˆ…
β”œβ”€β”€ opening_loc: (3,3)-(3,4) = "["
β”œβ”€β”€ arguments:
diff --git a/test/prism/snapshots/whitequark/parser_bug_272.txt b/test/prism/snapshots/whitequark/parser_bug_272.txt
index ddb7e51b33..f8f29f8137 100644
--- a/test/prism/snapshots/whitequark/parser_bug_272.txt
+++ b/test/prism/snapshots/whitequark/parser_bug_272.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,15))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :a
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -37,5 +38,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,5)-(1,7) = "do"
β”‚ └── closing_loc: (1,12)-(1,15) = "end"
- β”œβ”€β”€ flags: βˆ…
- └── name: :a
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/parser_bug_525.txt b/test/prism/snapshots/whitequark/parser_bug_525.txt
index 1357541d03..f875dc8116 100644
--- a/test/prism/snapshots/whitequark/parser_bug_525.txt
+++ b/test/prism/snapshots/whitequark/parser_bug_525.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,32))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :m1
β”œβ”€β”€ message_loc: (1,0)-(1,2) = "m1"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -24,13 +25,13 @@
β”‚ β”‚ β”‚ @ CallNode (location: (1,9)-(1,11))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :m2
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,9)-(1,11) = "m2"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :m2
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── operator_loc: (1,6)-(1,8) = "=>"
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
@@ -44,6 +45,7 @@
β”‚ β”‚ └── @ CallNode (location: (1,16)-(1,27))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :m3
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,16)-(1,18) = "m3"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,18)-(1,19) = "("
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -55,9 +57,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,21)-(1,23) = "do"
β”‚ β”‚ β”‚ └── closing_loc: (1,24)-(1,27) = "end"
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :m3
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,12)-(1,14) = "do"
β”‚ └── closing_loc: (1,29)-(1,32) = "end"
- β”œβ”€β”€ flags: βˆ…
- └── name: :m1
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/parser_bug_604.txt b/test/prism/snapshots/whitequark/parser_bug_604.txt
index 454e238705..12a05c31cb 100644
--- a/test/prism/snapshots/whitequark/parser_bug_604.txt
+++ b/test/prism/snapshots/whitequark/parser_bug_604.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,14))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :m
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "m"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -16,14 +17,15 @@
β”‚ β”‚ β”‚ @ CallNode (location: (1,2)-(1,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,2)-(1,3) = "a"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :+
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,5) = "+"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -32,18 +34,17 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (1,6)-(1,7))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,6)-(1,7) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :+
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block:
@@ -53,5 +54,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,8)-(1,10) = "do"
β”‚ └── closing_loc: (1,11)-(1,14) = "end"
- β”œβ”€β”€ flags: βˆ…
- └── name: :m
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/pattern_matching__FILE__LINE_literals.txt b/test/prism/snapshots/whitequark/pattern_matching__FILE__LINE_literals.txt
index b38b5dc306..9e653787dc 100644
--- a/test/prism/snapshots/whitequark/pattern_matching__FILE__LINE_literals.txt
+++ b/test/prism/snapshots/whitequark/pattern_matching__FILE__LINE_literals.txt
@@ -13,6 +13,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ β”‚ β”‚ @ SourceLineNode (location: (1,24)-(1,32))
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :+
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,33)-(1,34) = "+"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -23,8 +24,7 @@
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :+
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── @ SourceEncodingNode (location: (1,38)-(1,50))
β”‚ β”œβ”€β”€ opening_loc: (1,13)-(1,14) = "["
β”‚ β”œβ”€β”€ closing_loc: (1,50)-(1,51) = "]"
diff --git a/test/prism/snapshots/whitequark/procarg0.txt b/test/prism/snapshots/whitequark/procarg0.txt
index 9f552d7ba4..62eaaca68f 100644
--- a/test/prism/snapshots/whitequark/procarg0.txt
+++ b/test/prism/snapshots/whitequark/procarg0.txt
@@ -6,6 +6,7 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(1,18))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :m
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "m"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -40,11 +41,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,2)-(1,3) = "{"
β”‚ β”‚ └── closing_loc: (1,17)-(1,18) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :m
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (3,0)-(3,11))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :m
β”œβ”€β”€ message_loc: (3,0)-(3,1) = "m"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -71,5 +72,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (3,2)-(3,3) = "{"
β”‚ └── closing_loc: (3,10)-(3,11) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :m
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/regex_interp.txt b/test/prism/snapshots/whitequark/regex_interp.txt
index 35ec025343..443321f247 100644
--- a/test/prism/snapshots/whitequark/regex_interp.txt
+++ b/test/prism/snapshots/whitequark/regex_interp.txt
@@ -20,13 +20,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (1,6)-(1,9))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,6)-(1,9) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── closing_loc: (1,9)-(1,10) = "}"
β”‚ └── @ StringNode (location: (1,10)-(1,13))
β”‚ β”œβ”€β”€ flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/resbody_list.txt b/test/prism/snapshots/whitequark/resbody_list.txt
index 4165aa2737..a11eba281d 100644
--- a/test/prism/snapshots/whitequark/resbody_list.txt
+++ b/test/prism/snapshots/whitequark/resbody_list.txt
@@ -11,13 +11,13 @@
β”‚ └── @ CallNode (location: (1,7)-(1,11))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :meth
β”‚ β”œβ”€β”€ message_loc: (1,7)-(1,11) = "meth"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :meth
+ β”‚ └── flags: variable_call
β”œβ”€β”€ rescue_clause:
β”‚ @ RescueNode (location: (1,13)-(1,34))
β”‚ β”œβ”€β”€ keyword_loc: (1,13)-(1,19) = "rescue"
@@ -32,13 +32,13 @@
β”‚ β”‚ └── @ CallNode (location: (1,31)-(1,34))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,31)-(1,34) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── consequent: βˆ…
β”œβ”€β”€ else_clause: βˆ…
β”œβ”€β”€ ensure_clause: βˆ…
diff --git a/test/prism/snapshots/whitequark/resbody_list_mrhs.txt b/test/prism/snapshots/whitequark/resbody_list_mrhs.txt
index 1273482001..3190cacf34 100644
--- a/test/prism/snapshots/whitequark/resbody_list_mrhs.txt
+++ b/test/prism/snapshots/whitequark/resbody_list_mrhs.txt
@@ -11,13 +11,13 @@
β”‚ └── @ CallNode (location: (1,7)-(1,11))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :meth
β”‚ β”œβ”€β”€ message_loc: (1,7)-(1,11) = "meth"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :meth
+ β”‚ └── flags: variable_call
β”œβ”€β”€ rescue_clause:
β”‚ @ RescueNode (location: (1,13)-(1,39))
β”‚ β”œβ”€β”€ keyword_loc: (1,13)-(1,19) = "rescue"
@@ -27,13 +27,13 @@
β”‚ β”‚ └── @ CallNode (location: (1,31)-(1,34))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,31)-(1,34) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ operator_loc: βˆ…
β”‚ β”œβ”€β”€ reference: βˆ…
β”‚ β”œβ”€β”€ statements:
@@ -42,13 +42,13 @@
β”‚ β”‚ └── @ CallNode (location: (1,36)-(1,39))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,36)-(1,39) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── consequent: βˆ…
β”œβ”€β”€ else_clause: βˆ…
β”œβ”€β”€ ensure_clause: βˆ…
diff --git a/test/prism/snapshots/whitequark/resbody_list_var.txt b/test/prism/snapshots/whitequark/resbody_list_var.txt
index c9c3174bae..a84fe7163d 100644
--- a/test/prism/snapshots/whitequark/resbody_list_var.txt
+++ b/test/prism/snapshots/whitequark/resbody_list_var.txt
@@ -11,13 +11,13 @@
β”‚ └── @ CallNode (location: (1,7)-(1,11))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :meth
β”‚ β”œβ”€β”€ message_loc: (1,7)-(1,11) = "meth"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :meth
+ β”‚ └── flags: variable_call
β”œβ”€β”€ rescue_clause:
β”‚ @ RescueNode (location: (1,13)-(1,34))
β”‚ β”œβ”€β”€ keyword_loc: (1,13)-(1,19) = "rescue"
@@ -25,13 +25,13 @@
β”‚ β”‚ └── @ CallNode (location: (1,20)-(1,23))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,20)-(1,23) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ operator_loc: (1,24)-(1,26) = "=>"
β”‚ β”œβ”€β”€ reference:
β”‚ β”‚ @ LocalVariableTargetNode (location: (1,27)-(1,29))
@@ -43,13 +43,13 @@
β”‚ β”‚ └── @ CallNode (location: (1,31)-(1,34))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,31)-(1,34) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── consequent: βˆ…
β”œβ”€β”€ else_clause: βˆ…
β”œβ”€β”€ ensure_clause: βˆ…
diff --git a/test/prism/snapshots/whitequark/resbody_var.txt b/test/prism/snapshots/whitequark/resbody_var.txt
index 11585faf17..c89868a261 100644
--- a/test/prism/snapshots/whitequark/resbody_var.txt
+++ b/test/prism/snapshots/whitequark/resbody_var.txt
@@ -11,13 +11,13 @@
β”‚ β”‚ └── @ CallNode (location: (1,7)-(1,11))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :meth
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,7)-(1,11) = "meth"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :meth
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ rescue_clause:
β”‚ β”‚ @ RescueNode (location: (1,13)-(1,31))
β”‚ β”‚ β”œβ”€β”€ keyword_loc: (1,13)-(1,19) = "rescue"
@@ -32,13 +32,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (1,28)-(1,31))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,28)-(1,31) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── consequent: βˆ…
β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”œβ”€β”€ ensure_clause: βˆ…
@@ -51,13 +51,13 @@
β”‚ └── @ CallNode (location: (3,7)-(3,11))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :meth
β”‚ β”œβ”€β”€ message_loc: (3,7)-(3,11) = "meth"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :meth
+ β”‚ └── flags: variable_call
β”œβ”€β”€ rescue_clause:
β”‚ @ RescueNode (location: (3,13)-(3,30))
β”‚ β”œβ”€β”€ keyword_loc: (3,13)-(3,19) = "rescue"
@@ -73,13 +73,13 @@
β”‚ β”‚ └── @ CallNode (location: (3,27)-(3,30))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,27)-(3,30) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── consequent: βˆ…
β”œβ”€β”€ else_clause: βˆ…
β”œβ”€β”€ ensure_clause: βˆ…
diff --git a/test/prism/snapshots/whitequark/rescue.txt b/test/prism/snapshots/whitequark/rescue.txt
index 9464adb233..1d8d7ff840 100644
--- a/test/prism/snapshots/whitequark/rescue.txt
+++ b/test/prism/snapshots/whitequark/rescue.txt
@@ -11,13 +11,13 @@
β”‚ └── @ CallNode (location: (1,7)-(1,11))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :meth
β”‚ β”œβ”€β”€ message_loc: (1,7)-(1,11) = "meth"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :meth
+ β”‚ └── flags: variable_call
β”œβ”€β”€ rescue_clause:
β”‚ @ RescueNode (location: (1,13)-(1,24))
β”‚ β”œβ”€β”€ keyword_loc: (1,13)-(1,19) = "rescue"
@@ -30,13 +30,13 @@
β”‚ β”‚ └── @ CallNode (location: (1,21)-(1,24))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,21)-(1,24) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── consequent: βˆ…
β”œβ”€β”€ else_clause: βˆ…
β”œβ”€β”€ ensure_clause: βˆ…
diff --git a/test/prism/snapshots/whitequark/rescue_else.txt b/test/prism/snapshots/whitequark/rescue_else.txt
index 4da165abf0..7441ff3b78 100644
--- a/test/prism/snapshots/whitequark/rescue_else.txt
+++ b/test/prism/snapshots/whitequark/rescue_else.txt
@@ -11,13 +11,13 @@
β”‚ └── @ CallNode (location: (1,7)-(1,11))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :meth
β”‚ β”œβ”€β”€ message_loc: (1,7)-(1,11) = "meth"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :meth
+ β”‚ └── flags: variable_call
β”œβ”€β”€ rescue_clause:
β”‚ @ RescueNode (location: (1,13)-(1,24))
β”‚ β”œβ”€β”€ keyword_loc: (1,13)-(1,19) = "rescue"
@@ -30,13 +30,13 @@
β”‚ β”‚ └── @ CallNode (location: (1,21)-(1,24))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,21)-(1,24) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── consequent: βˆ…
β”œβ”€β”€ else_clause:
β”‚ @ ElseNode (location: (1,26)-(1,40))
@@ -47,13 +47,13 @@
β”‚ β”‚ └── @ CallNode (location: (1,32)-(1,35))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,32)-(1,35) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── end_keyword_loc: (1,37)-(1,40) = "end"
β”œβ”€β”€ ensure_clause: βˆ…
└── end_keyword_loc: (1,37)-(1,40) = "end"
diff --git a/test/prism/snapshots/whitequark/rescue_else_ensure.txt b/test/prism/snapshots/whitequark/rescue_else_ensure.txt
index d8f2454c1a..d0c7f20d4c 100644
--- a/test/prism/snapshots/whitequark/rescue_else_ensure.txt
+++ b/test/prism/snapshots/whitequark/rescue_else_ensure.txt
@@ -11,13 +11,13 @@
β”‚ └── @ CallNode (location: (1,7)-(1,11))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :meth
β”‚ β”œβ”€β”€ message_loc: (1,7)-(1,11) = "meth"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :meth
+ β”‚ └── flags: variable_call
β”œβ”€β”€ rescue_clause:
β”‚ @ RescueNode (location: (1,13)-(1,24))
β”‚ β”œβ”€β”€ keyword_loc: (1,13)-(1,19) = "rescue"
@@ -30,13 +30,13 @@
β”‚ β”‚ └── @ CallNode (location: (1,21)-(1,24))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,21)-(1,24) = "baz"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── consequent: βˆ…
β”œβ”€β”€ else_clause:
β”‚ @ ElseNode (location: (1,26)-(1,42))
@@ -47,13 +47,13 @@
β”‚ β”‚ └── @ CallNode (location: (1,31)-(1,34))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,31)-(1,34) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── end_keyword_loc: (1,36)-(1,42) = "ensure"
β”œβ”€β”€ ensure_clause:
β”‚ @ EnsureNode (location: (1,36)-(1,51))
@@ -64,12 +64,12 @@
β”‚ β”‚ └── @ CallNode (location: (1,44)-(1,47))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,44)-(1,47) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── end_keyword_loc: (1,48)-(1,51) = "end"
└── end_keyword_loc: (1,48)-(1,51) = "end"
diff --git a/test/prism/snapshots/whitequark/rescue_ensure.txt b/test/prism/snapshots/whitequark/rescue_ensure.txt
index ead7dce44a..ad40656486 100644
--- a/test/prism/snapshots/whitequark/rescue_ensure.txt
+++ b/test/prism/snapshots/whitequark/rescue_ensure.txt
@@ -11,13 +11,13 @@
β”‚ └── @ CallNode (location: (1,7)-(1,11))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :meth
β”‚ β”œβ”€β”€ message_loc: (1,7)-(1,11) = "meth"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :meth
+ β”‚ └── flags: variable_call
β”œβ”€β”€ rescue_clause:
β”‚ @ RescueNode (location: (1,13)-(1,24))
β”‚ β”œβ”€β”€ keyword_loc: (1,13)-(1,19) = "rescue"
@@ -30,13 +30,13 @@
β”‚ β”‚ └── @ CallNode (location: (1,21)-(1,24))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,21)-(1,24) = "baz"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── consequent: βˆ…
β”œβ”€β”€ else_clause: βˆ…
β”œβ”€β”€ ensure_clause:
@@ -48,12 +48,12 @@
β”‚ β”‚ └── @ CallNode (location: (1,34)-(1,37))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,34)-(1,37) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── end_keyword_loc: (1,39)-(1,42) = "end"
└── end_keyword_loc: (1,39)-(1,42) = "end"
diff --git a/test/prism/snapshots/whitequark/rescue_mod.txt b/test/prism/snapshots/whitequark/rescue_mod.txt
index 2e6e6b105b..ea85cb9c00 100644
--- a/test/prism/snapshots/whitequark/rescue_mod.txt
+++ b/test/prism/snapshots/whitequark/rescue_mod.txt
@@ -8,22 +8,22 @@
β”‚ @ CallNode (location: (1,0)-(1,4))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :meth
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,4) = "meth"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :meth
+ β”‚ └── flags: variable_call
β”œβ”€β”€ keyword_loc: (1,5)-(1,11) = "rescue"
└── rescue_expression:
@ CallNode (location: (1,12)-(1,15))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :bar
β”œβ”€β”€ message_loc: (1,12)-(1,15) = "bar"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: variable_call
- └── name: :bar
+ └── flags: variable_call
diff --git a/test/prism/snapshots/whitequark/rescue_mod_asgn.txt b/test/prism/snapshots/whitequark/rescue_mod_asgn.txt
index 1ef5e233f6..74ced5d1ad 100644
--- a/test/prism/snapshots/whitequark/rescue_mod_asgn.txt
+++ b/test/prism/snapshots/whitequark/rescue_mod_asgn.txt
@@ -13,23 +13,23 @@
β”‚ β”‚ @ CallNode (location: (1,6)-(1,10))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :meth
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,6)-(1,10) = "meth"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :meth
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ keyword_loc: (1,11)-(1,17) = "rescue"
β”‚ └── rescue_expression:
β”‚ @ CallNode (location: (1,18)-(1,21))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (1,18)-(1,21) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :bar
+ β”‚ └── flags: variable_call
└── operator_loc: (1,4)-(1,5) = "="
diff --git a/test/prism/snapshots/whitequark/rescue_mod_masgn.txt b/test/prism/snapshots/whitequark/rescue_mod_masgn.txt
index 8adae31fc9..f1746602e6 100644
--- a/test/prism/snapshots/whitequark/rescue_mod_masgn.txt
+++ b/test/prism/snapshots/whitequark/rescue_mod_masgn.txt
@@ -22,13 +22,13 @@
β”‚ @ CallNode (location: (1,11)-(1,15))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :meth
β”‚ β”œβ”€β”€ message_loc: (1,11)-(1,15) = "meth"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :meth
+ β”‚ └── flags: variable_call
β”œβ”€β”€ keyword_loc: (1,16)-(1,22) = "rescue"
└── rescue_expression:
@ ArrayNode (location: (1,23)-(1,29))
diff --git a/test/prism/snapshots/whitequark/rescue_mod_op_assign.txt b/test/prism/snapshots/whitequark/rescue_mod_op_assign.txt
index b8343159ad..05dc5e68ef 100644
--- a/test/prism/snapshots/whitequark/rescue_mod_op_assign.txt
+++ b/test/prism/snapshots/whitequark/rescue_mod_op_assign.txt
@@ -12,25 +12,25 @@
β”‚ β”‚ @ CallNode (location: (1,7)-(1,11))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :meth
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,7)-(1,11) = "meth"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :meth
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ keyword_loc: (1,12)-(1,18) = "rescue"
β”‚ └── rescue_expression:
β”‚ @ CallNode (location: (1,19)-(1,22))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (1,19)-(1,22) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :bar
+ β”‚ └── flags: variable_call
β”œβ”€β”€ name: :foo
β”œβ”€β”€ operator: :+
└── depth: 0
diff --git a/test/prism/snapshots/whitequark/rescue_without_begin_end.txt b/test/prism/snapshots/whitequark/rescue_without_begin_end.txt
index 9978f9a3db..c997d99d46 100644
--- a/test/prism/snapshots/whitequark/rescue_without_begin_end.txt
+++ b/test/prism/snapshots/whitequark/rescue_without_begin_end.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,30))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :meth
β”œβ”€β”€ message_loc: (1,0)-(1,4) = "meth"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -23,13 +24,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (1,9)-(1,12))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,9)-(1,12) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ rescue_clause:
β”‚ β”‚ β”‚ @ RescueNode (location: (1,14)-(1,25))
β”‚ β”‚ β”‚ β”œβ”€β”€ keyword_loc: (1,14)-(1,20) = "rescue"
@@ -42,18 +43,17 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (1,22)-(1,25))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,22)-(1,25) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── consequent: βˆ…
β”‚ β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”‚ β”œβ”€β”€ ensure_clause: βˆ…
β”‚ β”‚ └── end_keyword_loc: (1,27)-(1,30) = "end"
β”‚ β”œβ”€β”€ opening_loc: (1,5)-(1,7) = "do"
β”‚ └── closing_loc: (1,27)-(1,30) = "end"
- β”œβ”€β”€ flags: βˆ…
- └── name: :meth
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/return.txt b/test/prism/snapshots/whitequark/return.txt
index cc17a67af0..231b70bca1 100644
--- a/test/prism/snapshots/whitequark/return.txt
+++ b/test/prism/snapshots/whitequark/return.txt
@@ -14,13 +14,13 @@
β”‚ β”‚ └── @ CallNode (location: (3,7)-(3,10))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,7)-(3,10) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── flags: βˆ…
β”œβ”€β”€ @ ReturnNode (location: (5,0)-(5,8))
β”‚ β”œβ”€β”€ keyword_loc: (5,0)-(5,6) = "return"
@@ -44,13 +44,13 @@
β”‚ β”‚ └── @ CallNode (location: (7,7)-(7,10))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (7,7)-(7,10) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ opening_loc: (7,6)-(7,7) = "("
β”‚ └── closing_loc: (7,10)-(7,11) = ")"
└── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/return_block.txt b/test/prism/snapshots/whitequark/return_block.txt
index d058661bb4..f963bedff1 100644
--- a/test/prism/snapshots/whitequark/return_block.txt
+++ b/test/prism/snapshots/whitequark/return_block.txt
@@ -11,6 +11,7 @@
β”‚ └── @ CallNode (location: (1,7)-(1,21))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :fun
β”‚ β”œβ”€β”€ message_loc: (1,7)-(1,10) = "fun"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -19,13 +20,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (1,11)-(1,14))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,11)-(1,14) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block:
@@ -35,6 +36,5 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,15)-(1,17) = "do"
β”‚ β”‚ └── closing_loc: (1,18)-(1,21) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :fun
+ β”‚ └── flags: βˆ…
└── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/ruby_bug_10653.txt b/test/prism/snapshots/whitequark/ruby_bug_10653.txt
index 418bce94c7..35a3e966bd 100644
--- a/test/prism/snapshots/whitequark/ruby_bug_10653.txt
+++ b/test/prism/snapshots/whitequark/ruby_bug_10653.txt
@@ -14,6 +14,7 @@
β”‚ β”‚ └── @ CallNode (location: (1,8)-(1,20))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :raise
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,8)-(1,13) = "raise"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -25,8 +26,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,14)-(1,16) = "do"
β”‚ β”‚ β”‚ └── closing_loc: (1,17)-(1,20) = "end"
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :raise
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ consequent:
β”‚ β”‚ @ ElseNode (location: (1,21)-(1,33))
β”‚ β”‚ β”œβ”€β”€ else_keyword_loc: (1,21)-(1,22) = ":"
@@ -36,6 +36,7 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (1,23)-(1,33))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :tap
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,23)-(1,26) = "tap"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -47,8 +48,7 @@
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,27)-(1,29) = "do"
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (1,30)-(1,33) = "end"
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :tap
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── end_keyword_loc: βˆ…
β”‚ └── end_keyword_loc: βˆ…
β”œβ”€β”€ @ IfNode (location: (3,0)-(3,25))
@@ -62,6 +62,7 @@
β”‚ β”‚ └── @ CallNode (location: (3,8)-(3,16))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :raise
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,8)-(3,13) = "raise"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -73,8 +74,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (3,14)-(3,15) = "{"
β”‚ β”‚ β”‚ └── closing_loc: (3,15)-(3,16) = "}"
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :raise
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ consequent:
β”‚ β”‚ @ ElseNode (location: (3,17)-(3,25))
β”‚ β”‚ β”œβ”€β”€ else_keyword_loc: (3,17)-(3,18) = ":"
@@ -84,6 +84,7 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (3,19)-(3,25))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :tap
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,19)-(3,22) = "tap"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -95,8 +96,7 @@
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (3,23)-(3,24) = "{"
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (3,24)-(3,25) = "}"
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :tap
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── end_keyword_loc: βˆ…
β”‚ └── end_keyword_loc: βˆ…
└── @ IfNode (location: (5,0)-(5,31))
@@ -112,6 +112,7 @@
β”‚ β”‚ @ IntegerNode (location: (5,7)-(5,8))
β”‚ β”‚ └── flags: decimal
β”‚ β”œβ”€β”€ call_operator_loc: (5,8)-(5,9) = "."
+ β”‚ β”œβ”€β”€ name: :tap
β”‚ β”œβ”€β”€ message_loc: (5,9)-(5,12) = "tap"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -141,6 +142,7 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (5,20)-(5,23))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :p
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (5,20)-(5,21) = "p"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -152,12 +154,10 @@
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :p
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (5,13)-(5,15) = "do"
β”‚ β”‚ └── closing_loc: (5,24)-(5,27) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :tap
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ consequent:
β”‚ @ ElseNode (location: (5,28)-(5,31))
β”‚ β”œβ”€β”€ else_keyword_loc: (5,28)-(5,29) = ":"
diff --git a/test/prism/snapshots/whitequark/ruby_bug_11107.txt b/test/prism/snapshots/whitequark/ruby_bug_11107.txt
index 9df6c46a93..1d8e922a1f 100644
--- a/test/prism/snapshots/whitequark/ruby_bug_11107.txt
+++ b/test/prism/snapshots/whitequark/ruby_bug_11107.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,24))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :p
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "p"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -28,6 +29,7 @@
β”‚ β”‚ └── @ CallNode (location: (1,10)-(1,20))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,10)-(1,11) = "a"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,11)-(1,12) = "("
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -39,10 +41,8 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,14)-(1,16) = "do"
β”‚ β”‚ β”‚ └── closing_loc: (1,17)-(1,20) = "end"
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :a
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :p
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/ruby_bug_11380.txt b/test/prism/snapshots/whitequark/ruby_bug_11380.txt
index 52cd7c61e6..6f74ac0d6f 100644
--- a/test/prism/snapshots/whitequark/ruby_bug_11380.txt
+++ b/test/prism/snapshots/whitequark/ruby_bug_11380.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,28))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :p
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "p"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -47,5 +48,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,22)-(1,24) = "do"
β”‚ └── closing_loc: (1,25)-(1,28) = "end"
- β”œβ”€β”€ flags: βˆ…
- └── name: :p
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/ruby_bug_11873.txt b/test/prism/snapshots/whitequark/ruby_bug_11873.txt
index 4d8095558f..d094841587 100644
--- a/test/prism/snapshots/whitequark/ruby_bug_11873.txt
+++ b/test/prism/snapshots/whitequark/ruby_bug_11873.txt
@@ -6,6 +6,7 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(1,20))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -14,6 +15,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (1,2)-(1,8))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,2)-(1,3) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,3)-(1,4) = "("
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -22,6 +24,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (1,4)-(1,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,5) = "c"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -30,23 +33,21 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (1,6)-(1,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,6)-(1,7) = "d"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (1,7)-(1,8) = ")"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── @ StringNode (location: (1,10)-(1,13))
β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,10)-(1,11) = "\""
@@ -62,11 +63,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,14)-(1,16) = "do"
β”‚ β”‚ └── closing_loc: (1,17)-(1,20) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (3,0)-(3,20))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (3,0)-(3,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -75,6 +76,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (3,2)-(3,8))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,2)-(3,3) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (3,3)-(3,4) = "("
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -83,6 +85,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (3,4)-(3,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,4)-(3,5) = "c"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -91,23 +94,21 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (3,6)-(3,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,6)-(3,7) = "d"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (3,7)-(3,8) = ")"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── @ RegularExpressionNode (location: (3,10)-(3,13))
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (3,10)-(3,11) = "/"
β”‚ β”‚ β”‚ β”œβ”€β”€ content_loc: (3,11)-(3,12) = "x"
@@ -123,11 +124,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (3,14)-(3,16) = "do"
β”‚ β”‚ └── closing_loc: (3,17)-(3,20) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (5,0)-(5,21))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (5,0)-(5,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -136,6 +137,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (5,2)-(5,8))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (5,2)-(5,3) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (5,3)-(5,4) = "("
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -144,6 +146,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (5,4)-(5,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (5,4)-(5,5) = "c"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -152,23 +155,21 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (5,6)-(5,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (5,6)-(5,7) = "d"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (5,7)-(5,8) = ")"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── @ RegularExpressionNode (location: (5,10)-(5,14))
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (5,10)-(5,11) = "/"
β”‚ β”‚ β”‚ β”œβ”€β”€ content_loc: (5,11)-(5,12) = "x"
@@ -184,11 +185,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (5,15)-(5,17) = "do"
β”‚ β”‚ └── closing_loc: (5,18)-(5,21) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (7,0)-(7,21))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (7,0)-(7,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -197,6 +198,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (7,2)-(7,9))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (7,2)-(7,3) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (7,3)-(7,4) = "("
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -205,6 +207,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (7,4)-(7,8))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (7,4)-(7,5) = "c"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (7,5)-(7,6) = "("
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -213,23 +216,21 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (7,6)-(7,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (7,6)-(7,7) = "d"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (7,7)-(7,8) = ")"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (7,8)-(7,9) = ")"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── @ StringNode (location: (7,11)-(7,14))
β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (7,11)-(7,12) = "\""
@@ -245,11 +246,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (7,15)-(7,17) = "do"
β”‚ β”‚ └── closing_loc: (7,18)-(7,21) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (9,0)-(9,21))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (9,0)-(9,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -258,6 +259,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (9,2)-(9,9))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (9,2)-(9,3) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (9,3)-(9,4) = "("
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -266,6 +268,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (9,4)-(9,8))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (9,4)-(9,5) = "c"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (9,5)-(9,6) = "("
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -274,23 +277,21 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (9,6)-(9,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (9,6)-(9,7) = "d"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (9,7)-(9,8) = ")"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (9,8)-(9,9) = ")"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── @ RegularExpressionNode (location: (9,11)-(9,14))
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (9,11)-(9,12) = "/"
β”‚ β”‚ β”‚ β”œβ”€β”€ content_loc: (9,12)-(9,13) = "x"
@@ -306,11 +307,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (9,15)-(9,17) = "do"
β”‚ β”‚ └── closing_loc: (9,18)-(9,21) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (11,0)-(11,22))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (11,0)-(11,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -319,6 +320,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (11,2)-(11,9))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (11,2)-(11,3) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (11,3)-(11,4) = "("
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -327,6 +329,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (11,4)-(11,8))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (11,4)-(11,5) = "c"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (11,5)-(11,6) = "("
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -335,23 +338,21 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (11,6)-(11,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (11,6)-(11,7) = "d"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (11,7)-(11,8) = ")"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (11,8)-(11,9) = ")"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── @ RegularExpressionNode (location: (11,11)-(11,15))
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (11,11)-(11,12) = "/"
β”‚ β”‚ β”‚ β”œβ”€β”€ content_loc: (11,12)-(11,13) = "x"
@@ -367,11 +368,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (11,16)-(11,18) = "do"
β”‚ β”‚ └── closing_loc: (11,19)-(11,22) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (13,0)-(13,20))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (13,0)-(13,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -380,6 +381,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (13,2)-(13,8))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (13,2)-(13,3) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -394,6 +396,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (13,4)-(13,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (13,4)-(13,5) = "c"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -402,22 +405,20 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (13,6)-(13,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (13,6)-(13,7) = "d"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (13,3)-(13,4) = "{"
β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (13,7)-(13,8) = "}"
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── @ StringNode (location: (13,10)-(13,13))
β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (13,10)-(13,11) = "\""
@@ -433,11 +434,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (13,14)-(13,16) = "do"
β”‚ β”‚ └── closing_loc: (13,17)-(13,20) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (15,0)-(15,20))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (15,0)-(15,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -446,6 +447,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (15,2)-(15,8))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (15,2)-(15,3) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -460,6 +462,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (15,4)-(15,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (15,4)-(15,5) = "c"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -468,22 +471,20 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (15,6)-(15,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (15,6)-(15,7) = "d"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (15,3)-(15,4) = "{"
β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (15,7)-(15,8) = "}"
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── @ RegularExpressionNode (location: (15,10)-(15,13))
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (15,10)-(15,11) = "/"
β”‚ β”‚ β”‚ β”œβ”€β”€ content_loc: (15,11)-(15,12) = "x"
@@ -499,11 +500,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (15,14)-(15,16) = "do"
β”‚ β”‚ └── closing_loc: (15,17)-(15,20) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (17,0)-(17,21))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (17,0)-(17,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -512,6 +513,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (17,2)-(17,8))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (17,2)-(17,3) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -526,6 +528,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (17,4)-(17,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (17,4)-(17,5) = "c"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -534,22 +537,20 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (17,6)-(17,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (17,6)-(17,7) = "d"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (17,3)-(17,4) = "{"
β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (17,7)-(17,8) = "}"
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── @ RegularExpressionNode (location: (17,10)-(17,14))
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (17,10)-(17,11) = "/"
β”‚ β”‚ β”‚ β”œβ”€β”€ content_loc: (17,11)-(17,12) = "x"
@@ -565,11 +566,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (17,15)-(17,17) = "do"
β”‚ β”‚ └── closing_loc: (17,18)-(17,21) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (19,0)-(19,21))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (19,0)-(19,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -578,6 +579,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (19,2)-(19,9))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (19,2)-(19,3) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -592,6 +594,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (19,4)-(19,8))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (19,4)-(19,5) = "c"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (19,5)-(19,6) = "("
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -600,22 +603,20 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (19,6)-(19,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (19,6)-(19,7) = "d"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (19,7)-(19,8) = ")"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (19,3)-(19,4) = "{"
β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (19,8)-(19,9) = "}"
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── @ StringNode (location: (19,11)-(19,14))
β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (19,11)-(19,12) = "\""
@@ -631,11 +632,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (19,15)-(19,17) = "do"
β”‚ β”‚ └── closing_loc: (19,18)-(19,21) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (21,0)-(21,21))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (21,0)-(21,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -644,6 +645,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (21,2)-(21,9))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (21,2)-(21,3) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -658,6 +660,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (21,4)-(21,8))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (21,4)-(21,5) = "c"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (21,5)-(21,6) = "("
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -666,22 +669,20 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (21,6)-(21,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (21,6)-(21,7) = "d"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (21,7)-(21,8) = ")"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (21,3)-(21,4) = "{"
β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (21,8)-(21,9) = "}"
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── @ RegularExpressionNode (location: (21,11)-(21,14))
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (21,11)-(21,12) = "/"
β”‚ β”‚ β”‚ β”œβ”€β”€ content_loc: (21,12)-(21,13) = "x"
@@ -697,11 +698,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (21,15)-(21,17) = "do"
β”‚ β”‚ └── closing_loc: (21,18)-(21,21) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (23,0)-(23,22))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :a
β”œβ”€β”€ message_loc: (23,0)-(23,1) = "a"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -710,6 +711,7 @@
β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (23,2)-(23,9))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (23,2)-(23,3) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -724,6 +726,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (23,4)-(23,8))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (23,4)-(23,5) = "c"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (23,5)-(23,6) = "("
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -732,22 +735,20 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (23,6)-(23,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (23,6)-(23,7) = "d"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (23,7)-(23,8) = ")"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (23,3)-(23,4) = "{"
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (23,8)-(23,9) = "}"
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── @ RegularExpressionNode (location: (23,11)-(23,15))
β”‚ β”‚ β”œβ”€β”€ opening_loc: (23,11)-(23,12) = "/"
β”‚ β”‚ β”œβ”€β”€ content_loc: (23,12)-(23,13) = "x"
@@ -763,5 +764,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (23,16)-(23,18) = "do"
β”‚ └── closing_loc: (23,19)-(23,22) = "end"
- β”œβ”€β”€ flags: βˆ…
- └── name: :a
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/ruby_bug_11873_a.txt b/test/prism/snapshots/whitequark/ruby_bug_11873_a.txt
index 061c7dfe7a..77da1d947c 100644
--- a/test/prism/snapshots/whitequark/ruby_bug_11873_a.txt
+++ b/test/prism/snapshots/whitequark/ruby_bug_11873_a.txt
@@ -6,6 +6,7 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(1,18))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -14,6 +15,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (1,2)-(1,8))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,2)-(1,3) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,3)-(1,4) = "("
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -22,6 +24,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (1,4)-(1,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,5) = "c"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -30,23 +33,21 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (1,6)-(1,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,6)-(1,7) = "d"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (1,7)-(1,8) = ")"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── @ IntegerNode (location: (1,10)-(1,11))
β”‚ β”‚ β”‚ └── flags: decimal
β”‚ β”‚ └── flags: βˆ…
@@ -58,11 +59,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,12)-(1,14) = "do"
β”‚ β”‚ └── closing_loc: (1,15)-(1,18) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (3,0)-(3,20))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (3,0)-(3,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -71,6 +72,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (3,2)-(3,8))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,2)-(3,3) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (3,3)-(3,4) = "("
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -79,6 +81,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (3,4)-(3,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,4)-(3,5) = "c"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -87,23 +90,21 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (3,6)-(3,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,6)-(3,7) = "d"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (3,7)-(3,8) = ")"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── @ FloatNode (location: (3,10)-(3,13))
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
@@ -114,11 +115,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (3,14)-(3,16) = "do"
β”‚ β”‚ └── closing_loc: (3,17)-(3,20) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (5,0)-(5,21))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (5,0)-(5,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -127,6 +128,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (5,2)-(5,8))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (5,2)-(5,3) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (5,3)-(5,4) = "("
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -135,6 +137,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (5,4)-(5,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (5,4)-(5,5) = "c"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -143,23 +146,21 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (5,6)-(5,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (5,6)-(5,7) = "d"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (5,7)-(5,8) = ")"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── @ ImaginaryNode (location: (5,10)-(5,14))
β”‚ β”‚ β”‚ └── numeric:
β”‚ β”‚ β”‚ @ FloatNode (location: (5,10)-(5,13))
@@ -172,11 +173,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (5,15)-(5,17) = "do"
β”‚ β”‚ └── closing_loc: (5,18)-(5,21) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (7,0)-(7,21))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (7,0)-(7,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -185,6 +186,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (7,2)-(7,8))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (7,2)-(7,3) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (7,3)-(7,4) = "("
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -193,6 +195,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (7,4)-(7,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (7,4)-(7,5) = "c"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -201,23 +204,21 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (7,6)-(7,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (7,6)-(7,7) = "d"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (7,7)-(7,8) = ")"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── @ RationalNode (location: (7,10)-(7,14))
β”‚ β”‚ β”‚ └── numeric:
β”‚ β”‚ β”‚ @ FloatNode (location: (7,10)-(7,13))
@@ -230,11 +231,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (7,15)-(7,17) = "do"
β”‚ β”‚ └── closing_loc: (7,18)-(7,21) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (9,0)-(9,19))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (9,0)-(9,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -243,6 +244,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (9,2)-(9,8))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (9,2)-(9,3) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (9,3)-(9,4) = "("
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -251,6 +253,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (9,4)-(9,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (9,4)-(9,5) = "c"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -259,23 +262,21 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (9,6)-(9,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (9,6)-(9,7) = "d"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (9,7)-(9,8) = ")"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── @ SymbolNode (location: (9,10)-(9,12))
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (9,10)-(9,11) = ":"
β”‚ β”‚ β”‚ β”œβ”€β”€ value_loc: (9,11)-(9,12) = "e"
@@ -290,11 +291,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (9,13)-(9,15) = "do"
β”‚ β”‚ └── closing_loc: (9,16)-(9,19) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (11,0)-(11,19))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (11,0)-(11,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -303,6 +304,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (11,2)-(11,9))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (11,2)-(11,3) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (11,3)-(11,4) = "("
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -311,6 +313,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (11,4)-(11,8))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (11,4)-(11,5) = "c"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (11,5)-(11,6) = "("
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -319,23 +322,21 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (11,6)-(11,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (11,6)-(11,7) = "d"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (11,7)-(11,8) = ")"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (11,8)-(11,9) = ")"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── @ IntegerNode (location: (11,11)-(11,12))
β”‚ β”‚ β”‚ └── flags: decimal
β”‚ β”‚ └── flags: βˆ…
@@ -347,11 +348,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (11,13)-(11,15) = "do"
β”‚ β”‚ └── closing_loc: (11,16)-(11,19) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (13,0)-(13,21))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (13,0)-(13,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -360,6 +361,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (13,2)-(13,9))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (13,2)-(13,3) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (13,3)-(13,4) = "("
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -368,6 +370,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (13,4)-(13,8))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (13,4)-(13,5) = "c"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (13,5)-(13,6) = "("
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -376,23 +379,21 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (13,6)-(13,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (13,6)-(13,7) = "d"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (13,7)-(13,8) = ")"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (13,8)-(13,9) = ")"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── @ FloatNode (location: (13,11)-(13,14))
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
@@ -403,11 +404,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (13,15)-(13,17) = "do"
β”‚ β”‚ └── closing_loc: (13,18)-(13,21) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (15,0)-(15,22))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (15,0)-(15,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -416,6 +417,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (15,2)-(15,9))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (15,2)-(15,3) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (15,3)-(15,4) = "("
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -424,6 +426,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (15,4)-(15,8))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (15,4)-(15,5) = "c"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (15,5)-(15,6) = "("
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -432,23 +435,21 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (15,6)-(15,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (15,6)-(15,7) = "d"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (15,7)-(15,8) = ")"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (15,8)-(15,9) = ")"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── @ ImaginaryNode (location: (15,11)-(15,15))
β”‚ β”‚ β”‚ └── numeric:
β”‚ β”‚ β”‚ @ FloatNode (location: (15,11)-(15,14))
@@ -461,11 +462,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (15,16)-(15,18) = "do"
β”‚ β”‚ └── closing_loc: (15,19)-(15,22) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (17,0)-(17,22))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (17,0)-(17,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -474,6 +475,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (17,2)-(17,9))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (17,2)-(17,3) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (17,3)-(17,4) = "("
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -482,6 +484,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (17,4)-(17,8))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (17,4)-(17,5) = "c"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (17,5)-(17,6) = "("
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -490,23 +493,21 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (17,6)-(17,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (17,6)-(17,7) = "d"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (17,7)-(17,8) = ")"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (17,8)-(17,9) = ")"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── @ RationalNode (location: (17,11)-(17,15))
β”‚ β”‚ β”‚ └── numeric:
β”‚ β”‚ β”‚ @ FloatNode (location: (17,11)-(17,14))
@@ -519,11 +520,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (17,16)-(17,18) = "do"
β”‚ β”‚ └── closing_loc: (17,19)-(17,22) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (19,0)-(19,20))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (19,0)-(19,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -532,6 +533,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (19,2)-(19,9))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (19,2)-(19,3) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (19,3)-(19,4) = "("
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -540,6 +542,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (19,4)-(19,8))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (19,4)-(19,5) = "c"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (19,5)-(19,6) = "("
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -548,23 +551,21 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (19,6)-(19,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (19,6)-(19,7) = "d"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (19,7)-(19,8) = ")"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (19,8)-(19,9) = ")"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── @ SymbolNode (location: (19,11)-(19,13))
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (19,11)-(19,12) = ":"
β”‚ β”‚ β”‚ β”œβ”€β”€ value_loc: (19,12)-(19,13) = "e"
@@ -579,11 +580,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (19,14)-(19,16) = "do"
β”‚ β”‚ └── closing_loc: (19,17)-(19,20) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (21,0)-(21,18))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (21,0)-(21,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -592,6 +593,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (21,2)-(21,8))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (21,2)-(21,3) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -606,6 +608,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (21,4)-(21,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (21,4)-(21,5) = "c"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -614,22 +617,20 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (21,6)-(21,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (21,6)-(21,7) = "d"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (21,3)-(21,4) = "{"
β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (21,7)-(21,8) = "}"
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── @ IntegerNode (location: (21,10)-(21,11))
β”‚ β”‚ β”‚ └── flags: decimal
β”‚ β”‚ └── flags: βˆ…
@@ -641,11 +642,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (21,12)-(21,14) = "do"
β”‚ β”‚ └── closing_loc: (21,15)-(21,18) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (23,0)-(23,20))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (23,0)-(23,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -654,6 +655,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (23,2)-(23,8))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (23,2)-(23,3) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -668,6 +670,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (23,4)-(23,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (23,4)-(23,5) = "c"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -676,22 +679,20 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (23,6)-(23,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (23,6)-(23,7) = "d"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (23,3)-(23,4) = "{"
β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (23,7)-(23,8) = "}"
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── @ FloatNode (location: (23,10)-(23,13))
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
@@ -702,11 +703,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (23,14)-(23,16) = "do"
β”‚ β”‚ └── closing_loc: (23,17)-(23,20) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (25,0)-(25,21))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (25,0)-(25,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -715,6 +716,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (25,2)-(25,8))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (25,2)-(25,3) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -729,6 +731,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (25,4)-(25,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (25,4)-(25,5) = "c"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -737,22 +740,20 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (25,6)-(25,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (25,6)-(25,7) = "d"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (25,3)-(25,4) = "{"
β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (25,7)-(25,8) = "}"
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── @ ImaginaryNode (location: (25,10)-(25,14))
β”‚ β”‚ β”‚ └── numeric:
β”‚ β”‚ β”‚ @ FloatNode (location: (25,10)-(25,13))
@@ -765,11 +766,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (25,15)-(25,17) = "do"
β”‚ β”‚ └── closing_loc: (25,18)-(25,21) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (27,0)-(27,21))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (27,0)-(27,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -778,6 +779,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (27,2)-(27,8))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (27,2)-(27,3) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -792,6 +794,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (27,4)-(27,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (27,4)-(27,5) = "c"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -800,22 +803,20 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (27,6)-(27,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (27,6)-(27,7) = "d"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (27,3)-(27,4) = "{"
β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (27,7)-(27,8) = "}"
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── @ RationalNode (location: (27,10)-(27,14))
β”‚ β”‚ β”‚ └── numeric:
β”‚ β”‚ β”‚ @ FloatNode (location: (27,10)-(27,13))
@@ -828,11 +829,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (27,15)-(27,17) = "do"
β”‚ β”‚ └── closing_loc: (27,18)-(27,21) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (29,0)-(29,19))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (29,0)-(29,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -841,6 +842,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (29,2)-(29,8))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (29,2)-(29,3) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -855,6 +857,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (29,4)-(29,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (29,4)-(29,5) = "c"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -863,22 +866,20 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (29,6)-(29,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (29,6)-(29,7) = "d"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (29,3)-(29,4) = "{"
β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (29,7)-(29,8) = "}"
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── @ SymbolNode (location: (29,10)-(29,12))
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (29,10)-(29,11) = ":"
β”‚ β”‚ β”‚ β”œβ”€β”€ value_loc: (29,11)-(29,12) = "e"
@@ -893,11 +894,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (29,13)-(29,15) = "do"
β”‚ β”‚ └── closing_loc: (29,16)-(29,19) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (31,0)-(31,19))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (31,0)-(31,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -906,6 +907,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (31,2)-(31,9))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (31,2)-(31,3) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -920,6 +922,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (31,4)-(31,8))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (31,4)-(31,5) = "c"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (31,5)-(31,6) = "("
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -928,22 +931,20 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (31,6)-(31,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (31,6)-(31,7) = "d"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (31,7)-(31,8) = ")"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (31,3)-(31,4) = "{"
β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (31,8)-(31,9) = "}"
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── @ IntegerNode (location: (31,11)-(31,12))
β”‚ β”‚ β”‚ └── flags: decimal
β”‚ β”‚ └── flags: βˆ…
@@ -955,11 +956,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (31,13)-(31,15) = "do"
β”‚ β”‚ └── closing_loc: (31,16)-(31,19) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (33,0)-(33,21))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (33,0)-(33,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -968,6 +969,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (33,2)-(33,9))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (33,2)-(33,3) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -982,6 +984,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (33,4)-(33,8))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (33,4)-(33,5) = "c"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (33,5)-(33,6) = "("
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -990,22 +993,20 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (33,6)-(33,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (33,6)-(33,7) = "d"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (33,7)-(33,8) = ")"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (33,3)-(33,4) = "{"
β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (33,8)-(33,9) = "}"
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── @ FloatNode (location: (33,11)-(33,14))
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
@@ -1016,11 +1017,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (33,15)-(33,17) = "do"
β”‚ β”‚ └── closing_loc: (33,18)-(33,21) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (35,0)-(35,22))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (35,0)-(35,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -1029,6 +1030,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (35,2)-(35,9))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (35,2)-(35,3) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -1043,6 +1045,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (35,4)-(35,8))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (35,4)-(35,5) = "c"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (35,5)-(35,6) = "("
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -1051,22 +1054,20 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (35,6)-(35,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (35,6)-(35,7) = "d"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (35,7)-(35,8) = ")"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (35,3)-(35,4) = "{"
β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (35,8)-(35,9) = "}"
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── @ ImaginaryNode (location: (35,11)-(35,15))
β”‚ β”‚ β”‚ └── numeric:
β”‚ β”‚ β”‚ @ FloatNode (location: (35,11)-(35,14))
@@ -1079,11 +1080,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (35,16)-(35,18) = "do"
β”‚ β”‚ └── closing_loc: (35,19)-(35,22) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (37,0)-(37,22))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (37,0)-(37,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -1092,6 +1093,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (37,2)-(37,9))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (37,2)-(37,3) = "b"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -1106,6 +1108,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (37,4)-(37,8))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (37,4)-(37,5) = "c"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (37,5)-(37,6) = "("
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -1114,22 +1117,20 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (37,6)-(37,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (37,6)-(37,7) = "d"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (37,7)-(37,8) = ")"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (37,3)-(37,4) = "{"
β”‚ β”‚ β”‚ β”‚ β”‚ └── closing_loc: (37,8)-(37,9) = "}"
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ └── @ RationalNode (location: (37,11)-(37,15))
β”‚ β”‚ β”‚ └── numeric:
β”‚ β”‚ β”‚ @ FloatNode (location: (37,11)-(37,14))
@@ -1142,11 +1143,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (37,16)-(37,18) = "do"
β”‚ β”‚ └── closing_loc: (37,19)-(37,22) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (39,0)-(39,20))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :a
β”œβ”€β”€ message_loc: (39,0)-(39,1) = "a"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -1155,6 +1156,7 @@
β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (39,2)-(39,9))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (39,2)-(39,3) = "b"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -1169,6 +1171,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (39,4)-(39,8))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :c
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (39,4)-(39,5) = "c"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (39,5)-(39,6) = "("
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -1177,22 +1180,20 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (39,6)-(39,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :d
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (39,6)-(39,7) = "d"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :d
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (39,7)-(39,8) = ")"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :c
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (39,3)-(39,4) = "{"
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (39,8)-(39,9) = "}"
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :b
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── @ SymbolNode (location: (39,11)-(39,13))
β”‚ β”‚ β”œβ”€β”€ opening_loc: (39,11)-(39,12) = ":"
β”‚ β”‚ β”œβ”€β”€ value_loc: (39,12)-(39,13) = "e"
@@ -1207,5 +1208,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (39,14)-(39,16) = "do"
β”‚ └── closing_loc: (39,17)-(39,20) = "end"
- β”œβ”€β”€ flags: βˆ…
- └── name: :a
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/ruby_bug_11873_b.txt b/test/prism/snapshots/whitequark/ruby_bug_11873_b.txt
index 8943bcc830..6f052e5e6f 100644
--- a/test/prism/snapshots/whitequark/ruby_bug_11873_b.txt
+++ b/test/prism/snapshots/whitequark/ruby_bug_11873_b.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,25))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :p
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "p"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -14,6 +15,7 @@
β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (1,2)-(1,13))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :p
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,2)-(1,3) = "p"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -28,6 +30,7 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (1,4)-(1,8))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :p
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,5) = "p"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,5)-(1,6) = "("
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -36,21 +39,21 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (1,6)-(1,7))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :p
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,6)-(1,7) = "p"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :p
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (1,7)-(1,8) = ")"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :p
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (1,9)-(1,12))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :p
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,9)-(1,10) = "p"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -59,32 +62,30 @@
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (1,11)-(1,12))
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :p
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,11)-(1,12) = "p"
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :p
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :p
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,3)-(1,4) = "{"
β”‚ β”‚ β”‚ β”‚ └── closing_loc: (1,12)-(1,13) = "}"
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :p
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── @ CallNode (location: (1,15)-(1,18))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :tap
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,15)-(1,18) = "tap"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :tap
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block:
@@ -94,5 +95,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,19)-(1,21) = "do"
β”‚ └── closing_loc: (1,22)-(1,25) = "end"
- β”œβ”€β”€ flags: βˆ…
- └── name: :p
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/ruby_bug_11989.txt b/test/prism/snapshots/whitequark/ruby_bug_11989.txt
index 84fb2d4f0a..b5379fa9cd 100644
--- a/test/prism/snapshots/whitequark/ruby_bug_11989.txt
+++ b/test/prism/snapshots/whitequark/ruby_bug_11989.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,8))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :p
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "p"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -20,5 +21,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :p
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/ruby_bug_11990.txt b/test/prism/snapshots/whitequark/ruby_bug_11990.txt
index 1e35d5434b..beaeb1ec87 100644
--- a/test/prism/snapshots/whitequark/ruby_bug_11990.txt
+++ b/test/prism/snapshots/whitequark/ruby_bug_11990.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,12))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :p
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "p"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -30,5 +31,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :p
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/ruby_bug_12073.txt b/test/prism/snapshots/whitequark/ruby_bug_12073.txt
index e518b6f017..6c6e335117 100644
--- a/test/prism/snapshots/whitequark/ruby_bug_12073.txt
+++ b/test/prism/snapshots/whitequark/ruby_bug_12073.txt
@@ -14,6 +14,7 @@
β”œβ”€β”€ @ CallNode (location: (1,7)-(1,13))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,7)-(1,8) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -35,8 +36,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a
+ β”‚ └── flags: βˆ…
└── @ DefNode (location: (3,0)-(3,34))
β”œβ”€β”€ name: :foo
β”œβ”€β”€ name_loc: (3,4)-(3,7) = "foo"
@@ -58,6 +58,7 @@
β”‚ └── @ CallNode (location: (3,15)-(3,29))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :raise
β”‚ β”œβ”€β”€ message_loc: (3,15)-(3,20) = "raise"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -80,8 +81,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :raise
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ locals: [:raise]
β”œβ”€β”€ def_keyword_loc: (3,0)-(3,3) = "def"
β”œβ”€β”€ operator_loc: βˆ…
diff --git a/test/prism/snapshots/whitequark/ruby_bug_12402.txt b/test/prism/snapshots/whitequark/ruby_bug_12402.txt
index 78a336935d..a091e8baaf 100644
--- a/test/prism/snapshots/whitequark/ruby_bug_12402.txt
+++ b/test/prism/snapshots/whitequark/ruby_bug_12402.txt
@@ -12,6 +12,7 @@
β”‚ β”‚ β”‚ @ CallNode (location: (1,7)-(1,16))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :raise
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,7)-(1,12) = "raise"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -20,18 +21,17 @@
β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (1,13)-(1,16))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,13)-(1,16) = "bar"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :raise
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ keyword_loc: (1,17)-(1,23) = "rescue"
β”‚ β”‚ └── rescue_expression:
β”‚ β”‚ @ NilNode (location: (1,24)-(1,27))
@@ -47,6 +47,7 @@
β”‚ β”‚ β”‚ @ CallNode (location: (3,7)-(3,17))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :raise
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,7)-(3,12) = "raise"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (3,12)-(3,13) = "("
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -55,18 +56,17 @@
β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (3,13)-(3,16))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,13)-(3,16) = "bar"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (3,16)-(3,17) = ")"
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :raise
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ keyword_loc: (3,18)-(3,24) = "rescue"
β”‚ β”‚ └── rescue_expression:
β”‚ β”‚ @ NilNode (location: (3,25)-(3,28))
@@ -83,6 +83,7 @@
β”‚ β”‚ β”‚ @ CallNode (location: (5,6)-(5,15))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :raise
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (5,6)-(5,11) = "raise"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -91,18 +92,17 @@
β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (5,12)-(5,15))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (5,12)-(5,15) = "bar"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :raise
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ keyword_loc: (5,16)-(5,22) = "rescue"
β”‚ β”‚ └── rescue_expression:
β”‚ β”‚ @ NilNode (location: (5,23)-(5,26))
@@ -117,6 +117,7 @@
β”‚ β”‚ β”‚ @ CallNode (location: (7,6)-(7,16))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :raise
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (7,6)-(7,11) = "raise"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (7,11)-(7,12) = "("
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -125,18 +126,17 @@
β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (7,12)-(7,15))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (7,12)-(7,15) = "bar"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: (7,15)-(7,16) = ")"
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :raise
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ keyword_loc: (7,17)-(7,23) = "rescue"
β”‚ β”‚ └── rescue_expression:
β”‚ β”‚ @ NilNode (location: (7,24)-(7,27))
@@ -159,6 +159,7 @@
β”‚ β”‚ @ CallNode (location: (9,9)-(9,18))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :raise
β”‚ β”‚ β”œβ”€β”€ message_loc: (9,9)-(9,14) = "raise"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -167,18 +168,17 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (9,15)-(9,18))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (9,15)-(9,18) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :raise
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ keyword_loc: (9,19)-(9,25) = "rescue"
β”‚ └── rescue_expression:
β”‚ @ NilNode (location: (9,26)-(9,29))
@@ -200,6 +200,7 @@
β”‚ β”‚ @ CallNode (location: (11,9)-(11,19))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :raise
β”‚ β”‚ β”œβ”€β”€ message_loc: (11,9)-(11,14) = "raise"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (11,14)-(11,15) = "("
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -208,18 +209,17 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (11,15)-(11,18))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (11,15)-(11,18) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: (11,18)-(11,19) = ")"
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :raise
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ keyword_loc: (11,20)-(11,26) = "rescue"
β”‚ └── rescue_expression:
β”‚ @ NilNode (location: (11,27)-(11,30))
@@ -241,6 +241,7 @@
β”‚ β”‚ @ CallNode (location: (13,9)-(13,18))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :raise
β”‚ β”‚ β”œβ”€β”€ message_loc: (13,9)-(13,14) = "raise"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -249,18 +250,17 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (13,15)-(13,18))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (13,15)-(13,18) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :raise
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ keyword_loc: (13,19)-(13,25) = "rescue"
β”‚ └── rescue_expression:
β”‚ @ NilNode (location: (13,26)-(13,29))
@@ -282,6 +282,7 @@
β”‚ β”‚ @ CallNode (location: (15,9)-(15,19))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :raise
β”‚ β”‚ β”œβ”€β”€ message_loc: (15,9)-(15,14) = "raise"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (15,14)-(15,15) = "("
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -290,18 +291,17 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (15,15)-(15,18))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (15,15)-(15,18) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: (15,18)-(15,19) = ")"
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :raise
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ keyword_loc: (15,20)-(15,26) = "rescue"
β”‚ └── rescue_expression:
β”‚ @ NilNode (location: (15,27)-(15,30))
@@ -323,6 +323,7 @@
β”‚ β”‚ @ CallNode (location: (17,11)-(17,20))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :raise
β”‚ β”‚ β”œβ”€β”€ message_loc: (17,11)-(17,16) = "raise"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -331,18 +332,17 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (17,17)-(17,20))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (17,17)-(17,20) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :raise
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ keyword_loc: (17,21)-(17,27) = "rescue"
β”‚ └── rescue_expression:
β”‚ @ NilNode (location: (17,28)-(17,31))
@@ -364,6 +364,7 @@
β”‚ β”‚ @ CallNode (location: (19,11)-(19,21))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :raise
β”‚ β”‚ β”œβ”€β”€ message_loc: (19,11)-(19,16) = "raise"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (19,16)-(19,17) = "("
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -372,18 +373,17 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (19,17)-(19,20))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (19,17)-(19,20) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: (19,20)-(19,21) = ")"
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :raise
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ keyword_loc: (19,22)-(19,28) = "rescue"
β”‚ └── rescue_expression:
β”‚ @ NilNode (location: (19,29)-(19,32))
@@ -405,6 +405,7 @@
β”‚ β”‚ @ CallNode (location: (21,10)-(21,19))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :raise
β”‚ β”‚ β”œβ”€β”€ message_loc: (21,10)-(21,15) = "raise"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -413,18 +414,17 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (21,16)-(21,19))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (21,16)-(21,19) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :raise
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ keyword_loc: (21,20)-(21,26) = "rescue"
β”‚ └── rescue_expression:
β”‚ @ NilNode (location: (21,27)-(21,30))
@@ -446,6 +446,7 @@
β”‚ β”‚ @ CallNode (location: (23,10)-(23,20))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :raise
β”‚ β”‚ β”œβ”€β”€ message_loc: (23,10)-(23,15) = "raise"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (23,15)-(23,16) = "("
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -454,18 +455,17 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (23,16)-(23,19))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (23,16)-(23,19) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: (23,19)-(23,20) = ")"
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :raise
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ keyword_loc: (23,21)-(23,27) = "rescue"
β”‚ └── rescue_expression:
β”‚ @ NilNode (location: (23,28)-(23,31))
@@ -493,6 +493,7 @@
β”‚ β”‚ @ CallNode (location: (25,10)-(25,19))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :raise
β”‚ β”‚ β”œβ”€β”€ message_loc: (25,10)-(25,15) = "raise"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -501,18 +502,17 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (25,16)-(25,19))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (25,16)-(25,19) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :raise
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ keyword_loc: (25,20)-(25,26) = "rescue"
β”‚ └── rescue_expression:
β”‚ @ NilNode (location: (25,27)-(25,30))
@@ -540,6 +540,7 @@
β”‚ @ CallNode (location: (27,10)-(27,20))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :raise
β”‚ β”œβ”€β”€ message_loc: (27,10)-(27,15) = "raise"
β”‚ β”œβ”€β”€ opening_loc: (27,15)-(27,16) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -548,18 +549,17 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (27,16)-(27,19))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (27,16)-(27,19) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (27,19)-(27,20) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :raise
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ keyword_loc: (27,21)-(27,27) = "rescue"
└── rescue_expression:
@ NilNode (location: (27,28)-(27,31))
diff --git a/test/prism/snapshots/whitequark/ruby_bug_12669.txt b/test/prism/snapshots/whitequark/ruby_bug_12669.txt
index 861d2e8bc8..7b876221d2 100644
--- a/test/prism/snapshots/whitequark/ruby_bug_12669.txt
+++ b/test/prism/snapshots/whitequark/ruby_bug_12669.txt
@@ -14,6 +14,7 @@
β”‚ β”‚ β”‚ @ CallNode (location: (1,10)-(1,18))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :raise
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,10)-(1,15) = "raise"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -27,8 +28,7 @@
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :raise
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”œβ”€β”€ operator: :+
β”‚ β”‚ └── depth: 0
@@ -47,6 +47,7 @@
β”‚ β”‚ β”‚ @ CallNode (location: (3,9)-(3,17))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :raise
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,9)-(3,14) = "raise"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -60,8 +61,7 @@
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :raise
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ └── operator_loc: (3,7)-(3,8) = "="
β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ operator: :+
@@ -78,6 +78,7 @@
β”‚ β”‚ β”‚ @ CallNode (location: (5,9)-(5,17))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :raise
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (5,9)-(5,14) = "raise"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -91,8 +92,7 @@
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :raise
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ name: :b
β”‚ β”‚ β”œβ”€β”€ operator: :+
β”‚ β”‚ └── depth: 0
@@ -110,6 +110,7 @@
β”‚ β”‚ @ CallNode (location: (7,8)-(7,16))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :raise
β”‚ β”‚ β”œβ”€β”€ message_loc: (7,8)-(7,13) = "raise"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -123,7 +124,6 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :raise
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── operator_loc: (7,6)-(7,7) = "="
└── operator_loc: (7,2)-(7,3) = "="
diff --git a/test/prism/snapshots/whitequark/ruby_bug_12686.txt b/test/prism/snapshots/whitequark/ruby_bug_12686.txt
index bb2168332d..f94c195e19 100644
--- a/test/prism/snapshots/whitequark/ruby_bug_12686.txt
+++ b/test/prism/snapshots/whitequark/ruby_bug_12686.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,16))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :f
β”œβ”€β”€ message_loc: (1,0)-(1,1) = "f"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -20,13 +21,13 @@
β”‚ β”‚ β”‚ β”‚ @ CallNode (location: (1,3)-(1,4))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :g
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,3)-(1,4) = "g"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :g
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”œβ”€β”€ keyword_loc: (1,5)-(1,11) = "rescue"
β”‚ β”‚ β”‚ └── rescue_expression:
β”‚ β”‚ β”‚ @ NilNode (location: (1,12)-(1,15))
@@ -35,5 +36,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :f
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/ruby_bug_13547.txt b/test/prism/snapshots/whitequark/ruby_bug_13547.txt
index d5c733ae3f..becb34f0bb 100644
--- a/test/prism/snapshots/whitequark/ruby_bug_13547.txt
+++ b/test/prism/snapshots/whitequark/ruby_bug_13547.txt
@@ -8,14 +8,15 @@
β”‚ @ CallNode (location: (1,0)-(1,4))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :meth
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,4) = "meth"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :meth
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :[]
β”œβ”€β”€ message_loc: (1,4)-(1,6) = "[]"
β”œβ”€β”€ opening_loc: (1,4)-(1,5) = "["
β”œβ”€β”€ arguments: βˆ…
@@ -27,5 +28,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,7)-(1,8) = "{"
β”‚ └── closing_loc: (1,8)-(1,9) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :[]
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/ruby_bug_14690.txt b/test/prism/snapshots/whitequark/ruby_bug_14690.txt
index ef762637d8..bccfa5d878 100644
--- a/test/prism/snapshots/whitequark/ruby_bug_14690.txt
+++ b/test/prism/snapshots/whitequark/ruby_bug_14690.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,23))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :let
β”œβ”€β”€ message_loc: (1,0)-(1,3) = "let"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -27,6 +28,7 @@
β”‚ β”‚ └── @ CallNode (location: (1,9)-(1,21))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :m
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,9)-(1,10) = "m"
β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,10)-(1,11) = "("
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -35,13 +37,13 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (1,11)-(1,12))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :a
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,11)-(1,12) = "a"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :a
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: (1,12)-(1,13) = ")"
β”‚ β”‚ β”œβ”€β”€ block:
@@ -51,9 +53,7 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,14)-(1,16) = "do"
β”‚ β”‚ β”‚ └── closing_loc: (1,18)-(1,21) = "end"
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :m
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,7)-(1,8) = "{"
β”‚ └── closing_loc: (1,22)-(1,23) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :let
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/ruby_bug_15789.txt b/test/prism/snapshots/whitequark/ruby_bug_15789.txt
index 657eb764d9..b9d793179a 100644
--- a/test/prism/snapshots/whitequark/ruby_bug_15789.txt
+++ b/test/prism/snapshots/whitequark/ruby_bug_15789.txt
@@ -6,6 +6,7 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(1,20))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :m
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "m"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -56,11 +57,11 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :m
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (3,0)-(3,19))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :m
β”œβ”€β”€ message_loc: (3,0)-(3,1) = "m"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -110,5 +111,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :m
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/sclass.txt b/test/prism/snapshots/whitequark/sclass.txt
index 726c1e9d67..a0e5c89e58 100644
--- a/test/prism/snapshots/whitequark/sclass.txt
+++ b/test/prism/snapshots/whitequark/sclass.txt
@@ -11,13 +11,13 @@
β”‚ @ CallNode (location: (1,9)-(1,12))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (1,9)-(1,12) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ body:
β”‚ @ StatementsNode (location: (1,14)-(1,17))
β”‚ └── body: (length: 1)
diff --git a/test/prism/snapshots/whitequark/send_attr_asgn.txt b/test/prism/snapshots/whitequark/send_attr_asgn.txt
index fffa2d81ab..cf320bb707 100644
--- a/test/prism/snapshots/whitequark/send_attr_asgn.txt
+++ b/test/prism/snapshots/whitequark/send_attr_asgn.txt
@@ -8,14 +8,15 @@
β”‚ β”‚ @ CallNode (location: (1,0)-(1,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (1,3)-(1,4) = "."
+ β”‚ β”œβ”€β”€ name: :A=
β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,5) = "A"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -26,21 +27,21 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :A=
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (3,0)-(3,9))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (3,0)-(3,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,0)-(3,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (3,3)-(3,4) = "."
+ β”‚ β”œβ”€β”€ name: :a=
β”‚ β”œβ”€β”€ message_loc: (3,4)-(3,5) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -51,8 +52,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :a=
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ ConstantPathWriteNode (location: (5,0)-(5,10))
β”‚ β”œβ”€β”€ target:
β”‚ β”‚ @ ConstantPathNode (location: (5,0)-(5,6))
@@ -60,13 +60,13 @@
β”‚ β”‚ β”‚ @ CallNode (location: (5,0)-(5,3))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (5,0)-(5,3) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”œβ”€β”€ child:
β”‚ β”‚ β”‚ @ ConstantReadNode (location: (5,5)-(5,6))
β”‚ β”‚ β”‚ └── name: :A
@@ -80,14 +80,15 @@
β”‚ @ CallNode (location: (7,0)-(7,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (7,0)-(7,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: (7,3)-(7,5) = "::"
+ β”œβ”€β”€ name: :a=
β”œβ”€β”€ message_loc: (7,5)-(7,6) = "a"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -98,5 +99,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :a=
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/send_attr_asgn_conditional.txt b/test/prism/snapshots/whitequark/send_attr_asgn_conditional.txt
index a6d7198f70..d7d36c5d7f 100644
--- a/test/prism/snapshots/whitequark/send_attr_asgn_conditional.txt
+++ b/test/prism/snapshots/whitequark/send_attr_asgn_conditional.txt
@@ -8,14 +8,15 @@
β”‚ @ CallNode (location: (1,0)-(1,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: (1,1)-(1,3) = "&."
+ β”œβ”€β”€ name: :b=
β”œβ”€β”€ message_loc: (1,3)-(1,4) = "b"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -26,5 +27,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: safe_navigation
- └── name: :b=
+ └── flags: safe_navigation
diff --git a/test/prism/snapshots/whitequark/send_binary_op.txt b/test/prism/snapshots/whitequark/send_binary_op.txt
index 6e036ce5c5..bbbfafe8e1 100644
--- a/test/prism/snapshots/whitequark/send_binary_op.txt
+++ b/test/prism/snapshots/whitequark/send_binary_op.txt
@@ -8,14 +8,15 @@
β”‚ β”‚ @ CallNode (location: (1,0)-(1,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :!=
β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,6) = "!="
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -26,21 +27,21 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :!=
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (3,0)-(3,8))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (3,0)-(3,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,0)-(3,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :!~
β”‚ β”œβ”€β”€ message_loc: (3,4)-(3,6) = "!~"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -51,21 +52,21 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :!~
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (5,0)-(5,7))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (5,0)-(5,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (5,0)-(5,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :%
β”‚ β”œβ”€β”€ message_loc: (5,4)-(5,5) = "%"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -76,21 +77,21 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :%
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (7,0)-(7,7))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (7,0)-(7,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (7,0)-(7,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :&
β”‚ β”œβ”€β”€ message_loc: (7,4)-(7,5) = "&"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -101,21 +102,21 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :&
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (9,0)-(9,7))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (9,0)-(9,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (9,0)-(9,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :*
β”‚ β”œβ”€β”€ message_loc: (9,4)-(9,5) = "*"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -126,21 +127,21 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :*
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (11,0)-(11,8))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (11,0)-(11,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (11,0)-(11,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :**
β”‚ β”œβ”€β”€ message_loc: (11,4)-(11,6) = "**"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -151,21 +152,21 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :**
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (13,0)-(13,7))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (13,0)-(13,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (13,0)-(13,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :+
β”‚ β”œβ”€β”€ message_loc: (13,4)-(13,5) = "+"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -176,21 +177,21 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :+
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (15,0)-(15,7))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (15,0)-(15,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (15,0)-(15,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :-
β”‚ β”œβ”€β”€ message_loc: (15,4)-(15,5) = "-"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -201,21 +202,21 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :-
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (17,0)-(17,7))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (17,0)-(17,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (17,0)-(17,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :/
β”‚ β”œβ”€β”€ message_loc: (17,4)-(17,5) = "/"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -226,21 +227,21 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :/
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (19,0)-(19,7))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (19,0)-(19,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (19,0)-(19,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :<
β”‚ β”œβ”€β”€ message_loc: (19,4)-(19,5) = "<"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -251,21 +252,21 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :<
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (21,0)-(21,8))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (21,0)-(21,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (21,0)-(21,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :<<
β”‚ β”œβ”€β”€ message_loc: (21,4)-(21,6) = "<<"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -276,21 +277,21 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :<<
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (23,0)-(23,8))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (23,0)-(23,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (23,0)-(23,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :<=
β”‚ β”œβ”€β”€ message_loc: (23,4)-(23,6) = "<="
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -301,21 +302,21 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :<=
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (25,0)-(25,9))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (25,0)-(25,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (25,0)-(25,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :<=>
β”‚ β”œβ”€β”€ message_loc: (25,4)-(25,7) = "<=>"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -326,21 +327,21 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :<=>
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (27,0)-(27,8))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (27,0)-(27,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (27,0)-(27,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :==
β”‚ β”œβ”€β”€ message_loc: (27,4)-(27,6) = "=="
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -351,21 +352,21 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :==
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (29,0)-(29,9))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (29,0)-(29,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (29,0)-(29,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :===
β”‚ β”œβ”€β”€ message_loc: (29,4)-(29,7) = "==="
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -376,21 +377,21 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :===
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (31,0)-(31,8))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (31,0)-(31,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (31,0)-(31,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :=~
β”‚ β”œβ”€β”€ message_loc: (31,4)-(31,6) = "=~"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -401,21 +402,21 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :=~
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (33,0)-(33,7))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (33,0)-(33,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (33,0)-(33,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :>
β”‚ β”œβ”€β”€ message_loc: (33,4)-(33,5) = ">"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -426,21 +427,21 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :>
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (35,0)-(35,8))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (35,0)-(35,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (35,0)-(35,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :>=
β”‚ β”œβ”€β”€ message_loc: (35,4)-(35,6) = ">="
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -451,21 +452,21 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :>=
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (37,0)-(37,8))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (37,0)-(37,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (37,0)-(37,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :>>
β”‚ β”œβ”€β”€ message_loc: (37,4)-(37,6) = ">>"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -476,21 +477,21 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :>>
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (39,0)-(39,7))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (39,0)-(39,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (39,0)-(39,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :^
β”‚ β”œβ”€β”€ message_loc: (39,4)-(39,5) = "^"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -501,21 +502,21 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :^
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (41,0)-(41,7))
β”œβ”€β”€ receiver:
β”‚ @ CallNode (location: (41,0)-(41,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (41,0)-(41,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :|
β”œβ”€β”€ message_loc: (41,4)-(41,5) = "|"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -526,5 +527,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :|
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/send_block_chain_cmd.txt b/test/prism/snapshots/whitequark/send_block_chain_cmd.txt
index afd415bd0f..40e59aa278 100644
--- a/test/prism/snapshots/whitequark/send_block_chain_cmd.txt
+++ b/test/prism/snapshots/whitequark/send_block_chain_cmd.txt
@@ -8,6 +8,7 @@
β”‚ β”‚ @ CallNode (location: (1,0)-(1,13))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :meth
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,4) = "meth"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -24,9 +25,9 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,7)-(1,9) = "do"
β”‚ β”‚ β”‚ └── closing_loc: (1,10)-(1,13) = "end"
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :meth
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: (1,13)-(1,14) = "."
+ β”‚ β”œβ”€β”€ name: :fun
β”‚ β”œβ”€β”€ message_loc: (1,14)-(1,17) = "fun"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -35,23 +36,23 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (1,18)-(1,21))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,18)-(1,21) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :fun
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (3,0)-(3,28))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (3,0)-(3,13))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :meth
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,0)-(3,4) = "meth"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -68,9 +69,9 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (3,7)-(3,9) = "do"
β”‚ β”‚ β”‚ └── closing_loc: (3,10)-(3,13) = "end"
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :meth
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: (3,13)-(3,14) = "."
+ β”‚ β”œβ”€β”€ name: :fun
β”‚ β”œβ”€β”€ message_loc: (3,14)-(3,17) = "fun"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -79,13 +80,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (3,18)-(3,21))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,18)-(3,21) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block:
@@ -95,13 +96,13 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (3,22)-(3,24) = "do"
β”‚ β”‚ └── closing_loc: (3,25)-(3,28) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :fun
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (5,0)-(5,20))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (5,0)-(5,13))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :meth
β”‚ β”‚ β”œβ”€β”€ message_loc: (5,0)-(5,4) = "meth"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -118,9 +119,9 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (5,7)-(5,9) = "do"
β”‚ β”‚ β”‚ └── closing_loc: (5,10)-(5,13) = "end"
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :meth
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: (5,13)-(5,14) = "."
+ β”‚ β”œβ”€β”€ name: :fun
β”‚ β”œβ”€β”€ message_loc: (5,14)-(5,17) = "fun"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -132,13 +133,13 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (5,18)-(5,19) = "{"
β”‚ β”‚ └── closing_loc: (5,19)-(5,20) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :fun
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (7,0)-(7,22))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (7,0)-(7,13))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :meth
β”‚ β”‚ β”œβ”€β”€ message_loc: (7,0)-(7,4) = "meth"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -155,9 +156,9 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (7,7)-(7,9) = "do"
β”‚ β”‚ β”‚ └── closing_loc: (7,10)-(7,13) = "end"
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :meth
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: (7,13)-(7,14) = "."
+ β”‚ β”œβ”€β”€ name: :fun
β”‚ β”œβ”€β”€ message_loc: (7,14)-(7,17) = "fun"
β”‚ β”œβ”€β”€ opening_loc: (7,17)-(7,18) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -166,23 +167,23 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (7,18)-(7,21))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (7,18)-(7,21) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (7,21)-(7,22) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :fun
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (9,0)-(9,25))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (9,0)-(9,13))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :meth
β”‚ β”‚ β”œβ”€β”€ message_loc: (9,0)-(9,4) = "meth"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -199,9 +200,9 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (9,7)-(9,9) = "do"
β”‚ β”‚ β”‚ └── closing_loc: (9,10)-(9,13) = "end"
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :meth
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: (9,13)-(9,14) = "."
+ β”‚ β”œβ”€β”€ name: :fun
β”‚ β”œβ”€β”€ message_loc: (9,14)-(9,17) = "fun"
β”‚ β”œβ”€β”€ opening_loc: (9,17)-(9,18) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -210,13 +211,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (9,18)-(9,21))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (9,18)-(9,21) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (9,21)-(9,22) = ")"
β”‚ β”œβ”€β”€ block:
@@ -226,13 +227,13 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (9,23)-(9,24) = "{"
β”‚ β”‚ └── closing_loc: (9,24)-(9,25) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :fun
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (11,0)-(11,22))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (11,0)-(11,13))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :meth
β”‚ β”‚ β”œβ”€β”€ message_loc: (11,0)-(11,4) = "meth"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -249,9 +250,9 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (11,7)-(11,9) = "do"
β”‚ β”‚ β”‚ └── closing_loc: (11,10)-(11,13) = "end"
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :meth
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: (11,13)-(11,15) = "::"
+ β”‚ β”œβ”€β”€ name: :fun
β”‚ β”œβ”€β”€ message_loc: (11,15)-(11,18) = "fun"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -260,23 +261,23 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (11,19)-(11,22))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (11,19)-(11,22) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :fun
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (13,0)-(13,23))
β”œβ”€β”€ receiver:
β”‚ @ CallNode (location: (13,0)-(13,13))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :meth
β”‚ β”œβ”€β”€ message_loc: (13,0)-(13,4) = "meth"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -293,9 +294,9 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (13,7)-(13,9) = "do"
β”‚ β”‚ └── closing_loc: (13,10)-(13,13) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :meth
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ call_operator_loc: (13,13)-(13,15) = "::"
+ β”œβ”€β”€ name: :fun
β”œβ”€β”€ message_loc: (13,15)-(13,18) = "fun"
β”œβ”€β”€ opening_loc: (13,18)-(13,19) = "("
β”œβ”€β”€ arguments:
@@ -304,15 +305,14 @@
β”‚ β”‚ └── @ CallNode (location: (13,19)-(13,22))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (13,19)-(13,22) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (13,22)-(13,23) = ")"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :fun
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/send_block_conditional.txt b/test/prism/snapshots/whitequark/send_block_conditional.txt
index c535097dde..ed736996b5 100644
--- a/test/prism/snapshots/whitequark/send_block_conditional.txt
+++ b/test/prism/snapshots/whitequark/send_block_conditional.txt
@@ -8,14 +8,15 @@
β”‚ @ CallNode (location: (1,0)-(1,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: (1,3)-(1,5) = "&."
+ β”œβ”€β”€ name: :bar
β”œβ”€β”€ message_loc: (1,5)-(1,8) = "bar"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
@@ -27,5 +28,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,9)-(1,10) = "{"
β”‚ └── closing_loc: (1,10)-(1,11) = "}"
- β”œβ”€β”€ flags: safe_navigation
- └── name: :bar
+ └── flags: safe_navigation
diff --git a/test/prism/snapshots/whitequark/send_call.txt b/test/prism/snapshots/whitequark/send_call.txt
index e2ff7a1c63..38d9f0dc6b 100644
--- a/test/prism/snapshots/whitequark/send_call.txt
+++ b/test/prism/snapshots/whitequark/send_call.txt
@@ -8,14 +8,15 @@
β”‚ β”‚ @ CallNode (location: (1,0)-(1,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (1,3)-(1,4) = "."
+ β”‚ β”œβ”€β”€ name: :call
β”‚ β”œβ”€β”€ message_loc: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,4)-(1,5) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -26,21 +27,21 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (1,6)-(1,7) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :call
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (3,0)-(3,8))
β”œβ”€β”€ receiver:
β”‚ @ CallNode (location: (3,0)-(3,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (3,0)-(3,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: (3,3)-(3,5) = "::"
+ β”œβ”€β”€ name: :call
β”œβ”€β”€ message_loc: βˆ…
β”œβ”€β”€ opening_loc: (3,5)-(3,6) = "("
β”œβ”€β”€ arguments:
@@ -51,5 +52,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (3,7)-(3,8) = ")"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :call
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/send_conditional.txt b/test/prism/snapshots/whitequark/send_conditional.txt
index 87886b1ac9..108c6ca820 100644
--- a/test/prism/snapshots/whitequark/send_conditional.txt
+++ b/test/prism/snapshots/whitequark/send_conditional.txt
@@ -8,18 +8,18 @@
β”‚ @ CallNode (location: (1,0)-(1,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: (1,1)-(1,3) = "&."
+ β”œβ”€β”€ name: :b
β”œβ”€β”€ message_loc: (1,3)-(1,4) = "b"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: safe_navigation
- └── name: :b
+ └── flags: safe_navigation
diff --git a/test/prism/snapshots/whitequark/send_index.txt b/test/prism/snapshots/whitequark/send_index.txt
index 4eb81c0a30..25a2c8dcff 100644
--- a/test/prism/snapshots/whitequark/send_index.txt
+++ b/test/prism/snapshots/whitequark/send_index.txt
@@ -8,14 +8,15 @@
β”‚ @ CallNode (location: (1,0)-(1,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :[]
β”œβ”€β”€ message_loc: (1,3)-(1,9) = "[1, 2]"
β”œβ”€β”€ opening_loc: (1,3)-(1,4) = "["
β”œβ”€β”€ arguments:
@@ -28,5 +29,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (1,8)-(1,9) = "]"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :[]
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/send_index_asgn.txt b/test/prism/snapshots/whitequark/send_index_asgn.txt
index 9ab2474c74..54905e5874 100644
--- a/test/prism/snapshots/whitequark/send_index_asgn.txt
+++ b/test/prism/snapshots/whitequark/send_index_asgn.txt
@@ -8,14 +8,15 @@
β”‚ @ CallNode (location: (1,0)-(1,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :[]=
β”œβ”€β”€ message_loc: (1,3)-(1,9) = "[1, 2]"
β”œβ”€β”€ opening_loc: (1,3)-(1,4) = "["
β”œβ”€β”€ arguments:
@@ -30,5 +31,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (1,8)-(1,9) = "]"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :[]=
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/send_index_asgn_legacy.txt b/test/prism/snapshots/whitequark/send_index_asgn_legacy.txt
index 9ab2474c74..54905e5874 100644
--- a/test/prism/snapshots/whitequark/send_index_asgn_legacy.txt
+++ b/test/prism/snapshots/whitequark/send_index_asgn_legacy.txt
@@ -8,14 +8,15 @@
β”‚ @ CallNode (location: (1,0)-(1,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :[]=
β”œβ”€β”€ message_loc: (1,3)-(1,9) = "[1, 2]"
β”œβ”€β”€ opening_loc: (1,3)-(1,4) = "["
β”œβ”€β”€ arguments:
@@ -30,5 +31,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (1,8)-(1,9) = "]"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :[]=
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/send_index_cmd.txt b/test/prism/snapshots/whitequark/send_index_cmd.txt
index 6798854a81..e7df6237bc 100644
--- a/test/prism/snapshots/whitequark/send_index_cmd.txt
+++ b/test/prism/snapshots/whitequark/send_index_cmd.txt
@@ -8,14 +8,15 @@
β”‚ @ CallNode (location: (1,0)-(1,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :[]
β”œβ”€β”€ message_loc: (1,3)-(1,10) = "[m bar]"
β”œβ”€β”€ opening_loc: (1,3)-(1,4) = "["
β”œβ”€β”€ arguments:
@@ -24,6 +25,7 @@
β”‚ β”‚ └── @ CallNode (location: (1,4)-(1,9))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :m
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,5) = "m"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -32,20 +34,18 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (1,6)-(1,9))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,6)-(1,9) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :m
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (1,9)-(1,10) = "]"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :[]
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/send_index_legacy.txt b/test/prism/snapshots/whitequark/send_index_legacy.txt
index 4eb81c0a30..25a2c8dcff 100644
--- a/test/prism/snapshots/whitequark/send_index_legacy.txt
+++ b/test/prism/snapshots/whitequark/send_index_legacy.txt
@@ -8,14 +8,15 @@
β”‚ @ CallNode (location: (1,0)-(1,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :[]
β”œβ”€β”€ message_loc: (1,3)-(1,9) = "[1, 2]"
β”œβ”€β”€ opening_loc: (1,3)-(1,4) = "["
β”œβ”€β”€ arguments:
@@ -28,5 +29,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (1,8)-(1,9) = "]"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :[]
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/send_op_asgn_conditional.txt b/test/prism/snapshots/whitequark/send_op_asgn_conditional.txt
index e67879512b..300b779609 100644
--- a/test/prism/snapshots/whitequark/send_op_asgn_conditional.txt
+++ b/test/prism/snapshots/whitequark/send_op_asgn_conditional.txt
@@ -8,13 +8,13 @@
β”‚ @ CallNode (location: (1,0)-(1,1))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :a
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "a"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :a
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: (1,1)-(1,3) = "&."
β”œβ”€β”€ message_loc: (1,3)-(1,4) = "b"
β”œβ”€β”€ flags: safe_navigation
diff --git a/test/prism/snapshots/whitequark/send_plain.txt b/test/prism/snapshots/whitequark/send_plain.txt
index 1ae54413d8..8f0952f44e 100644
--- a/test/prism/snapshots/whitequark/send_plain.txt
+++ b/test/prism/snapshots/whitequark/send_plain.txt
@@ -8,58 +8,58 @@
β”‚ β”‚ @ CallNode (location: (1,0)-(1,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (1,3)-(1,4) = "."
+ β”‚ β”œβ”€β”€ name: :fun
β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,7) = "fun"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :fun
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (3,0)-(3,10))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (3,0)-(3,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,0)-(3,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (3,3)-(3,5) = "::"
+ β”‚ β”œβ”€β”€ name: :Fun
β”‚ β”œβ”€β”€ message_loc: (3,5)-(3,8) = "Fun"
β”‚ β”œβ”€β”€ opening_loc: (3,8)-(3,9) = "("
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (3,9)-(3,10) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :Fun
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (5,0)-(5,8))
β”œβ”€β”€ receiver:
β”‚ @ CallNode (location: (5,0)-(5,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (5,0)-(5,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: (5,3)-(5,5) = "::"
+ β”œβ”€β”€ name: :fun
β”œβ”€β”€ message_loc: (5,5)-(5,8) = "fun"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :fun
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/send_plain_cmd.txt b/test/prism/snapshots/whitequark/send_plain_cmd.txt
index 8a1198d641..35c8591e2a 100644
--- a/test/prism/snapshots/whitequark/send_plain_cmd.txt
+++ b/test/prism/snapshots/whitequark/send_plain_cmd.txt
@@ -8,14 +8,15 @@
β”‚ β”‚ @ CallNode (location: (1,0)-(1,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (1,3)-(1,4) = "."
+ β”‚ β”œβ”€β”€ name: :fun
β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,7) = "fun"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -24,31 +25,31 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (1,8)-(1,11))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,8)-(1,11) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :fun
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (3,0)-(3,12))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (3,0)-(3,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,0)-(3,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (3,3)-(3,5) = "::"
+ β”‚ β”œβ”€β”€ name: :Fun
β”‚ β”œβ”€β”€ message_loc: (3,5)-(3,8) = "Fun"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -57,31 +58,31 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (3,9)-(3,12))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,9)-(3,12) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :Fun
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (5,0)-(5,12))
β”œβ”€β”€ receiver:
β”‚ @ CallNode (location: (5,0)-(5,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (5,0)-(5,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: (5,3)-(5,5) = "::"
+ β”œβ”€β”€ name: :fun
β”œβ”€β”€ message_loc: (5,5)-(5,8) = "fun"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -90,15 +91,14 @@
β”‚ β”‚ └── @ CallNode (location: (5,9)-(5,12))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (5,9)-(5,12) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :fun
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/send_self.txt b/test/prism/snapshots/whitequark/send_self.txt
index fa604be702..05176094f0 100644
--- a/test/prism/snapshots/whitequark/send_self.txt
+++ b/test/prism/snapshots/whitequark/send_self.txt
@@ -6,26 +6,27 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(1,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :fun
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "fun"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :fun
+ β”‚ └── flags: variable_call
β”œβ”€β”€ @ CallNode (location: (3,0)-(3,4))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :fun!
β”‚ β”œβ”€β”€ message_loc: (3,0)-(3,4) = "fun!"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :fun!
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (5,0)-(5,6))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :fun
β”œβ”€β”€ message_loc: (5,0)-(5,3) = "fun"
β”œβ”€β”€ opening_loc: (5,3)-(5,4) = "("
β”œβ”€β”€ arguments:
@@ -36,5 +37,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: (5,5)-(5,6) = ")"
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :fun
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/send_self_block.txt b/test/prism/snapshots/whitequark/send_self_block.txt
index 3a14530908..7bbee61474 100644
--- a/test/prism/snapshots/whitequark/send_self_block.txt
+++ b/test/prism/snapshots/whitequark/send_self_block.txt
@@ -6,6 +6,7 @@
β”œβ”€β”€ @ CallNode (location: (1,0)-(1,10))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :fun
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "fun"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -17,11 +18,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,4)-(1,6) = "do"
β”‚ β”‚ └── closing_loc: (1,7)-(1,10) = "end"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :fun
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (3,0)-(3,7))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :fun
β”‚ β”œβ”€β”€ message_loc: (3,0)-(3,3) = "fun"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -33,11 +34,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (3,4)-(3,5) = "{"
β”‚ β”‚ └── closing_loc: (3,6)-(3,7) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :fun
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (5,0)-(5,9))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :fun
β”‚ β”œβ”€β”€ message_loc: (5,0)-(5,3) = "fun"
β”‚ β”œβ”€β”€ opening_loc: (5,3)-(5,4) = "("
β”‚ β”œβ”€β”€ arguments: βˆ…
@@ -49,11 +50,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (5,6)-(5,7) = "{"
β”‚ β”‚ └── closing_loc: (5,8)-(5,9) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :fun
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (7,0)-(7,10))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :fun
β”œβ”€β”€ message_loc: (7,0)-(7,3) = "fun"
β”œβ”€β”€ opening_loc: (7,3)-(7,4) = "("
β”œβ”€β”€ arguments:
@@ -70,5 +71,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (7,7)-(7,8) = "{"
β”‚ └── closing_loc: (7,9)-(7,10) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :fun
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/send_unary_op.txt b/test/prism/snapshots/whitequark/send_unary_op.txt
index 9e850fe2bf..5029e64bd9 100644
--- a/test/prism/snapshots/whitequark/send_unary_op.txt
+++ b/test/prism/snapshots/whitequark/send_unary_op.txt
@@ -8,58 +8,58 @@
β”‚ β”‚ @ CallNode (location: (1,1)-(1,4))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,1)-(1,4) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :+@
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,1) = "+"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :+@
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (3,0)-(3,4))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (3,1)-(3,4))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,1)-(3,4) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :-@
β”‚ β”œβ”€β”€ message_loc: (3,0)-(3,1) = "-"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :-@
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (5,0)-(5,4))
β”œβ”€β”€ receiver:
β”‚ @ CallNode (location: (5,1)-(5,4))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (5,1)-(5,4) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :~
β”œβ”€β”€ message_loc: (5,0)-(5,1) = "~"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :~
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/space_args_arg.txt b/test/prism/snapshots/whitequark/space_args_arg.txt
index 256cae61da..4c27ecc56e 100644
--- a/test/prism/snapshots/whitequark/space_args_arg.txt
+++ b/test/prism/snapshots/whitequark/space_args_arg.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,7))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :fun
β”œβ”€β”€ message_loc: (1,0)-(1,3) = "fun"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -22,5 +23,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :fun
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/space_args_arg_block.txt b/test/prism/snapshots/whitequark/space_args_arg_block.txt
index 2092321a51..b870fc66d7 100644
--- a/test/prism/snapshots/whitequark/space_args_arg_block.txt
+++ b/test/prism/snapshots/whitequark/space_args_arg_block.txt
@@ -8,14 +8,15 @@
β”‚ β”‚ @ CallNode (location: (1,0)-(1,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (1,3)-(1,4) = "."
+ β”‚ β”œβ”€β”€ name: :fun
β”‚ β”œβ”€β”€ message_loc: (1,4)-(1,7) = "fun"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -38,21 +39,21 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,12)-(1,13) = "{"
β”‚ β”‚ └── closing_loc: (1,13)-(1,14) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :fun
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (3,0)-(3,15))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (3,0)-(3,3))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,0)-(3,3) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ call_operator_loc: (3,3)-(3,5) = "::"
+ β”‚ β”œβ”€β”€ name: :fun
β”‚ β”œβ”€β”€ message_loc: (3,5)-(3,8) = "fun"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -75,11 +76,11 @@
β”‚ β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (3,13)-(3,14) = "{"
β”‚ β”‚ └── closing_loc: (3,14)-(3,15) = "}"
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :fun
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (5,0)-(5,10))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :fun
β”œβ”€β”€ message_loc: (5,0)-(5,3) = "fun"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -102,5 +103,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (5,8)-(5,9) = "{"
β”‚ └── closing_loc: (5,9)-(5,10) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :fun
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/space_args_arg_call.txt b/test/prism/snapshots/whitequark/space_args_arg_call.txt
index eb0cf798e6..6dbd68292b 100644
--- a/test/prism/snapshots/whitequark/space_args_arg_call.txt
+++ b/test/prism/snapshots/whitequark/space_args_arg_call.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,12))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :fun
β”œβ”€β”€ message_loc: (1,0)-(1,3) = "fun"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -22,15 +23,14 @@
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,4)-(1,5) = "("
β”‚ β”‚ β”‚ └── closing_loc: (1,6)-(1,7) = ")"
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: (1,7)-(1,8) = "."
+ β”‚ β”‚ β”œβ”€β”€ name: :to_i
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,8)-(1,12) = "to_i"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :to_i
+ β”‚ β”‚ └── flags: βˆ…
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :fun
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/space_args_arg_newline.txt b/test/prism/snapshots/whitequark/space_args_arg_newline.txt
index c6312b1fdb..328bfa73b8 100644
--- a/test/prism/snapshots/whitequark/space_args_arg_newline.txt
+++ b/test/prism/snapshots/whitequark/space_args_arg_newline.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(2,1))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :fun
β”œβ”€β”€ message_loc: (1,0)-(1,3) = "fun"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -22,5 +23,4 @@
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :fun
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/space_args_block.txt b/test/prism/snapshots/whitequark/space_args_block.txt
index 260081eb17..28fcecc97f 100644
--- a/test/prism/snapshots/whitequark/space_args_block.txt
+++ b/test/prism/snapshots/whitequark/space_args_block.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,9))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :fun
β”œβ”€β”€ message_loc: (1,0)-(1,3) = "fun"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -24,5 +25,4 @@
β”‚ β”œβ”€β”€ body: βˆ…
β”‚ β”œβ”€β”€ opening_loc: (1,7)-(1,8) = "{"
β”‚ └── closing_loc: (1,8)-(1,9) = "}"
- β”œβ”€β”€ flags: βˆ…
- └── name: :fun
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/space_args_cmd.txt b/test/prism/snapshots/whitequark/space_args_cmd.txt
index 26fb75511e..1d58f4bd2c 100644
--- a/test/prism/snapshots/whitequark/space_args_cmd.txt
+++ b/test/prism/snapshots/whitequark/space_args_cmd.txt
@@ -6,6 +6,7 @@
└── @ CallNode (location: (1,0)-(1,11))
β”œβ”€β”€ receiver: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :fun
β”œβ”€β”€ message_loc: (1,0)-(1,3) = "fun"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments:
@@ -18,6 +19,7 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (1,5)-(1,10))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :f
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,5)-(1,6) = "f"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -26,22 +28,20 @@
β”‚ β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (1,7)-(1,10))
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,7)-(1,10) = "bar"
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ β”‚ └── name: :f
+ β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ opening_loc: (1,4)-(1,5) = "("
β”‚ β”‚ └── closing_loc: (1,10)-(1,11) = ")"
β”‚ └── flags: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :fun
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/string_interp.txt b/test/prism/snapshots/whitequark/string_interp.txt
index 706da5b4b5..bd97411d7a 100644
--- a/test/prism/snapshots/whitequark/string_interp.txt
+++ b/test/prism/snapshots/whitequark/string_interp.txt
@@ -20,13 +20,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (1,6)-(1,9))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,6)-(1,9) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── closing_loc: (1,9)-(1,10) = "}"
β”‚ └── @ StringNode (location: (1,10)-(1,13))
β”‚ β”œβ”€β”€ flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/super.txt b/test/prism/snapshots/whitequark/super.txt
index 1d15ca71bd..dd02255c9f 100644
--- a/test/prism/snapshots/whitequark/super.txt
+++ b/test/prism/snapshots/whitequark/super.txt
@@ -12,13 +12,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (1,6)-(1,9))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,6)-(1,9) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ rparen_loc: βˆ…
β”‚ └── block: βˆ…
@@ -37,13 +37,13 @@
β”‚ β”‚ └── @ CallNode (location: (5,6)-(5,9))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (5,6)-(5,9) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── flags: βˆ…
β”œβ”€β”€ rparen_loc: (5,9)-(5,10) = ")"
└── block: βˆ…
diff --git a/test/prism/snapshots/whitequark/super_block.txt b/test/prism/snapshots/whitequark/super_block.txt
index 626ab97b55..124dd22c53 100644
--- a/test/prism/snapshots/whitequark/super_block.txt
+++ b/test/prism/snapshots/whitequark/super_block.txt
@@ -20,23 +20,23 @@
β”‚ β”‚ β”œβ”€β”€ @ CallNode (location: (3,6)-(3,9))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,6)-(3,9) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── @ CallNode (location: (3,11)-(3,14))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,11)-(3,14) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── flags: βˆ…
β”œβ”€β”€ rparen_loc: βˆ…
└── block:
diff --git a/test/prism/snapshots/whitequark/symbol_interp.txt b/test/prism/snapshots/whitequark/symbol_interp.txt
index 26578c6f7a..7443086fb5 100644
--- a/test/prism/snapshots/whitequark/symbol_interp.txt
+++ b/test/prism/snapshots/whitequark/symbol_interp.txt
@@ -20,13 +20,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (1,7)-(1,10))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,7)-(1,10) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── closing_loc: (1,10)-(1,11) = "}"
β”‚ └── @ StringNode (location: (1,11)-(1,14))
β”‚ β”œβ”€β”€ flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/ternary.txt b/test/prism/snapshots/whitequark/ternary.txt
index 7a74f5ca67..4fec364c5b 100644
--- a/test/prism/snapshots/whitequark/ternary.txt
+++ b/test/prism/snapshots/whitequark/ternary.txt
@@ -9,13 +9,13 @@
β”‚ @ CallNode (location: (1,0)-(1,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ then_keyword_loc: (1,4)-(1,5) = "?"
β”œβ”€β”€ statements:
β”‚ @ StatementsNode (location: (1,6)-(1,7))
diff --git a/test/prism/snapshots/whitequark/ternary_ambiguous_symbol.txt b/test/prism/snapshots/whitequark/ternary_ambiguous_symbol.txt
index 13c426b83f..f4d0736ca4 100644
--- a/test/prism/snapshots/whitequark/ternary_ambiguous_symbol.txt
+++ b/test/prism/snapshots/whitequark/ternary_ambiguous_symbol.txt
@@ -21,13 +21,13 @@
β”‚ β”‚ └── @ CallNode (location: (1,5)-(1,8))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,5)-(1,8) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ opening_loc: (1,4)-(1,5) = "("
β”‚ └── closing_loc: (1,8)-(1,9) = ")"
β”œβ”€β”€ then_keyword_loc: (1,9)-(1,10) = "?"
diff --git a/test/prism/snapshots/whitequark/trailing_forward_arg.txt b/test/prism/snapshots/whitequark/trailing_forward_arg.txt
index 62a884e0e5..e51eea4685 100644
--- a/test/prism/snapshots/whitequark/trailing_forward_arg.txt
+++ b/test/prism/snapshots/whitequark/trailing_forward_arg.txt
@@ -27,6 +27,7 @@
β”‚ └── @ CallNode (location: (1,20)-(1,35))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (1,20)-(1,23) = "bar"
β”‚ β”œβ”€β”€ opening_loc: (1,23)-(1,24) = "("
β”‚ β”œβ”€β”€ arguments:
@@ -41,8 +42,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: (1,34)-(1,35) = ")"
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :bar
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ locals: [:a, :b, :"..."]
β”œβ”€β”€ def_keyword_loc: (1,0)-(1,3) = "def"
β”œβ”€β”€ operator_loc: βˆ…
diff --git a/test/prism/snapshots/whitequark/unary_num_pow_precedence.txt b/test/prism/snapshots/whitequark/unary_num_pow_precedence.txt
index 5ee965da43..4e5d010e71 100644
--- a/test/prism/snapshots/whitequark/unary_num_pow_precedence.txt
+++ b/test/prism/snapshots/whitequark/unary_num_pow_precedence.txt
@@ -7,6 +7,7 @@
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ FloatNode (location: (1,0)-(1,4))
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :**
β”‚ β”œβ”€β”€ message_loc: (1,5)-(1,7) = "**"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -17,8 +18,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :**
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ @ CallNode (location: (3,0)-(3,8))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ CallNode (location: (3,1)-(3,8))
@@ -26,6 +26,7 @@
β”‚ β”‚ β”‚ @ IntegerNode (location: (3,1)-(3,2))
β”‚ β”‚ β”‚ └── flags: decimal
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :**
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,3)-(3,5) = "**"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments:
@@ -36,22 +37,22 @@
β”‚ β”‚ β”‚ └── flags: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ β”‚ └── name: :**
+ β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :-@
β”‚ β”œβ”€β”€ message_loc: (3,0)-(3,1) = "-"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :-@
+ β”‚ └── flags: βˆ…
└── @ CallNode (location: (5,0)-(5,10))
β”œβ”€β”€ receiver:
β”‚ @ CallNode (location: (5,1)-(5,10))
β”‚ β”œβ”€β”€ receiver:
β”‚ β”‚ @ FloatNode (location: (5,1)-(5,4))
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :**
β”‚ β”œβ”€β”€ message_loc: (5,5)-(5,7) = "**"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -62,13 +63,12 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :**
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ call_operator_loc: βˆ…
+ β”œβ”€β”€ name: :-@
β”œβ”€β”€ message_loc: (5,0)-(5,1) = "-"
β”œβ”€β”€ opening_loc: βˆ…
β”œβ”€β”€ arguments: βˆ…
β”œβ”€β”€ closing_loc: βˆ…
β”œβ”€β”€ block: βˆ…
- β”œβ”€β”€ flags: βˆ…
- └── name: :-@
+ └── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/unless.txt b/test/prism/snapshots/whitequark/unless.txt
index 666ab7d5fe..602b2d06ec 100644
--- a/test/prism/snapshots/whitequark/unless.txt
+++ b/test/prism/snapshots/whitequark/unless.txt
@@ -9,13 +9,13 @@
β”‚ β”‚ @ CallNode (location: (1,7)-(1,10))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,7)-(1,10) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ then_keyword_loc: (1,11)-(1,15) = "then"
β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ @ StatementsNode (location: (1,16)-(1,19))
@@ -23,13 +23,13 @@
β”‚ β”‚ └── @ CallNode (location: (1,16)-(1,19))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,16)-(1,19) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ consequent: βˆ…
β”‚ └── end_keyword_loc: (1,21)-(1,24) = "end"
└── @ UnlessNode (location: (3,0)-(3,20))
@@ -38,13 +38,13 @@
β”‚ @ CallNode (location: (3,7)-(3,10))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (3,7)-(3,10) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ then_keyword_loc: βˆ…
β”œβ”€β”€ statements:
β”‚ @ StatementsNode (location: (3,12)-(3,15))
@@ -52,12 +52,12 @@
β”‚ └── @ CallNode (location: (3,12)-(3,15))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (3,12)-(3,15) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :bar
+ β”‚ └── flags: variable_call
β”œβ”€β”€ consequent: βˆ…
└── end_keyword_loc: (3,17)-(3,20) = "end"
diff --git a/test/prism/snapshots/whitequark/unless_else.txt b/test/prism/snapshots/whitequark/unless_else.txt
index 86b16a5c16..66ef26875a 100644
--- a/test/prism/snapshots/whitequark/unless_else.txt
+++ b/test/prism/snapshots/whitequark/unless_else.txt
@@ -9,13 +9,13 @@
β”‚ β”‚ @ CallNode (location: (1,7)-(1,10))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,7)-(1,10) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ then_keyword_loc: (1,11)-(1,15) = "then"
β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ @ StatementsNode (location: (1,16)-(1,19))
@@ -23,13 +23,13 @@
β”‚ β”‚ └── @ CallNode (location: (1,16)-(1,19))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,16)-(1,19) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ consequent:
β”‚ β”‚ @ ElseNode (location: (1,21)-(1,34))
β”‚ β”‚ β”œβ”€β”€ else_keyword_loc: (1,21)-(1,25) = "else"
@@ -39,13 +39,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (1,26)-(1,29))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,26)-(1,29) = "baz"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── end_keyword_loc: (1,31)-(1,34) = "end"
β”‚ └── end_keyword_loc: (1,31)-(1,34) = "end"
└── @ UnlessNode (location: (3,0)-(3,30))
@@ -54,13 +54,13 @@
β”‚ @ CallNode (location: (3,7)-(3,10))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (3,7)-(3,10) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ then_keyword_loc: βˆ…
β”œβ”€β”€ statements:
β”‚ @ StatementsNode (location: (3,12)-(3,15))
@@ -68,13 +68,13 @@
β”‚ └── @ CallNode (location: (3,12)-(3,15))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (3,12)-(3,15) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :bar
+ β”‚ └── flags: variable_call
β”œβ”€β”€ consequent:
β”‚ @ ElseNode (location: (3,17)-(3,30))
β”‚ β”œβ”€β”€ else_keyword_loc: (3,17)-(3,21) = "else"
@@ -84,12 +84,12 @@
β”‚ β”‚ └── @ CallNode (location: (3,22)-(3,25))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”œβ”€β”€ message_loc: (3,22)-(3,25) = "baz"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── end_keyword_loc: (3,27)-(3,30) = "end"
└── end_keyword_loc: (3,27)-(3,30) = "end"
diff --git a/test/prism/snapshots/whitequark/unless_mod.txt b/test/prism/snapshots/whitequark/unless_mod.txt
index 07b5ee9337..734cfd3cbf 100644
--- a/test/prism/snapshots/whitequark/unless_mod.txt
+++ b/test/prism/snapshots/whitequark/unless_mod.txt
@@ -9,13 +9,13 @@
β”‚ @ CallNode (location: (1,11)-(1,14))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (1,11)-(1,14) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ then_keyword_loc: βˆ…
β”œβ”€β”€ statements:
β”‚ @ StatementsNode (location: (1,0)-(1,3))
@@ -23,12 +23,12 @@
β”‚ └── @ CallNode (location: (1,0)-(1,3))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,3) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :bar
+ β”‚ └── flags: variable_call
β”œβ”€β”€ consequent: βˆ…
└── end_keyword_loc: βˆ…
diff --git a/test/prism/snapshots/whitequark/until.txt b/test/prism/snapshots/whitequark/until.txt
index 081bdabcee..09f943a787 100644
--- a/test/prism/snapshots/whitequark/until.txt
+++ b/test/prism/snapshots/whitequark/until.txt
@@ -10,26 +10,26 @@
β”‚ β”‚ @ CallNode (location: (1,6)-(1,9))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,6)-(1,9) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ @ StatementsNode (location: (1,13)-(1,17))
β”‚ β”‚ └── body: (length: 1)
β”‚ β”‚ └── @ CallNode (location: (1,13)-(1,17))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :meth
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,13)-(1,17) = "meth"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :meth
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── flags: βˆ…
└── @ UntilNode (location: (3,0)-(3,19))
β”œβ”€β”€ keyword_loc: (3,0)-(3,5) = "until"
@@ -38,24 +38,24 @@
β”‚ @ CallNode (location: (3,6)-(3,9))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (3,6)-(3,9) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ statements:
β”‚ @ StatementsNode (location: (3,11)-(3,15))
β”‚ └── body: (length: 1)
β”‚ └── @ CallNode (location: (3,11)-(3,15))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :meth
β”‚ β”œβ”€β”€ message_loc: (3,11)-(3,15) = "meth"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :meth
+ β”‚ └── flags: variable_call
└── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/until_mod.txt b/test/prism/snapshots/whitequark/until_mod.txt
index f3de773000..11745900e5 100644
--- a/test/prism/snapshots/whitequark/until_mod.txt
+++ b/test/prism/snapshots/whitequark/until_mod.txt
@@ -10,24 +10,24 @@
β”‚ @ CallNode (location: (1,11)-(1,14))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (1,11)-(1,14) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ statements:
β”‚ @ StatementsNode (location: (1,0)-(1,4))
β”‚ └── body: (length: 1)
β”‚ └── @ CallNode (location: (1,0)-(1,4))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :meth
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,4) = "meth"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :meth
+ β”‚ └── flags: variable_call
└── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/until_post.txt b/test/prism/snapshots/whitequark/until_post.txt
index e1e651e854..2bedb9f411 100644
--- a/test/prism/snapshots/whitequark/until_post.txt
+++ b/test/prism/snapshots/whitequark/until_post.txt
@@ -10,13 +10,13 @@
β”‚ @ CallNode (location: (1,21)-(1,24))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (1,21)-(1,24) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ statements:
β”‚ @ StatementsNode (location: (1,0)-(1,14))
β”‚ └── body: (length: 1)
@@ -28,13 +28,13 @@
β”‚ β”‚ └── @ CallNode (location: (1,6)-(1,10))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :meth
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,6)-(1,10) = "meth"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :meth
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ rescue_clause: βˆ…
β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”œβ”€β”€ ensure_clause: βˆ…
diff --git a/test/prism/snapshots/whitequark/var_op_asgn_cmd.txt b/test/prism/snapshots/whitequark/var_op_asgn_cmd.txt
index 78030dae4e..805e47ceb6 100644
--- a/test/prism/snapshots/whitequark/var_op_asgn_cmd.txt
+++ b/test/prism/snapshots/whitequark/var_op_asgn_cmd.txt
@@ -10,6 +10,7 @@
β”‚ @ CallNode (location: (1,7)-(1,12))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :m
β”‚ β”œβ”€β”€ message_loc: (1,7)-(1,8) = "m"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments:
@@ -21,8 +22,7 @@
β”‚ β”‚ └── flags: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: βˆ…
- β”‚ └── name: :m
+ β”‚ └── flags: βˆ…
β”œβ”€β”€ name: :foo
β”œβ”€β”€ operator: :+
└── depth: 0
diff --git a/test/prism/snapshots/whitequark/when_multi.txt b/test/prism/snapshots/whitequark/when_multi.txt
index 7ce87216d9..06f4741de9 100644
--- a/test/prism/snapshots/whitequark/when_multi.txt
+++ b/test/prism/snapshots/whitequark/when_multi.txt
@@ -8,13 +8,13 @@
β”‚ @ CallNode (location: (1,5)-(1,8))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (1,5)-(1,8) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ conditions: (length: 1)
β”‚ └── @ WhenNode (location: (1,10)-(1,32))
β”‚ β”œβ”€β”€ keyword_loc: (1,10)-(1,14) = "when"
@@ -37,13 +37,13 @@
β”‚ └── @ CallNode (location: (1,29)-(1,32))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (1,29)-(1,32) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :bar
+ β”‚ └── flags: variable_call
β”œβ”€β”€ consequent: βˆ…
β”œβ”€β”€ case_keyword_loc: (1,0)-(1,4) = "case"
└── end_keyword_loc: (1,34)-(1,37) = "end"
diff --git a/test/prism/snapshots/whitequark/when_splat.txt b/test/prism/snapshots/whitequark/when_splat.txt
index 1d4186afeb..0f373b842b 100644
--- a/test/prism/snapshots/whitequark/when_splat.txt
+++ b/test/prism/snapshots/whitequark/when_splat.txt
@@ -8,13 +8,13 @@
β”‚ @ CallNode (location: (1,5)-(1,8))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (1,5)-(1,8) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ conditions: (length: 2)
β”‚ β”œβ”€β”€ @ WhenNode (location: (1,10)-(1,27))
β”‚ β”‚ β”œβ”€β”€ keyword_loc: (1,10)-(1,14) = "when"
@@ -27,26 +27,26 @@
β”‚ β”‚ β”‚ @ CallNode (location: (1,19)-(1,22))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :baz
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,19)-(1,22) = "baz"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :baz
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── statements:
β”‚ β”‚ @ StatementsNode (location: (1,24)-(1,27))
β”‚ β”‚ └── body: (length: 1)
β”‚ β”‚ └── @ CallNode (location: (1,24)-(1,27))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,24)-(1,27) = "bar"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── @ WhenNode (location: (1,29)-(1,38))
β”‚ β”œβ”€β”€ keyword_loc: (1,29)-(1,33) = "when"
β”‚ β”œβ”€β”€ conditions: (length: 1)
@@ -56,13 +56,13 @@
β”‚ β”‚ @ CallNode (location: (1,35)-(1,38))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,35)-(1,38) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── statements: βˆ…
β”œβ”€β”€ consequent: βˆ…
β”œβ”€β”€ case_keyword_loc: (1,0)-(1,4) = "case"
diff --git a/test/prism/snapshots/whitequark/when_then.txt b/test/prism/snapshots/whitequark/when_then.txt
index 0f22ea6023..6d5ee2196d 100644
--- a/test/prism/snapshots/whitequark/when_then.txt
+++ b/test/prism/snapshots/whitequark/when_then.txt
@@ -8,13 +8,13 @@
β”‚ @ CallNode (location: (1,5)-(1,8))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (1,5)-(1,8) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ conditions: (length: 1)
β”‚ └── @ WhenNode (location: (1,10)-(1,29))
β”‚ β”œβ”€β”€ keyword_loc: (1,10)-(1,14) = "when"
@@ -31,13 +31,13 @@
β”‚ └── @ CallNode (location: (1,26)-(1,29))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”œβ”€β”€ message_loc: (1,26)-(1,29) = "bar"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :bar
+ β”‚ └── flags: variable_call
β”œβ”€β”€ consequent: βˆ…
β”œβ”€β”€ case_keyword_loc: (1,0)-(1,4) = "case"
└── end_keyword_loc: (1,31)-(1,34) = "end"
diff --git a/test/prism/snapshots/whitequark/while.txt b/test/prism/snapshots/whitequark/while.txt
index b1e5674432..1af1bf3088 100644
--- a/test/prism/snapshots/whitequark/while.txt
+++ b/test/prism/snapshots/whitequark/while.txt
@@ -10,26 +10,26 @@
β”‚ β”‚ @ CallNode (location: (1,6)-(1,9))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,6)-(1,9) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ statements:
β”‚ β”‚ @ StatementsNode (location: (1,13)-(1,17))
β”‚ β”‚ └── body: (length: 1)
β”‚ β”‚ └── @ CallNode (location: (1,13)-(1,17))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :meth
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,13)-(1,17) = "meth"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :meth
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── flags: βˆ…
└── @ WhileNode (location: (3,0)-(3,19))
β”œβ”€β”€ keyword_loc: (3,0)-(3,5) = "while"
@@ -38,24 +38,24 @@
β”‚ @ CallNode (location: (3,6)-(3,9))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (3,6)-(3,9) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ statements:
β”‚ @ StatementsNode (location: (3,11)-(3,15))
β”‚ └── body: (length: 1)
β”‚ └── @ CallNode (location: (3,11)-(3,15))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :meth
β”‚ β”œβ”€β”€ message_loc: (3,11)-(3,15) = "meth"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :meth
+ β”‚ └── flags: variable_call
└── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/while_mod.txt b/test/prism/snapshots/whitequark/while_mod.txt
index 0291ea39dd..c612898fb4 100644
--- a/test/prism/snapshots/whitequark/while_mod.txt
+++ b/test/prism/snapshots/whitequark/while_mod.txt
@@ -10,24 +10,24 @@
β”‚ @ CallNode (location: (1,11)-(1,14))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (1,11)-(1,14) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ statements:
β”‚ @ StatementsNode (location: (1,0)-(1,4))
β”‚ └── body: (length: 1)
β”‚ └── @ CallNode (location: (1,0)-(1,4))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :meth
β”‚ β”œβ”€β”€ message_loc: (1,0)-(1,4) = "meth"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :meth
+ β”‚ └── flags: variable_call
└── flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/while_post.txt b/test/prism/snapshots/whitequark/while_post.txt
index e98ffd5a9b..1ddaf4ea31 100644
--- a/test/prism/snapshots/whitequark/while_post.txt
+++ b/test/prism/snapshots/whitequark/while_post.txt
@@ -10,13 +10,13 @@
β”‚ @ CallNode (location: (1,21)-(1,24))
β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”œβ”€β”€ message_loc: (1,21)-(1,24) = "foo"
β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ └── name: :foo
+ β”‚ └── flags: variable_call
β”œβ”€β”€ statements:
β”‚ @ StatementsNode (location: (1,0)-(1,14))
β”‚ └── body: (length: 1)
@@ -28,13 +28,13 @@
β”‚ β”‚ └── @ CallNode (location: (1,6)-(1,10))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :meth
β”‚ β”‚ β”œβ”€β”€ message_loc: (1,6)-(1,10) = "meth"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :meth
+ β”‚ β”‚ └── flags: variable_call
β”‚ β”œβ”€β”€ rescue_clause: βˆ…
β”‚ β”œβ”€β”€ else_clause: βˆ…
β”‚ β”œβ”€β”€ ensure_clause: βˆ…
diff --git a/test/prism/snapshots/whitequark/xstring_interp.txt b/test/prism/snapshots/whitequark/xstring_interp.txt
index 5a9d4468ed..d7bab053ee 100644
--- a/test/prism/snapshots/whitequark/xstring_interp.txt
+++ b/test/prism/snapshots/whitequark/xstring_interp.txt
@@ -20,13 +20,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (1,6)-(1,9))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (1,6)-(1,9) = "bar"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── closing_loc: (1,9)-(1,10) = "}"
β”‚ └── @ StringNode (location: (1,10)-(1,13))
β”‚ β”œβ”€β”€ flags: βˆ…
diff --git a/test/prism/snapshots/whitequark/yield.txt b/test/prism/snapshots/whitequark/yield.txt
index 19de468ed1..e219e66be4 100644
--- a/test/prism/snapshots/whitequark/yield.txt
+++ b/test/prism/snapshots/whitequark/yield.txt
@@ -17,13 +17,13 @@
β”‚ β”‚ β”‚ └── @ CallNode (location: (3,6)-(3,9))
β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,6)-(3,9) = "foo"
β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ └── flags: βˆ…
β”‚ └── rparen_loc: βˆ…
β”œβ”€β”€ @ YieldNode (location: (5,0)-(5,7))
@@ -40,12 +40,12 @@
β”‚ β”‚ └── @ CallNode (location: (7,6)-(7,9))
β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”œβ”€β”€ name: :foo
β”‚ β”‚ β”œβ”€β”€ message_loc: (7,6)-(7,9) = "foo"
β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ └── name: :foo
+ β”‚ β”‚ └── flags: variable_call
β”‚ └── flags: βˆ…
└── rparen_loc: (7,9)-(7,10) = ")"
diff --git a/test/prism/snapshots/xstring.txt b/test/prism/snapshots/xstring.txt
index 46b47ffac7..6cfa9a350e 100644
--- a/test/prism/snapshots/xstring.txt
+++ b/test/prism/snapshots/xstring.txt
@@ -25,13 +25,13 @@
β”‚ β”‚ β”‚ β”‚ └── @ CallNode (location: (3,7)-(3,10))
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ receiver: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ call_operator_loc: βˆ…
+ β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ name: :bar
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ message_loc: (3,7)-(3,10) = "bar"
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ opening_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ arguments: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ closing_loc: βˆ…
β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ block: βˆ…
- β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ flags: variable_call
- β”‚ β”‚ β”‚ β”‚ └── name: :bar
+ β”‚ β”‚ β”‚ β”‚ └── flags: variable_call
β”‚ β”‚ β”‚ └── closing_loc: (3,10)-(3,11) = "}"
β”‚ β”‚ └── @ StringNode (location: (3,11)-(3,15))
β”‚ β”‚ β”œβ”€β”€ flags: βˆ