aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Newton <kddnewton@gmail.com>2024-01-02 14:54:45 -0500
committergit <svn-admin@ruby-lang.org>2024-01-02 20:59:19 +0000
commitadbfbd822f37d9dfc94d071af4d2d4390bfb29eb (patch)
treea027fe16a035133f864df962ab83c7da0be82ee8
parent380c218bfa85dcb1418c72144f59550999ef396c (diff)
downloadruby-adbfbd822f37d9dfc94d071af4d2d4390bfb29eb.tar.gz
[ruby/prism] Ignore visibility flag
https://github.com/ruby/prism/commit/55b049ddac
-rw-r--r--prism/config.yml2
-rw-r--r--prism/prism.c28
-rw-r--r--test/prism/errors_test.rb10
-rw-r--r--test/prism/snapshots/arithmetic.txt22
-rw-r--r--test/prism/snapshots/arrays.txt172
-rw-r--r--test/prism/snapshots/begin_ensure.txt16
-rw-r--r--test/prism/snapshots/begin_rescue.txt70
-rw-r--r--test/prism/snapshots/blocks.txt68
-rw-r--r--test/prism/snapshots/boolean_operators.txt6
-rw-r--r--test/prism/snapshots/break.txt4
-rw-r--r--test/prism/snapshots/case.txt16
-rw-r--r--test/prism/snapshots/classes.txt6
-rw-r--r--test/prism/snapshots/command_method_call.txt54
-rw-r--r--test/prism/snapshots/comments.txt18
-rw-r--r--test/prism/snapshots/constants.txt28
-rw-r--r--test/prism/snapshots/dash_heredocs.txt6
-rw-r--r--test/prism/snapshots/defined.txt4
-rw-r--r--test/prism/snapshots/dos_endings.txt4
-rw-r--r--test/prism/snapshots/endless_methods.txt2
-rw-r--r--test/prism/snapshots/hashes.txt32
-rw-r--r--test/prism/snapshots/if.txt26
-rw-r--r--test/prism/snapshots/keyword_method_names.txt4
-rw-r--r--test/prism/snapshots/lambda.txt8
-rw-r--r--test/prism/snapshots/method_calls.txt184
-rw-r--r--test/prism/snapshots/methods.txt36
-rw-r--r--test/prism/snapshots/modules.txt4
-rw-r--r--test/prism/snapshots/non_alphanumeric_methods.txt2
-rw-r--r--test/prism/snapshots/not.txt34
-rw-r--r--test/prism/snapshots/patterns.txt346
-rw-r--r--test/prism/snapshots/procs.txt4
-rw-r--r--test/prism/snapshots/ranges.txt6
-rw-r--r--test/prism/snapshots/regex.txt12
-rw-r--r--test/prism/snapshots/rescue.txt32
-rw-r--r--test/prism/snapshots/seattlerb/TestRubyParserShared.txt2
-rw-r--r--test/prism/snapshots/seattlerb/assoc__bare.txt2
-rw-r--r--test/prism/snapshots/seattlerb/assoc_label.txt2
-rw-r--r--test/prism/snapshots/seattlerb/attrasgn_array_arg.txt2
-rw-r--r--test/prism/snapshots/seattlerb/attrasgn_array_lhs.txt4
-rw-r--r--test/prism/snapshots/seattlerb/attrasgn_primary_dot_constant.txt2
-rw-r--r--test/prism/snapshots/seattlerb/backticks_interpolation_line.txt4
-rw-r--r--test/prism/snapshots/seattlerb/bdot2.txt4
-rw-r--r--test/prism/snapshots/seattlerb/bdot3.txt4
-rw-r--r--test/prism/snapshots/seattlerb/block_arg_kwsplat.txt2
-rw-r--r--test/prism/snapshots/seattlerb/block_arg_opt_arg_block.txt2
-rw-r--r--test/prism/snapshots/seattlerb/block_arg_opt_splat.txt2
-rw-r--r--test/prism/snapshots/seattlerb/block_arg_opt_splat_arg_block_omfg.txt2
-rw-r--r--test/prism/snapshots/seattlerb/block_arg_optional.txt2
-rw-r--r--test/prism/snapshots/seattlerb/block_arg_scope.txt2
-rw-r--r--test/prism/snapshots/seattlerb/block_arg_scope2.txt2
-rw-r--r--test/prism/snapshots/seattlerb/block_arg_splat_arg.txt2
-rw-r--r--test/prism/snapshots/seattlerb/block_args_kwargs.txt2
-rw-r--r--test/prism/snapshots/seattlerb/block_args_no_kwargs.txt2
-rw-r--r--test/prism/snapshots/seattlerb/block_args_opt1.txt2
-rw-r--r--test/prism/snapshots/seattlerb/block_args_opt2.txt2
-rw-r--r--test/prism/snapshots/seattlerb/block_args_opt2_2.txt2
-rw-r--r--test/prism/snapshots/seattlerb/block_args_opt3.txt2
-rw-r--r--test/prism/snapshots/seattlerb/block_break.txt4
-rw-r--r--test/prism/snapshots/seattlerb/block_call_defn_call_block_call.txt6
-rw-r--r--test/prism/snapshots/seattlerb/block_call_dot_op2_brace_block.txt8
-rw-r--r--test/prism/snapshots/seattlerb/block_call_dot_op2_cmd_args_do_block.txt10
-rw-r--r--test/prism/snapshots/seattlerb/block_call_operation_colon.txt4
-rw-r--r--test/prism/snapshots/seattlerb/block_call_operation_dot.txt4
-rw-r--r--test/prism/snapshots/seattlerb/block_call_paren_call_block_call.txt6
-rw-r--r--test/prism/snapshots/seattlerb/block_command_operation_colon.txt2
-rw-r--r--test/prism/snapshots/seattlerb/block_command_operation_dot.txt2
-rw-r--r--test/prism/snapshots/seattlerb/block_decomp_anon_splat_arg.txt2
-rw-r--r--test/prism/snapshots/seattlerb/block_decomp_arg_splat.txt2
-rw-r--r--test/prism/snapshots/seattlerb/block_decomp_arg_splat_arg.txt2
-rw-r--r--test/prism/snapshots/seattlerb/block_decomp_splat.txt2
-rw-r--r--test/prism/snapshots/seattlerb/block_kw.txt2
-rw-r--r--test/prism/snapshots/seattlerb/block_kw__required.txt2
-rw-r--r--test/prism/snapshots/seattlerb/block_kwarg_lvar.txt2
-rw-r--r--test/prism/snapshots/seattlerb/block_kwarg_lvar_multiple.txt2
-rw-r--r--test/prism/snapshots/seattlerb/block_next.txt4
-rw-r--r--test/prism/snapshots/seattlerb/block_opt_arg.txt2
-rw-r--r--test/prism/snapshots/seattlerb/block_opt_splat.txt2
-rw-r--r--test/prism/snapshots/seattlerb/block_opt_splat_arg_block_omfg.txt2
-rw-r--r--test/prism/snapshots/seattlerb/block_optarg.txt2
-rw-r--r--test/prism/snapshots/seattlerb/block_paren_splat.txt2
-rw-r--r--test/prism/snapshots/seattlerb/block_reg_optarg.txt2
-rw-r--r--test/prism/snapshots/seattlerb/block_return.txt4
-rw-r--r--test/prism/snapshots/seattlerb/block_scope.txt2
-rw-r--r--test/prism/snapshots/seattlerb/block_splat_reg.txt2
-rw-r--r--test/prism/snapshots/seattlerb/bug169.txt2
-rw-r--r--test/prism/snapshots/seattlerb/bug179.txt2
-rw-r--r--test/prism/snapshots/seattlerb/bug191.txt8
-rw-r--r--test/prism/snapshots/seattlerb/bug236.txt4
-rw-r--r--test/prism/snapshots/seattlerb/bug290.txt2
-rw-r--r--test/prism/snapshots/seattlerb/bug_187.txt4
-rw-r--r--test/prism/snapshots/seattlerb/bug_249.txt2
-rw-r--r--test/prism/snapshots/seattlerb/bug_args__19.txt4
-rw-r--r--test/prism/snapshots/seattlerb/bug_args_masgn.txt2
-rw-r--r--test/prism/snapshots/seattlerb/bug_args_masgn2.txt2
-rw-r--r--test/prism/snapshots/seattlerb/bug_args_masgn_outer_parens__19.txt2
-rw-r--r--test/prism/snapshots/seattlerb/bug_call_arglist_parens.txt6
-rw-r--r--test/prism/snapshots/seattlerb/bug_comma.txt4
-rw-r--r--test/prism/snapshots/seattlerb/bug_hash_args.txt2
-rw-r--r--test/prism/snapshots/seattlerb/bug_hash_args_trailing_comma.txt2
-rw-r--r--test/prism/snapshots/seattlerb/bug_masgn_right.txt2
-rw-r--r--test/prism/snapshots/seattlerb/bug_not_parens.txt2
-rw-r--r--test/prism/snapshots/seattlerb/bug_op_asgn_rescue.txt2
-rw-r--r--test/prism/snapshots/seattlerb/call_arg_assoc.txt2
-rw-r--r--test/prism/snapshots/seattlerb/call_arg_assoc_kwsplat.txt2
-rw-r--r--test/prism/snapshots/seattlerb/call_arg_kwsplat.txt4
-rw-r--r--test/prism/snapshots/seattlerb/call_args_assoc_quoted.txt8
-rw-r--r--test/prism/snapshots/seattlerb/call_args_assoc_trailing_comma.txt2
-rw-r--r--test/prism/snapshots/seattlerb/call_args_command.txt4
-rw-r--r--test/prism/snapshots/seattlerb/call_array_block_call.txt4
-rw-r--r--test/prism/snapshots/seattlerb/call_array_lambda_block_call.txt2
-rw-r--r--test/prism/snapshots/seattlerb/call_array_lit_inline_hash.txt2
-rw-r--r--test/prism/snapshots/seattlerb/call_assoc.txt2
-rw-r--r--test/prism/snapshots/seattlerb/call_assoc_new.txt2
-rw-r--r--test/prism/snapshots/seattlerb/call_assoc_new_if_multiline.txt2
-rw-r--r--test/prism/snapshots/seattlerb/call_assoc_trailing_comma.txt2
-rw-r--r--test/prism/snapshots/seattlerb/call_bang_command_call.txt2
-rw-r--r--test/prism/snapshots/seattlerb/call_begin_call_block_call.txt4
-rw-r--r--test/prism/snapshots/seattlerb/call_block_arg_named.txt4
-rw-r--r--test/prism/snapshots/seattlerb/call_env.txt2
-rw-r--r--test/prism/snapshots/seattlerb/call_kwsplat.txt2
-rw-r--r--test/prism/snapshots/seattlerb/call_leading_dots.txt2
-rw-r--r--test/prism/snapshots/seattlerb/call_leading_dots_comment.txt2
-rw-r--r--test/prism/snapshots/seattlerb/call_self_brackets.txt2
-rw-r--r--test/prism/snapshots/seattlerb/call_stabby_do_end_with_block.txt2
-rw-r--r--test/prism/snapshots/seattlerb/call_stabby_with_braces_block.txt2
-rw-r--r--test/prism/snapshots/seattlerb/call_trailing_comma.txt2
-rw-r--r--test/prism/snapshots/seattlerb/call_trailing_dots.txt2
-rw-r--r--test/prism/snapshots/seattlerb/case_in.txt2
-rw-r--r--test/prism/snapshots/seattlerb/dasgn_icky2.txt2
-rw-r--r--test/prism/snapshots/seattlerb/defn_arg_forward_args.txt2
-rw-r--r--test/prism/snapshots/seattlerb/defn_args_forward_args.txt2
-rw-r--r--test/prism/snapshots/seattlerb/defn_endless_command.txt2
-rw-r--r--test/prism/snapshots/seattlerb/defn_endless_command_rescue.txt2
-rw-r--r--test/prism/snapshots/seattlerb/defn_forward_args.txt2
-rw-r--r--test/prism/snapshots/seattlerb/defn_forward_args__no_parens.txt2
-rw-r--r--test/prism/snapshots/seattlerb/defn_kwarg_env.txt2
-rw-r--r--test/prism/snapshots/seattlerb/defn_oneliner.txt2
-rw-r--r--test/prism/snapshots/seattlerb/defn_oneliner_noargs.txt2
-rw-r--r--test/prism/snapshots/seattlerb/defn_oneliner_noargs_parentheses.txt2
-rw-r--r--test/prism/snapshots/seattlerb/defn_oneliner_rescue.txt6
-rw-r--r--test/prism/snapshots/seattlerb/defs_as_arg_with_do_block_inside.txt4
-rw-r--r--test/prism/snapshots/seattlerb/defs_endless_command.txt4
-rw-r--r--test/prism/snapshots/seattlerb/defs_endless_command_rescue.txt4
-rw-r--r--test/prism/snapshots/seattlerb/defs_oneliner.txt2
-rw-r--r--test/prism/snapshots/seattlerb/defs_oneliner_rescue.txt6
-rw-r--r--test/prism/snapshots/seattlerb/difficult0_.txt2
-rw-r--r--test/prism/snapshots/seattlerb/difficult1_line_numbers.txt20
-rw-r--r--test/prism/snapshots/seattlerb/difficult1_line_numbers2.txt6
-rw-r--r--test/prism/snapshots/seattlerb/difficult2_.txt4
-rw-r--r--test/prism/snapshots/seattlerb/difficult3_.txt2
-rw-r--r--test/prism/snapshots/seattlerb/difficult3_2.txt2
-rw-r--r--test/prism/snapshots/seattlerb/difficult3_3.txt2
-rw-r--r--test/prism/snapshots/seattlerb/difficult3_4.txt2
-rw-r--r--test/prism/snapshots/seattlerb/difficult3_5.txt4
-rw-r--r--test/prism/snapshots/seattlerb/difficult3__10.txt2
-rw-r--r--test/prism/snapshots/seattlerb/difficult3__11.txt2
-rw-r--r--test/prism/snapshots/seattlerb/difficult3__12.txt2
-rw-r--r--test/prism/snapshots/seattlerb/difficult3__6.txt2
-rw-r--r--test/prism/snapshots/seattlerb/difficult3__7.txt2
-rw-r--r--test/prism/snapshots/seattlerb/difficult3__8.txt2
-rw-r--r--test/prism/snapshots/seattlerb/difficult3__9.txt2
-rw-r--r--test/prism/snapshots/seattlerb/difficult4__leading_dots.txt2
-rw-r--r--test/prism/snapshots/seattlerb/difficult6_.txt2
-rw-r--r--test/prism/snapshots/seattlerb/difficult6__7.txt4
-rw-r--r--test/prism/snapshots/seattlerb/difficult6__8.txt4
-rw-r--r--test/prism/snapshots/seattlerb/difficult7_.txt8
-rw-r--r--test/prism/snapshots/seattlerb/do_bug.txt4
-rw-r--r--test/prism/snapshots/seattlerb/dot2_nil__26.txt2
-rw-r--r--test/prism/snapshots/seattlerb/dot3_nil__26.txt2
-rw-r--r--test/prism/snapshots/seattlerb/dstr_evstr.txt2
-rw-r--r--test/prism/snapshots/seattlerb/dstr_evstr_empty_end.txt2
-rw-r--r--test/prism/snapshots/seattlerb/dstr_lex_state.txt2
-rw-r--r--test/prism/snapshots/seattlerb/eq_begin_why_wont_people_use_their_spacebar.txt4
-rw-r--r--test/prism/snapshots/seattlerb/evstr_evstr.txt4
-rw-r--r--test/prism/snapshots/seattlerb/evstr_str.txt2
-rw-r--r--test/prism/snapshots/seattlerb/expr_not_bang.txt4
-rw-r--r--test/prism/snapshots/seattlerb/flip2_env_lvar.txt4
-rw-r--r--test/prism/snapshots/seattlerb/heredoc_squiggly_blank_line_plus_interpolation.txt4
-rw-r--r--test/prism/snapshots/seattlerb/if_symbol.txt2
-rw-r--r--test/prism/snapshots/seattlerb/index_0.txt4
-rw-r--r--test/prism/snapshots/seattlerb/index_0_opasgn.txt4
-rw-r--r--test/prism/snapshots/seattlerb/iter_args_1.txt2
-rw-r--r--test/prism/snapshots/seattlerb/iter_args_10_1.txt2
-rw-r--r--test/prism/snapshots/seattlerb/iter_args_10_2.txt2
-rw-r--r--test/prism/snapshots/seattlerb/iter_args_11_1.txt2
-rw-r--r--test/prism/snapshots/seattlerb/iter_args_11_2.txt2
-rw-r--r--test/prism/snapshots/seattlerb/iter_args_2__19.txt2
-rw-r--r--test/prism/snapshots/seattlerb/iter_args_3.txt2
-rw-r--r--test/prism/snapshots/seattlerb/iter_args_4.txt2
-rw-r--r--test/prism/snapshots/seattlerb/iter_args_5.txt2
-rw-r--r--test/prism/snapshots/seattlerb/iter_args_6.txt2
-rw-r--r--test/prism/snapshots/seattlerb/iter_args_7_1.txt2
-rw-r--r--test/prism/snapshots/seattlerb/iter_args_7_2.txt2
-rw-r--r--test/prism/snapshots/seattlerb/iter_args_8_1.txt2
-rw-r--r--test/prism/snapshots/seattlerb/iter_args_8_2.txt2
-rw-r--r--test/prism/snapshots/seattlerb/iter_args_9_1.txt2
-rw-r--r--test/prism/snapshots/seattlerb/iter_args_9_2.txt2
-rw-r--r--test/prism/snapshots/seattlerb/iter_kwarg.txt2
-rw-r--r--test/prism/snapshots/seattlerb/iter_kwarg_kwsplat.txt2
-rw-r--r--test/prism/snapshots/seattlerb/label_vs_string.txt2
-rw-r--r--test/prism/snapshots/seattlerb/lambda_do_vs_brace.txt8
-rw-r--r--test/prism/snapshots/seattlerb/lasgn_call_bracket_rescue_arg.txt2
-rw-r--r--test/prism/snapshots/seattlerb/lasgn_call_nobracket_rescue_arg.txt2
-rw-r--r--test/prism/snapshots/seattlerb/lasgn_command.txt2
-rw-r--r--test/prism/snapshots/seattlerb/lasgn_lasgn_command_call.txt2
-rw-r--r--test/prism/snapshots/seattlerb/lasgn_middle_splat.txt6
-rw-r--r--test/prism/snapshots/seattlerb/masgn_anon_splat_arg.txt2
-rw-r--r--test/prism/snapshots/seattlerb/masgn_arg_colon_arg.txt4
-rw-r--r--test/prism/snapshots/seattlerb/masgn_arg_ident.txt4
-rw-r--r--test/prism/snapshots/seattlerb/masgn_arg_splat_arg.txt2
-rw-r--r--test/prism/snapshots/seattlerb/masgn_colon2.txt2
-rw-r--r--test/prism/snapshots/seattlerb/masgn_command_call.txt2
-rw-r--r--test/prism/snapshots/seattlerb/masgn_double_paren.txt2
-rw-r--r--test/prism/snapshots/seattlerb/masgn_paren.txt2
-rw-r--r--test/prism/snapshots/seattlerb/masgn_splat_arg.txt2
-rw-r--r--test/prism/snapshots/seattlerb/masgn_splat_arg_arg.txt2
-rw-r--r--test/prism/snapshots/seattlerb/masgn_var_star_var.txt2
-rw-r--r--test/prism/snapshots/seattlerb/messy_op_asgn_lineno.txt6
-rw-r--r--test/prism/snapshots/seattlerb/method_call_assoc_trailing_comma.txt2
-rw-r--r--test/prism/snapshots/seattlerb/method_call_trailing_comma.txt2
-rw-r--r--test/prism/snapshots/seattlerb/mlhs_back_anonsplat.txt2
-rw-r--r--test/prism/snapshots/seattlerb/mlhs_back_splat.txt2
-rw-r--r--test/prism/snapshots/seattlerb/mlhs_front_anonsplat.txt2
-rw-r--r--test/prism/snapshots/seattlerb/mlhs_front_splat.txt2
-rw-r--r--test/prism/snapshots/seattlerb/mlhs_keyword.txt2
-rw-r--r--test/prism/snapshots/seattlerb/mlhs_mid_anonsplat.txt2
-rw-r--r--test/prism/snapshots/seattlerb/mlhs_mid_splat.txt2
-rw-r--r--test/prism/snapshots/seattlerb/mlhs_rescue.txt2
-rw-r--r--test/prism/snapshots/seattlerb/multiline_hash_declaration.txt6
-rw-r--r--test/prism/snapshots/seattlerb/op_asgn_command_call.txt2
-rw-r--r--test/prism/snapshots/seattlerb/op_asgn_dot_ident_command_call.txt2
-rw-r--r--test/prism/snapshots/seattlerb/op_asgn_index_command_call.txt4
-rw-r--r--test/prism/snapshots/seattlerb/op_asgn_primary_colon_const_command_call.txt4
-rw-r--r--test/prism/snapshots/seattlerb/op_asgn_primary_colon_identifier_command_call.txt4
-rw-r--r--test/prism/snapshots/seattlerb/op_asgn_val_dot_ident_command_call.txt4
-rw-r--r--test/prism/snapshots/seattlerb/parse_if_not_canonical.txt2
-rw-r--r--test/prism/snapshots/seattlerb/parse_if_not_noncanonical.txt2
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_block.txt2
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_block_inline_comment.txt6
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_block_inline_comment_leading_newlines.txt6
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_block_inline_multiline_comment.txt6
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_call_ivar_arg_no_parens_line_break.txt2
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_call_ivar_line_break_paren.txt2
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_call_no_args.txt2
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_defn_complex.txt2
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_dot2.txt6
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_dot2_open.txt4
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_dot3.txt6
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_dot3_open.txt4
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_evstr_after_break.txt2
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_heredoc.txt2
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_heredoc_evstr.txt2
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_heredoc_regexp_chars.txt2
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_iter_call_no_parens.txt4
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_iter_call_parens.txt4
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_op_asgn.txt4
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_postexe.txt2
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_preexe.txt2
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_rescue.txt6
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_str_with_newline_escape.txt2
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_to_ary.txt4
-rw-r--r--test/prism/snapshots/seattlerb/parse_line_trailing_newlines.txt4
-rw-r--r--test/prism/snapshots/seattlerb/parse_pattern_044.txt2
-rw-r--r--test/prism/snapshots/seattlerb/parse_until_not_canonical.txt2
-rw-r--r--test/prism/snapshots/seattlerb/parse_until_not_noncanonical.txt2
-rw-r--r--test/prism/snapshots/seattlerb/parse_while_not_canonical.txt2
-rw-r--r--test/prism/snapshots/seattlerb/parse_while_not_noncanonical.txt2
-rw-r--r--test/prism/snapshots/seattlerb/pipe_semicolon.txt2
-rw-r--r--test/prism/snapshots/seattlerb/pipe_space.txt2
-rw-r--r--test/prism/snapshots/seattlerb/quoted_symbol_hash_arg.txt2
-rw-r--r--test/prism/snapshots/seattlerb/rescue_do_end_ensure_result.txt2
-rw-r--r--test/prism/snapshots/seattlerb/rescue_do_end_no_raise.txt2
-rw-r--r--test/prism/snapshots/seattlerb/rescue_do_end_raised.txt4
-rw-r--r--test/prism/snapshots/seattlerb/rescue_do_end_rescued.txt4
-rw-r--r--test/prism/snapshots/seattlerb/rescue_in_block.txt4
-rw-r--r--test/prism/snapshots/seattlerb/rescue_parens.txt6
-rw-r--r--test/prism/snapshots/seattlerb/return_call_assocs.txt10
-rw-r--r--test/prism/snapshots/seattlerb/safe_attrasgn.txt2
-rw-r--r--test/prism/snapshots/seattlerb/safe_attrasgn_constant.txt2
-rw-r--r--test/prism/snapshots/seattlerb/safe_call.txt2
-rw-r--r--test/prism/snapshots/seattlerb/safe_call_after_newline.txt2
-rw-r--r--test/prism/snapshots/seattlerb/safe_call_dot_parens.txt2
-rw-r--r--test/prism/snapshots/seattlerb/safe_call_newline.txt2
-rw-r--r--test/prism/snapshots/seattlerb/safe_call_operator.txt2
-rw-r--r--test/prism/snapshots/seattlerb/safe_call_rhs_newline.txt2
-rw-r--r--test/prism/snapshots/seattlerb/safe_calls.txt2
-rw-r--r--test/prism/snapshots/seattlerb/safe_op_asgn.txt4
-rw-r--r--test/prism/snapshots/seattlerb/safe_op_asgn2.txt4
-rw-r--r--test/prism/snapshots/seattlerb/slashy_newlines_within_string.txt6
-rw-r--r--test/prism/snapshots/seattlerb/stabby_block_iter_call.txt4
-rw-r--r--test/prism/snapshots/seattlerb/stabby_block_iter_call_no_target_with_arg.txt4
-rw-r--r--test/prism/snapshots/seattlerb/str_backslashes.txt2
-rw-r--r--test/prism/snapshots/seattlerb/str_double_double_escaped_newline.txt4
-rw-r--r--test/prism/snapshots/seattlerb/str_double_escaped_newline.txt4
-rw-r--r--test/prism/snapshots/seattlerb/str_double_newline.txt4
-rw-r--r--test/prism/snapshots/seattlerb/str_evstr.txt2
-rw-r--r--test/prism/snapshots/seattlerb/str_evstr_escape.txt2
-rw-r--r--test/prism/snapshots/seattlerb/str_heredoc_interp.txt2
-rw-r--r--test/prism/snapshots/seattlerb/str_interp_ternary_or_label.txt4
-rw-r--r--test/prism/snapshots/seattlerb/str_pct_Q_nested.txt2
-rw-r--r--test/prism/snapshots/seattlerb/str_single_double_escaped_newline.txt4
-rw-r--r--test/prism/snapshots/seattlerb/str_single_escaped_newline.txt4
-rw-r--r--test/prism/snapshots/seattlerb/str_single_newline.txt4
-rw-r--r--test/prism/snapshots/seattlerb/symbol_list.txt4
-rw-r--r--test/prism/snapshots/seattlerb/thingy.txt4
-rw-r--r--test/prism/snapshots/seattlerb/unary_minus.txt2
-rw-r--r--test/prism/snapshots/seattlerb/unary_plus.txt2
-rw-r--r--test/prism/snapshots/seattlerb/unary_tilde.txt2
-rw-r--r--test/prism/snapshots/seattlerb/utf8_bom.txt2
-rw-r--r--test/prism/snapshots/seattlerb/when_splat.txt4
-rw-r--r--test/prism/snapshots/seattlerb/yield_call_assocs.txt10
-rw-r--r--test/prism/snapshots/spanning_heredoc.txt16
-rw-r--r--test/prism/snapshots/strings.txt6
-rw-r--r--test/prism/snapshots/symbols.txt2
-rw-r--r--test/prism/snapshots/ternary_operator.txt28
-rw-r--r--test/prism/snapshots/unless.txt4
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/assignment.txt20
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/block.txt106
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/case.txt52
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/class.txt8
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/def.txt52
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/defs.txt26
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/dstr.txt10
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/flipflop.txt12
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/for.txt18
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/hookexe.txt6
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/if.txt14
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/kwbegin.txt32
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/lambda.txt4
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/literal.txt20
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/module.txt2
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/opasgn.txt26
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/pattern.txt8
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/pragma.txt2
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/rescue.txt12
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/send.txt198
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/since/31.txt4
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/since/32.txt4
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/super.txt30
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/unary.txt12
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/variables.txt2
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/while.txt50
-rw-r--r--test/prism/snapshots/unparser/corpus/literal/yield.txt6
-rw-r--r--test/prism/snapshots/unparser/corpus/semantic/and.txt32
-rw-r--r--test/prism/snapshots/unparser/corpus/semantic/block.txt14
-rw-r--r--test/prism/snapshots/unparser/corpus/semantic/def.txt6
-rw-r--r--test/prism/snapshots/unparser/corpus/semantic/kwbegin.txt20
-rw-r--r--test/prism/snapshots/unparser/corpus/semantic/literal.txt6
-rw-r--r--test/prism/snapshots/unparser/corpus/semantic/send.txt16
-rw-r--r--test/prism/snapshots/unparser/corpus/semantic/while.txt26
-rw-r--r--test/prism/snapshots/until.txt8
-rw-r--r--test/prism/snapshots/variables.txt8
-rw-r--r--test/prism/snapshots/while.txt18
-rw-r--r--test/prism/snapshots/whitequark/ambiuous_quoted_label_in_ternary_operator.txt4
-rw-r--r--test/prism/snapshots/whitequark/and.txt8
-rw-r--r--test/prism/snapshots/whitequark/and_asgn.txt4
-rw-r--r--test/prism/snapshots/whitequark/and_or_masgn.txt8
-rw-r--r--test/prism/snapshots/whitequark/anonymous_blockarg.txt2
-rw-r--r--test/prism/snapshots/whitequark/arg_label.txt8
-rw-r--r--test/prism/snapshots/whitequark/arg_scope.txt2
-rw-r--r--test/prism/snapshots/whitequark/args_args_assocs.txt10
-rw-r--r--test/prism/snapshots/whitequark/args_args_assocs_comma.txt4
-rw-r--r--test/prism/snapshots/whitequark/args_args_comma.txt4
-rw-r--r--test/prism/snapshots/whitequark/args_args_star.txt14
-rw-r--r--test/prism/snapshots/whitequark/args_assocs.txt12
-rw-r--r--test/prism/snapshots/whitequark/args_assocs_comma.txt2
-rw-r--r--test/prism/snapshots/whitequark/args_assocs_legacy.txt12
-rw-r--r--test/prism/snapshots/whitequark/args_block_pass.txt4
-rw-r--r--test/prism/snapshots/whitequark/args_cmd.txt6
-rw-r--r--test/prism/snapshots/whitequark/args_star.txt10
-rw-r--r--test/prism/snapshots/whitequark/array_splat.txt6
-rw-r--r--test/prism/snapshots/whitequark/array_symbols_interp.txt4
-rw-r--r--test/prism/snapshots/whitequark/array_words_interp.txt4
-rw-r--r--test/prism/snapshots/whitequark/asgn_cmd.txt4
-rw-r--r--test/prism/snapshots/whitequark/asgn_mrhs.txt8
-rw-r--r--test/prism/snapshots/whitequark/bang.txt2
-rw-r--r--test/prism/snapshots/whitequark/bang_cmd.txt4
-rw-r--r--test/prism/snapshots/whitequark/begin_cmdarg.txt2
-rw-r--r--test/prism/snapshots/whitequark/beginless_erange_after_newline.txt2
-rw-r--r--test/prism/snapshots/whitequark/beginless_irange_after_newline.txt2
-rw-r--r--test/prism/snapshots/whitequark/blockargs.txt70
-rw-r--r--test/prism/snapshots/whitequark/break.txt4
-rw-r--r--test/prism/snapshots/whitequark/break_block.txt4
-rw-r--r--test/prism/snapshots/whitequark/bug_447.txt4
-rw-r--r--test/prism/snapshots/whitequark/bug_452.txt4
-rw-r--r--test/prism/snapshots/whitequark/bug_466.txt2
-rw-r--r--test/prism/snapshots/whitequark/bug_473.txt2
-rw-r--r--test/prism/snapshots/whitequark/bug_480.txt2
-rw-r--r--test/prism/snapshots/whitequark/bug_481.txt2
-rw-r--r--test/prism/snapshots/whitequark/bug_cmd_string_lookahead.txt2
-rw-r--r--test/prism/snapshots/whitequark/bug_cmdarg.txt10
-rw-r--r--test/prism/snapshots/whitequark/bug_do_block_in_call_args.txt4
-rw-r--r--test/prism/snapshots/whitequark/bug_do_block_in_cmdarg.txt4
-rw-r--r--test/prism/snapshots/whitequark/bug_do_block_in_hash_brace.txt32
-rw-r--r--test/prism/snapshots/whitequark/bug_heredoc_do.txt2
-rw-r--r--test/prism/snapshots/whitequark/bug_lambda_leakage.txt2
-rw-r--r--test/prism/snapshots/whitequark/case_cond.txt2
-rw-r--r--test/prism/snapshots/whitequark/case_cond_else.txt2
-rw-r--r--test/prism/snapshots/whitequark/case_expr.txt4
-rw-r--r--test/prism/snapshots/whitequark/case_expr_else.txt6
-rw-r--r--test/prism/snapshots/whitequark/class_definition_in_while_cond.txt8
-rw-r--r--test/prism/snapshots/whitequark/class_super_label.txt2
-rw-r--r--test/prism/snapshots/whitequark/comments_before_leading_dot__27.txt8
-rw-r--r--test/prism/snapshots/whitequark/cond_begin.txt4
-rw-r--r--test/prism/snapshots/whitequark/cond_begin_masgn.txt4
-rw-r--r--test/prism/snapshots/whitequark/cond_eflipflop.txt8
-rw-r--r--test/prism/snapshots/whitequark/cond_iflipflop.txt8
-rw-r--r--test/prism/snapshots/whitequark/dedenting_heredoc.txt36
-rw-r--r--test/prism/snapshots/whitequark/defined.txt4
-rw-r--r--test/prism/snapshots/whitequark/defs.txt2
-rw-r--r--test/prism/snapshots/whitequark/endless_comparison_method.txt12
-rw-r--r--test/prism/snapshots/whitequark/endless_method.txt4
-rw-r--r--test/prism/snapshots/whitequark/endless_method_command_syntax.txt22
-rw-r--r--test/prism/snapshots/whitequark/endless_method_forwarded_args_legacy.txt2
-rw-r--r--test/prism/snapshots/whitequark/ensure.txt4
-rw-r--r--test/prism/snapshots/whitequark/for.txt8
-rw-r--r--test/prism/snapshots/whitequark/for_mlhs.txt4
-rw-r--r--test/prism/snapshots/whitequark/forward_arg.txt2
-rw-r--r--test/prism/snapshots/whitequark/forward_arg_with_open_args.txt16
-rw-r--r--test/prism/snapshots/whitequark/forward_args_legacy.txt2
-rw-r--r--test/prism/snapshots/whitequark/forwarded_argument_with_kwrestarg.txt2
-rw-r--r--test/prism/snapshots/whitequark/forwarded_argument_with_restarg.txt2
-rw-r--r--test/prism/snapshots/whitequark/forwarded_kwrestarg.txt2
-rw-r--r--test/prism/snapshots/whitequark/forwarded_kwrestarg_with_additional_kwarg.txt2
-rw-r--r--test/prism/snapshots/whitequark/forwarded_restarg.txt2
-rw-r--r--test/prism/snapshots/whitequark/hash_kwsplat.txt2
-rw-r--r--test/prism/snapshots/whitequark/hash_label_end.txt4
-rw-r--r--test/prism/snapshots/whitequark/hash_pair_value_omission.txt6
-rw-r--r--test/prism/snapshots/whitequark/if.txt8
-rw-r--r--test/prism/snapshots/whitequark/if_else.txt12
-rw-r--r--test/prism/snapshots/whitequark/if_elsif.txt6
-rw-r--r--test/prism/snapshots/whitequark/if_masgn__24.txt2
-rw-r--r--test/prism/snapshots/whitequark/if_mod.txt4
-rw-r--r--test/prism/snapshots/whitequark/if_nl_then.txt4
-rw-r--r--test/prism/snapshots/whitequark/keyword_argument_omission.txt6
-rw-r--r--test/prism/snapshots/whitequark/kwbegin_compstmt.txt4
-rw-r--r--test/prism/snapshots/whitequark/kwnilarg.txt2
-rw-r--r--test/prism/snapshots/whitequark/kwoptarg_with_kwrestarg_and_forwarded_args.txt2
-rw-r--r--test/prism/snapshots/whitequark/lbrace_arg_after_command_args.txt4
-rw-r--r--test/prism/snapshots/whitequark/lparenarg_after_lvar__since_25.txt4
-rw-r--r--test/prism/snapshots/whitequark/lvar.txt2
-rw-r--r--test/prism/snapshots/whitequark/masgn_attr.txt8
-rw-r--r--test/prism/snapshots/whitequark/masgn_cmd.txt2
-rw-r--r--test/prism/snapshots/whitequark/masgn_nested.txt4
-rw-r--r--test/prism/snapshots/whitequark/masgn_splat.txt22
-rw-r--r--test/prism/snapshots/whitequark/method_definition_in_while_cond.txt8
-rw-r--r--test/prism/snapshots/whitequark/newline_in_hash_argument.txt6
-rw-r--r--test/prism/snapshots/whitequark/next.txt4
-rw-r--r--test/prism/snapshots/whitequark/next_block.txt4
-rw-r--r--test/prism/snapshots/whitequark/not.txt4
-rw-r--r--test/prism/snapshots/whitequark/not_cmd.txt4
-rw-r--r--test/prism/snapshots/whitequark/not_masgn__24.txt2
-rw-r--r--test/prism/snapshots/whitequark/numbered_args_after_27.txt4
-rw-r--r--test/prism/snapshots/whitequark/numparam_outside_block.txt12
-rw-r--r--test/prism/snapshots/whitequark/op_asgn.txt6
-rw-r--r--test/prism/snapshots/whitequark/op_asgn_cmd.txt24
-rw-r--r--test/prism/snapshots/whitequark/op_asgn_index.txt2
-rw-r--r--test/prism/snapshots/whitequark/op_asgn_index_cmd.txt6
-rw-r--r--test/prism/snapshots/whitequark/or.txt8
-rw-r--r--test/prism/snapshots/whitequark/or_asgn.txt4
-rw-r--r--test/prism/snapshots/whitequark/parser_bug_272.txt2
-rw-r--r--test/prism/snapshots/whitequark/parser_bug_525.txt6
-rw-r--r--test/prism/snapshots/whitequark/parser_bug_604.txt6
-rw-r--r--test/prism/snapshots/whitequark/procarg0.txt4
-rw-r--r--test/prism/snapshots/whitequark/regex_interp.txt2
-rw-r--r--test/prism/snapshots/whitequark/resbody_list.txt4
-rw-r--r--test/prism/snapshots/whitequark/resbody_list_mrhs.txt6
-rw-r--r--test/prism/snapshots/whitequark/resbody_list_var.txt6
-rw-r--r--test/prism/snapshots/whitequark/resbody_var.txt8
-rw-r--r--test/prism/snapshots/whitequark/rescue.txt4
-rw-r--r--test/prism/snapshots/whitequark/rescue_else.txt6
-rw-r--r--test/prism/snapshots/whitequark/rescue_else_ensure.txt8
-rw-r--r--test/prism/snapshots/whitequark/rescue_ensure.txt6
-rw-r--r--test/prism/snapshots/whitequark/rescue_mod.txt4
-rw-r--r--test/prism/snapshots/whitequark/rescue_mod_asgn.txt4
-rw-r--r--test/prism/snapshots/whitequark/rescue_mod_masgn.txt2
-rw-r--r--test/prism/snapshots/whitequark/rescue_mod_op_assign.txt4
-rw-r--r--test/prism/snapshots/whitequark/rescue_without_begin_end.txt6
-rw-r--r--test/prism/snapshots/whitequark/return.txt4
-rw-r--r--test/prism/snapshots/whitequark/return_block.txt4
-rw-r--r--test/prism/snapshots/whitequark/ruby_bug_10653.txt10
-rw-r--r--test/prism/snapshots/whitequark/ruby_bug_11107.txt4
-rw-r--r--test/prism/snapshots/whitequark/ruby_bug_11380.txt2
-rw-r--r--test/prism/snapshots/whitequark/ruby_bug_11873.txt96
-rw-r--r--test/prism/snapshots/whitequark/ruby_bug_11873_a.txt160
-rw-r--r--test/prism/snapshots/whitequark/ruby_bug_11873_b.txt14
-rw-r--r--test/prism/snapshots/whitequark/ruby_bug_11989.txt2
-rw-r--r--test/prism/snapshots/whitequark/ruby_bug_11990.txt2
-rw-r--r--test/prism/snapshots/whitequark/ruby_bug_12073.txt4
-rw-r--r--test/prism/snapshots/whitequark/ruby_bug_12402.txt56
-rw-r--r--test/prism/snapshots/whitequark/ruby_bug_12669.txt8
-rw-r--r--test/prism/snapshots/whitequark/ruby_bug_12686.txt4
-rw-r--r--test/prism/snapshots/whitequark/ruby_bug_13547.txt2
-rw-r--r--test/prism/snapshots/whitequark/ruby_bug_14690.txt6
-rw-r--r--test/prism/snapshots/whitequark/ruby_bug_15789.txt4
-rw-r--r--test/prism/snapshots/whitequark/sclass.txt2
-rw-r--r--test/prism/snapshots/whitequark/send_attr_asgn.txt8
-rw-r--r--test/prism/snapshots/whitequark/send_attr_asgn_conditional.txt2
-rw-r--r--test/prism/snapshots/whitequark/send_binary_op.txt42
-rw-r--r--test/prism/snapshots/whitequark/send_block_chain_cmd.txt26
-rw-r--r--test/prism/snapshots/whitequark/send_block_conditional.txt2
-rw-r--r--test/prism/snapshots/whitequark/send_call.txt4
-rw-r--r--test/prism/snapshots/whitequark/send_conditional.txt2
-rw-r--r--test/prism/snapshots/whitequark/send_index.txt2
-rw-r--r--test/prism/snapshots/whitequark/send_index_asgn.txt2
-rw-r--r--test/prism/snapshots/whitequark/send_index_asgn_legacy.txt2
-rw-r--r--test/prism/snapshots/whitequark/send_index_cmd.txt6
-rw-r--r--test/prism/snapshots/whitequark/send_index_legacy.txt2
-rw-r--r--test/prism/snapshots/whitequark/send_op_asgn_conditional.txt2
-rw-r--r--test/prism/snapshots/whitequark/send_plain.txt6
-rw-r--r--test/prism/snapshots/whitequark/send_plain_cmd.txt12
-rw-r--r--test/prism/snapshots/whitequark/send_self.txt6
-rw-r--r--test/prism/snapshots/whitequark/send_self_block.txt8
-rw-r--r--test/prism/snapshots/whitequark/send_unary_op.txt6
-rw-r--r--test/prism/snapshots/whitequark/space_args_arg.txt2
-rw-r--r--test/prism/snapshots/whitequark/space_args_arg_block.txt6
-rw-r--r--test/prism/snapshots/whitequark/space_args_arg_call.txt2
-rw-r--r--test/prism/snapshots/whitequark/space_args_arg_newline.txt2
-rw-r--r--test/prism/snapshots/whitequark/space_args_block.txt2
-rw-r--r--test/prism/snapshots/whitequark/space_args_cmd.txt6
-rw-r--r--test/prism/snapshots/whitequark/string_interp.txt2
-rw-r--r--test/prism/snapshots/whitequark/super.txt4
-rw-r--r--test/prism/snapshots/whitequark/super_block.txt4
-rw-r--r--test/prism/snapshots/whitequark/symbol_interp.txt2
-rw-r--r--test/prism/snapshots/whitequark/ternary.txt2
-rw-r--r--test/prism/snapshots/whitequark/ternary_ambiguous_symbol.txt2
-rw-r--r--test/prism/snapshots/whitequark/trailing_forward_arg.txt2
-rw-r--r--test/prism/snapshots/whitequark/unless.txt8
-rw-r--r--test/prism/snapshots/whitequark/unless_else.txt12
-rw-r--r--test/prism/snapshots/whitequark/unless_mod.txt4
-rw-r--r--test/prism/snapshots/whitequark/until.txt8
-rw-r--r--test/prism/snapshots/whitequark/until_mod.txt4
-rw-r--r--test/prism/snapshots/whitequark/until_post.txt4
-rw-r--r--test/prism/snapshots/whitequark/var_op_asgn_cmd.txt2
-rw-r--r--test/prism/snapshots/whitequark/when_multi.txt4
-rw-r--r--test/prism/snapshots/whitequark/when_splat.txt8
-rw-r--r--test/prism/snapshots/whitequark/when_then.txt4
-rw-r--r--test/prism/snapshots/whitequark/while.txt8
-rw-r--r--test/prism/snapshots/whitequark/while_mod.txt4
-rw-r--r--test/prism/snapshots/whitequark/while_post.txt4
-rw-r--r--test/prism/snapshots/whitequark/xstring_interp.txt2
-rw-r--r--test/prism/snapshots/whitequark/yield.txt4
-rw-r--r--test/prism/snapshots/xstring.txt2
542 files changed, 2234 insertions, 2222 deletions
diff --git a/prism/config.yml b/prism/config.yml
index 7bbe88e6b4..9cf9cf596e 100644
--- a/prism/config.yml
+++ b/prism/config.yml
@@ -347,6 +347,8 @@ flags:
comment: "a call that could have been a local variable"
- name: ATTRIBUTE_WRITE
comment: "a call that is an attribute write, so the value being written should be returned"
+ - name: IGNORE_VISIBILITY
+ comment: "a call that ignores method visibility"
comment: Flags for call nodes.
- name: EncodingFlags
values:
diff --git a/prism/prism.c b/prism/prism.c
index ea4e730ac2..bc758b49f2 100644
--- a/prism/prism.c
+++ b/prism/prism.c
@@ -1653,12 +1653,13 @@ pm_break_node_create(pm_parser_t *parser, const pm_token_t *keyword, pm_argument
* in the various specializations of this function.
*/
static pm_call_node_t *
-pm_call_node_create(pm_parser_t *parser) {
+pm_call_node_create(pm_parser_t *parser, pm_node_flags_t flags) {
pm_call_node_t *node = PM_ALLOC_NODE(parser, pm_call_node_t);
*node = (pm_call_node_t) {
{
.type = PM_CALL_NODE,
+ .flags = flags,
.location = PM_LOCATION_NULL_VALUE(parser),
},
.receiver = NULL,
@@ -1675,6 +1676,15 @@ pm_call_node_create(pm_parser_t *parser) {
}
/**
+ * Returns the value that the ignore visibility flag should be set to for the
+ * given receiver.
+ */
+static inline pm_node_flags_t
+pm_call_node_ignore_visibility_flag(const pm_node_t *receiver) {
+ return PM_NODE_TYPE_P(receiver, PM_SELF_NODE) ? PM_CALL_NODE_FLAGS_IGNORE_VISIBILITY : 0;
+}
+
+/**
* Allocate and initialize a new CallNode node from an aref or an aset
* expression.
*/
@@ -1682,7 +1692,7 @@ static pm_call_node_t *
pm_call_node_aref_create(pm_parser_t *parser, pm_node_t *receiver, pm_arguments_t *arguments) {
pm_assert_value_expression(parser, receiver);
- pm_call_node_t *node = pm_call_node_create(parser);
+ pm_call_node_t *node = pm_call_node_create(parser, pm_call_node_ignore_visibility_flag(receiver));
node->base.location.start = receiver->location.start;
node->base.location.end = pm_arguments_end(arguments);
@@ -1708,7 +1718,7 @@ pm_call_node_binary_create(pm_parser_t *parser, pm_node_t *receiver, pm_token_t
pm_assert_value_expression(parser, receiver);
pm_assert_value_expression(parser, argument);
- pm_call_node_t *node = pm_call_node_create(parser);
+ pm_call_node_t *node = pm_call_node_create(parser, pm_call_node_ignore_visibility_flag(receiver));
node->base.location.start = MIN(receiver->location.start, argument->location.start);
node->base.location.end = MAX(receiver->location.end, argument->location.end);
@@ -1731,7 +1741,7 @@ static pm_call_node_t *
pm_call_node_call_create(pm_parser_t *parser, pm_node_t *receiver, pm_token_t *operator, pm_token_t *message, pm_arguments_t *arguments) {
pm_assert_value_expression(parser, receiver);
- pm_call_node_t *node = pm_call_node_create(parser);
+ pm_call_node_t *node = pm_call_node_create(parser, pm_call_node_ignore_visibility_flag(receiver));
node->base.location.start = receiver->location.start;
const uint8_t *end = pm_arguments_end(arguments);
@@ -1762,7 +1772,7 @@ pm_call_node_call_create(pm_parser_t *parser, pm_node_t *receiver, pm_token_t *o
*/
static pm_call_node_t *
pm_call_node_fcall_create(pm_parser_t *parser, pm_token_t *message, pm_arguments_t *arguments) {
- pm_call_node_t *node = pm_call_node_create(parser);
+ pm_call_node_t *node = pm_call_node_create(parser, PM_CALL_NODE_FLAGS_IGNORE_VISIBILITY);
node->base.location.start = message->start;
node->base.location.end = pm_arguments_end(arguments);
@@ -1784,7 +1794,7 @@ static pm_call_node_t *
pm_call_node_not_create(pm_parser_t *parser, pm_node_t *receiver, pm_token_t *message, pm_arguments_t *arguments) {
pm_assert_value_expression(parser, receiver);
- pm_call_node_t *node = pm_call_node_create(parser);
+ pm_call_node_t *node = pm_call_node_create(parser, receiver == NULL ? 0 : pm_call_node_ignore_visibility_flag(receiver));
node->base.location.start = message->start;
if (arguments->closing_loc.start != NULL) {
@@ -1810,7 +1820,7 @@ static pm_call_node_t *
pm_call_node_shorthand_create(pm_parser_t *parser, pm_node_t *receiver, pm_token_t *operator, pm_arguments_t *arguments) {
pm_assert_value_expression(parser, receiver);
- pm_call_node_t *node = pm_call_node_create(parser);
+ pm_call_node_t *node = pm_call_node_create(parser, pm_call_node_ignore_visibility_flag(receiver));
node->base.location.start = receiver->location.start;
node->base.location.end = pm_arguments_end(arguments);
@@ -1837,7 +1847,7 @@ static pm_call_node_t *
pm_call_node_unary_create(pm_parser_t *parser, pm_token_t *operator, pm_node_t *receiver, const char *name) {
pm_assert_value_expression(parser, receiver);
- pm_call_node_t *node = pm_call_node_create(parser);
+ pm_call_node_t *node = pm_call_node_create(parser, pm_call_node_ignore_visibility_flag(receiver));
node->base.location.start = operator->start;
node->base.location.end = receiver->location.end;
@@ -1855,7 +1865,7 @@ pm_call_node_unary_create(pm_parser_t *parser, pm_token_t *operator, pm_node_t *
*/
static pm_call_node_t *
pm_call_node_variable_call_create(pm_parser_t *parser, pm_token_t *message) {
- pm_call_node_t *node = pm_call_node_create(parser);
+ pm_call_node_t *node = pm_call_node_create(parser, PM_CALL_NODE_FLAGS_IGNORE_VISIBILITY);
node->base.location = PM_LOCATION_TOKEN_VALUE(message);
node->message_loc = PM_OPTIONAL_LOCATION_TOKEN_VALUE(message);
diff --git a/test/prism/errors_test.rb b/test/prism/errors_test.rb
index 7648875691..9e7bb10762 100644
--- a/test/prism/errors_test.rb
+++ b/test/prism/errors_test.rb
@@ -360,7 +360,7 @@ module Prism
def test_double_splat_followed_by_splat_argument
expected = CallNode(
- 0,
+ CallNodeFlags::IGNORE_VISIBILITY,
nil,
nil,
:a,
@@ -381,7 +381,7 @@ module Prism
def test_arguments_after_block
expected = CallNode(
- 0,
+ CallNodeFlags::IGNORE_VISIBILITY,
nil,
nil,
:a,
@@ -407,7 +407,7 @@ module Prism
def test_splat_argument_after_keyword_argument
expected = CallNode(
- 0,
+ CallNodeFlags::IGNORE_VISIBILITY,
nil,
nil,
:a,
@@ -462,7 +462,7 @@ module Prism
nil,
StatementsNode(
[CallNode(
- 0,
+ CallNodeFlags::IGNORE_VISIBILITY,
nil,
nil,
:bar,
@@ -1070,7 +1070,7 @@ module Prism
def test_do_not_allow_forward_arguments_in_blocks
expected = CallNode(
- 0,
+ CallNodeFlags::IGNORE_VISIBILITY,
nil,
nil,
:a,
diff --git a/test/prism/snapshots/arithmetic.txt b/test/prism/snapshots/arithmetic.txt
index 8eebc70dca..b5fca69506 100644
--- a/test/prism/snapshots/arithmetic.txt
+++ b/test/prism/snapshots/arithmetic.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(13,8))
└── body: (length: 7)
├── @ CallNode (location: (1,0)-(1,8))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -18,7 +18,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (1,5)-(1,8))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -43,7 +43,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (3,1)-(3,4))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -68,7 +68,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (3,5)-(3,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -86,7 +86,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (5,1)-(5,4))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -111,7 +111,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (5,6)-(5,9))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -123,7 +123,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (7,0)-(7,8))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -137,7 +137,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (7,5)-(7,8))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -162,7 +162,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (9,0)-(9,3))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -180,7 +180,7 @@
│ │ │ ├── flags: ∅
│ │ │ └── arguments: (length: 1)
│ │ │ └── @ CallNode (location: (9,7)-(9,10))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -200,7 +200,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (9,14)-(9,17))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :baz
diff --git a/test/prism/snapshots/arrays.txt b/test/prism/snapshots/arrays.txt
index 40d4cbed4f..7f58faaed5 100644
--- a/test/prism/snapshots/arrays.txt
+++ b/test/prism/snapshots/arrays.txt
@@ -10,7 +10,7 @@
│ │ ├── operator_loc: (1,1)-(1,2) = "*"
│ │ └── expression:
│ │ @ CallNode (location: (1,2)-(1,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -25,7 +25,7 @@
│ ├── flags: attribute_write
│ ├── receiver:
│ │ @ CallNode (location: (3,0)-(3,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -43,7 +43,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 3)
│ │ ├── @ CallNode (location: (3,4)-(3,7))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -53,7 +53,7 @@
│ │ │ ├── closing_loc: ∅
│ │ │ └── block: ∅
│ │ ├── @ CallNode (location: (3,9)-(3,12))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :baz
@@ -181,7 +181,7 @@
│ │ └── @ AssocNode (location: (28,1)-(28,11))
│ │ ├── key:
│ │ │ @ CallNode (location: (28,1)-(28,4))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -192,7 +192,7 @@
│ │ │ └── block: ∅
│ │ ├── value:
│ │ │ @ CallNode (location: (28,8)-(28,11))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -211,7 +211,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (30,0)-(30,3))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -229,7 +229,7 @@
│ │ │ ├── flags: ∅
│ │ │ └── arguments: (length: 1)
│ │ │ └── @ CallNode (location: (30,4)-(30,7))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -249,7 +249,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (30,9)-(30,12))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :baz
@@ -259,7 +259,7 @@
│ │ │ ├── closing_loc: ∅
│ │ │ └── block: ∅
│ │ └── @ CallNode (location: (30,16)-(30,19))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :qux
@@ -277,7 +277,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (32,0)-(32,3))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -295,7 +295,7 @@
│ │ │ ├── flags: ∅
│ │ │ └── arguments: (length: 1)
│ │ │ └── @ CallNode (location: (32,4)-(32,7))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -315,7 +315,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (32,9)-(32,12))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :baz
@@ -335,7 +335,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (37,0)-(37,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -353,7 +353,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (37,4)-(37,7))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -363,7 +363,7 @@
│ │ │ ├── closing_loc: ∅
│ │ │ └── block: ∅
│ │ └── @ CallNode (location: (37,9)-(37,12))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :baz
@@ -378,7 +378,7 @@
│ ├── flags: attribute_write
│ ├── receiver:
│ │ @ CallNode (location: (39,0)-(39,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -396,7 +396,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 3)
│ │ ├── @ CallNode (location: (39,4)-(39,7))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -406,7 +406,7 @@
│ │ │ ├── closing_loc: ∅
│ │ │ └── block: ∅
│ │ ├── @ CallNode (location: (39,9)-(39,12))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :baz
@@ -416,7 +416,7 @@
│ │ │ ├── closing_loc: ∅
│ │ │ └── block: ∅
│ │ └── @ CallNode (location: (39,16)-(39,19))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :qux
@@ -433,7 +433,7 @@
│ │ │ ├── flags: attribute_write
│ │ │ ├── receiver:
│ │ │ │ @ CallNode (location: (41,0)-(41,3))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :foo
@@ -455,7 +455,7 @@
│ │ ├── flags: attribute_write
│ │ ├── receiver:
│ │ │ @ CallNode (location: (41,8)-(41,11))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -492,7 +492,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (43,0)-(43,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -513,7 +513,7 @@
│ │ ├── flags: attribute_write
│ │ ├── receiver:
│ │ │ @ CallNode (location: (43,4)-(43,7))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -531,7 +531,7 @@
│ │ │ ├── flags: ∅
│ │ │ └── arguments: (length: 2)
│ │ │ ├── @ CallNode (location: (43,8)-(43,11))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :baz
@@ -541,7 +541,7 @@
│ │ │ │ ├── closing_loc: ∅
│ │ │ │ └── block: ∅
│ │ │ └── @ CallNode (location: (43,15)-(43,18))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :qux
@@ -558,7 +558,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (45,0)-(45,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -576,7 +576,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (45,4)-(45,7))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -591,7 +591,7 @@
│ ├── flags: attribute_write
│ ├── receiver:
│ │ @ CallNode (location: (47,0)-(47,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -609,7 +609,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (47,4)-(47,7))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -619,7 +619,7 @@
│ │ │ ├── closing_loc: ∅
│ │ │ └── block: ∅
│ │ └── @ CallNode (location: (47,11)-(47,14))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :baz
@@ -654,7 +654,7 @@
│ │ └── @ AssocSplatNode (location: (51,1)-(51,5))
│ │ ├── value:
│ │ │ @ CallNode (location: (51,3)-(51,5))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :kw
@@ -677,7 +677,7 @@
│ │ └── @ AssocSplatNode (location: (53,4)-(53,8))
│ │ ├── value:
│ │ │ @ CallNode (location: (53,6)-(53,8))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :kw
@@ -700,7 +700,7 @@
│ │ ├── @ AssocSplatNode (location: (55,4)-(55,8))
│ │ │ ├── value:
│ │ │ │ @ CallNode (location: (55,6)-(55,8))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :kw
@@ -720,7 +720,7 @@
│ │ └── @ AssocSplatNode (location: (55,16)-(55,20))
│ │ ├── value:
│ │ │ @ CallNode (location: (55,18)-(55,20))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :kw
@@ -741,7 +741,7 @@
│ │ └── @ AssocNode (location: (58,2)-(58,12))
│ │ ├── key:
│ │ │ @ CallNode (location: (58,2)-(58,5))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -752,7 +752,7 @@
│ │ │ └── block: ∅
│ │ ├── value:
│ │ │ @ CallNode (location: (58,9)-(58,12))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -935,7 +935,7 @@
│ ├── flags: attribute_write
│ ├── receiver:
│ │ @ CallNode (location: (84,0)-(84,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -959,7 +959,7 @@
│ @ BlockArgumentNode (location: (84,4)-(84,8))
│ ├── expression:
│ │ @ CallNode (location: (84,5)-(84,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -976,7 +976,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (86,0)-(86,3))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -1007,7 +1007,7 @@
│ @ BlockArgumentNode (location: (86,8)-(86,12))
│ ├── expression:
│ │ @ CallNode (location: (86,9)-(86,12))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -1041,7 +1041,7 @@
│ │ ├── flags: attribute_write
│ │ ├── receiver:
│ │ │ @ CallNode (location: (89,2)-(89,5))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -1077,7 +1077,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (92,0)-(92,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1100,7 +1100,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (94,0)-(94,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1122,7 +1122,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (96,0)-(96,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1147,7 +1147,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (98,0)-(98,3))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -1180,7 +1180,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (100,0)-(100,3))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -1212,7 +1212,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (102,0)-(102,3))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -1241,7 +1241,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (104,0)-(104,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1257,7 +1257,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (104,4)-(104,7))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -1277,7 +1277,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (106,0)-(106,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1293,7 +1293,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (106,4)-(106,7))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -1312,7 +1312,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (108,0)-(108,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1328,7 +1328,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (108,4)-(108,7))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -1350,7 +1350,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (110,0)-(110,3))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -1373,7 +1373,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (110,8)-(110,11))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -1396,7 +1396,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (112,0)-(112,3))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -1419,7 +1419,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (112,8)-(112,11))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -1441,7 +1441,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (114,0)-(114,3))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -1464,7 +1464,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (114,8)-(114,11))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -1483,7 +1483,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (116,0)-(116,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1499,7 +1499,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (116,4)-(116,7))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -1513,7 +1513,7 @@
│ │ @ BlockArgumentNode (location: (116,9)-(116,13))
│ │ ├── expression:
│ │ │ @ CallNode (location: (116,10)-(116,13))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :baz
@@ -1532,7 +1532,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (118,0)-(118,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1548,7 +1548,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (118,4)-(118,7))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -1562,7 +1562,7 @@
│ │ @ BlockArgumentNode (location: (118,9)-(118,13))
│ │ ├── expression:
│ │ │ @ CallNode (location: (118,10)-(118,13))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :baz
@@ -1580,7 +1580,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (120,0)-(120,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1596,7 +1596,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (120,4)-(120,7))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -1610,7 +1610,7 @@
│ │ @ BlockArgumentNode (location: (120,9)-(120,13))
│ │ ├── expression:
│ │ │ @ CallNode (location: (120,10)-(120,13))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :baz
@@ -1631,7 +1631,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (122,0)-(122,3))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -1654,7 +1654,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (122,8)-(122,11))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -1668,7 +1668,7 @@
│ │ @ BlockArgumentNode (location: (122,13)-(122,17))
│ │ ├── expression:
│ │ │ @ CallNode (location: (122,14)-(122,17))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :baz
@@ -1690,7 +1690,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (124,0)-(124,3))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -1713,7 +1713,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (124,8)-(124,11))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -1727,7 +1727,7 @@
│ │ @ BlockArgumentNode (location: (124,13)-(124,17))
│ │ ├── expression:
│ │ │ @ CallNode (location: (124,14)-(124,17))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :baz
@@ -1748,7 +1748,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (126,0)-(126,3))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -1771,7 +1771,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (126,8)-(126,11))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -1785,7 +1785,7 @@
│ │ @ BlockArgumentNode (location: (126,13)-(126,17))
│ │ ├── expression:
│ │ │ @ CallNode (location: (126,14)-(126,17))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :baz
@@ -1823,7 +1823,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (128,10)-(128,11))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :a
@@ -1877,7 +1877,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (130,10)-(130,11))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :a
@@ -1933,7 +1933,7 @@
│ │ ├── flags: attribute_write
│ │ ├── receiver:
│ │ │ @ CallNode (location: (132,10)-(132,11))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :a
@@ -1989,7 +1989,7 @@
│ │ ├── flags: attribute_write
│ │ ├── receiver:
│ │ │ @ CallNode (location: (134,10)-(134,11))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :a
@@ -2047,7 +2047,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (136,10)-(136,11))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :a
@@ -2104,7 +2104,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (138,10)-(138,11))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :a
@@ -2169,7 +2169,7 @@
│ │ │ │ ├── flags: attribute_write
│ │ │ │ ├── receiver:
│ │ │ │ │ @ CallNode (location: (140,20)-(140,21))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :a
@@ -2232,7 +2232,7 @@
│ │ │ ├── flags: attribute_write
│ │ │ ├── receiver:
│ │ │ │ @ CallNode (location: (142,20)-(142,21))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :a
diff --git a/test/prism/snapshots/begin_ensure.txt b/test/prism/snapshots/begin_ensure.txt
index 82eb5c6fa3..e632514199 100644
--- a/test/prism/snapshots/begin_ensure.txt
+++ b/test/prism/snapshots/begin_ensure.txt
@@ -9,7 +9,7 @@
│ │ @ StatementsNode (location: (2,0)-(2,1))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (2,0)-(2,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -27,7 +27,7 @@
│ │ │ @ StatementsNode (location: (4,0)-(4,1))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (4,0)-(4,1))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -44,7 +44,7 @@
│ │ @ StatementsNode (location: (7,7)-(7,8))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (7,7)-(7,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -62,7 +62,7 @@
│ │ │ @ StatementsNode (location: (7,18)-(7,19))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (7,18)-(7,19))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -79,7 +79,7 @@
│ │ @ StatementsNode (location: (9,6)-(9,7))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (9,6)-(9,7))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -97,7 +97,7 @@
│ │ │ @ StatementsNode (location: (10,8)-(10,9))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (10,8)-(10,9))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -114,7 +114,7 @@
│ │ @ StatementsNode (location: (13,6)-(13,7))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (13,6)-(13,7))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -132,7 +132,7 @@
│ │ │ @ StatementsNode (location: (13,16)-(13,17))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (13,16)-(13,17))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
diff --git a/test/prism/snapshots/begin_rescue.txt b/test/prism/snapshots/begin_rescue.txt
index f9cbe096a2..f624f85c07 100644
--- a/test/prism/snapshots/begin_rescue.txt
+++ b/test/prism/snapshots/begin_rescue.txt
@@ -9,7 +9,7 @@
│ │ @ StatementsNode (location: (1,7)-(1,8))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (1,7)-(1,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -28,7 +28,7 @@
│ │ │ @ StatementsNode (location: (1,18)-(1,19))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (1,18)-(1,19))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -45,7 +45,7 @@
│ │ │ @ StatementsNode (location: (1,27)-(1,28))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (1,27)-(1,28))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :c
@@ -63,7 +63,7 @@
│ │ @ StatementsNode (location: (3,7)-(3,8))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (3,7)-(3,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -82,7 +82,7 @@
│ │ │ @ StatementsNode (location: (3,18)-(3,19))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (3,18)-(3,19))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -99,7 +99,7 @@
│ │ │ @ StatementsNode (location: (3,27)-(3,28))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (3,27)-(3,28))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :c
@@ -116,7 +116,7 @@
│ │ │ @ StatementsNode (location: (3,38)-(3,39))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (3,38)-(3,39))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :d
@@ -133,7 +133,7 @@
│ │ @ StatementsNode (location: (6,0)-(6,1))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (6,0)-(6,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -152,7 +152,7 @@
│ │ @ StatementsNode (location: (9,7)-(9,8))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (9,7)-(9,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -171,7 +171,7 @@
│ │ @ StatementsNode (location: (11,6)-(11,7))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (11,6)-(11,7))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -190,7 +190,7 @@
│ │ @ StatementsNode (location: (14,6)-(14,7))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (14,6)-(14,7))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -209,7 +209,7 @@
│ │ @ StatementsNode (location: (17,0)-(17,1))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (17,0)-(17,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -228,7 +228,7 @@
│ │ │ @ StatementsNode (location: (19,0)-(19,1))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (19,0)-(19,1))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -247,7 +247,7 @@
│ │ │ @ StatementsNode (location: (21,0)-(21,1))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (21,0)-(21,1))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :c
@@ -266,7 +266,7 @@
│ │ │ @ StatementsNode (location: (23,0)-(23,1))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (23,0)-(23,1))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :d
@@ -285,7 +285,7 @@
│ │ @ StatementsNode (location: (27,2)-(27,3))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (27,2)-(27,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -309,7 +309,7 @@
│ │ │ @ StatementsNode (location: (29,2)-(29,3))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (29,2)-(29,3))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -335,7 +335,7 @@
│ │ │ @ StatementsNode (location: (31,2)-(31,3))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (31,2)-(31,3))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :c
@@ -354,7 +354,7 @@
│ │ @ StatementsNode (location: (35,2)-(35,3))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (35,2)-(35,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -378,7 +378,7 @@
│ │ │ @ StatementsNode (location: (37,2)-(37,3))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (37,2)-(37,3))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -396,7 +396,7 @@
│ │ │ @ StatementsNode (location: (39,2)-(39,3))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (39,2)-(39,3))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -419,7 +419,7 @@
│ │ @ StatementsNode (location: (45,0)-(45,1))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (45,0)-(45,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -438,7 +438,7 @@
│ │ │ @ StatementsNode (location: (47,0)-(47,1))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (47,0)-(47,1))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -457,7 +457,7 @@
│ │ @ StatementsNode (location: (50,6)-(50,7))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (50,6)-(50,7))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -476,7 +476,7 @@
│ │ │ @ StatementsNode (location: (50,15)-(50,16))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (50,15)-(50,16))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -495,7 +495,7 @@
│ │ @ StatementsNode (location: (53,0)-(53,1))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (53,0)-(53,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -514,7 +514,7 @@
│ │ │ @ StatementsNode (location: (54,0)-(54,1))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (54,0)-(54,1))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -533,7 +533,7 @@
│ │ @ StatementsNode (location: (57,0)-(57,1))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (57,0)-(57,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -554,7 +554,7 @@
│ │ │ @ StatementsNode (location: (59,0)-(59,1))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (59,0)-(59,1))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -573,7 +573,7 @@
│ │ @ StatementsNode (location: (63,0)-(63,1))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (63,0)-(63,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -596,7 +596,7 @@
│ │ │ @ StatementsNode (location: (65,0)-(65,1))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (65,0)-(65,1))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -615,7 +615,7 @@
│ │ @ StatementsNode (location: (69,2)-(69,3))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (69,2)-(69,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -641,7 +641,7 @@
│ │ │ @ StatementsNode (location: (71,2)-(71,3))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (71,2)-(71,3))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -660,7 +660,7 @@
│ @ StatementsNode (location: (75,2)-(75,3))
│ └── body: (length: 1)
│ └── @ CallNode (location: (75,2)-(75,3))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -684,7 +684,7 @@
│ │ @ StatementsNode (location: (77,2)-(77,3))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (77,2)-(77,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
diff --git a/test/prism/snapshots/blocks.txt b/test/prism/snapshots/blocks.txt
index c490e8be19..9d560d4016 100644
--- a/test/prism/snapshots/blocks.txt
+++ b/test/prism/snapshots/blocks.txt
@@ -7,7 +7,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (1,0)-(1,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -25,7 +25,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (1,4)-(1,7))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -44,7 +44,7 @@
│ │ @ StatementsNode (location: (1,11)-(1,14))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (1,11)-(1,14))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :baz
@@ -59,7 +59,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (3,0)-(3,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -77,7 +77,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (3,4)-(3,7))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -96,7 +96,7 @@
│ │ @ StatementsNode (location: (4,0)-(4,3))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (4,0)-(4,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :baz
@@ -111,7 +111,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (7,0)-(7,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :x
@@ -169,7 +169,7 @@
│ ├── opening_loc: (7,12)-(7,13) = "{"
│ └── closing_loc: (7,34)-(7,35) = "}"
├── @ CallNode (location: (9,0)-(9,10))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -186,7 +186,7 @@
│ ├── opening_loc: (9,4)-(9,6) = "do"
│ └── closing_loc: (9,7)-(9,10) = "end"
├── @ CallNode (location: (11,0)-(11,21))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -197,7 +197,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (11,4)-(11,7))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -211,7 +211,7 @@
│ │ │ @ StatementsNode (location: (11,10)-(11,20))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (11,10)-(11,20))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :baz
@@ -232,7 +232,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (13,0)-(13,14))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -243,7 +243,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (13,4)-(13,7))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -262,7 +262,7 @@
│ ├── opening_loc: (13,8)-(13,10) = "do"
│ └── closing_loc: (13,11)-(13,14) = "end"
├── @ CallNode (location: (15,0)-(15,18))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -273,7 +273,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (15,4)-(15,11))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -284,7 +284,7 @@
│ │ │ ├── flags: ∅
│ │ │ └── arguments: (length: 1)
│ │ │ └── @ CallNode (location: (15,8)-(15,11))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :baz
@@ -305,7 +305,7 @@
│ ├── opening_loc: (15,12)-(15,14) = "do"
│ └── closing_loc: (15,15)-(15,18) = "end"
├── @ CallNode (location: (17,0)-(18,3))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -332,7 +332,7 @@
│ │ │ │ ├── flags: ∅
│ │ │ │ ├── receiver:
│ │ │ │ │ @ CallNode (location: (17,12)-(17,13))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :b
@@ -365,7 +365,7 @@
│ ├── opening_loc: (17,4)-(17,6) = "do"
│ └── closing_loc: (18,0)-(18,3) = "end"
├── @ CallNode (location: (20,0)-(22,3))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -396,7 +396,7 @@
│ ├── opening_loc: (20,4)-(20,6) = "do"
│ └── closing_loc: (22,0)-(22,3) = "end"
├── @ CallNode (location: (24,0)-(29,3))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -413,7 +413,7 @@
│ │ @ StatementsNode (location: (25,2)-(28,5))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (25,2)-(28,5))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -430,7 +430,7 @@
│ │ │ @ StatementsNode (location: (26,4)-(27,7))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (26,4)-(27,7))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :baz
@@ -454,7 +454,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (31,0)-(31,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -472,7 +472,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (31,4)-(31,7))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -491,7 +491,7 @@
│ │ @ StatementsNode (location: (31,11)-(31,14))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (31,11)-(31,14))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :baz
@@ -503,7 +503,7 @@
│ ├── opening_loc: (31,9)-(31,10) = "{"
│ └── closing_loc: (31,15)-(31,16) = "}"
├── @ CallNode (location: (33,0)-(33,24))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -550,7 +550,7 @@
│ ├── opening_loc: (33,4)-(33,5) = "{"
│ └── closing_loc: (33,23)-(33,24) = "}"
├── @ CallNode (location: (35,0)-(35,11))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -590,7 +590,7 @@
│ │ └── flags: decimal
│ └── operator_loc: (37,5)-(37,6) = "="
├── @ CallNode (location: (38,0)-(39,3))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :fork
@@ -622,7 +622,7 @@
│ ├── opening_loc: (38,5)-(38,7) = "do"
│ └── closing_loc: (39,0)-(39,3) = "end"
├── @ CallNode (location: (41,0)-(41,12))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :fork
@@ -654,7 +654,7 @@
│ ├── opening_loc: (41,5)-(41,6) = "{"
│ └── closing_loc: (41,11)-(41,12) = "}"
├── @ CallNode (location: (43,0)-(44,3))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :C
@@ -671,7 +671,7 @@
│ ├── opening_loc: (43,2)-(43,4) = "do"
│ └── closing_loc: (44,0)-(44,3) = "end"
├── @ CallNode (location: (46,0)-(46,4))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :C
@@ -688,7 +688,7 @@
│ ├── opening_loc: (46,2)-(46,3) = "{"
│ └── closing_loc: (46,3)-(46,4) = "}"
├── @ CallNode (location: (48,0)-(52,1))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -699,7 +699,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (48,4)-(52,1))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :lambda
@@ -743,7 +743,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
└── @ CallNode (location: (54,0)-(54,17))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :foo
diff --git a/test/prism/snapshots/boolean_operators.txt b/test/prism/snapshots/boolean_operators.txt
index 82d85a9cbb..ace8047e18 100644
--- a/test/prism/snapshots/boolean_operators.txt
+++ b/test/prism/snapshots/boolean_operators.txt
@@ -8,7 +8,7 @@
│ ├── operator_loc: (1,2)-(1,5) = "&&="
│ ├── value:
│ │ @ CallNode (location: (1,6)-(1,7))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
@@ -24,7 +24,7 @@
│ ├── operator_loc: (3,2)-(3,4) = "+="
│ ├── value:
│ │ @ CallNode (location: (3,5)-(3,6))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
@@ -41,7 +41,7 @@
├── operator_loc: (5,2)-(5,5) = "||="
├── value:
│ @ CallNode (location: (5,6)-(5,7))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :b
diff --git a/test/prism/snapshots/break.txt b/test/prism/snapshots/break.txt
index d605851d63..30b15e4754 100644
--- a/test/prism/snapshots/break.txt
+++ b/test/prism/snapshots/break.txt
@@ -129,7 +129,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (23,0)-(23,16))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -171,7 +171,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (25,0)-(25,17))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
diff --git a/test/prism/snapshots/case.txt b/test/prism/snapshots/case.txt
index e8aef78b7a..f205771f42 100644
--- a/test/prism/snapshots/case.txt
+++ b/test/prism/snapshots/case.txt
@@ -37,7 +37,7 @@
│ │ │ @ StatementsNode (location: (5,22)-(5,30))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (5,22)-(5,30))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :puts
@@ -63,7 +63,7 @@
│ │ @ StatementsNode (location: (5,44)-(5,53))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (5,44)-(5,53))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :puts
@@ -94,7 +94,7 @@
│ │ │ ├── operator_loc: (7,11)-(7,12) = "*"
│ │ │ └── expression:
│ │ │ @ CallNode (location: (7,12)-(7,15))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -144,7 +144,7 @@
├── @ CaseNode (location: (15,0)-(15,36))
│ ├── predicate:
│ │ @ CallNode (location: (15,5)-(15,9))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :this
@@ -175,7 +175,7 @@
│ │ │ ├── flags: ∅
│ │ │ ├── receiver:
│ │ │ │ @ CallNode (location: (18,5)-(18,8))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :foo
@@ -193,7 +193,7 @@
│ │ │ │ ├── flags: ∅
│ │ │ │ └── arguments: (length: 1)
│ │ │ │ └── @ CallNode (location: (18,12)-(18,15))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :bar
@@ -215,7 +215,7 @@
│ │ ├── keyword_loc: (22,0)-(22,4) = "when"
│ │ ├── conditions: (length: 1)
│ │ │ └── @ CallNode (location: (22,5)-(22,6))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :a
@@ -235,7 +235,7 @@
├── @ CaseNode (location: (27,0)-(30,6))
│ ├── predicate:
│ │ @ CallNode (location: (27,5)-(27,9))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :type
diff --git a/test/prism/snapshots/classes.txt b/test/prism/snapshots/classes.txt
index 7bb029234d..9b67758083 100644
--- a/test/prism/snapshots/classes.txt
+++ b/test/prism/snapshots/classes.txt
@@ -111,7 +111,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (11,13)-(11,16))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -213,7 +213,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (18,9)-(18,12))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -240,7 +240,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (21,9)-(21,12))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
diff --git a/test/prism/snapshots/command_method_call.txt b/test/prism/snapshots/command_method_call.txt
index e5cb5202bf..bf9194176d 100644
--- a/test/prism/snapshots/command_method_call.txt
+++ b/test/prism/snapshots/command_method_call.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(41,10))
└── body: (length: 21)
├── @ CallNode (location: (1,0)-(1,5))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -19,7 +19,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (3,0)-(3,9))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -30,7 +30,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (3,4)-(3,9))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -50,7 +50,7 @@
│ ├── if_keyword_loc: (5,6)-(5,8) = "if"
│ ├── predicate:
│ │ @ CallNode (location: (5,9)-(5,14))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -69,7 +69,7 @@
│ │ @ StatementsNode (location: (5,0)-(5,5))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (5,0)-(5,5))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -89,7 +89,7 @@
│ ├── keyword_loc: (7,6)-(7,12) = "unless"
│ ├── predicate:
│ │ @ CallNode (location: (7,13)-(7,18))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -108,7 +108,7 @@
│ │ @ StatementsNode (location: (7,0)-(7,5))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (7,0)-(7,5))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -130,7 +130,7 @@
│ ├── closing_loc: ∅
│ ├── predicate:
│ │ @ CallNode (location: (9,12)-(9,17))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -148,7 +148,7 @@
│ @ StatementsNode (location: (9,0)-(9,5))
│ └── body: (length: 1)
│ └── @ CallNode (location: (9,0)-(9,5))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -168,7 +168,7 @@
│ ├── closing_loc: ∅
│ ├── predicate:
│ │ @ CallNode (location: (11,12)-(11,17))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -186,7 +186,7 @@
│ @ StatementsNode (location: (11,0)-(11,5))
│ └── body: (length: 1)
│ └── @ CallNode (location: (11,0)-(11,5))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -203,7 +203,7 @@
├── @ RescueModifierNode (location: (13,0)-(13,18))
│ ├── expression:
│ │ @ CallNode (location: (13,0)-(13,5))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -220,7 +220,7 @@
│ ├── keyword_loc: (13,6)-(13,12) = "rescue"
│ └── rescue_expression:
│ @ CallNode (location: (13,13)-(13,18))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
@@ -238,7 +238,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (15,0)-(15,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -256,7 +256,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (15,4)-(15,9))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -275,7 +275,7 @@
├── @ AndNode (location: (17,0)-(17,15))
│ ├── left:
│ │ @ CallNode (location: (17,0)-(17,5))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -291,7 +291,7 @@
│ │ └── block: ∅
│ ├── right:
│ │ @ CallNode (location: (17,10)-(17,15))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -309,7 +309,7 @@
├── @ OrNode (location: (19,0)-(19,14))
│ ├── left:
│ │ @ CallNode (location: (19,0)-(19,5))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -325,7 +325,7 @@
│ │ └── block: ∅
│ ├── right:
│ │ @ CallNode (location: (19,9)-(19,14))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -344,7 +344,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (21,4)-(21,9))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -376,7 +376,7 @@
│ │ ├── name_loc: (23,6)-(23,9) = "bar"
│ │ ├── value:
│ │ │ @ CallNode (location: (23,12)-(23,17))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :baz
@@ -401,7 +401,7 @@
│ │ @ StatementsNode (location: (25,10)-(25,15))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (25,10)-(25,15))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -579,7 +579,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (37,1)-(37,6))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -605,7 +605,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (37,12)-(37,17))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -633,7 +633,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (39,1)-(39,6))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -659,7 +659,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (39,11)-(39,16))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -688,7 +688,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (41,5)-(41,10))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
diff --git a/test/prism/snapshots/comments.txt b/test/prism/snapshots/comments.txt
index 5d0b626d90..b7088adcd5 100644
--- a/test/prism/snapshots/comments.txt
+++ b/test/prism/snapshots/comments.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(24,5))
└── body: (length: 9)
├── @ CallNode (location: (1,0)-(1,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -14,7 +14,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (3,0)-(3,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :b
@@ -24,7 +24,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (5,0)-(5,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :c
@@ -34,7 +34,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (6,0)-(6,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :d
@@ -47,7 +47,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (8,0)-(8,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :e
@@ -67,7 +67,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (12,0)-(12,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :g
@@ -87,7 +87,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (16,0)-(16,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :i
@@ -107,7 +107,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (19,0)-(19,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :k
@@ -127,7 +127,7 @@
├── flags: safe_navigation
├── receiver:
│ @ CallNode (location: (22,0)-(22,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :m
diff --git a/test/prism/snapshots/constants.txt b/test/prism/snapshots/constants.txt
index 2210e26cc4..744a081c06 100644
--- a/test/prism/snapshots/constants.txt
+++ b/test/prism/snapshots/constants.txt
@@ -28,7 +28,7 @@
├── @ ConstantPathNode (location: (5,0)-(5,4))
│ ├── parent:
│ │ @ CallNode (location: (5,0)-(5,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -65,7 +65,7 @@
├── @ ConstantReadNode (location: (11,0)-(11,3))
│ └── name: :ABC
├── @ CallNode (location: (13,0)-(13,5))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :Foo
@@ -80,7 +80,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (15,0)-(15,8))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :Foo
@@ -94,7 +94,7 @@
│ │ ├── operator_loc: (15,4)-(15,5) = "*"
│ │ └── expression:
│ │ @ CallNode (location: (15,5)-(15,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -106,7 +106,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (17,0)-(17,9))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :Foo
@@ -122,7 +122,7 @@
│ │ └── @ AssocSplatNode (location: (17,4)-(17,9))
│ │ ├── value:
│ │ │ @ CallNode (location: (17,6)-(17,9))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -135,7 +135,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (19,0)-(19,8))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :Foo
@@ -147,7 +147,7 @@
│ @ BlockArgumentNode (location: (19,4)-(19,8))
│ ├── expression:
│ │ @ CallNode (location: (19,5)-(19,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -174,7 +174,7 @@
│ │ ├── operator_loc: (21,9)-(21,10) = "*"
│ │ └── expression:
│ │ @ CallNode (location: (21,10)-(21,13))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :baz
@@ -204,7 +204,7 @@
│ │ └── @ AssocSplatNode (location: (23,9)-(23,14))
│ │ ├── value:
│ │ │ @ CallNode (location: (23,11)-(23,14))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :baz
@@ -231,7 +231,7 @@
│ @ BlockArgumentNode (location: (25,9)-(25,13))
│ ├── expression:
│ │ @ CallNode (location: (25,10)-(25,13))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :baz
@@ -1021,7 +1021,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (157,4)-(157,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :i
@@ -1046,7 +1046,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (159,4)-(159,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :w
@@ -1071,7 +1071,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (161,4)-(161,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :x
diff --git a/test/prism/snapshots/dash_heredocs.txt b/test/prism/snapshots/dash_heredocs.txt
index 60973c73db..80f54aefa8 100644
--- a/test/prism/snapshots/dash_heredocs.txt
+++ b/test/prism/snapshots/dash_heredocs.txt
@@ -49,7 +49,7 @@
│ │ │ │ @ StatementsNode (location: (13,2)-(13,3))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (13,2)-(13,3))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :b
@@ -93,7 +93,7 @@
│ │ │ │ @ StatementsNode (location: (27,2)-(27,3))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (27,2)-(27,3))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :b
@@ -125,7 +125,7 @@
│ │ │ │ @ StatementsNode (location: (32,2)-(32,3))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (32,2)-(32,3))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :b
diff --git a/test/prism/snapshots/defined.txt b/test/prism/snapshots/defined.txt
index 521cb1cdd7..9c84b0b611 100644
--- a/test/prism/snapshots/defined.txt
+++ b/test/prism/snapshots/defined.txt
@@ -41,7 +41,7 @@
│ │ @ AndNode (location: (5,9)-(5,20))
│ │ ├── left:
│ │ │ @ CallNode (location: (5,9)-(5,12))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -52,7 +52,7 @@
│ │ │ └── block: ∅
│ │ ├── right:
│ │ │ @ CallNode (location: (5,17)-(5,20))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
diff --git a/test/prism/snapshots/dos_endings.txt b/test/prism/snapshots/dos_endings.txt
index 446ad3b3d9..963375201c 100644
--- a/test/prism/snapshots/dos_endings.txt
+++ b/test/prism/snapshots/dos_endings.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(17,20))
└── body: (length: 5)
├── @ CallNode (location: (1,0)-(2,12))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :puts
@@ -67,7 +67,7 @@
├── name_loc: (17,0)-(17,1) = "a"
├── value:
│ @ CallNode (location: (17,4)-(17,20))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
diff --git a/test/prism/snapshots/endless_methods.txt b/test/prism/snapshots/endless_methods.txt
index 0ff973c119..f3f4820dab 100644
--- a/test/prism/snapshots/endless_methods.txt
+++ b/test/prism/snapshots/endless_methods.txt
@@ -30,7 +30,7 @@
│ │ @ StatementsNode (location: (3,10)-(3,14))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (3,10)-(3,14))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :A
diff --git a/test/prism/snapshots/hashes.txt b/test/prism/snapshots/hashes.txt
index 9f930694fe..b468da8e95 100644
--- a/test/prism/snapshots/hashes.txt
+++ b/test/prism/snapshots/hashes.txt
@@ -17,7 +17,7 @@
│ │ ├── @ AssocNode (location: (6,2)-(6,8))
│ │ │ ├── key:
│ │ │ │ @ CallNode (location: (6,2)-(6,3))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :a
@@ -28,7 +28,7 @@
│ │ │ │ └── block: ∅
│ │ │ ├── value:
│ │ │ │ @ CallNode (location: (6,7)-(6,8))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :b
@@ -41,7 +41,7 @@
│ │ └── @ AssocNode (location: (6,10)-(6,16))
│ │ ├── key:
│ │ │ @ CallNode (location: (6,10)-(6,11))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :c
@@ -52,7 +52,7 @@
│ │ │ └── block: ∅
│ │ ├── value:
│ │ │ @ CallNode (location: (6,15)-(6,16))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :d
@@ -69,7 +69,7 @@
│ │ ├── @ AssocNode (location: (8,2)-(8,8))
│ │ │ ├── key:
│ │ │ │ @ CallNode (location: (8,2)-(8,3))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :a
@@ -80,7 +80,7 @@
│ │ │ │ └── block: ∅
│ │ │ ├── value:
│ │ │ │ @ CallNode (location: (8,7)-(8,8))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :b
@@ -93,7 +93,7 @@
│ │ └── @ AssocSplatNode (location: (8,10)-(8,13))
│ │ ├── value:
│ │ │ @ CallNode (location: (8,12)-(8,13))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :c
@@ -117,7 +117,7 @@
│ │ │ │ └── unescaped: "a"
│ │ │ ├── value:
│ │ │ │ @ CallNode (location: (11,9)-(11,10))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :b
@@ -137,7 +137,7 @@
│ │ │ └── unescaped: "c"
│ │ ├── value:
│ │ │ @ CallNode (location: (12,9)-(12,10))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :d
@@ -161,7 +161,7 @@
│ │ │ │ └── unescaped: "a"
│ │ │ ├── value:
│ │ │ │ @ CallNode (location: (18,5)-(18,6))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :b
@@ -181,7 +181,7 @@
│ │ │ │ └── unescaped: "c"
│ │ │ ├── value:
│ │ │ │ @ CallNode (location: (18,11)-(18,12))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :d
@@ -194,7 +194,7 @@
│ │ ├── @ AssocSplatNode (location: (18,14)-(18,17))
│ │ │ ├── value:
│ │ │ │ @ CallNode (location: (18,16)-(18,17))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :e
@@ -214,7 +214,7 @@
│ │ │ └── unescaped: "f"
│ │ ├── value:
│ │ │ @ CallNode (location: (18,22)-(18,23))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :g
@@ -241,7 +241,7 @@
│ │ │ ├── flags: ∅
│ │ │ ├── receiver:
│ │ │ │ @ CallNode (location: (20,8)-(20,10))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :b?
@@ -268,7 +268,7 @@
│ │ └── flags: decimal
│ └── operator_loc: (22,2)-(22,3) = "="
└── @ CallNode (location: (23,0)-(26,3))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :tap
@@ -337,7 +337,7 @@
│ │ │ │ @ ImplicitNode (location: (25,12)-(25,14))
│ │ │ │ └── value:
│ │ │ │ @ CallNode (location: (25,12)-(25,14))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :c
diff --git a/test/prism/snapshots/if.txt b/test/prism/snapshots/if.txt
index a5ffeac2c2..f2166052a5 100644
--- a/test/prism/snapshots/if.txt
+++ b/test/prism/snapshots/if.txt
@@ -130,7 +130,7 @@
│ ├── if_keyword_loc: (16,0)-(16,2) = "if"
│ ├── predicate:
│ │ @ CallNode (location: (16,3)-(16,12))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :exit_loop
@@ -157,7 +157,7 @@
│ ├── if_keyword_loc: (18,0)-(18,2) = "if"
│ ├── predicate:
│ │ @ CallNode (location: (18,3)-(18,6))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -171,7 +171,7 @@
│ │ @ StatementsNode (location: (19,5)-(19,8))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (19,5)-(19,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -186,7 +186,7 @@
│ ├── if_keyword_loc: (22,7)-(22,9) = "if"
│ ├── predicate:
│ │ @ CallNode (location: (22,10)-(22,11))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :c
@@ -203,7 +203,7 @@
│ │ ├── if_keyword_loc: (22,2)-(22,4) = "if"
│ │ ├── predicate:
│ │ │ @ CallNode (location: (22,5)-(22,6))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -217,7 +217,7 @@
│ │ │ @ StatementsNode (location: (22,0)-(22,1))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (22,0)-(22,1))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :a
@@ -239,7 +239,7 @@
│ │ @ StatementsNode (location: (25,2)-(25,6))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (25,2)-(25,6))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -264,7 +264,7 @@
│ │ │ │ @ ImplicitNode (location: (25,4)-(25,6))
│ │ │ │ └── value:
│ │ │ │ @ CallNode (location: (25,4)-(25,6))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :b
@@ -288,7 +288,7 @@
│ │ @ MatchPredicateNode (location: (29,3)-(29,12))
│ │ ├── value:
│ │ │ @ CallNode (location: (29,3)-(29,7))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :type
@@ -310,7 +310,7 @@
│ │ │ @ MatchPredicateNode (location: (30,6)-(30,15))
│ │ │ ├── value:
│ │ │ │ @ CallNode (location: (30,6)-(30,10))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :type
@@ -338,7 +338,7 @@
│ @ StatementsNode (location: (34,2)-(35,5))
│ └── body: (length: 1)
│ └── @ CallNode (location: (34,2)-(35,5))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :lambda
@@ -380,7 +380,7 @@
│ │ @ StatementsNode (location: (37,2)-(38,5))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (37,2)-(38,5))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :lambda
@@ -418,7 +418,7 @@
│ │ │ @ StatementsNode (location: (40,2)-(41,5))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (40,2)-(41,5))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :lambda
diff --git a/test/prism/snapshots/keyword_method_names.txt b/test/prism/snapshots/keyword_method_names.txt
index 0361ac729a..afaff8d604 100644
--- a/test/prism/snapshots/keyword_method_names.txt
+++ b/test/prism/snapshots/keyword_method_names.txt
@@ -33,7 +33,7 @@
│ ├── equal_loc: ∅
│ └── end_keyword_loc: (5,0)-(5,3) = "end"
├── @ CallNode (location: (7,0)-(10,3))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :private
@@ -52,7 +52,7 @@
│ │ │ @ StatementsNode (location: (8,2)-(9,5))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (8,2)-(9,5))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
diff --git a/test/prism/snapshots/lambda.txt b/test/prism/snapshots/lambda.txt
index 52edf26b52..eb7c12dc5b 100644
--- a/test/prism/snapshots/lambda.txt
+++ b/test/prism/snapshots/lambda.txt
@@ -60,7 +60,7 @@
│ │ │ │ │ │ @ StatementsNode (location: (5,10)-(5,11))
│ │ │ │ │ │ └── body: (length: 1)
│ │ │ │ │ │ └── @ CallNode (location: (5,10)-(5,11))
- │ │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ │ ├── name: :a
@@ -100,7 +100,7 @@
│ │ │ │ ├── flags: ∅
│ │ │ │ ├── receiver:
│ │ │ │ │ @ CallNode (location: (7,6)-(7,7))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :b
@@ -145,7 +145,7 @@
│ │ │ │ ├── operator_loc: (9,7)-(9,8) = "="
│ │ │ │ └── value:
│ │ │ │ @ CallNode (location: (9,9)-(9,12))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :bar
@@ -183,7 +183,7 @@
│ │ │ ├── name_loc: (11,3)-(11,7) = "foo:"
│ │ │ └── value:
│ │ │ @ CallNode (location: (11,8)-(11,11))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
diff --git a/test/prism/snapshots/method_calls.txt b/test/prism/snapshots/method_calls.txt
index f8de181d32..fdebd48d5a 100644
--- a/test/prism/snapshots/method_calls.txt
+++ b/test/prism/snapshots/method_calls.txt
@@ -7,7 +7,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (1,0)-(1,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -36,7 +36,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (3,0)-(3,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -54,7 +54,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (3,4)-(3,5))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :c
@@ -64,7 +64,7 @@
│ │ │ ├── closing_loc: ∅
│ │ │ └── block: ∅
│ │ └── @ CallNode (location: (3,7)-(3,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :d
@@ -79,7 +79,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (5,0)-(5,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -102,7 +102,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (7,0)-(7,3))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -126,7 +126,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (11,0)-(11,2))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a!
@@ -139,7 +139,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (13,0)-(13,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -159,7 +159,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (15,0)-(15,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -188,7 +188,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (17,0)-(17,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -208,7 +208,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (19,0)-(19,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -226,7 +226,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (19,5)-(19,6))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :c
@@ -241,7 +241,7 @@
│ ├── flags: attribute_write
│ ├── receiver:
│ │ @ CallNode (location: (21,0)-(21,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -263,7 +263,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (23,0)-(23,2))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a?
@@ -273,7 +273,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (25,0)-(25,8))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -285,7 +285,7 @@
│ @ BlockArgumentNode (location: (25,2)-(25,8))
│ ├── expression:
│ │ @ CallNode (location: (25,3)-(25,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :block
@@ -296,7 +296,7 @@
│ │ └── block: ∅
│ └── operator_loc: (25,2)-(25,3) = "&"
├── @ CallNode (location: (27,0)-(27,11))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -312,7 +312,7 @@
│ │ └── @ AssocSplatNode (location: (27,2)-(27,10))
│ │ ├── value:
│ │ │ @ CallNode (location: (27,4)-(27,10))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :kwargs
@@ -331,7 +331,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (29,0)-(29,1))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :a
@@ -355,7 +355,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (31,0)-(31,7))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -366,7 +366,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (31,2)-(31,3))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -376,7 +376,7 @@
│ │ │ ├── closing_loc: ∅
│ │ │ └── block: ∅
│ │ └── @ CallNode (location: (31,5)-(31,6))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :c
@@ -388,7 +388,7 @@
│ ├── closing_loc: (31,6)-(31,7) = ")"
│ └── block: ∅
├── @ CallNode (location: (33,0)-(33,3))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -398,7 +398,7 @@
│ ├── closing_loc: (33,2)-(33,3) = ")"
│ └── block: ∅
├── @ CallNode (location: (35,0)-(35,8))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -412,7 +412,7 @@
│ │ ├── operator_loc: (35,2)-(35,3) = "*"
│ │ └── expression:
│ │ @ CallNode (location: (35,3)-(35,7))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :args
@@ -424,7 +424,7 @@
│ ├── closing_loc: (35,7)-(35,8) = ")"
│ └── block: ∅
├── @ CallNode (location: (37,0)-(37,6))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -435,7 +435,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (37,2)-(37,3))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -445,7 +445,7 @@
│ │ │ ├── closing_loc: ∅
│ │ │ └── block: ∅
│ │ └── @ CallNode (location: (37,5)-(37,6))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :c
@@ -460,7 +460,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (39,0)-(39,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -478,7 +478,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (39,4)-(39,5))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :c
@@ -488,7 +488,7 @@
│ │ │ ├── closing_loc: ∅
│ │ │ └── block: ∅
│ │ └── @ CallNode (location: (39,7)-(39,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :d
@@ -505,7 +505,7 @@
│ │ │ ├── flags: ∅
│ │ │ ├── receiver:
│ │ │ │ @ CallNode (location: (41,0)-(41,3))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :foo
@@ -521,7 +521,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (41,9)-(41,12))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -552,7 +552,7 @@
│ ├── flags: safe_navigation
│ ├── receiver:
│ │ @ CallNode (location: (43,0)-(43,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -572,7 +572,7 @@
│ ├── flags: safe_navigation
│ ├── receiver:
│ │ @ CallNode (location: (45,0)-(45,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -592,7 +592,7 @@
│ ├── flags: safe_navigation
│ ├── receiver:
│ │ @ CallNode (location: (47,0)-(47,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -610,7 +610,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (47,5)-(47,6))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :c
@@ -625,7 +625,7 @@
│ ├── flags: safe_navigation
│ ├── receiver:
│ │ @ CallNode (location: (49,0)-(49,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -649,7 +649,7 @@
│ │ │ @ OrNode (location: (51,14)-(51,25))
│ │ │ ├── left:
│ │ │ │ @ CallNode (location: (51,14)-(51,18))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :bar?
@@ -660,7 +660,7 @@
│ │ │ │ └── block: ∅
│ │ │ ├── right:
│ │ │ │ @ CallNode (location: (51,22)-(51,25))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :baz
@@ -672,7 +672,7 @@
│ │ │ └── operator_loc: (51,19)-(51,21) = "or"
│ │ ├── right:
│ │ │ @ CallNode (location: (51,30)-(51,33))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :qux
@@ -687,7 +687,7 @@
│ │ @ StatementsNode (location: (51,0)-(51,10))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (51,0)-(51,10))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -714,7 +714,7 @@
│ ├── consequent: ∅
│ └── end_keyword_loc: ∅
├── @ CallNode (location: (53,0)-(56,1))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -739,7 +739,7 @@
│ ├── closing_loc: (56,0)-(56,1) = ")"
│ └── block: ∅
├── @ CallNode (location: (58,0)-(58,10))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -753,7 +753,7 @@
│ │ ├── operator_loc: (58,4)-(58,5) = "*"
│ │ └── expression:
│ │ @ CallNode (location: (58,5)-(58,9))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :rest
@@ -765,7 +765,7 @@
│ ├── closing_loc: (58,9)-(58,10) = ")"
│ └── block: ∅
├── @ CallNode (location: (60,0)-(60,39))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -839,7 +839,7 @@
│ │ └── unescaped: "bar"
│ └── operator_loc: (60,34)-(60,35) = "&"
├── @ CallNode (location: (62,0)-(62,49))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :hi
@@ -897,7 +897,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (64,0)-(64,36))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -954,7 +954,7 @@
│ │ @ StatementsNode (location: (64,26)-(64,32))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (64,26)-(64,32))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :puts
@@ -972,7 +972,7 @@
│ ├── opening_loc: (64,16)-(64,18) = "do"
│ └── closing_loc: (64,33)-(64,36) = "end"
├── @ CallNode (location: (66,0)-(66,17))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :hi
@@ -1004,7 +1004,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (68,0)-(68,40))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :hi
@@ -1059,7 +1059,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (70,0)-(70,41))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :hi
@@ -1114,7 +1114,7 @@
│ ├── closing_loc: (70,40)-(70,41) = ")"
│ └── block: ∅
├── @ CallNode (location: (72,0)-(72,35))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -1162,7 +1162,7 @@
│ │ └── unescaped: "block"
│ └── operator_loc: (72,28)-(72,29) = "&"
├── @ CallNode (location: (74,0)-(74,20))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :hi
@@ -1194,7 +1194,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (76,0)-(78,1))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -1219,7 +1219,7 @@
│ ├── closing_loc: (78,0)-(78,1) = ")"
│ └── block: ∅
├── @ CallNode (location: (80,0)-(83,1))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -1257,7 +1257,7 @@
│ ├── closing_loc: (83,0)-(83,1) = ")"
│ └── block: ∅
├── @ CallNode (location: (85,0)-(85,11))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -1276,7 +1276,7 @@
│ │ └── unescaped: "block"
│ └── operator_loc: (85,4)-(85,5) = "&"
├── @ CallNode (location: (87,0)-(87,30))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -1323,7 +1323,7 @@
│ │ └── unescaped: "block"
│ └── operator_loc: (87,23)-(87,24) = "&"
├── @ CallNode (location: (89,0)-(89,21))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :some_func
@@ -1373,7 +1373,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (93,0)-(93,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :x
@@ -1400,7 +1400,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (95,0)-(95,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1516,7 +1516,7 @@
│ ├── opening_loc: (101,14)-(101,15) = "{"
│ └── closing_loc: (101,16)-(101,17) = "}"
├── @ CallNode (location: (103,0)-(103,12))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -1544,7 +1544,7 @@
│ ├── closing_loc: (103,11)-(103,12) = ")"
│ └── block: ∅
├── @ CallNode (location: (105,0)-(105,28))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -1579,7 +1579,7 @@
│ │ │ │ │ └── unescaped: "baz"
│ │ │ │ ├── value:
│ │ │ │ │ @ CallNode (location: (105,16)-(105,26))
- │ │ │ │ │ ├── flags: ∅
+ │ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :qux
@@ -1601,7 +1601,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (107,0)-(107,24))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -1629,7 +1629,7 @@
│ │ │ │ └── @ AssocSplatNode (location: (107,11)-(107,22))
│ │ │ │ ├── value:
│ │ │ │ │ @ CallNode (location: (107,13)-(107,22))
- │ │ │ │ │ ├── flags: ∅
+ │ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :kw
@@ -1651,7 +1651,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (109,0)-(109,36))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -1673,7 +1673,7 @@
│ │ │ │ ├── flags: ∅
│ │ │ │ ├── receiver:
│ │ │ │ │ @ CallNode (location: (109,7)-(109,10))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :bar
@@ -1716,7 +1716,7 @@
│ ├── opening_loc: (109,30)-(109,32) = "do"
│ └── closing_loc: (109,33)-(109,36) = "end"
├── @ CallNode (location: (111,0)-(111,28))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -1738,7 +1738,7 @@
│ │ │ @ StatementsNode (location: (111,14)-(111,24))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (111,14)-(111,24))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :baz
@@ -1759,7 +1759,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (113,0)-(113,29))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -1779,7 +1779,7 @@
│ │ │ @ StatementsNode (location: (113,15)-(113,25))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (113,15)-(113,25))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :baz
@@ -1800,7 +1800,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (115,0)-(115,16))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -1814,7 +1814,7 @@
│ │ ├── flags: ∅
│ │ ├── elements: (length: 1)
│ │ │ └── @ CallNode (location: (115,5)-(115,15))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :baz
@@ -1835,7 +1835,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (117,0)-(117,28))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :p
@@ -1880,7 +1880,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (119,0)-(124,5))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -1900,7 +1900,7 @@
│ │ ├── if_keyword_loc: (120,2)-(120,4) = "if"
│ │ ├── predicate:
│ │ │ @ CallNode (location: (120,5)-(120,6))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :x
@@ -1914,7 +1914,7 @@
│ │ │ @ StatementsNode (location: (121,4)-(123,7))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (121,4)-(123,7))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -1955,7 +1955,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (126,0)-(135,5))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -1977,7 +1977,7 @@
│ │ │ ├── closing_loc: (131,2)-(131,5) = "end"
│ │ │ ├── predicate:
│ │ │ │ @ CallNode (location: (127,8)-(127,9))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :x
@@ -1990,7 +1990,7 @@
│ │ │ @ StatementsNode (location: (128,4)-(130,7))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (128,4)-(130,7))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -2032,7 +2032,7 @@
│ │ ├── closing_loc: (135,2)-(135,5) = "end"
│ │ ├── predicate:
│ │ │ @ CallNode (location: (132,8)-(132,9))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :x
@@ -2045,7 +2045,7 @@
│ │ @ StatementsNode (location: (133,4)-(134,7))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (133,4)-(134,7))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :baz
@@ -2079,7 +2079,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (137,5)-(137,9))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :A
@@ -2113,7 +2113,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (139,5)-(139,16))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :A
@@ -2155,7 +2155,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (141,0)-(141,4))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :A
@@ -2180,7 +2180,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (141,7)-(141,11))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :A
@@ -2202,7 +2202,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (143,0)-(143,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :lst
@@ -2220,7 +2220,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (143,7)-(143,11))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :A
@@ -2247,7 +2247,7 @@
│ │ │ @ StatementsNode (location: (145,4)-(145,14))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (145,4)-(145,14))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :join
@@ -2286,7 +2286,7 @@
│ │ │ │ @ StatementsNode (location: (147,4)-(147,5))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (147,4)-(147,5))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :v
@@ -2320,7 +2320,7 @@
│ @ StatementsNode (location: (149,10)-(149,13))
│ └── body: (length: 1)
│ └── @ CallNode (location: (149,10)-(149,13))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :p
diff --git a/test/prism/snapshots/methods.txt b/test/prism/snapshots/methods.txt
index 62c117b82e..225f27e178 100644
--- a/test/prism/snapshots/methods.txt
+++ b/test/prism/snapshots/methods.txt
@@ -116,7 +116,7 @@
│ │ @ ParenthesesNode (location: (10,4)-(10,7))
│ │ ├── body:
│ │ │ @ CallNode (location: (10,5)-(10,6))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -144,7 +144,7 @@
│ │ @ ParenthesesNode (location: (13,4)-(13,7))
│ │ ├── body:
│ │ │ @ CallNode (location: (13,5)-(13,6))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :a
@@ -224,7 +224,7 @@
│ ├── name_loc: (25,6)-(25,7) = "b"
│ ├── receiver:
│ │ @ CallNode (location: (25,4)-(25,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -939,7 +939,7 @@
│ │ @ StatementsNode (location: (110,10)-(110,14))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (110,10)-(110,14))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
@@ -980,7 +980,7 @@
│ │ @ StatementsNode (location: (112,12)-(112,18))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (112,12)-(112,18))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
@@ -1019,7 +1019,7 @@
│ │ @ StatementsNode (location: (114,12)-(114,24))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (114,12)-(114,24))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
@@ -1056,7 +1056,7 @@
│ │ │ ├── name_loc: (116,5)-(116,6) = "c"
│ │ │ ├── value:
│ │ │ │ @ CallNode (location: (116,9)-(116,10))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :b
@@ -1158,7 +1158,7 @@
│ │ │ ├── name_loc: (128,5)-(128,6) = "a"
│ │ │ ├── value:
│ │ │ │ @ CallNode (location: (128,9)-(128,10))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :b
@@ -1250,7 +1250,7 @@
│ │ │ │ @ StatementsNode (location: (136,18)-(136,24))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (136,18)-(136,24))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :b
@@ -1302,7 +1302,7 @@
│ │ │ ├── @ AssocSplatNode (location: (139,11)-(139,16))
│ │ │ │ ├── value:
│ │ │ │ │ @ CallNode (location: (139,13)-(139,16))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :bar
@@ -1315,7 +1315,7 @@
│ │ │ ├── @ AssocSplatNode (location: (139,18)-(139,23))
│ │ │ │ ├── value:
│ │ │ │ │ @ CallNode (location: (139,20)-(139,23))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :baz
@@ -1328,7 +1328,7 @@
│ │ │ └── @ AssocSplatNode (location: (139,25)-(139,30))
│ │ │ ├── value:
│ │ │ │ @ CallNode (location: (139,27)-(139,30))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :qux
@@ -1611,7 +1611,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (161,2)-(161,6))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :item
@@ -1629,7 +1629,7 @@
│ │ │ ├── flags: ∅
│ │ │ └── arguments: (length: 1)
│ │ │ └── @ CallNode (location: (161,10)-(161,14))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :a
@@ -1765,7 +1765,7 @@
│ │ │ ├── flags: ∅
│ │ │ ├── receiver:
│ │ │ │ @ CallNode (location: (172,9)-(172,10))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :a
@@ -1811,7 +1811,7 @@
│ │ │ ├── flags: ∅
│ │ │ ├── receiver:
│ │ │ │ @ CallNode (location: (174,9)-(174,10))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :a
@@ -1857,7 +1857,7 @@
│ │ │ ├── flags: ∅
│ │ │ ├── receiver:
│ │ │ │ @ CallNode (location: (176,9)-(176,10))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :a
@@ -1934,7 +1934,7 @@
│ │ @ StatementsNode (location: (181,2)-(181,7))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (181,2)-(181,7))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
diff --git a/test/prism/snapshots/modules.txt b/test/prism/snapshots/modules.txt
index cab1bef992..0de4b264f0 100644
--- a/test/prism/snapshots/modules.txt
+++ b/test/prism/snapshots/modules.txt
@@ -37,7 +37,7 @@
│ │ │ │ @ StatementsNode (location: (3,9)-(3,12))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (3,9)-(3,12))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :bbb
@@ -61,7 +61,7 @@
│ │ @ ConstantPathNode (location: (5,7)-(5,11))
│ │ ├── parent:
│ │ │ @ CallNode (location: (5,7)-(5,8))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :m
diff --git a/test/prism/snapshots/non_alphanumeric_methods.txt b/test/prism/snapshots/non_alphanumeric_methods.txt
index f7b210fdda..cbd024e4ec 100644
--- a/test/prism/snapshots/non_alphanumeric_methods.txt
+++ b/test/prism/snapshots/non_alphanumeric_methods.txt
@@ -248,7 +248,7 @@
│ ├── name_loc: (48,6)-(48,7) = "-"
│ ├── receiver:
│ │ @ CallNode (location: (48,4)-(48,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
diff --git a/test/prism/snapshots/not.txt b/test/prism/snapshots/not.txt
index 572e7b13ca..fda61bb4b5 100644
--- a/test/prism/snapshots/not.txt
+++ b/test/prism/snapshots/not.txt
@@ -9,7 +9,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (1,4)-(1,7))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -30,7 +30,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (1,16)-(1,19))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -53,7 +53,7 @@
│ │ @ AndNode (location: (3,4)-(3,15))
│ │ ├── left:
│ │ │ @ CallNode (location: (3,4)-(3,7))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -64,7 +64,7 @@
│ │ │ └── block: ∅
│ │ ├── right:
│ │ │ @ CallNode (location: (3,12)-(3,15))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -85,7 +85,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (5,4)-(5,7))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -107,7 +107,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (7,4)-(7,7))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -128,7 +128,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (8,2)-(8,5))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -151,7 +151,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (11,4)-(11,7))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -172,7 +172,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (13,2)-(13,5))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -195,7 +195,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (16,4)-(16,7))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -216,7 +216,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (20,2)-(20,5))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -237,7 +237,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (22,4)-(22,7))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -257,7 +257,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (30,0)-(30,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -280,7 +280,7 @@
│ │ ├── flags: ∅
│ │ ├── left:
│ │ │ @ CallNode (location: (35,4)-(35,7))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -291,7 +291,7 @@
│ │ │ └── block: ∅
│ │ ├── right:
│ │ │ @ CallNode (location: (35,11)-(35,14))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -319,7 +319,7 @@
│ │ ├── flags: ∅
│ │ ├── left:
│ │ │ @ CallNode (location: (37,5)-(37,8))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -330,7 +330,7 @@
│ │ │ └── block: ∅
│ │ ├── right:
│ │ │ @ CallNode (location: (37,12)-(37,15))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
diff --git a/test/prism/snapshots/patterns.txt b/test/prism/snapshots/patterns.txt
index 13179be338..f7601609c5 100644
--- a/test/prism/snapshots/patterns.txt
+++ b/test/prism/snapshots/patterns.txt
@@ -6,7 +6,7 @@
├── @ MatchRequiredNode (location: (1,0)-(1,10))
│ ├── value:
│ │ @ CallNode (location: (1,0)-(1,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -23,7 +23,7 @@
├── @ MatchRequiredNode (location: (2,0)-(2,8))
│ ├── value:
│ │ @ CallNode (location: (2,0)-(2,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -39,7 +39,7 @@
├── @ MatchRequiredNode (location: (3,0)-(3,10))
│ ├── value:
│ │ @ CallNode (location: (3,0)-(3,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -54,7 +54,7 @@
├── @ MatchRequiredNode (location: (4,0)-(4,9))
│ ├── value:
│ │ @ CallNode (location: (4,0)-(4,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -72,7 +72,7 @@
├── @ MatchRequiredNode (location: (5,0)-(5,9))
│ ├── value:
│ │ @ CallNode (location: (5,0)-(5,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -90,7 +90,7 @@
├── @ MatchRequiredNode (location: (6,0)-(6,11))
│ ├── value:
│ │ @ CallNode (location: (6,0)-(6,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -110,7 +110,7 @@
├── @ MatchRequiredNode (location: (7,0)-(7,14))
│ ├── value:
│ │ @ CallNode (location: (7,0)-(7,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -130,7 +130,7 @@
├── @ MatchRequiredNode (location: (8,0)-(8,13))
│ ├── value:
│ │ @ CallNode (location: (8,0)-(8,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -150,7 +150,7 @@
├── @ MatchRequiredNode (location: (9,0)-(9,12))
│ ├── value:
│ │ @ CallNode (location: (9,0)-(9,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -170,7 +170,7 @@
├── @ MatchRequiredNode (location: (10,0)-(10,12))
│ ├── value:
│ │ @ CallNode (location: (10,0)-(10,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -190,7 +190,7 @@
├── @ MatchRequiredNode (location: (11,0)-(11,14))
│ ├── value:
│ │ @ CallNode (location: (11,0)-(11,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -210,7 +210,7 @@
├── @ MatchRequiredNode (location: (12,0)-(12,14))
│ ├── value:
│ │ @ CallNode (location: (12,0)-(12,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -235,7 +235,7 @@
├── @ MatchRequiredNode (location: (13,0)-(13,14))
│ ├── value:
│ │ @ CallNode (location: (13,0)-(13,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -260,7 +260,7 @@
├── @ MatchRequiredNode (location: (14,0)-(14,14))
│ ├── value:
│ │ @ CallNode (location: (14,0)-(14,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -285,7 +285,7 @@
├── @ MatchRequiredNode (location: (15,0)-(15,14))
│ ├── value:
│ │ @ CallNode (location: (15,0)-(15,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -310,7 +310,7 @@
├── @ MatchRequiredNode (location: (16,0)-(16,14))
│ ├── value:
│ │ @ CallNode (location: (16,0)-(16,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -330,7 +330,7 @@
├── @ MatchRequiredNode (location: (17,0)-(17,14))
│ ├── value:
│ │ @ CallNode (location: (17,0)-(17,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -350,7 +350,7 @@
├── @ MatchRequiredNode (location: (18,0)-(18,12))
│ ├── value:
│ │ @ CallNode (location: (18,0)-(18,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -370,7 +370,7 @@
├── @ MatchRequiredNode (location: (19,0)-(19,10))
│ ├── value:
│ │ @ CallNode (location: (19,0)-(19,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -385,7 +385,7 @@
├── @ MatchRequiredNode (location: (20,0)-(20,11))
│ ├── value:
│ │ @ CallNode (location: (20,0)-(20,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -400,7 +400,7 @@
├── @ MatchRequiredNode (location: (21,0)-(21,11))
│ ├── value:
│ │ @ CallNode (location: (21,0)-(21,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -415,7 +415,7 @@
├── @ MatchRequiredNode (location: (22,0)-(22,12))
│ ├── value:
│ │ @ CallNode (location: (22,0)-(22,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -430,7 +430,7 @@
├── @ MatchRequiredNode (location: (23,0)-(23,15))
│ ├── value:
│ │ @ CallNode (location: (23,0)-(23,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -446,7 +446,7 @@
├── @ MatchRequiredNode (location: (24,0)-(24,15))
│ ├── value:
│ │ @ CallNode (location: (24,0)-(24,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -461,7 +461,7 @@
├── @ MatchRequiredNode (location: (25,0)-(25,19))
│ ├── value:
│ │ @ CallNode (location: (25,0)-(25,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -476,7 +476,7 @@
├── @ MatchRequiredNode (location: (26,0)-(26,17))
│ ├── value:
│ │ @ CallNode (location: (26,0)-(26,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -503,7 +503,7 @@
├── @ MatchRequiredNode (location: (28,0)-(28,13))
│ ├── value:
│ │ @ CallNode (location: (28,0)-(28,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -526,7 +526,7 @@
├── @ MatchRequiredNode (location: (29,0)-(29,17))
│ ├── value:
│ │ @ CallNode (location: (29,0)-(29,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -547,7 +547,7 @@
├── @ MatchRequiredNode (location: (30,0)-(30,15))
│ ├── value:
│ │ @ CallNode (location: (30,0)-(30,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -574,7 +574,7 @@
├── @ MatchRequiredNode (location: (31,0)-(31,15))
│ ├── value:
│ │ @ CallNode (location: (31,0)-(31,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -601,7 +601,7 @@
├── @ MatchRequiredNode (location: (32,0)-(32,19))
│ ├── value:
│ │ @ CallNode (location: (32,0)-(32,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -632,7 +632,7 @@
├── @ MatchRequiredNode (location: (33,0)-(33,25))
│ ├── value:
│ │ @ CallNode (location: (33,0)-(33,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -663,7 +663,7 @@
├── @ MatchRequiredNode (location: (34,0)-(34,23))
│ ├── value:
│ │ @ CallNode (location: (34,0)-(34,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -694,7 +694,7 @@
├── @ MatchRequiredNode (location: (35,0)-(35,21))
│ ├── value:
│ │ @ CallNode (location: (35,0)-(35,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -725,7 +725,7 @@
├── @ MatchRequiredNode (location: (36,0)-(36,21))
│ ├── value:
│ │ @ CallNode (location: (36,0)-(36,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -756,7 +756,7 @@
├── @ MatchRequiredNode (location: (37,0)-(37,25))
│ ├── value:
│ │ @ CallNode (location: (37,0)-(37,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -787,7 +787,7 @@
├── @ MatchRequiredNode (location: (38,0)-(38,25))
│ ├── value:
│ │ @ CallNode (location: (38,0)-(38,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -828,7 +828,7 @@
├── @ MatchRequiredNode (location: (39,0)-(39,25))
│ ├── value:
│ │ @ CallNode (location: (39,0)-(39,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -869,7 +869,7 @@
├── @ MatchRequiredNode (location: (40,0)-(40,25))
│ ├── value:
│ │ @ CallNode (location: (40,0)-(40,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -910,7 +910,7 @@
├── @ MatchRequiredNode (location: (41,0)-(41,25))
│ ├── value:
│ │ @ CallNode (location: (41,0)-(41,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -951,7 +951,7 @@
├── @ MatchRequiredNode (location: (42,0)-(42,25))
│ ├── value:
│ │ @ CallNode (location: (42,0)-(42,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -982,7 +982,7 @@
├── @ MatchRequiredNode (location: (43,0)-(43,25))
│ ├── value:
│ │ @ CallNode (location: (43,0)-(43,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1013,7 +1013,7 @@
├── @ MatchRequiredNode (location: (44,0)-(44,21))
│ ├── value:
│ │ @ CallNode (location: (44,0)-(44,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1044,7 +1044,7 @@
├── @ MatchRequiredNode (location: (45,0)-(45,17))
│ ├── value:
│ │ @ CallNode (location: (45,0)-(45,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1065,7 +1065,7 @@
├── @ MatchRequiredNode (location: (46,0)-(46,19))
│ ├── value:
│ │ @ CallNode (location: (46,0)-(46,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1086,7 +1086,7 @@
├── @ MatchRequiredNode (location: (47,0)-(47,19))
│ ├── value:
│ │ @ CallNode (location: (47,0)-(47,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1107,7 +1107,7 @@
├── @ MatchRequiredNode (location: (48,0)-(48,21))
│ ├── value:
│ │ @ CallNode (location: (48,0)-(48,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1128,7 +1128,7 @@
├── @ MatchRequiredNode (location: (49,0)-(49,27))
│ ├── value:
│ │ @ CallNode (location: (49,0)-(49,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1151,7 +1151,7 @@
├── @ MatchRequiredNode (location: (50,0)-(50,27))
│ ├── value:
│ │ @ CallNode (location: (50,0)-(50,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1172,7 +1172,7 @@
├── @ MatchRequiredNode (location: (51,0)-(51,35))
│ ├── value:
│ │ @ CallNode (location: (51,0)-(51,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1193,7 +1193,7 @@
├── @ MatchRequiredNode (location: (52,0)-(52,31))
│ ├── value:
│ │ @ CallNode (location: (52,0)-(52,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1246,7 +1246,7 @@
├── @ MatchRequiredNode (location: (54,9)-(54,20))
│ ├── value:
│ │ @ CallNode (location: (54,9)-(54,12))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1266,7 +1266,7 @@
├── @ MatchRequiredNode (location: (55,0)-(55,12))
│ ├── value:
│ │ @ CallNode (location: (55,0)-(55,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1285,7 +1285,7 @@
├── @ MatchRequiredNode (location: (56,0)-(56,13))
│ ├── value:
│ │ @ CallNode (location: (56,0)-(56,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1304,7 +1304,7 @@
├── @ MatchRequiredNode (location: (57,0)-(57,12))
│ ├── value:
│ │ @ CallNode (location: (57,0)-(57,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1323,7 +1323,7 @@
├── @ MatchRequiredNode (location: (59,0)-(59,11))
│ ├── value:
│ │ @ CallNode (location: (59,0)-(59,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1344,7 +1344,7 @@
├── @ MatchRequiredNode (location: (60,0)-(60,13))
│ ├── value:
│ │ @ CallNode (location: (60,0)-(60,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1364,7 +1364,7 @@
├── @ MatchRequiredNode (location: (61,0)-(61,23))
│ ├── value:
│ │ @ CallNode (location: (61,0)-(61,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1408,7 +1408,7 @@
├── @ MatchRequiredNode (location: (63,0)-(63,10))
│ ├── value:
│ │ @ CallNode (location: (63,0)-(63,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1424,7 +1424,7 @@
├── @ MatchRequiredNode (location: (64,0)-(64,20))
│ ├── value:
│ │ @ CallNode (location: (64,0)-(64,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1452,7 +1452,7 @@
├── @ MatchRequiredNode (location: (65,0)-(65,12))
│ ├── value:
│ │ @ CallNode (location: (65,0)-(65,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1472,7 +1472,7 @@
├── @ MatchRequiredNode (location: (66,0)-(66,22))
│ ├── value:
│ │ @ CallNode (location: (66,0)-(66,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1504,7 +1504,7 @@
├── @ MatchRequiredNode (location: (68,0)-(68,12))
│ ├── value:
│ │ @ CallNode (location: (68,0)-(68,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1527,7 +1527,7 @@
├── @ MatchRequiredNode (location: (69,0)-(69,13))
│ ├── value:
│ │ @ CallNode (location: (69,0)-(69,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1552,7 +1552,7 @@
├── @ MatchRequiredNode (location: (70,0)-(70,19))
│ ├── value:
│ │ @ CallNode (location: (70,0)-(70,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1581,7 +1581,7 @@
├── @ MatchRequiredNode (location: (71,0)-(71,15))
│ ├── value:
│ │ @ CallNode (location: (71,0)-(71,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1607,7 +1607,7 @@
├── @ MatchRequiredNode (location: (72,0)-(72,21))
│ ├── value:
│ │ @ CallNode (location: (72,0)-(72,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1639,7 +1639,7 @@
├── @ MatchRequiredNode (location: (73,0)-(73,21))
│ ├── value:
│ │ @ CallNode (location: (73,0)-(73,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1671,7 +1671,7 @@
├── @ MatchRequiredNode (location: (74,0)-(74,27))
│ ├── value:
│ │ @ CallNode (location: (74,0)-(74,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1709,7 +1709,7 @@
├── @ MatchRequiredNode (location: (76,0)-(76,12))
│ ├── value:
│ │ @ CallNode (location: (76,0)-(76,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1732,7 +1732,7 @@
├── @ MatchRequiredNode (location: (77,0)-(77,13))
│ ├── value:
│ │ @ CallNode (location: (77,0)-(77,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1757,7 +1757,7 @@
├── @ MatchRequiredNode (location: (78,0)-(78,19))
│ ├── value:
│ │ @ CallNode (location: (78,0)-(78,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1786,7 +1786,7 @@
├── @ MatchRequiredNode (location: (79,0)-(79,17))
│ ├── value:
│ │ @ CallNode (location: (79,0)-(79,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1818,7 +1818,7 @@
├── @ MatchRequiredNode (location: (80,0)-(80,15))
│ ├── value:
│ │ @ CallNode (location: (80,0)-(80,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1844,7 +1844,7 @@
├── @ MatchRequiredNode (location: (81,0)-(81,21))
│ ├── value:
│ │ @ CallNode (location: (81,0)-(81,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1876,7 +1876,7 @@
├── @ MatchRequiredNode (location: (82,0)-(82,21))
│ ├── value:
│ │ @ CallNode (location: (82,0)-(82,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1908,7 +1908,7 @@
├── @ MatchRequiredNode (location: (83,0)-(83,27))
│ ├── value:
│ │ @ CallNode (location: (83,0)-(83,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1946,7 +1946,7 @@
├── @ MatchRequiredNode (location: (85,0)-(85,11))
│ ├── value:
│ │ @ CallNode (location: (85,0)-(85,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1973,7 +1973,7 @@
├── @ MatchRequiredNode (location: (86,0)-(86,21))
│ ├── value:
│ │ @ CallNode (location: (86,0)-(86,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -2006,7 +2006,7 @@
├── @ MatchRequiredNode (location: (87,0)-(87,21))
│ ├── value:
│ │ @ CallNode (location: (87,0)-(87,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -2039,7 +2039,7 @@
├── @ MatchRequiredNode (location: (88,0)-(88,21))
│ ├── value:
│ │ @ CallNode (location: (88,0)-(88,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -2072,7 +2072,7 @@
├── @ MatchRequiredNode (location: (89,0)-(89,22))
│ ├── value:
│ │ @ CallNode (location: (89,0)-(89,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -2108,7 +2108,7 @@
├── @ MatchRequiredNode (location: (91,0)-(91,9))
│ ├── value:
│ │ @ CallNode (location: (91,0)-(91,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -2129,7 +2129,7 @@
├── @ MatchRequiredNode (location: (92,0)-(92,17))
│ ├── value:
│ │ @ CallNode (location: (92,0)-(92,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -2178,7 +2178,7 @@
├── @ MatchRequiredNode (location: (94,0)-(94,13))
│ ├── value:
│ │ @ CallNode (location: (94,0)-(94,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -2205,7 +2205,7 @@
├── @ MatchRequiredNode (location: (95,0)-(95,23))
│ ├── value:
│ │ @ CallNode (location: (95,0)-(95,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -2238,7 +2238,7 @@
├── @ MatchRequiredNode (location: (96,0)-(96,23))
│ ├── value:
│ │ @ CallNode (location: (96,0)-(96,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -2271,7 +2271,7 @@
├── @ MatchRequiredNode (location: (97,0)-(97,23))
│ ├── value:
│ │ @ CallNode (location: (97,0)-(97,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -2304,7 +2304,7 @@
├── @ MatchRequiredNode (location: (98,0)-(98,24))
│ ├── value:
│ │ @ CallNode (location: (98,0)-(98,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -2340,7 +2340,7 @@
├── @ MatchPredicateNode (location: (100,0)-(100,10))
│ ├── value:
│ │ @ CallNode (location: (100,0)-(100,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -2357,7 +2357,7 @@
├── @ MatchPredicateNode (location: (101,0)-(101,8))
│ ├── value:
│ │ @ CallNode (location: (101,0)-(101,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -2373,7 +2373,7 @@
├── @ MatchPredicateNode (location: (102,0)-(102,10))
│ ├── value:
│ │ @ CallNode (location: (102,0)-(102,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -2388,7 +2388,7 @@
├── @ MatchPredicateNode (location: (103,0)-(103,9))
│ ├── value:
│ │ @ CallNode (location: (103,0)-(103,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -2406,7 +2406,7 @@
├── @ MatchPredicateNode (location: (104,0)-(104,9))
│ ├── value:
│ │ @ CallNode (location: (104,0)-(104,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -2424,7 +2424,7 @@
├── @ MatchPredicateNode (location: (105,0)-(105,11))
│ ├── value:
│ │ @ CallNode (location: (105,0)-(105,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -2444,7 +2444,7 @@
├── @ MatchPredicateNode (location: (106,0)-(106,14))
│ ├── value:
│ │ @ CallNode (location: (106,0)-(106,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -2464,7 +2464,7 @@
├── @ MatchPredicateNode (location: (107,0)-(107,13))
│ ├── value:
│ │ @ CallNode (location: (107,0)-(107,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -2484,7 +2484,7 @@
├── @ MatchPredicateNode (location: (108,0)-(108,12))
│ ├── value:
│ │ @ CallNode (location: (108,0)-(108,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -2504,7 +2504,7 @@
├── @ MatchPredicateNode (location: (109,0)-(109,12))
│ ├── value:
│ │ @ CallNode (location: (109,0)-(109,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -2524,7 +2524,7 @@
├── @ MatchPredicateNode (location: (110,0)-(110,14))
│ ├── value:
│ │ @ CallNode (location: (110,0)-(110,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -2544,7 +2544,7 @@
├── @ MatchPredicateNode (location: (111,0)-(111,14))
│ ├── value:
│ │ @ CallNode (location: (111,0)-(111,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -2569,7 +2569,7 @@
├── @ MatchPredicateNode (location: (112,0)-(112,14))
│ ├── value:
│ │ @ CallNode (location: (112,0)-(112,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -2594,7 +2594,7 @@
├── @ MatchPredicateNode (location: (113,0)-(113,14))
│ ├── value:
│ │ @ CallNode (location: (113,0)-(113,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -2619,7 +2619,7 @@
├── @ MatchPredicateNode (location: (114,0)-(114,14))
│ ├── value:
│ │ @ CallNode (location: (114,0)-(114,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -2644,7 +2644,7 @@
├── @ MatchPredicateNode (location: (115,0)-(115,14))
│ ├── value:
│ │ @ CallNode (location: (115,0)-(115,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -2664,7 +2664,7 @@
├── @ MatchPredicateNode (location: (116,0)-(116,14))
│ ├── value:
│ │ @ CallNode (location: (116,0)-(116,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -2684,7 +2684,7 @@
├── @ MatchPredicateNode (location: (117,0)-(117,12))
│ ├── value:
│ │ @ CallNode (location: (117,0)-(117,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -2704,7 +2704,7 @@
├── @ MatchPredicateNode (location: (118,0)-(118,10))
│ ├── value:
│ │ @ CallNode (location: (118,0)-(118,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -2719,7 +2719,7 @@
├── @ MatchPredicateNode (location: (119,0)-(119,11))
│ ├── value:
│ │ @ CallNode (location: (119,0)-(119,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -2734,7 +2734,7 @@
├── @ MatchPredicateNode (location: (120,0)-(120,11))
│ ├── value:
│ │ @ CallNode (location: (120,0)-(120,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -2749,7 +2749,7 @@
├── @ MatchPredicateNode (location: (121,0)-(121,12))
│ ├── value:
│ │ @ CallNode (location: (121,0)-(121,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -2764,7 +2764,7 @@
├── @ MatchPredicateNode (location: (122,0)-(122,15))
│ ├── value:
│ │ @ CallNode (location: (122,0)-(122,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -2780,7 +2780,7 @@
├── @ MatchPredicateNode (location: (123,0)-(123,15))
│ ├── value:
│ │ @ CallNode (location: (123,0)-(123,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -2795,7 +2795,7 @@
├── @ MatchPredicateNode (location: (124,0)-(124,19))
│ ├── value:
│ │ @ CallNode (location: (124,0)-(124,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -2810,7 +2810,7 @@
├── @ MatchPredicateNode (location: (125,0)-(125,17))
│ ├── value:
│ │ @ CallNode (location: (125,0)-(125,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -2837,7 +2837,7 @@
├── @ CaseMatchNode (location: (127,0)-(127,25))
│ ├── predicate:
│ │ @ CallNode (location: (127,5)-(127,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -2861,7 +2861,7 @@
├── @ CaseMatchNode (location: (128,0)-(128,23))
│ ├── predicate:
│ │ @ CallNode (location: (128,5)-(128,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -2884,7 +2884,7 @@
├── @ CaseMatchNode (location: (129,0)-(129,25))
│ ├── predicate:
│ │ @ CallNode (location: (129,5)-(129,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -2906,7 +2906,7 @@
├── @ CaseMatchNode (location: (130,0)-(130,24))
│ ├── predicate:
│ │ @ CallNode (location: (130,5)-(130,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -2931,7 +2931,7 @@
├── @ CaseMatchNode (location: (131,0)-(131,24))
│ ├── predicate:
│ │ @ CallNode (location: (131,5)-(131,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -2956,7 +2956,7 @@
├── @ CaseMatchNode (location: (132,0)-(132,26))
│ ├── predicate:
│ │ @ CallNode (location: (132,5)-(132,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -2983,7 +2983,7 @@
├── @ CaseMatchNode (location: (133,0)-(133,29))
│ ├── predicate:
│ │ @ CallNode (location: (133,5)-(133,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -3010,7 +3010,7 @@
├── @ CaseMatchNode (location: (134,0)-(134,28))
│ ├── predicate:
│ │ @ CallNode (location: (134,5)-(134,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -3037,7 +3037,7 @@
├── @ CaseMatchNode (location: (135,0)-(135,27))
│ ├── predicate:
│ │ @ CallNode (location: (135,5)-(135,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -3064,7 +3064,7 @@
├── @ CaseMatchNode (location: (136,0)-(136,27))
│ ├── predicate:
│ │ @ CallNode (location: (136,5)-(136,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -3091,7 +3091,7 @@
├── @ CaseMatchNode (location: (137,0)-(137,29))
│ ├── predicate:
│ │ @ CallNode (location: (137,5)-(137,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -3118,7 +3118,7 @@
├── @ CaseMatchNode (location: (138,0)-(138,29))
│ ├── predicate:
│ │ @ CallNode (location: (138,5)-(138,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -3150,7 +3150,7 @@
├── @ CaseMatchNode (location: (139,0)-(139,29))
│ ├── predicate:
│ │ @ CallNode (location: (139,5)-(139,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -3182,7 +3182,7 @@
├── @ CaseMatchNode (location: (140,0)-(140,29))
│ ├── predicate:
│ │ @ CallNode (location: (140,5)-(140,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -3214,7 +3214,7 @@
├── @ CaseMatchNode (location: (141,0)-(141,29))
│ ├── predicate:
│ │ @ CallNode (location: (141,5)-(141,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -3246,7 +3246,7 @@
├── @ CaseMatchNode (location: (142,0)-(142,29))
│ ├── predicate:
│ │ @ CallNode (location: (142,5)-(142,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -3273,7 +3273,7 @@
├── @ CaseMatchNode (location: (143,0)-(143,29))
│ ├── predicate:
│ │ @ CallNode (location: (143,5)-(143,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -3300,7 +3300,7 @@
├── @ CaseMatchNode (location: (144,0)-(144,27))
│ ├── predicate:
│ │ @ CallNode (location: (144,5)-(144,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -3327,7 +3327,7 @@
├── @ CaseMatchNode (location: (145,0)-(145,25))
│ ├── predicate:
│ │ @ CallNode (location: (145,5)-(145,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -3349,7 +3349,7 @@
├── @ CaseMatchNode (location: (146,0)-(146,26))
│ ├── predicate:
│ │ @ CallNode (location: (146,5)-(146,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -3371,7 +3371,7 @@
├── @ CaseMatchNode (location: (147,0)-(147,26))
│ ├── predicate:
│ │ @ CallNode (location: (147,5)-(147,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -3393,7 +3393,7 @@
├── @ CaseMatchNode (location: (148,0)-(148,27))
│ ├── predicate:
│ │ @ CallNode (location: (148,5)-(148,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -3415,7 +3415,7 @@
├── @ CaseMatchNode (location: (149,0)-(149,30))
│ ├── predicate:
│ │ @ CallNode (location: (149,5)-(149,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -3438,7 +3438,7 @@
├── @ CaseMatchNode (location: (150,0)-(150,30))
│ ├── predicate:
│ │ @ CallNode (location: (150,5)-(150,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -3460,7 +3460,7 @@
├── @ CaseMatchNode (location: (151,0)-(151,34))
│ ├── predicate:
│ │ @ CallNode (location: (151,5)-(151,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -3482,7 +3482,7 @@
├── @ CaseMatchNode (location: (152,0)-(152,32))
│ ├── predicate:
│ │ @ CallNode (location: (152,5)-(152,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -3516,7 +3516,7 @@
├── @ CaseMatchNode (location: (154,0)-(154,32))
│ ├── predicate:
│ │ @ CallNode (location: (154,5)-(154,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -3552,7 +3552,7 @@
├── @ CaseMatchNode (location: (155,0)-(155,30))
│ ├── predicate:
│ │ @ CallNode (location: (155,5)-(155,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -3587,7 +3587,7 @@
├── @ CaseMatchNode (location: (156,0)-(156,32))
│ ├── predicate:
│ │ @ CallNode (location: (156,5)-(156,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -3621,7 +3621,7 @@
├── @ CaseMatchNode (location: (157,0)-(157,31))
│ ├── predicate:
│ │ @ CallNode (location: (157,5)-(157,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -3658,7 +3658,7 @@
├── @ CaseMatchNode (location: (158,0)-(158,31))
│ ├── predicate:
│ │ @ CallNode (location: (158,5)-(158,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -3695,7 +3695,7 @@
├── @ CaseMatchNode (location: (159,0)-(159,33))
│ ├── predicate:
│ │ @ CallNode (location: (159,5)-(159,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -3734,7 +3734,7 @@
├── @ CaseMatchNode (location: (160,0)-(160,36))
│ ├── predicate:
│ │ @ CallNode (location: (160,5)-(160,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -3773,7 +3773,7 @@
├── @ CaseMatchNode (location: (161,0)-(161,35))
│ ├── predicate:
│ │ @ CallNode (location: (161,5)-(161,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -3812,7 +3812,7 @@
├── @ CaseMatchNode (location: (162,0)-(162,34))
│ ├── predicate:
│ │ @ CallNode (location: (162,5)-(162,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -3851,7 +3851,7 @@
├── @ CaseMatchNode (location: (163,0)-(163,34))
│ ├── predicate:
│ │ @ CallNode (location: (163,5)-(163,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -3890,7 +3890,7 @@
├── @ CaseMatchNode (location: (164,0)-(164,36))
│ ├── predicate:
│ │ @ CallNode (location: (164,5)-(164,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -3929,7 +3929,7 @@
├── @ CaseMatchNode (location: (165,0)-(165,36))
│ ├── predicate:
│ │ @ CallNode (location: (165,5)-(165,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -3973,7 +3973,7 @@
├── @ CaseMatchNode (location: (166,0)-(166,36))
│ ├── predicate:
│ │ @ CallNode (location: (166,5)-(166,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -4017,7 +4017,7 @@
├── @ CaseMatchNode (location: (167,0)-(167,36))
│ ├── predicate:
│ │ @ CallNode (location: (167,5)-(167,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -4061,7 +4061,7 @@
├── @ CaseMatchNode (location: (168,0)-(168,36))
│ ├── predicate:
│ │ @ CallNode (location: (168,5)-(168,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -4105,7 +4105,7 @@
├── @ CaseMatchNode (location: (169,0)-(169,36))
│ ├── predicate:
│ │ @ CallNode (location: (169,5)-(169,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -4144,7 +4144,7 @@
├── @ CaseMatchNode (location: (170,0)-(170,36))
│ ├── predicate:
│ │ @ CallNode (location: (170,5)-(170,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -4183,7 +4183,7 @@
├── @ CaseMatchNode (location: (171,0)-(171,34))
│ ├── predicate:
│ │ @ CallNode (location: (171,5)-(171,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -4222,7 +4222,7 @@
├── @ CaseMatchNode (location: (172,0)-(172,32))
│ ├── predicate:
│ │ @ CallNode (location: (172,5)-(172,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -4256,7 +4256,7 @@
├── @ CaseMatchNode (location: (173,0)-(173,33))
│ ├── predicate:
│ │ @ CallNode (location: (173,5)-(173,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -4290,7 +4290,7 @@
├── @ CaseMatchNode (location: (174,0)-(174,33))
│ ├── predicate:
│ │ @ CallNode (location: (174,5)-(174,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -4324,7 +4324,7 @@
├── @ CaseMatchNode (location: (175,0)-(175,34))
│ ├── predicate:
│ │ @ CallNode (location: (175,5)-(175,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -4358,7 +4358,7 @@
├── @ CaseMatchNode (location: (176,0)-(176,37))
│ ├── predicate:
│ │ @ CallNode (location: (176,5)-(176,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -4393,7 +4393,7 @@
├── @ CaseMatchNode (location: (177,0)-(177,37))
│ ├── predicate:
│ │ @ CallNode (location: (177,5)-(177,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -4427,7 +4427,7 @@
├── @ CaseMatchNode (location: (178,0)-(178,41))
│ ├── predicate:
│ │ @ CallNode (location: (178,5)-(178,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -4461,7 +4461,7 @@
├── @ CaseMatchNode (location: (179,0)-(179,39))
│ ├── predicate:
│ │ @ CallNode (location: (179,5)-(179,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -4510,7 +4510,7 @@
│ │ @ MatchPredicateNode (location: (181,3)-(181,10))
│ │ ├── value:
│ │ │ @ CallNode (location: (181,3)-(181,4))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :a
@@ -4535,7 +4535,7 @@
├── @ MatchRequiredNode (location: (184,0)-(186,1))
│ ├── value:
│ │ @ CallNode (location: (184,0)-(184,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -4559,7 +4559,7 @@
├── @ MatchPredicateNode (location: (188,0)-(192,1))
│ ├── value:
│ │ @ CallNode (location: (188,0)-(188,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -4612,7 +4612,7 @@
├── @ MatchPredicateNode (location: (194,0)-(194,17))
│ ├── value:
│ │ @ CallNode (location: (194,0)-(194,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -4636,7 +4636,7 @@
├── @ MatchRequiredNode (location: (195,0)-(195,17))
│ ├── value:
│ │ @ CallNode (location: (195,0)-(195,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -4684,7 +4684,7 @@
│ ├── opening_loc: ∅
│ └── closing_loc: ∅
├── @ CallNode (location: (198,0)-(200,3))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
diff --git a/test/prism/snapshots/procs.txt b/test/prism/snapshots/procs.txt
index 3080af8312..1060fb54f4 100644
--- a/test/prism/snapshots/procs.txt
+++ b/test/prism/snapshots/procs.txt
@@ -97,7 +97,7 @@
│ @ StatementsNode (location: (13,5)-(13,8))
│ └── body: (length: 1)
│ └── @ CallNode (location: (13,5)-(13,8))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -117,7 +117,7 @@
│ @ StatementsNode (location: (15,7)-(15,10))
│ └── body: (length: 1)
│ └── @ CallNode (location: (15,7)-(15,10))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
diff --git a/test/prism/snapshots/ranges.txt b/test/prism/snapshots/ranges.txt
index c9dbf26022..317f4164b3 100644
--- a/test/prism/snapshots/ranges.txt
+++ b/test/prism/snapshots/ranges.txt
@@ -42,7 +42,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (7,0)-(7,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -85,7 +85,7 @@
│ │ │ ├── left: ∅
│ │ │ ├── right:
│ │ │ │ @ CallNode (location: (9,10)-(9,13))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :bar
@@ -136,7 +136,7 @@
│ │ │ ├── left: ∅
│ │ │ ├── right:
│ │ │ │ @ CallNode (location: (15,9)-(15,12))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :bar
diff --git a/test/prism/snapshots/regex.txt b/test/prism/snapshots/regex.txt
index 318c1a832a..06c9bc646b 100644
--- a/test/prism/snapshots/regex.txt
+++ b/test/prism/snapshots/regex.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(40,24))
└── body: (length: 21)
├── @ CallNode (location: (1,0)-(1,9))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -66,7 +66,7 @@
│ │ │ │ @ StatementsNode (location: (9,7)-(9,10))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (9,7)-(9,10))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :bbb
@@ -106,7 +106,7 @@
│ │ │ │ │ ├── flags: ∅
│ │ │ │ │ └── arguments: (length: 1)
│ │ │ │ │ └── @ CallNode (location: (11,18)-(11,21))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :baz
@@ -203,7 +203,7 @@
│ │ │ @ StatementsNode (location: (30,7)-(30,10))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (30,7)-(30,10))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bbb
@@ -316,7 +316,7 @@
│ │ └── flags: decimal
│ └── operator_loc: (39,2)-(39,3) = "="
└── @ CallNode (location: (40,0)-(40,24))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :tap
@@ -352,7 +352,7 @@
│ │ │ ├── flags: ∅
│ │ │ └── arguments: (length: 1)
│ │ │ └── @ CallNode (location: (40,18)-(40,22))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :to_s
diff --git a/test/prism/snapshots/rescue.txt b/test/prism/snapshots/rescue.txt
index 12607e8be2..55ae2f2232 100644
--- a/test/prism/snapshots/rescue.txt
+++ b/test/prism/snapshots/rescue.txt
@@ -6,7 +6,7 @@
├── @ RescueModifierNode (location: (1,0)-(1,14))
│ ├── expression:
│ │ @ CallNode (location: (1,0)-(1,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -21,7 +21,7 @@
├── @ RescueModifierNode (location: (3,0)-(4,3))
│ ├── expression:
│ │ @ CallNode (location: (3,0)-(3,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -60,7 +60,7 @@
├── @ RescueModifierNode (location: (12,0)-(12,19))
│ ├── expression:
│ │ @ CallNode (location: (12,0)-(12,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -81,7 +81,7 @@
├── @ RescueModifierNode (location: (14,0)-(14,22))
│ ├── expression:
│ │ @ CallNode (location: (14,0)-(14,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -118,7 +118,7 @@
│ │ @ StatementsNode (location: (16,7)-(16,8))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (16,7)-(16,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -135,7 +135,7 @@
│ │ │ ├── operator_loc: (16,17)-(16,18) = "*"
│ │ │ └── expression:
│ │ │ @ CallNode (location: (16,18)-(16,19))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -152,7 +152,7 @@
│ ├── ensure_clause: ∅
│ └── end_keyword_loc: (16,21)-(16,24) = "end"
├── @ CallNode (location: (18,0)-(20,3))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -186,7 +186,7 @@
│ │ └── @ RescueModifierNode (location: (19,2)-(19,40))
│ │ ├── expression:
│ │ │ @ CallNode (location: (19,2)-(19,8))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -197,7 +197,7 @@
│ │ │ │ ├── flags: ∅
│ │ │ │ └── arguments: (length: 1)
│ │ │ │ └── @ CallNode (location: (19,6)-(19,7))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :y
@@ -211,7 +211,7 @@
│ │ ├── keyword_loc: (19,9)-(19,15) = "rescue"
│ │ └── rescue_expression:
│ │ @ CallNode (location: (19,16)-(19,40))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :ArgumentError
@@ -222,7 +222,7 @@
│ │ │ ├── flags: ∅
│ │ │ └── arguments: (length: 1)
│ │ │ └── @ CallNode (location: (19,30)-(19,40))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :fail
@@ -255,7 +255,7 @@
│ │ │ @ RescueModifierNode (location: (22,7)-(22,21))
│ │ │ ├── expression:
│ │ │ │ @ CallNode (location: (22,7)-(22,10))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :foo
@@ -273,7 +273,7 @@
│ │ @ StatementsNode (location: (23,2)-(23,5))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (23,2)-(23,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -295,7 +295,7 @@
│ │ └── @ RescueModifierNode (location: (26,18)-(26,44))
│ │ ├── expression:
│ │ │ @ CallNode (location: (26,18)-(26,33))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :other_method
@@ -332,7 +332,7 @@
│ │ @ StatementsNode (location: (29,2)-(29,6))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (29,2)-(29,6))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -357,7 +357,7 @@
│ │ │ │ @ ImplicitNode (location: (29,4)-(29,6))
│ │ │ │ └── value:
│ │ │ │ @ CallNode (location: (29,4)-(29,6))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :b
diff --git a/test/prism/snapshots/seattlerb/TestRubyParserShared.txt b/test/prism/snapshots/seattlerb/TestRubyParserShared.txt
index 20da816e25..10e71f786d 100644
--- a/test/prism/snapshots/seattlerb/TestRubyParserShared.txt
+++ b/test/prism/snapshots/seattlerb/TestRubyParserShared.txt
@@ -331,7 +331,7 @@
│ ├── end_keyword_loc: (86,0)-(86,3) = "end"
│ └── name: :X
└── @ CallNode (location: (89,0)-(92,1))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :x
diff --git a/test/prism/snapshots/seattlerb/assoc__bare.txt b/test/prism/snapshots/seattlerb/assoc__bare.txt
index 8707c29593..8f6fe48b47 100644
--- a/test/prism/snapshots/seattlerb/assoc__bare.txt
+++ b/test/prism/snapshots/seattlerb/assoc__bare.txt
@@ -18,7 +18,7 @@
│ │ @ ImplicitNode (location: (1,2)-(1,4))
│ │ └── value:
│ │ @ CallNode (location: (1,2)-(1,4))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :y
diff --git a/test/prism/snapshots/seattlerb/assoc_label.txt b/test/prism/snapshots/seattlerb/assoc_label.txt
index c8526358f5..c6d4327026 100644
--- a/test/prism/snapshots/seattlerb/assoc_label.txt
+++ b/test/prism/snapshots/seattlerb/assoc_label.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,6))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,6))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :a
diff --git a/test/prism/snapshots/seattlerb/attrasgn_array_arg.txt b/test/prism/snapshots/seattlerb/attrasgn_array_arg.txt
index d9e5572292..2c14d9566c 100644
--- a/test/prism/snapshots/seattlerb/attrasgn_array_arg.txt
+++ b/test/prism/snapshots/seattlerb/attrasgn_array_arg.txt
@@ -7,7 +7,7 @@
├── flags: attribute_write
├── receiver:
│ @ CallNode (location: (1,0)-(1,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
diff --git a/test/prism/snapshots/seattlerb/attrasgn_array_lhs.txt b/test/prism/snapshots/seattlerb/attrasgn_array_lhs.txt
index 9a41409dbb..2d8f509a50 100644
--- a/test/prism/snapshots/seattlerb/attrasgn_array_lhs.txt
+++ b/test/prism/snapshots/seattlerb/attrasgn_array_lhs.txt
@@ -31,7 +31,7 @@
│ │ ├── flags: ∅
│ │ ├── left:
│ │ │ @ CallNode (location: (1,13)-(1,17))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :from
@@ -42,7 +42,7 @@
│ │ │ └── block: ∅
│ │ ├── right:
│ │ │ @ CallNode (location: (1,21)-(1,23))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :to
diff --git a/test/prism/snapshots/seattlerb/attrasgn_primary_dot_constant.txt b/test/prism/snapshots/seattlerb/attrasgn_primary_dot_constant.txt
index 74faad3303..5aec9c5c6f 100644
--- a/test/prism/snapshots/seattlerb/attrasgn_primary_dot_constant.txt
+++ b/test/prism/snapshots/seattlerb/attrasgn_primary_dot_constant.txt
@@ -7,7 +7,7 @@
├── flags: attribute_write
├── receiver:
│ @ CallNode (location: (1,0)-(1,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
diff --git a/test/prism/snapshots/seattlerb/backticks_interpolation_line.txt b/test/prism/snapshots/seattlerb/backticks_interpolation_line.txt
index abb7e680d7..67c8be034e 100644
--- a/test/prism/snapshots/seattlerb/backticks_interpolation_line.txt
+++ b/test/prism/snapshots/seattlerb/backticks_interpolation_line.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,8))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,8))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :x
@@ -23,7 +23,7 @@
│ │ │ @ StatementsNode (location: (1,5)-(1,6))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (1,5)-(1,6))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :y
diff --git a/test/prism/snapshots/seattlerb/bdot2.txt b/test/prism/snapshots/seattlerb/bdot2.txt
index ad710a4212..6bb76603c3 100644
--- a/test/prism/snapshots/seattlerb/bdot2.txt
+++ b/test/prism/snapshots/seattlerb/bdot2.txt
@@ -15,7 +15,7 @@
│ ├── left: ∅
│ ├── right:
│ │ @ CallNode (location: (2,4)-(2,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -26,7 +26,7 @@
│ │ └── block: ∅
│ └── operator_loc: (2,2)-(2,4) = ".."
└── @ CallNode (location: (3,2)-(3,3))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :c
diff --git a/test/prism/snapshots/seattlerb/bdot3.txt b/test/prism/snapshots/seattlerb/bdot3.txt
index c9a1097099..27b87b1867 100644
--- a/test/prism/snapshots/seattlerb/bdot3.txt
+++ b/test/prism/snapshots/seattlerb/bdot3.txt
@@ -15,7 +15,7 @@
│ ├── left: ∅
│ ├── right:
│ │ @ CallNode (location: (2,5)-(2,6))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -26,7 +26,7 @@
│ │ └── block: ∅
│ └── operator_loc: (2,2)-(2,5) = "..."
└── @ CallNode (location: (3,2)-(3,3))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :c
diff --git a/test/prism/snapshots/seattlerb/block_arg_kwsplat.txt b/test/prism/snapshots/seattlerb/block_arg_kwsplat.txt
index d503dc7443..bb6b9740a6 100644
--- a/test/prism/snapshots/seattlerb/block_arg_kwsplat.txt
+++ b/test/prism/snapshots/seattlerb/block_arg_kwsplat.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,11))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,11))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :a
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 fd0b46ed83..a5b4a6ea9c 100644
--- a/test/prism/snapshots/seattlerb/block_arg_opt_arg_block.txt
+++ b/test/prism/snapshots/seattlerb/block_arg_opt_arg_block.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,21))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,21))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :a
diff --git a/test/prism/snapshots/seattlerb/block_arg_opt_splat.txt b/test/prism/snapshots/seattlerb/block_arg_opt_splat.txt
index 736fec6ec1..b1b51ce765 100644
--- a/test/prism/snapshots/seattlerb/block_arg_opt_splat.txt
+++ b/test/prism/snapshots/seattlerb/block_arg_opt_splat.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,20))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,20))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :a
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 2b57a0c090..d16f9f1a7e 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
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,25))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,25))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :a
diff --git a/test/prism/snapshots/seattlerb/block_arg_optional.txt b/test/prism/snapshots/seattlerb/block_arg_optional.txt
index 5e28906256..fd0a988dd7 100644
--- a/test/prism/snapshots/seattlerb/block_arg_optional.txt
+++ b/test/prism/snapshots/seattlerb/block_arg_optional.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,13))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,13))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :a
diff --git a/test/prism/snapshots/seattlerb/block_arg_scope.txt b/test/prism/snapshots/seattlerb/block_arg_scope.txt
index 51de82e90a..67a57a4ab8 100644
--- a/test/prism/snapshots/seattlerb/block_arg_scope.txt
+++ b/test/prism/snapshots/seattlerb/block_arg_scope.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,12))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,12))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :a
diff --git a/test/prism/snapshots/seattlerb/block_arg_scope2.txt b/test/prism/snapshots/seattlerb/block_arg_scope2.txt
index 3b4b198d1f..e9cc9ee3d7 100644
--- a/test/prism/snapshots/seattlerb/block_arg_scope2.txt
+++ b/test/prism/snapshots/seattlerb/block_arg_scope2.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,14))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,14))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :a
diff --git a/test/prism/snapshots/seattlerb/block_arg_splat_arg.txt b/test/prism/snapshots/seattlerb/block_arg_splat_arg.txt
index c8aae59285..3670be88e9 100644
--- a/test/prism/snapshots/seattlerb/block_arg_splat_arg.txt
+++ b/test/prism/snapshots/seattlerb/block_arg_splat_arg.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,16))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,16))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :a
diff --git a/test/prism/snapshots/seattlerb/block_args_kwargs.txt b/test/prism/snapshots/seattlerb/block_args_kwargs.txt
index e4d311085d..91233a8f4c 100644
--- a/test/prism/snapshots/seattlerb/block_args_kwargs.txt
+++ b/test/prism/snapshots/seattlerb/block_args_kwargs.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,23))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,23))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/block_args_no_kwargs.txt b/test/prism/snapshots/seattlerb/block_args_no_kwargs.txt
index 70e4084395..bce9b0e2fa 100644
--- a/test/prism/snapshots/seattlerb/block_args_no_kwargs.txt
+++ b/test/prism/snapshots/seattlerb/block_args_no_kwargs.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,13))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,13))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/block_args_opt1.txt b/test/prism/snapshots/seattlerb/block_args_opt1.txt
index 4a5dc9b59b..524971b783 100644
--- a/test/prism/snapshots/seattlerb/block_args_opt1.txt
+++ b/test/prism/snapshots/seattlerb/block_args_opt1.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,24))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,24))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/block_args_opt2.txt b/test/prism/snapshots/seattlerb/block_args_opt2.txt
index af334a87f7..c31456c2c7 100644
--- a/test/prism/snapshots/seattlerb/block_args_opt2.txt
+++ b/test/prism/snapshots/seattlerb/block_args_opt2.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,18))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,18))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :a
diff --git a/test/prism/snapshots/seattlerb/block_args_opt2_2.txt b/test/prism/snapshots/seattlerb/block_args_opt2_2.txt
index ee99843c6f..530d14404e 100644
--- a/test/prism/snapshots/seattlerb/block_args_opt2_2.txt
+++ b/test/prism/snapshots/seattlerb/block_args_opt2_2.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,35))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,35))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/block_args_opt3.txt b/test/prism/snapshots/seattlerb/block_args_opt3.txt
index 016fdc6358..d21aa4e535 100644
--- a/test/prism/snapshots/seattlerb/block_args_opt3.txt
+++ b/test/prism/snapshots/seattlerb/block_args_opt3.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,42))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,42))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/block_break.txt b/test/prism/snapshots/seattlerb/block_break.txt
index 502d60ed40..beaf322ca7 100644
--- a/test/prism/snapshots/seattlerb/block_break.txt
+++ b/test/prism/snapshots/seattlerb/block_break.txt
@@ -9,7 +9,7 @@
│ ├── flags: ∅
│ └── arguments: (length: 1)
│ └── @ CallNode (location: (1,6)-(1,26))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -20,7 +20,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (1,10)-(1,13))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :arg
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 363ee275fa..0bcbe473cd 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
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(4,11))
└── body: (length: 2)
├── @ CallNode (location: (1,0)-(3,4))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -33,7 +33,7 @@
│ │ │ @ StatementsNode (location: (2,1)-(2,2))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (2,1)-(2,2))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :d
@@ -56,7 +56,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (4,1)-(4,2))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :e
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 e49d2b8d01..47360ddd03 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,7 +10,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (1,0)-(1,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -28,7 +28,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (1,4)-(1,7))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :c
@@ -47,7 +47,7 @@
│ │ @ StatementsNode (location: (1,11)-(1,12))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (1,11)-(1,12))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :d
@@ -88,7 +88,7 @@
│ @ StatementsNode (location: (1,26)-(1,27))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,26)-(1,27))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :g
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 0656b2e53e..4c72b78ff8 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,7 +10,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (1,0)-(1,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -28,7 +28,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (1,4)-(1,7))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :c
@@ -47,7 +47,7 @@
│ │ @ StatementsNode (location: (1,11)-(1,12))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (1,11)-(1,12))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :d
@@ -67,7 +67,7 @@
│ ├── flags: ∅
│ └── arguments: (length: 1)
│ └── @ CallNode (location: (1,19)-(1,20))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :f
@@ -101,7 +101,7 @@
│ @ StatementsNode (location: (1,28)-(1,29))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,28)-(1,29))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :h
diff --git a/test/prism/snapshots/seattlerb/block_call_operation_colon.txt b/test/prism/snapshots/seattlerb/block_call_operation_colon.txt
index ebe805b932..9efe4bd674 100644
--- a/test/prism/snapshots/seattlerb/block_call_operation_colon.txt
+++ b/test/prism/snapshots/seattlerb/block_call_operation_colon.txt
@@ -10,7 +10,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (1,0)-(1,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -28,7 +28,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (1,4)-(1,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :c
diff --git a/test/prism/snapshots/seattlerb/block_call_operation_dot.txt b/test/prism/snapshots/seattlerb/block_call_operation_dot.txt
index 1824f897f6..bd98be70c8 100644
--- a/test/prism/snapshots/seattlerb/block_call_operation_dot.txt
+++ b/test/prism/snapshots/seattlerb/block_call_operation_dot.txt
@@ -10,7 +10,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (1,0)-(1,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -28,7 +28,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (1,4)-(1,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :c
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 69e5ddf6fc..2e198fbf28 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
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(2,10))
└── body: (length: 2)
├── @ CallNode (location: (1,0)-(1,5))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -19,7 +19,7 @@
│ │ │ @ StatementsNode (location: (1,3)-(1,4))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (1,3)-(1,4))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -36,7 +36,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (2,0)-(2,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :c
diff --git a/test/prism/snapshots/seattlerb/block_command_operation_colon.txt b/test/prism/snapshots/seattlerb/block_command_operation_colon.txt
index d4d3f88220..5496fb7b47 100644
--- a/test/prism/snapshots/seattlerb/block_command_operation_colon.txt
+++ b/test/prism/snapshots/seattlerb/block_command_operation_colon.txt
@@ -7,7 +7,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (1,0)-(1,11))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
diff --git a/test/prism/snapshots/seattlerb/block_command_operation_dot.txt b/test/prism/snapshots/seattlerb/block_command_operation_dot.txt
index 2fc6674e4c..f6a52af23d 100644
--- a/test/prism/snapshots/seattlerb/block_command_operation_dot.txt
+++ b/test/prism/snapshots/seattlerb/block_command_operation_dot.txt
@@ -7,7 +7,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (1,0)-(1,11))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
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 d3de3562a6..8b02d32e05 100644
--- a/test/prism/snapshots/seattlerb/block_decomp_anon_splat_arg.txt
+++ b/test/prism/snapshots/seattlerb/block_decomp_anon_splat_arg.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,14))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,14))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/block_decomp_arg_splat.txt b/test/prism/snapshots/seattlerb/block_decomp_arg_splat.txt
index dcb4415a70..7c9783f695 100644
--- a/test/prism/snapshots/seattlerb/block_decomp_arg_splat.txt
+++ b/test/prism/snapshots/seattlerb/block_decomp_arg_splat.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,14))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,14))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :a
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 52a7a6b7f8..d5a8d7cbac 100644
--- a/test/prism/snapshots/seattlerb/block_decomp_arg_splat_arg.txt
+++ b/test/prism/snapshots/seattlerb/block_decomp_arg_splat_arg.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,18))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,18))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/block_decomp_splat.txt b/test/prism/snapshots/seattlerb/block_decomp_splat.txt
index 4be5573522..cc41dd84ac 100644
--- a/test/prism/snapshots/seattlerb/block_decomp_splat.txt
+++ b/test/prism/snapshots/seattlerb/block_decomp_splat.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,12))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,12))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/block_kw.txt b/test/prism/snapshots/seattlerb/block_kw.txt
index fa7cce4870..344793c40d 100644
--- a/test/prism/snapshots/seattlerb/block_kw.txt
+++ b/test/prism/snapshots/seattlerb/block_kw.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,15))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,15))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :blah
diff --git a/test/prism/snapshots/seattlerb/block_kw__required.txt b/test/prism/snapshots/seattlerb/block_kw__required.txt
index 6636ce987a..0a4c5e72e9 100644
--- a/test/prism/snapshots/seattlerb/block_kw__required.txt
+++ b/test/prism/snapshots/seattlerb/block_kw__required.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,16))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,16))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :blah
diff --git a/test/prism/snapshots/seattlerb/block_kwarg_lvar.txt b/test/prism/snapshots/seattlerb/block_kwarg_lvar.txt
index 6eee362895..f41cb228ae 100644
--- a/test/prism/snapshots/seattlerb/block_kwarg_lvar.txt
+++ b/test/prism/snapshots/seattlerb/block_kwarg_lvar.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,20))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,20))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :bl
diff --git a/test/prism/snapshots/seattlerb/block_kwarg_lvar_multiple.txt b/test/prism/snapshots/seattlerb/block_kwarg_lvar_multiple.txt
index 3d6ed902f1..c353854a04 100644
--- a/test/prism/snapshots/seattlerb/block_kwarg_lvar_multiple.txt
+++ b/test/prism/snapshots/seattlerb/block_kwarg_lvar_multiple.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,33))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,33))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :bl
diff --git a/test/prism/snapshots/seattlerb/block_next.txt b/test/prism/snapshots/seattlerb/block_next.txt
index a72f57490e..d43e301412 100644
--- a/test/prism/snapshots/seattlerb/block_next.txt
+++ b/test/prism/snapshots/seattlerb/block_next.txt
@@ -9,7 +9,7 @@
│ ├── flags: ∅
│ └── arguments: (length: 1)
│ └── @ CallNode (location: (1,5)-(1,25))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -20,7 +20,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (1,9)-(1,12))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :arg
diff --git a/test/prism/snapshots/seattlerb/block_opt_arg.txt b/test/prism/snapshots/seattlerb/block_opt_arg.txt
index c0e90ed132..9a0539458c 100644
--- a/test/prism/snapshots/seattlerb/block_opt_arg.txt
+++ b/test/prism/snapshots/seattlerb/block_opt_arg.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,14))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,14))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :a
diff --git a/test/prism/snapshots/seattlerb/block_opt_splat.txt b/test/prism/snapshots/seattlerb/block_opt_splat.txt
index dfdd8926cd..9cc74fda4c 100644
--- a/test/prism/snapshots/seattlerb/block_opt_splat.txt
+++ b/test/prism/snapshots/seattlerb/block_opt_splat.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,17))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,17))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :a
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 444baeb8d0..ca0b2414ea 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
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,22))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,22))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :a
diff --git a/test/prism/snapshots/seattlerb/block_optarg.txt b/test/prism/snapshots/seattlerb/block_optarg.txt
index 052299e44b..5e63cc3636 100644
--- a/test/prism/snapshots/seattlerb/block_optarg.txt
+++ b/test/prism/snapshots/seattlerb/block_optarg.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,14))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,14))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :a
diff --git a/test/prism/snapshots/seattlerb/block_paren_splat.txt b/test/prism/snapshots/seattlerb/block_paren_splat.txt
index a34e0bca37..e17dc52702 100644
--- a/test/prism/snapshots/seattlerb/block_paren_splat.txt
+++ b/test/prism/snapshots/seattlerb/block_paren_splat.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,15))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,15))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :a
diff --git a/test/prism/snapshots/seattlerb/block_reg_optarg.txt b/test/prism/snapshots/seattlerb/block_reg_optarg.txt
index cad3954495..8a43bec7d0 100644
--- a/test/prism/snapshots/seattlerb/block_reg_optarg.txt
+++ b/test/prism/snapshots/seattlerb/block_reg_optarg.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,17))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,17))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :a
diff --git a/test/prism/snapshots/seattlerb/block_return.txt b/test/prism/snapshots/seattlerb/block_return.txt
index 3764cac9c8..32f24f3312 100644
--- a/test/prism/snapshots/seattlerb/block_return.txt
+++ b/test/prism/snapshots/seattlerb/block_return.txt
@@ -10,7 +10,7 @@
├── flags: ∅
└── arguments: (length: 1)
└── @ CallNode (location: (1,7)-(1,27))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :foo
@@ -21,7 +21,7 @@
│ ├── flags: ∅
│ └── arguments: (length: 1)
│ └── @ CallNode (location: (1,11)-(1,14))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :arg
diff --git a/test/prism/snapshots/seattlerb/block_scope.txt b/test/prism/snapshots/seattlerb/block_scope.txt
index cccf6b79a2..f84212af5d 100644
--- a/test/prism/snapshots/seattlerb/block_scope.txt
+++ b/test/prism/snapshots/seattlerb/block_scope.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,10))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,10))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :a
diff --git a/test/prism/snapshots/seattlerb/block_splat_reg.txt b/test/prism/snapshots/seattlerb/block_splat_reg.txt
index 0cf4b62f7d..7ea8f5d05c 100644
--- a/test/prism/snapshots/seattlerb/block_splat_reg.txt
+++ b/test/prism/snapshots/seattlerb/block_splat_reg.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,13))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,13))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :a
diff --git a/test/prism/snapshots/seattlerb/bug169.txt b/test/prism/snapshots/seattlerb/bug169.txt
index 22d8e4c48f..f3cde864b5 100644
--- a/test/prism/snapshots/seattlerb/bug169.txt
+++ b/test/prism/snapshots/seattlerb/bug169.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,7))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,7))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :m
diff --git a/test/prism/snapshots/seattlerb/bug179.txt b/test/prism/snapshots/seattlerb/bug179.txt
index 11620b2dea..d7695bc7a7 100644
--- a/test/prism/snapshots/seattlerb/bug179.txt
+++ b/test/prism/snapshots/seattlerb/bug179.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,9))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,9))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :p
diff --git a/test/prism/snapshots/seattlerb/bug191.txt b/test/prism/snapshots/seattlerb/bug191.txt
index b9cbac0d1c..69835ab1d0 100644
--- a/test/prism/snapshots/seattlerb/bug191.txt
+++ b/test/prism/snapshots/seattlerb/bug191.txt
@@ -7,7 +7,7 @@
│ ├── if_keyword_loc: ∅
│ ├── predicate:
│ │ @ CallNode (location: (1,0)-(1,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -33,7 +33,7 @@
│ │ │ @ StatementsNode (location: (1,8)-(1,9))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (1,8)-(1,9))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -48,7 +48,7 @@
├── if_keyword_loc: ∅
├── predicate:
│ @ CallNode (location: (3,0)-(3,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -74,7 +74,7 @@
│ │ @ StatementsNode (location: (3,8)-(3,9))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (3,8)-(3,9))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
diff --git a/test/prism/snapshots/seattlerb/bug236.txt b/test/prism/snapshots/seattlerb/bug236.txt
index 65339efa8b..b5815e152e 100644
--- a/test/prism/snapshots/seattlerb/bug236.txt
+++ b/test/prism/snapshots/seattlerb/bug236.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(3,6))
└── body: (length: 2)
├── @ CallNode (location: (1,0)-(1,7))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :x
@@ -37,7 +37,7 @@
│ ├── opening_loc: (1,1)-(1,2) = "{"
│ └── closing_loc: (1,6)-(1,7) = "}"
└── @ CallNode (location: (3,0)-(3,6))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :x
diff --git a/test/prism/snapshots/seattlerb/bug290.txt b/test/prism/snapshots/seattlerb/bug290.txt
index e0633eb815..4f1e673c4b 100644
--- a/test/prism/snapshots/seattlerb/bug290.txt
+++ b/test/prism/snapshots/seattlerb/bug290.txt
@@ -9,7 +9,7 @@
│ @ StatementsNode (location: (2,2)-(2,5))
│ └── body: (length: 1)
│ └── @ CallNode (location: (2,2)-(2,5))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
diff --git a/test/prism/snapshots/seattlerb/bug_187.txt b/test/prism/snapshots/seattlerb/bug_187.txt
index 5630cbf9c9..06248a9760 100644
--- a/test/prism/snapshots/seattlerb/bug_187.txt
+++ b/test/prism/snapshots/seattlerb/bug_187.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(3,3))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(3,3))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :private
@@ -26,7 +26,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (2,0)-(2,1))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :a
diff --git a/test/prism/snapshots/seattlerb/bug_249.txt b/test/prism/snapshots/seattlerb/bug_249.txt
index c293491429..9b0e0d2482 100644
--- a/test/prism/snapshots/seattlerb/bug_249.txt
+++ b/test/prism/snapshots/seattlerb/bug_249.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(4,28))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(4,28))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :mount
diff --git a/test/prism/snapshots/seattlerb/bug_args__19.txt b/test/prism/snapshots/seattlerb/bug_args__19.txt
index e2617df20f..92b1628c46 100644
--- a/test/prism/snapshots/seattlerb/bug_args__19.txt
+++ b/test/prism/snapshots/seattlerb/bug_args__19.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,16))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,16))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
@@ -44,7 +44,7 @@
│ @ StatementsNode (location: (1,13)-(1,14))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,13)-(1,14))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :d
diff --git a/test/prism/snapshots/seattlerb/bug_args_masgn.txt b/test/prism/snapshots/seattlerb/bug_args_masgn.txt
index 3ee3dd05ec..b71736c49d 100644
--- a/test/prism/snapshots/seattlerb/bug_args_masgn.txt
+++ b/test/prism/snapshots/seattlerb/bug_args_masgn.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,17))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,17))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/bug_args_masgn2.txt b/test/prism/snapshots/seattlerb/bug_args_masgn2.txt
index 3de9e976d1..1b19f520e4 100644
--- a/test/prism/snapshots/seattlerb/bug_args_masgn2.txt
+++ b/test/prism/snapshots/seattlerb/bug_args_masgn2.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,22))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,22))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
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 4278d58a00..d5a2c6264f 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
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,19))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,19))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/bug_call_arglist_parens.txt b/test/prism/snapshots/seattlerb/bug_call_arglist_parens.txt
index 5056fe6d70..d65ec901c3 100644
--- a/test/prism/snapshots/seattlerb/bug_call_arglist_parens.txt
+++ b/test/prism/snapshots/seattlerb/bug_call_arglist_parens.txt
@@ -12,7 +12,7 @@
│ │ @ StatementsNode (location: (2,8)-(2,17))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (2,8)-(2,17))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :g
@@ -51,7 +51,7 @@
│ │ @ StatementsNode (location: (7,8)-(7,16))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (7,8)-(7,16))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :g
@@ -82,7 +82,7 @@
│ ├── equal_loc: ∅
│ └── end_keyword_loc: (8,6)-(8,9) = "end"
└── @ CallNode (location: (11,0)-(11,9))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :g
diff --git a/test/prism/snapshots/seattlerb/bug_comma.txt b/test/prism/snapshots/seattlerb/bug_comma.txt
index 42815e0dfe..af886999b5 100644
--- a/test/prism/snapshots/seattlerb/bug_comma.txt
+++ b/test/prism/snapshots/seattlerb/bug_comma.txt
@@ -7,7 +7,7 @@
├── if_keyword_loc: (1,0)-(1,2) = "if"
├── predicate:
│ @ CallNode (location: (1,3)-(1,15))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :test
@@ -24,7 +24,7 @@
│ │ │ ├── closing_loc: ∅
│ │ │ └── unescaped: "d"
│ │ └── @ CallNode (location: (1,12)-(1,15))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :dir
diff --git a/test/prism/snapshots/seattlerb/bug_hash_args.txt b/test/prism/snapshots/seattlerb/bug_hash_args.txt
index 7900bbe0d1..08ae7df319 100644
--- a/test/prism/snapshots/seattlerb/bug_hash_args.txt
+++ b/test/prism/snapshots/seattlerb/bug_hash_args.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,19))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,19))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :foo
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 2b2b246226..9c984f81a1 100644
--- a/test/prism/snapshots/seattlerb/bug_hash_args_trailing_comma.txt
+++ b/test/prism/snapshots/seattlerb/bug_hash_args_trailing_comma.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,20))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,20))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :foo
diff --git a/test/prism/snapshots/seattlerb/bug_masgn_right.txt b/test/prism/snapshots/seattlerb/bug_masgn_right.txt
index 194b01f281..d68ac5ecfc 100644
--- a/test/prism/snapshots/seattlerb/bug_masgn_right.txt
+++ b/test/prism/snapshots/seattlerb/bug_masgn_right.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,17))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,17))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/bug_not_parens.txt b/test/prism/snapshots/seattlerb/bug_not_parens.txt
index c5157a0ed9..9e4a416d4a 100644
--- a/test/prism/snapshots/seattlerb/bug_not_parens.txt
+++ b/test/prism/snapshots/seattlerb/bug_not_parens.txt
@@ -7,7 +7,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (1,4)-(1,5))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
diff --git a/test/prism/snapshots/seattlerb/bug_op_asgn_rescue.txt b/test/prism/snapshots/seattlerb/bug_op_asgn_rescue.txt
index b31d4a19b6..33016f32f8 100644
--- a/test/prism/snapshots/seattlerb/bug_op_asgn_rescue.txt
+++ b/test/prism/snapshots/seattlerb/bug_op_asgn_rescue.txt
@@ -10,7 +10,7 @@
│ @ RescueModifierNode (location: (1,6)-(1,18))
│ ├── expression:
│ │ @ CallNode (location: (1,6)-(1,7))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
diff --git a/test/prism/snapshots/seattlerb/call_arg_assoc.txt b/test/prism/snapshots/seattlerb/call_arg_assoc.txt
index b52ba53930..f547c2183e 100644
--- a/test/prism/snapshots/seattlerb/call_arg_assoc.txt
+++ b/test/prism/snapshots/seattlerb/call_arg_assoc.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,10))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,10))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/call_arg_assoc_kwsplat.txt b/test/prism/snapshots/seattlerb/call_arg_assoc_kwsplat.txt
index 9a052beffa..a9399ca184 100644
--- a/test/prism/snapshots/seattlerb/call_arg_assoc_kwsplat.txt
+++ b/test/prism/snapshots/seattlerb/call_arg_assoc_kwsplat.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,16))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,16))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/call_arg_kwsplat.txt b/test/prism/snapshots/seattlerb/call_arg_kwsplat.txt
index dab497db45..ecb8157723 100644
--- a/test/prism/snapshots/seattlerb/call_arg_kwsplat.txt
+++ b/test/prism/snapshots/seattlerb/call_arg_kwsplat.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,9))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,9))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :a
@@ -15,7 +15,7 @@
│ ├── flags: contains_keyword_splat
│ └── arguments: (length: 2)
│ ├── @ CallNode (location: (1,2)-(1,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
diff --git a/test/prism/snapshots/seattlerb/call_args_assoc_quoted.txt b/test/prism/snapshots/seattlerb/call_args_assoc_quoted.txt
index 9426531d5c..41ec2209e1 100644
--- a/test/prism/snapshots/seattlerb/call_args_assoc_quoted.txt
+++ b/test/prism/snapshots/seattlerb/call_args_assoc_quoted.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(5,8))
└── body: (length: 3)
├── @ CallNode (location: (1,0)-(1,11))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :x
@@ -28,7 +28,7 @@
│ │ │ │ │ @ StatementsNode (location: (1,5)-(1,6))
│ │ │ │ │ └── body: (length: 1)
│ │ │ │ │ └── @ CallNode (location: (1,5)-(1,6))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :k
@@ -46,7 +46,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (3,0)-(3,8))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :x
@@ -74,7 +74,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
└── @ CallNode (location: (5,0)-(5,8))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :x
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 ae1e2be40d..0cd275ee71 100644
--- a/test/prism/snapshots/seattlerb/call_args_assoc_trailing_comma.txt
+++ b/test/prism/snapshots/seattlerb/call_args_assoc_trailing_comma.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,11))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,11))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/call_args_command.txt b/test/prism/snapshots/seattlerb/call_args_command.txt
index c371dda3f4..a8ef0c14db 100644
--- a/test/prism/snapshots/seattlerb/call_args_command.txt
+++ b/test/prism/snapshots/seattlerb/call_args_command.txt
@@ -7,7 +7,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (1,0)-(1,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -28,7 +28,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (1,4)-(1,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :c
diff --git a/test/prism/snapshots/seattlerb/call_array_block_call.txt b/test/prism/snapshots/seattlerb/call_array_block_call.txt
index c75ddc8272..521da4a202 100644
--- a/test/prism/snapshots/seattlerb/call_array_block_call.txt
+++ b/test/prism/snapshots/seattlerb/call_array_block_call.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,19))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,19))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :a
@@ -19,7 +19,7 @@
│ ├── elements: (length: 2)
│ │ ├── @ NilNode (location: (1,4)-(1,7))
│ │ └── @ CallNode (location: (1,9)-(1,17))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
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 04900f9b39..ad2344e519 100644
--- a/test/prism/snapshots/seattlerb/call_array_lambda_block_call.txt
+++ b/test/prism/snapshots/seattlerb/call_array_lambda_block_call.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(2,3))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(2,3))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :a
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 f572729b8a..e13af7c62f 100644
--- a/test/prism/snapshots/seattlerb/call_array_lit_inline_hash.txt
+++ b/test/prism/snapshots/seattlerb/call_array_lit_inline_hash.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,16))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,16))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :a
diff --git a/test/prism/snapshots/seattlerb/call_assoc.txt b/test/prism/snapshots/seattlerb/call_assoc.txt
index ac3a0e1ebf..58ef23e7ec 100644
--- a/test/prism/snapshots/seattlerb/call_assoc.txt
+++ b/test/prism/snapshots/seattlerb/call_assoc.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,7))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,7))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/call_assoc_new.txt b/test/prism/snapshots/seattlerb/call_assoc_new.txt
index decf68ae6e..26f7c6fc43 100644
--- a/test/prism/snapshots/seattlerb/call_assoc_new.txt
+++ b/test/prism/snapshots/seattlerb/call_assoc_new.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,6))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,6))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
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 c9e0ff9693..65d725f320 100644
--- a/test/prism/snapshots/seattlerb/call_assoc_new_if_multiline.txt
+++ b/test/prism/snapshots/seattlerb/call_assoc_new_if_multiline.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(5,4))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(5,4))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :a
diff --git a/test/prism/snapshots/seattlerb/call_assoc_trailing_comma.txt b/test/prism/snapshots/seattlerb/call_assoc_trailing_comma.txt
index 18e937c55c..dbc5d9095a 100644
--- a/test/prism/snapshots/seattlerb/call_assoc_trailing_comma.txt
+++ b/test/prism/snapshots/seattlerb/call_assoc_trailing_comma.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,8))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,8))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/call_bang_command_call.txt b/test/prism/snapshots/seattlerb/call_bang_command_call.txt
index 1631f7dd6e..2dca64ab31 100644
--- a/test/prism/snapshots/seattlerb/call_bang_command_call.txt
+++ b/test/prism/snapshots/seattlerb/call_bang_command_call.txt
@@ -10,7 +10,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (1,2)-(1,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
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 037ab33222..2ce751ae22 100644
--- a/test/prism/snapshots/seattlerb/call_begin_call_block_call.txt
+++ b/test/prism/snapshots/seattlerb/call_begin_call_block_call.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(3,3))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(3,3))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :a
@@ -23,7 +23,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (2,0)-(2,1))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
diff --git a/test/prism/snapshots/seattlerb/call_block_arg_named.txt b/test/prism/snapshots/seattlerb/call_block_arg_named.txt
index 24e9dd6cc9..f87c29cf2e 100644
--- a/test/prism/snapshots/seattlerb/call_block_arg_named.txt
+++ b/test/prism/snapshots/seattlerb/call_block_arg_named.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,6))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,6))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :x
@@ -16,7 +16,7 @@
@ BlockArgumentNode (location: (1,2)-(1,6))
├── expression:
│ @ CallNode (location: (1,3)-(1,6))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :blk
diff --git a/test/prism/snapshots/seattlerb/call_env.txt b/test/prism/snapshots/seattlerb/call_env.txt
index 7b502cf511..fd1f95388e 100644
--- a/test/prism/snapshots/seattlerb/call_env.txt
+++ b/test/prism/snapshots/seattlerb/call_env.txt
@@ -7,7 +7,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (1,0)-(1,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
diff --git a/test/prism/snapshots/seattlerb/call_kwsplat.txt b/test/prism/snapshots/seattlerb/call_kwsplat.txt
index 04eab025f8..f3570bbe13 100644
--- a/test/prism/snapshots/seattlerb/call_kwsplat.txt
+++ b/test/prism/snapshots/seattlerb/call_kwsplat.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,6))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,6))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :a
diff --git a/test/prism/snapshots/seattlerb/call_leading_dots.txt b/test/prism/snapshots/seattlerb/call_leading_dots.txt
index 943dd871d3..e8435d7e7a 100644
--- a/test/prism/snapshots/seattlerb/call_leading_dots.txt
+++ b/test/prism/snapshots/seattlerb/call_leading_dots.txt
@@ -10,7 +10,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (1,0)-(1,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
diff --git a/test/prism/snapshots/seattlerb/call_leading_dots_comment.txt b/test/prism/snapshots/seattlerb/call_leading_dots_comment.txt
index bebe26f994..e5dfb72372 100644
--- a/test/prism/snapshots/seattlerb/call_leading_dots_comment.txt
+++ b/test/prism/snapshots/seattlerb/call_leading_dots_comment.txt
@@ -10,7 +10,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (1,0)-(1,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
diff --git a/test/prism/snapshots/seattlerb/call_self_brackets.txt b/test/prism/snapshots/seattlerb/call_self_brackets.txt
index f5652a807e..0e03b3dfdf 100644
--- a/test/prism/snapshots/seattlerb/call_self_brackets.txt
+++ b/test/prism/snapshots/seattlerb/call_self_brackets.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,7))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,7))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver:
│ @ SelfNode (location: (1,0)-(1,4))
├── call_operator_loc: ∅
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 4f3ba3bac8..180f03b4e3 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
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,22))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,22))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :a
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 34c65e80f1..a02923b521 100644
--- a/test/prism/snapshots/seattlerb/call_stabby_with_braces_block.txt
+++ b/test/prism/snapshots/seattlerb/call_stabby_with_braces_block.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,19))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,19))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :a
diff --git a/test/prism/snapshots/seattlerb/call_trailing_comma.txt b/test/prism/snapshots/seattlerb/call_trailing_comma.txt
index 0e0dd27e38..84c34d2e9e 100644
--- a/test/prism/snapshots/seattlerb/call_trailing_comma.txt
+++ b/test/prism/snapshots/seattlerb/call_trailing_comma.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,5))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,5))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/call_trailing_dots.txt b/test/prism/snapshots/seattlerb/call_trailing_dots.txt
index f0f374f3d4..b0e23eb27b 100644
--- a/test/prism/snapshots/seattlerb/call_trailing_dots.txt
+++ b/test/prism/snapshots/seattlerb/call_trailing_dots.txt
@@ -10,7 +10,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (1,0)-(1,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
diff --git a/test/prism/snapshots/seattlerb/case_in.txt b/test/prism/snapshots/seattlerb/case_in.txt
index 53bc2bc367..26a3642dc7 100644
--- a/test/prism/snapshots/seattlerb/case_in.txt
+++ b/test/prism/snapshots/seattlerb/case_in.txt
@@ -771,7 +771,7 @@
│ │ │ │ └── @ PinnedExpressionNode (location: (90,4)-(90,8))
│ │ │ │ ├── expression:
│ │ │ │ │ @ CallNode (location: (90,6)-(90,7))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :a
diff --git a/test/prism/snapshots/seattlerb/dasgn_icky2.txt b/test/prism/snapshots/seattlerb/dasgn_icky2.txt
index 83497a3c72..881c3ce188 100644
--- a/test/prism/snapshots/seattlerb/dasgn_icky2.txt
+++ b/test/prism/snapshots/seattlerb/dasgn_icky2.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(8,3))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(8,3))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :a
diff --git a/test/prism/snapshots/seattlerb/defn_arg_forward_args.txt b/test/prism/snapshots/seattlerb/defn_arg_forward_args.txt
index 85f50a79ce..4124819bb0 100644
--- a/test/prism/snapshots/seattlerb/defn_arg_forward_args.txt
+++ b/test/prism/snapshots/seattlerb/defn_arg_forward_args.txt
@@ -23,7 +23,7 @@
│ @ StatementsNode (location: (1,15)-(1,24))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,15)-(1,24))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :b
diff --git a/test/prism/snapshots/seattlerb/defn_args_forward_args.txt b/test/prism/snapshots/seattlerb/defn_args_forward_args.txt
index e78a807e1c..5f718c1546 100644
--- a/test/prism/snapshots/seattlerb/defn_args_forward_args.txt
+++ b/test/prism/snapshots/seattlerb/defn_args_forward_args.txt
@@ -27,7 +27,7 @@
│ @ StatementsNode (location: (1,21)-(1,36))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,21)-(1,36))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :b
diff --git a/test/prism/snapshots/seattlerb/defn_endless_command.txt b/test/prism/snapshots/seattlerb/defn_endless_command.txt
index f578856927..ae1a32bb27 100644
--- a/test/prism/snapshots/seattlerb/defn_endless_command.txt
+++ b/test/prism/snapshots/seattlerb/defn_endless_command.txt
@@ -12,7 +12,7 @@
│ @ StatementsNode (location: (1,18)-(1,33))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,18)-(1,33))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :other_method
diff --git a/test/prism/snapshots/seattlerb/defn_endless_command_rescue.txt b/test/prism/snapshots/seattlerb/defn_endless_command_rescue.txt
index 3a1736771e..d649437c30 100644
--- a/test/prism/snapshots/seattlerb/defn_endless_command_rescue.txt
+++ b/test/prism/snapshots/seattlerb/defn_endless_command_rescue.txt
@@ -14,7 +14,7 @@
│ └── @ RescueModifierNode (location: (1,18)-(1,43))
│ ├── expression:
│ │ @ CallNode (location: (1,18)-(1,33))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :other_method
diff --git a/test/prism/snapshots/seattlerb/defn_forward_args.txt b/test/prism/snapshots/seattlerb/defn_forward_args.txt
index 2b0af43df0..4782e055ec 100644
--- a/test/prism/snapshots/seattlerb/defn_forward_args.txt
+++ b/test/prism/snapshots/seattlerb/defn_forward_args.txt
@@ -21,7 +21,7 @@
│ @ StatementsNode (location: (1,12)-(1,18))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,12)-(1,18))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :b
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 ad3c108dc2..c357b76bed 100644
--- a/test/prism/snapshots/seattlerb/defn_forward_args__no_parens.txt
+++ b/test/prism/snapshots/seattlerb/defn_forward_args__no_parens.txt
@@ -21,7 +21,7 @@
│ @ StatementsNode (location: (2,2)-(2,8))
│ └── body: (length: 1)
│ └── @ CallNode (location: (2,2)-(2,8))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :m
diff --git a/test/prism/snapshots/seattlerb/defn_kwarg_env.txt b/test/prism/snapshots/seattlerb/defn_kwarg_env.txt
index e562b6729b..933af33cda 100644
--- a/test/prism/snapshots/seattlerb/defn_kwarg_env.txt
+++ b/test/prism/snapshots/seattlerb/defn_kwarg_env.txt
@@ -24,7 +24,7 @@
│ @ StatementsNode (location: (1,20)-(1,41))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,20)-(1,41))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :test_splat
diff --git a/test/prism/snapshots/seattlerb/defn_oneliner.txt b/test/prism/snapshots/seattlerb/defn_oneliner.txt
index 02e070dddd..38191d0f5a 100644
--- a/test/prism/snapshots/seattlerb/defn_oneliner.txt
+++ b/test/prism/snapshots/seattlerb/defn_oneliner.txt
@@ -22,7 +22,7 @@
│ @ StatementsNode (location: (1,16)-(1,27))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,16)-(1,27))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :system
diff --git a/test/prism/snapshots/seattlerb/defn_oneliner_noargs.txt b/test/prism/snapshots/seattlerb/defn_oneliner_noargs.txt
index da1c11496e..5ca8fcad64 100644
--- a/test/prism/snapshots/seattlerb/defn_oneliner_noargs.txt
+++ b/test/prism/snapshots/seattlerb/defn_oneliner_noargs.txt
@@ -12,7 +12,7 @@
│ @ StatementsNode (location: (1,11)-(1,17))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,11)-(1,17))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :system
diff --git a/test/prism/snapshots/seattlerb/defn_oneliner_noargs_parentheses.txt b/test/prism/snapshots/seattlerb/defn_oneliner_noargs_parentheses.txt
index 965d8b9bb3..6f02f29508 100644
--- a/test/prism/snapshots/seattlerb/defn_oneliner_noargs_parentheses.txt
+++ b/test/prism/snapshots/seattlerb/defn_oneliner_noargs_parentheses.txt
@@ -12,7 +12,7 @@
│ @ StatementsNode (location: (1,13)-(1,19))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,13)-(1,19))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :system
diff --git a/test/prism/snapshots/seattlerb/defn_oneliner_rescue.txt b/test/prism/snapshots/seattlerb/defn_oneliner_rescue.txt
index ad58ae383c..ebabc02c97 100644
--- a/test/prism/snapshots/seattlerb/defn_oneliner_rescue.txt
+++ b/test/prism/snapshots/seattlerb/defn_oneliner_rescue.txt
@@ -25,7 +25,7 @@
│ │ │ @ StatementsNode (location: (2,2)-(2,13))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (2,2)-(2,13))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :system
@@ -83,7 +83,7 @@
│ │ └── @ RescueModifierNode (location: (9,2)-(9,24))
│ │ ├── expression:
│ │ │ @ CallNode (location: (9,2)-(9,13))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :system
@@ -130,7 +130,7 @@
│ └── @ RescueModifierNode (location: (13,16)-(13,38))
│ ├── expression:
│ │ @ CallNode (location: (13,16)-(13,27))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :system
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 0e07d3e05c..09dfef8a25 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
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,30))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,30))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :p
@@ -27,7 +27,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (1,14)-(1,15))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :x
diff --git a/test/prism/snapshots/seattlerb/defs_endless_command.txt b/test/prism/snapshots/seattlerb/defs_endless_command.txt
index b9d926662a..d9b75ea865 100644
--- a/test/prism/snapshots/seattlerb/defs_endless_command.txt
+++ b/test/prism/snapshots/seattlerb/defs_endless_command.txt
@@ -8,7 +8,7 @@
├── name_loc: (1,6)-(1,17) = "some_method"
├── receiver:
│ @ CallNode (location: (1,4)-(1,5))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :x
@@ -22,7 +22,7 @@
│ @ StatementsNode (location: (1,20)-(1,35))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,20)-(1,35))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :other_method
diff --git a/test/prism/snapshots/seattlerb/defs_endless_command_rescue.txt b/test/prism/snapshots/seattlerb/defs_endless_command_rescue.txt
index 0ac0ca2479..72379d9337 100644
--- a/test/prism/snapshots/seattlerb/defs_endless_command_rescue.txt
+++ b/test/prism/snapshots/seattlerb/defs_endless_command_rescue.txt
@@ -8,7 +8,7 @@
├── name_loc: (1,6)-(1,17) = "some_method"
├── receiver:
│ @ CallNode (location: (1,4)-(1,5))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :x
@@ -24,7 +24,7 @@
│ └── @ RescueModifierNode (location: (1,20)-(1,45))
│ ├── expression:
│ │ @ CallNode (location: (1,20)-(1,35))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :other_method
diff --git a/test/prism/snapshots/seattlerb/defs_oneliner.txt b/test/prism/snapshots/seattlerb/defs_oneliner.txt
index e7f981c895..e1ae681bb3 100644
--- a/test/prism/snapshots/seattlerb/defs_oneliner.txt
+++ b/test/prism/snapshots/seattlerb/defs_oneliner.txt
@@ -23,7 +23,7 @@
│ @ StatementsNode (location: (1,21)-(1,32))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,21)-(1,32))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :system
diff --git a/test/prism/snapshots/seattlerb/defs_oneliner_rescue.txt b/test/prism/snapshots/seattlerb/defs_oneliner_rescue.txt
index e5acf45e76..69f7b9986d 100644
--- a/test/prism/snapshots/seattlerb/defs_oneliner_rescue.txt
+++ b/test/prism/snapshots/seattlerb/defs_oneliner_rescue.txt
@@ -26,7 +26,7 @@
│ │ │ @ StatementsNode (location: (2,2)-(2,13))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (2,2)-(2,13))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :system
@@ -85,7 +85,7 @@
│ │ └── @ RescueModifierNode (location: (9,2)-(9,24))
│ │ ├── expression:
│ │ │ @ CallNode (location: (9,2)-(9,13))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :system
@@ -133,7 +133,7 @@
│ └── @ RescueModifierNode (location: (13,21)-(13,43))
│ ├── expression:
│ │ @ CallNode (location: (13,21)-(13,32))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :system
diff --git a/test/prism/snapshots/seattlerb/difficult0_.txt b/test/prism/snapshots/seattlerb/difficult0_.txt
index d5b6a87c1e..251a80125d 100644
--- a/test/prism/snapshots/seattlerb/difficult0_.txt
+++ b/test/prism/snapshots/seattlerb/difficult0_.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(4,8))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(4,8))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :p
diff --git a/test/prism/snapshots/seattlerb/difficult1_line_numbers.txt b/test/prism/snapshots/seattlerb/difficult1_line_numbers.txt
index 646a365ef0..134993db01 100644
--- a/test/prism/snapshots/seattlerb/difficult1_line_numbers.txt
+++ b/test/prism/snapshots/seattlerb/difficult1_line_numbers.txt
@@ -12,7 +12,7 @@
│ @ StatementsNode (location: (2,2)-(11,11))
│ └── body: (length: 10)
│ ├── @ CallNode (location: (2,2)-(2,5))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :p
@@ -30,7 +30,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (3,2)-(3,3))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :a
@@ -55,7 +55,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (4,2)-(4,3))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :c
@@ -82,7 +82,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (5,2)-(5,3))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :e
@@ -107,7 +107,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (6,2)-(6,3))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :g
@@ -131,7 +131,7 @@
│ │ ├── closing_loc: ∅
│ │ └── block: ∅
│ ├── @ CallNode (location: (7,2)-(7,6))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :p
@@ -149,7 +149,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (8,2)-(8,3))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :a
@@ -174,7 +174,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (9,2)-(9,3))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :c
@@ -201,7 +201,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (10,2)-(10,3))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :e
@@ -226,7 +226,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (11,2)-(11,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :g
diff --git a/test/prism/snapshots/seattlerb/difficult1_line_numbers2.txt b/test/prism/snapshots/seattlerb/difficult1_line_numbers2.txt
index 4d23cd5efe..014b688127 100644
--- a/test/prism/snapshots/seattlerb/difficult1_line_numbers2.txt
+++ b/test/prism/snapshots/seattlerb/difficult1_line_numbers2.txt
@@ -12,7 +12,7 @@
│ │ @ StatementsNode (location: (2,2)-(5,6))
│ │ └── body: (length: 4)
│ │ ├── @ CallNode (location: (2,2)-(2,8))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :p
@@ -39,7 +39,7 @@
│ │ │ │ └── flags: decimal
│ │ │ └── operator_loc: (3,4)-(3,5) = "="
│ │ ├── @ CallNode (location: (4,2)-(4,5))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :p
@@ -65,7 +65,7 @@
│ ├── consequent: ∅
│ └── end_keyword_loc: (6,0)-(6,3) = "end"
└── @ CallNode (location: (7,0)-(7,1))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :a
diff --git a/test/prism/snapshots/seattlerb/difficult2_.txt b/test/prism/snapshots/seattlerb/difficult2_.txt
index 72cac371f7..6a34e024be 100644
--- a/test/prism/snapshots/seattlerb/difficult2_.txt
+++ b/test/prism/snapshots/seattlerb/difficult2_.txt
@@ -13,7 +13,7 @@
│ │ @ StatementsNode (location: (1,4)-(1,9))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (1,4)-(1,9))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
@@ -42,7 +42,7 @@
│ │ └── end_keyword_loc: ∅
│ └── end_keyword_loc: ∅
└── @ CallNode (location: (2,0)-(2,6))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :a
diff --git a/test/prism/snapshots/seattlerb/difficult3_.txt b/test/prism/snapshots/seattlerb/difficult3_.txt
index 6a6306c01b..9b6052f032 100644
--- a/test/prism/snapshots/seattlerb/difficult3_.txt
+++ b/test/prism/snapshots/seattlerb/difficult3_.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,18))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,18))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/difficult3_2.txt b/test/prism/snapshots/seattlerb/difficult3_2.txt
index 753217ca40..9daf24bba0 100644
--- a/test/prism/snapshots/seattlerb/difficult3_2.txt
+++ b/test/prism/snapshots/seattlerb/difficult3_2.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,13))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,13))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/difficult3_3.txt b/test/prism/snapshots/seattlerb/difficult3_3.txt
index eb2e1baf07..b8a80f5453 100644
--- a/test/prism/snapshots/seattlerb/difficult3_3.txt
+++ b/test/prism/snapshots/seattlerb/difficult3_3.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,17))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,17))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/difficult3_4.txt b/test/prism/snapshots/seattlerb/difficult3_4.txt
index a8be0694c9..73afffb4cb 100644
--- a/test/prism/snapshots/seattlerb/difficult3_4.txt
+++ b/test/prism/snapshots/seattlerb/difficult3_4.txt
@@ -12,7 +12,7 @@
│ ├── if_keyword_loc: ∅
│ ├── predicate:
│ │ @ CallNode (location: (1,2)-(1,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
diff --git a/test/prism/snapshots/seattlerb/difficult3_5.txt b/test/prism/snapshots/seattlerb/difficult3_5.txt
index c9fa99bf61..5c62fbed13 100644
--- a/test/prism/snapshots/seattlerb/difficult3_5.txt
+++ b/test/prism/snapshots/seattlerb/difficult3_5.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,19))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,19))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
@@ -30,7 +30,7 @@
│ @ StatementsNode (location: (1,9)-(1,17))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,9)-(1,17))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :g
diff --git a/test/prism/snapshots/seattlerb/difficult3__10.txt b/test/prism/snapshots/seattlerb/difficult3__10.txt
index 8b972ebd6f..4242d24d06 100644
--- a/test/prism/snapshots/seattlerb/difficult3__10.txt
+++ b/test/prism/snapshots/seattlerb/difficult3__10.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,18))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,18))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/difficult3__11.txt b/test/prism/snapshots/seattlerb/difficult3__11.txt
index 11652bba93..6cc067406a 100644
--- a/test/prism/snapshots/seattlerb/difficult3__11.txt
+++ b/test/prism/snapshots/seattlerb/difficult3__11.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,14))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,14))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/difficult3__12.txt b/test/prism/snapshots/seattlerb/difficult3__12.txt
index 388fdc8335..b4854b1be1 100644
--- a/test/prism/snapshots/seattlerb/difficult3__12.txt
+++ b/test/prism/snapshots/seattlerb/difficult3__12.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,17))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,17))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/difficult3__6.txt b/test/prism/snapshots/seattlerb/difficult3__6.txt
index 960aec5da9..c6f7aa442f 100644
--- a/test/prism/snapshots/seattlerb/difficult3__6.txt
+++ b/test/prism/snapshots/seattlerb/difficult3__6.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,21))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,21))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/difficult3__7.txt b/test/prism/snapshots/seattlerb/difficult3__7.txt
index 8fdc3f4a90..6ca5f2f586 100644
--- a/test/prism/snapshots/seattlerb/difficult3__7.txt
+++ b/test/prism/snapshots/seattlerb/difficult3__7.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,17))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,17))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/difficult3__8.txt b/test/prism/snapshots/seattlerb/difficult3__8.txt
index 4d18fd9453..caf9e7248d 100644
--- a/test/prism/snapshots/seattlerb/difficult3__8.txt
+++ b/test/prism/snapshots/seattlerb/difficult3__8.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,20))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,20))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/difficult3__9.txt b/test/prism/snapshots/seattlerb/difficult3__9.txt
index 97de361cb7..98e1771a77 100644
--- a/test/prism/snapshots/seattlerb/difficult3__9.txt
+++ b/test/prism/snapshots/seattlerb/difficult3__9.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,15))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,15))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/difficult4__leading_dots.txt b/test/prism/snapshots/seattlerb/difficult4__leading_dots.txt
index f340c624d9..8307c806e6 100644
--- a/test/prism/snapshots/seattlerb/difficult4__leading_dots.txt
+++ b/test/prism/snapshots/seattlerb/difficult4__leading_dots.txt
@@ -7,7 +7,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (1,0)-(1,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
diff --git a/test/prism/snapshots/seattlerb/difficult6_.txt b/test/prism/snapshots/seattlerb/difficult6_.txt
index a99969f51a..12ada8521d 100644
--- a/test/prism/snapshots/seattlerb/difficult6_.txt
+++ b/test/prism/snapshots/seattlerb/difficult6_.txt
@@ -35,7 +35,7 @@
@ StatementsNode (location: (1,15)-(1,23))
└── body: (length: 1)
└── @ CallNode (location: (1,15)-(1,23))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :p
diff --git a/test/prism/snapshots/seattlerb/difficult6__7.txt b/test/prism/snapshots/seattlerb/difficult6__7.txt
index ce48b01a4c..c43a9712c1 100644
--- a/test/prism/snapshots/seattlerb/difficult6__7.txt
+++ b/test/prism/snapshots/seattlerb/difficult6__7.txt
@@ -7,7 +7,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (1,0)-(1,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -42,7 +42,7 @@
│ @ StatementsNode (location: (1,9)-(1,10))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,9)-(1,10))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :c
diff --git a/test/prism/snapshots/seattlerb/difficult6__8.txt b/test/prism/snapshots/seattlerb/difficult6__8.txt
index 22b3c3cec3..956f9a53db 100644
--- a/test/prism/snapshots/seattlerb/difficult6__8.txt
+++ b/test/prism/snapshots/seattlerb/difficult6__8.txt
@@ -7,7 +7,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (1,0)-(1,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -42,7 +42,7 @@
│ @ StatementsNode (location: (1,10)-(1,11))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,10)-(1,11))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :c
diff --git a/test/prism/snapshots/seattlerb/difficult7_.txt b/test/prism/snapshots/seattlerb/difficult7_.txt
index 28c3753aed..c94842928e 100644
--- a/test/prism/snapshots/seattlerb/difficult7_.txt
+++ b/test/prism/snapshots/seattlerb/difficult7_.txt
@@ -16,7 +16,7 @@
│ │ │ └── unescaped: "a"
│ │ ├── value:
│ │ │ @ CallNode (location: (2,11)-(2,33))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :lambda
@@ -36,7 +36,7 @@
│ │ │ │ ├── if_keyword_loc: ∅
│ │ │ │ ├── predicate:
│ │ │ │ │ @ CallNode (location: (2,20)-(2,21))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :b
@@ -50,7 +50,7 @@
│ │ │ │ │ @ StatementsNode (location: (2,24)-(2,27))
│ │ │ │ │ └── body: (length: 1)
│ │ │ │ │ └── @ CallNode (location: (2,24)-(2,27))
- │ │ │ │ │ ├── flags: ∅
+ │ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :c
@@ -66,7 +66,7 @@
│ │ │ │ │ │ @ StatementsNode (location: (2,30)-(2,31))
│ │ │ │ │ │ └── body: (length: 1)
│ │ │ │ │ │ └── @ CallNode (location: (2,30)-(2,31))
- │ │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ │ ├── name: :d
diff --git a/test/prism/snapshots/seattlerb/do_bug.txt b/test/prism/snapshots/seattlerb/do_bug.txt
index be64a43e0d..143dd53a3b 100644
--- a/test/prism/snapshots/seattlerb/do_bug.txt
+++ b/test/prism/snapshots/seattlerb/do_bug.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(4,3))
└── body: (length: 2)
├── @ CallNode (location: (1,0)-(1,3))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -22,7 +22,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (2,0)-(2,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
diff --git a/test/prism/snapshots/seattlerb/dot2_nil__26.txt b/test/prism/snapshots/seattlerb/dot2_nil__26.txt
index 0d73215bc2..104515ac3a 100644
--- a/test/prism/snapshots/seattlerb/dot2_nil__26.txt
+++ b/test/prism/snapshots/seattlerb/dot2_nil__26.txt
@@ -7,7 +7,7 @@
├── flags: ∅
├── left:
│ @ CallNode (location: (1,0)-(1,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
diff --git a/test/prism/snapshots/seattlerb/dot3_nil__26.txt b/test/prism/snapshots/seattlerb/dot3_nil__26.txt
index 94c873dbb8..ec7f57cd96 100644
--- a/test/prism/snapshots/seattlerb/dot3_nil__26.txt
+++ b/test/prism/snapshots/seattlerb/dot3_nil__26.txt
@@ -7,7 +7,7 @@
├── flags: exclude_end
├── left:
│ @ CallNode (location: (1,0)-(1,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
diff --git a/test/prism/snapshots/seattlerb/dstr_evstr.txt b/test/prism/snapshots/seattlerb/dstr_evstr.txt
index 4c48657914..ce692238cd 100644
--- a/test/prism/snapshots/seattlerb/dstr_evstr.txt
+++ b/test/prism/snapshots/seattlerb/dstr_evstr.txt
@@ -24,7 +24,7 @@
│ │ @ StatementsNode (location: (1,9)-(1,10))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (1,9)-(1,10))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
diff --git a/test/prism/snapshots/seattlerb/dstr_evstr_empty_end.txt b/test/prism/snapshots/seattlerb/dstr_evstr_empty_end.txt
index 65be266f20..53f97e4b36 100644
--- a/test/prism/snapshots/seattlerb/dstr_evstr_empty_end.txt
+++ b/test/prism/snapshots/seattlerb/dstr_evstr_empty_end.txt
@@ -12,7 +12,7 @@
│ │ @ StatementsNode (location: (1,4)-(1,9))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (1,4)-(1,9))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :field
diff --git a/test/prism/snapshots/seattlerb/dstr_lex_state.txt b/test/prism/snapshots/seattlerb/dstr_lex_state.txt
index cc2c07a027..7fac367c91 100644
--- a/test/prism/snapshots/seattlerb/dstr_lex_state.txt
+++ b/test/prism/snapshots/seattlerb/dstr_lex_state.txt
@@ -12,7 +12,7 @@
│ │ @ StatementsNode (location: (1,3)-(1,6))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (1,3)-(1,6))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :p
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 545f29a532..6c28ff4ebe 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
@@ -7,7 +7,7 @@
├── flags: attribute_write
├── receiver:
│ @ CallNode (location: (1,0)-(1,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :h
@@ -25,7 +25,7 @@
│ ├── flags: ∅
│ └── arguments: (length: 2)
│ ├── @ CallNode (location: (1,2)-(1,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :k
diff --git a/test/prism/snapshots/seattlerb/evstr_evstr.txt b/test/prism/snapshots/seattlerb/evstr_evstr.txt
index 25be925826..ef7545c2f2 100644
--- a/test/prism/snapshots/seattlerb/evstr_evstr.txt
+++ b/test/prism/snapshots/seattlerb/evstr_evstr.txt
@@ -12,7 +12,7 @@
│ │ │ @ StatementsNode (location: (1,3)-(1,4))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (1,3)-(1,4))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :a
@@ -28,7 +28,7 @@
│ │ @ StatementsNode (location: (1,7)-(1,8))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (1,7)-(1,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
diff --git a/test/prism/snapshots/seattlerb/evstr_str.txt b/test/prism/snapshots/seattlerb/evstr_str.txt
index 535881f353..214491d6cf 100644
--- a/test/prism/snapshots/seattlerb/evstr_str.txt
+++ b/test/prism/snapshots/seattlerb/evstr_str.txt
@@ -12,7 +12,7 @@
│ │ │ @ StatementsNode (location: (1,3)-(1,4))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (1,3)-(1,4))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :a
diff --git a/test/prism/snapshots/seattlerb/expr_not_bang.txt b/test/prism/snapshots/seattlerb/expr_not_bang.txt
index dab908c1ee..0a289ab7be 100644
--- a/test/prism/snapshots/seattlerb/expr_not_bang.txt
+++ b/test/prism/snapshots/seattlerb/expr_not_bang.txt
@@ -7,7 +7,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (1,2)-(1,5))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -18,7 +18,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (1,4)-(1,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
diff --git a/test/prism/snapshots/seattlerb/flip2_env_lvar.txt b/test/prism/snapshots/seattlerb/flip2_env_lvar.txt
index fe3592fd0b..5a71ab6cda 100644
--- a/test/prism/snapshots/seattlerb/flip2_env_lvar.txt
+++ b/test/prism/snapshots/seattlerb/flip2_env_lvar.txt
@@ -10,7 +10,7 @@
│ ├── flags: ∅
│ ├── left:
│ │ @ CallNode (location: (1,3)-(1,4))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -21,7 +21,7 @@
│ │ └── block: ∅
│ ├── right:
│ │ @ CallNode (location: (1,6)-(1,7))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
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 e12caf2895..3a4ea011e2 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
@@ -9,7 +9,7 @@
├── name_loc: (1,0)-(1,1) = "a"
├── value:
│ @ CallNode (location: (1,4)-(1,20))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -37,7 +37,7 @@
│ │ │ │ │ │ @ StatementsNode (location: (3,6)-(3,9))
│ │ │ │ │ │ └── body: (length: 1)
│ │ │ │ │ │ └── @ CallNode (location: (3,6)-(3,9))
- │ │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ │ ├── name: :bar
diff --git a/test/prism/snapshots/seattlerb/if_symbol.txt b/test/prism/snapshots/seattlerb/if_symbol.txt
index 65558b2e9b..8d1a78d563 100644
--- a/test/prism/snapshots/seattlerb/if_symbol.txt
+++ b/test/prism/snapshots/seattlerb/if_symbol.txt
@@ -7,7 +7,7 @@
├── if_keyword_loc: (1,0)-(1,2) = "if"
├── predicate:
│ @ CallNode (location: (1,3)-(1,7))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :f
diff --git a/test/prism/snapshots/seattlerb/index_0.txt b/test/prism/snapshots/seattlerb/index_0.txt
index 38a7d5d5c9..9771e9c2bd 100644
--- a/test/prism/snapshots/seattlerb/index_0.txt
+++ b/test/prism/snapshots/seattlerb/index_0.txt
@@ -7,7 +7,7 @@
├── flags: attribute_write
├── receiver:
│ @ CallNode (location: (1,0)-(1,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -25,7 +25,7 @@
│ ├── flags: ∅
│ └── arguments: (length: 1)
│ └── @ CallNode (location: (1,6)-(1,7))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :b
diff --git a/test/prism/snapshots/seattlerb/index_0_opasgn.txt b/test/prism/snapshots/seattlerb/index_0_opasgn.txt
index d43bdceb71..239a549253 100644
--- a/test/prism/snapshots/seattlerb/index_0_opasgn.txt
+++ b/test/prism/snapshots/seattlerb/index_0_opasgn.txt
@@ -7,7 +7,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (1,0)-(1,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -25,7 +25,7 @@
├── operator_loc: (1,4)-(1,6) = "+="
└── value:
@ CallNode (location: (1,7)-(1,8))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :b
diff --git a/test/prism/snapshots/seattlerb/iter_args_1.txt b/test/prism/snapshots/seattlerb/iter_args_1.txt
index 0a296a66cd..efc52b5dfc 100644
--- a/test/prism/snapshots/seattlerb/iter_args_1.txt
+++ b/test/prism/snapshots/seattlerb/iter_args_1.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,11))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,11))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/iter_args_10_1.txt b/test/prism/snapshots/seattlerb/iter_args_10_1.txt
index 8bccaacefd..dae3d474ef 100644
--- a/test/prism/snapshots/seattlerb/iter_args_10_1.txt
+++ b/test/prism/snapshots/seattlerb/iter_args_10_1.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,21))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,21))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/iter_args_10_2.txt b/test/prism/snapshots/seattlerb/iter_args_10_2.txt
index 08eacad4aa..062fec6aef 100644
--- a/test/prism/snapshots/seattlerb/iter_args_10_2.txt
+++ b/test/prism/snapshots/seattlerb/iter_args_10_2.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,25))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,25))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/iter_args_11_1.txt b/test/prism/snapshots/seattlerb/iter_args_11_1.txt
index e4c0a21997..16c9539fcb 100644
--- a/test/prism/snapshots/seattlerb/iter_args_11_1.txt
+++ b/test/prism/snapshots/seattlerb/iter_args_11_1.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,24))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,24))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/iter_args_11_2.txt b/test/prism/snapshots/seattlerb/iter_args_11_2.txt
index 369075ca3c..ca74c5bca7 100644
--- a/test/prism/snapshots/seattlerb/iter_args_11_2.txt
+++ b/test/prism/snapshots/seattlerb/iter_args_11_2.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,28))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,28))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/iter_args_2__19.txt b/test/prism/snapshots/seattlerb/iter_args_2__19.txt
index 9934cc4349..788c0ba50f 100644
--- a/test/prism/snapshots/seattlerb/iter_args_2__19.txt
+++ b/test/prism/snapshots/seattlerb/iter_args_2__19.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,14))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,14))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/iter_args_3.txt b/test/prism/snapshots/seattlerb/iter_args_3.txt
index abd2eec189..6f7ce2b5c1 100644
--- a/test/prism/snapshots/seattlerb/iter_args_3.txt
+++ b/test/prism/snapshots/seattlerb/iter_args_3.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,20))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,20))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/iter_args_4.txt b/test/prism/snapshots/seattlerb/iter_args_4.txt
index 8a64bdb1f8..516273f02f 100644
--- a/test/prism/snapshots/seattlerb/iter_args_4.txt
+++ b/test/prism/snapshots/seattlerb/iter_args_4.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,16))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,16))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/iter_args_5.txt b/test/prism/snapshots/seattlerb/iter_args_5.txt
index 0aaf2c47b2..efd1cfbcb8 100644
--- a/test/prism/snapshots/seattlerb/iter_args_5.txt
+++ b/test/prism/snapshots/seattlerb/iter_args_5.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,13))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,13))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/iter_args_6.txt b/test/prism/snapshots/seattlerb/iter_args_6.txt
index cc8a4f72eb..d0f707012d 100644
--- a/test/prism/snapshots/seattlerb/iter_args_6.txt
+++ b/test/prism/snapshots/seattlerb/iter_args_6.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,18))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,18))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/iter_args_7_1.txt b/test/prism/snapshots/seattlerb/iter_args_7_1.txt
index 5deb0d55be..9b71f4aecb 100644
--- a/test/prism/snapshots/seattlerb/iter_args_7_1.txt
+++ b/test/prism/snapshots/seattlerb/iter_args_7_1.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,18))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,18))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/iter_args_7_2.txt b/test/prism/snapshots/seattlerb/iter_args_7_2.txt
index fc49660153..bc9e23496e 100644
--- a/test/prism/snapshots/seattlerb/iter_args_7_2.txt
+++ b/test/prism/snapshots/seattlerb/iter_args_7_2.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,22))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,22))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/iter_args_8_1.txt b/test/prism/snapshots/seattlerb/iter_args_8_1.txt
index aec251bffb..488ee837f4 100644
--- a/test/prism/snapshots/seattlerb/iter_args_8_1.txt
+++ b/test/prism/snapshots/seattlerb/iter_args_8_1.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,21))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,21))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/iter_args_8_2.txt b/test/prism/snapshots/seattlerb/iter_args_8_2.txt
index f1f925dd86..cd4fcc59f6 100644
--- a/test/prism/snapshots/seattlerb/iter_args_8_2.txt
+++ b/test/prism/snapshots/seattlerb/iter_args_8_2.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,25))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,25))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/iter_args_9_1.txt b/test/prism/snapshots/seattlerb/iter_args_9_1.txt
index 1fc22f1043..40ffcec029 100644
--- a/test/prism/snapshots/seattlerb/iter_args_9_1.txt
+++ b/test/prism/snapshots/seattlerb/iter_args_9_1.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,17))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,17))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/iter_args_9_2.txt b/test/prism/snapshots/seattlerb/iter_args_9_2.txt
index 6a18271ba2..18cdc620ce 100644
--- a/test/prism/snapshots/seattlerb/iter_args_9_2.txt
+++ b/test/prism/snapshots/seattlerb/iter_args_9_2.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,21))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,21))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/iter_kwarg.txt b/test/prism/snapshots/seattlerb/iter_kwarg.txt
index d1f71bfd08..b7655eec2c 100644
--- a/test/prism/snapshots/seattlerb/iter_kwarg.txt
+++ b/test/prism/snapshots/seattlerb/iter_kwarg.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,12))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,12))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :a
diff --git a/test/prism/snapshots/seattlerb/iter_kwarg_kwsplat.txt b/test/prism/snapshots/seattlerb/iter_kwarg_kwsplat.txt
index 6b85b3858e..0c4b3920c1 100644
--- a/test/prism/snapshots/seattlerb/iter_kwarg_kwsplat.txt
+++ b/test/prism/snapshots/seattlerb/iter_kwarg_kwsplat.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,17))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,17))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :a
diff --git a/test/prism/snapshots/seattlerb/label_vs_string.txt b/test/prism/snapshots/seattlerb/label_vs_string.txt
index a0832d8a47..c8d7af8f48 100644
--- a/test/prism/snapshots/seattlerb/label_vs_string.txt
+++ b/test/prism/snapshots/seattlerb/label_vs_string.txt
@@ -7,7 +7,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (1,0)-(1,4))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :_buf
diff --git a/test/prism/snapshots/seattlerb/lambda_do_vs_brace.txt b/test/prism/snapshots/seattlerb/lambda_do_vs_brace.txt
index e451aca510..b0ecdc36e8 100644
--- a/test/prism/snapshots/seattlerb/lambda_do_vs_brace.txt
+++ b/test/prism/snapshots/seattlerb/lambda_do_vs_brace.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(7,9))
└── body: (length: 4)
├── @ CallNode (location: (1,0)-(1,11))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :f
@@ -25,7 +25,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (3,0)-(3,7))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :f
@@ -46,7 +46,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (5,0)-(5,13))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :f
@@ -72,7 +72,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
└── @ CallNode (location: (7,0)-(7,9))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
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 fe18d5ad49..9d19aea652 100644
--- a/test/prism/snapshots/seattlerb/lasgn_call_bracket_rescue_arg.txt
+++ b/test/prism/snapshots/seattlerb/lasgn_call_bracket_rescue_arg.txt
@@ -11,7 +11,7 @@
│ @ RescueModifierNode (location: (1,4)-(1,17))
│ ├── expression:
│ │ @ CallNode (location: (1,4)-(1,8))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
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 637451a550..ded4704a59 100644
--- a/test/prism/snapshots/seattlerb/lasgn_call_nobracket_rescue_arg.txt
+++ b/test/prism/snapshots/seattlerb/lasgn_call_nobracket_rescue_arg.txt
@@ -11,7 +11,7 @@
│ @ RescueModifierNode (location: (1,4)-(1,16))
│ ├── expression:
│ │ @ CallNode (location: (1,4)-(1,7))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
diff --git a/test/prism/snapshots/seattlerb/lasgn_command.txt b/test/prism/snapshots/seattlerb/lasgn_command.txt
index 4b38e56028..4b2409069c 100644
--- a/test/prism/snapshots/seattlerb/lasgn_command.txt
+++ b/test/prism/snapshots/seattlerb/lasgn_command.txt
@@ -12,7 +12,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (1,4)-(1,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
diff --git a/test/prism/snapshots/seattlerb/lasgn_lasgn_command_call.txt b/test/prism/snapshots/seattlerb/lasgn_lasgn_command_call.txt
index 8d6662ae0d..c11ae14e19 100644
--- a/test/prism/snapshots/seattlerb/lasgn_lasgn_command_call.txt
+++ b/test/prism/snapshots/seattlerb/lasgn_lasgn_command_call.txt
@@ -14,7 +14,7 @@
│ ├── name_loc: (1,4)-(1,5) = "b"
│ ├── value:
│ │ @ CallNode (location: (1,8)-(1,11))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :c
diff --git a/test/prism/snapshots/seattlerb/lasgn_middle_splat.txt b/test/prism/snapshots/seattlerb/lasgn_middle_splat.txt
index 076c4ec89d..c113fef13f 100644
--- a/test/prism/snapshots/seattlerb/lasgn_middle_splat.txt
+++ b/test/prism/snapshots/seattlerb/lasgn_middle_splat.txt
@@ -12,7 +12,7 @@
│ ├── flags: contains_splat
│ ├── elements: (length: 3)
│ │ ├── @ CallNode (location: (1,4)-(1,5))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -25,7 +25,7 @@
│ │ │ ├── operator_loc: (1,7)-(1,8) = "*"
│ │ │ └── expression:
│ │ │ @ CallNode (location: (1,8)-(1,9))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :c
@@ -35,7 +35,7 @@
│ │ │ ├── closing_loc: ∅
│ │ │ └── block: ∅
│ │ └── @ CallNode (location: (1,11)-(1,12))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :d
diff --git a/test/prism/snapshots/seattlerb/masgn_anon_splat_arg.txt b/test/prism/snapshots/seattlerb/masgn_anon_splat_arg.txt
index f1f07d2908..9ebcab3095 100644
--- a/test/prism/snapshots/seattlerb/masgn_anon_splat_arg.txt
+++ b/test/prism/snapshots/seattlerb/masgn_anon_splat_arg.txt
@@ -18,7 +18,7 @@
├── operator_loc: (1,5)-(1,6) = "="
└── value:
@ CallNode (location: (1,7)-(1,8))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :b
diff --git a/test/prism/snapshots/seattlerb/masgn_arg_colon_arg.txt b/test/prism/snapshots/seattlerb/masgn_arg_colon_arg.txt
index cf893a9bc5..83613c42d1 100644
--- a/test/prism/snapshots/seattlerb/masgn_arg_colon_arg.txt
+++ b/test/prism/snapshots/seattlerb/masgn_arg_colon_arg.txt
@@ -12,7 +12,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (1,3)-(1,4))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
@@ -31,7 +31,7 @@
├── operator_loc: (1,8)-(1,9) = "="
└── value:
@ CallNode (location: (1,10)-(1,11))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :d
diff --git a/test/prism/snapshots/seattlerb/masgn_arg_ident.txt b/test/prism/snapshots/seattlerb/masgn_arg_ident.txt
index 8cd088f034..f4c99648f0 100644
--- a/test/prism/snapshots/seattlerb/masgn_arg_ident.txt
+++ b/test/prism/snapshots/seattlerb/masgn_arg_ident.txt
@@ -12,7 +12,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (1,3)-(1,4))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
@@ -31,7 +31,7 @@
├── operator_loc: (1,7)-(1,8) = "="
└── value:
@ CallNode (location: (1,9)-(1,10))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :d
diff --git a/test/prism/snapshots/seattlerb/masgn_arg_splat_arg.txt b/test/prism/snapshots/seattlerb/masgn_arg_splat_arg.txt
index 3d756144c5..48e58de076 100644
--- a/test/prism/snapshots/seattlerb/masgn_arg_splat_arg.txt
+++ b/test/prism/snapshots/seattlerb/masgn_arg_splat_arg.txt
@@ -24,7 +24,7 @@
├── operator_loc: (1,9)-(1,10) = "="
└── value:
@ CallNode (location: (1,11)-(1,12))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :d
diff --git a/test/prism/snapshots/seattlerb/masgn_colon2.txt b/test/prism/snapshots/seattlerb/masgn_colon2.txt
index 5a5b5e67db..eb445420d3 100644
--- a/test/prism/snapshots/seattlerb/masgn_colon2.txt
+++ b/test/prism/snapshots/seattlerb/masgn_colon2.txt
@@ -11,7 +11,7 @@
│ └── @ ConstantPathTargetNode (location: (1,3)-(1,7))
│ ├── parent:
│ │ @ CallNode (location: (1,3)-(1,4))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
diff --git a/test/prism/snapshots/seattlerb/masgn_command_call.txt b/test/prism/snapshots/seattlerb/masgn_command_call.txt
index 974910101b..aa0d17e436 100644
--- a/test/prism/snapshots/seattlerb/masgn_command_call.txt
+++ b/test/prism/snapshots/seattlerb/masgn_command_call.txt
@@ -19,7 +19,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (1,5)-(1,6))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :b
diff --git a/test/prism/snapshots/seattlerb/masgn_double_paren.txt b/test/prism/snapshots/seattlerb/masgn_double_paren.txt
index 900e8e0f14..590df8fa07 100644
--- a/test/prism/snapshots/seattlerb/masgn_double_paren.txt
+++ b/test/prism/snapshots/seattlerb/masgn_double_paren.txt
@@ -24,7 +24,7 @@
├── operator_loc: (1,7)-(1,8) = "="
└── value:
@ CallNode (location: (1,8)-(1,9))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :c
diff --git a/test/prism/snapshots/seattlerb/masgn_paren.txt b/test/prism/snapshots/seattlerb/masgn_paren.txt
index 610f6ba2e4..5d79774d5e 100644
--- a/test/prism/snapshots/seattlerb/masgn_paren.txt
+++ b/test/prism/snapshots/seattlerb/masgn_paren.txt
@@ -21,7 +21,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (1,9)-(1,10))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :c
diff --git a/test/prism/snapshots/seattlerb/masgn_splat_arg.txt b/test/prism/snapshots/seattlerb/masgn_splat_arg.txt
index 0d2d782bf1..b8113b126f 100644
--- a/test/prism/snapshots/seattlerb/masgn_splat_arg.txt
+++ b/test/prism/snapshots/seattlerb/masgn_splat_arg.txt
@@ -21,7 +21,7 @@
├── operator_loc: (1,6)-(1,7) = "="
└── value:
@ CallNode (location: (1,8)-(1,9))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :c
diff --git a/test/prism/snapshots/seattlerb/masgn_splat_arg_arg.txt b/test/prism/snapshots/seattlerb/masgn_splat_arg_arg.txt
index be9e1324f8..a832aef1e0 100644
--- a/test/prism/snapshots/seattlerb/masgn_splat_arg_arg.txt
+++ b/test/prism/snapshots/seattlerb/masgn_splat_arg_arg.txt
@@ -24,7 +24,7 @@
├── operator_loc: (1,9)-(1,10) = "="
└── value:
@ CallNode (location: (1,11)-(1,12))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :d
diff --git a/test/prism/snapshots/seattlerb/masgn_var_star_var.txt b/test/prism/snapshots/seattlerb/masgn_var_star_var.txt
index 0833b44d6b..37851efd6f 100644
--- a/test/prism/snapshots/seattlerb/masgn_var_star_var.txt
+++ b/test/prism/snapshots/seattlerb/masgn_var_star_var.txt
@@ -21,7 +21,7 @@
├── operator_loc: (1,8)-(1,9) = "="
└── value:
@ CallNode (location: (1,10)-(1,11))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :c
diff --git a/test/prism/snapshots/seattlerb/messy_op_asgn_lineno.txt b/test/prism/snapshots/seattlerb/messy_op_asgn_lineno.txt
index d15cf6fcbc..7a3e9affb5 100644
--- a/test/prism/snapshots/seattlerb/messy_op_asgn_lineno.txt
+++ b/test/prism/snapshots/seattlerb/messy_op_asgn_lineno.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,15))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,15))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :a
@@ -31,7 +31,7 @@
│ │ ├── operator_loc: (1,8)-(1,10) = "*="
│ │ ├── value:
│ │ │ @ CallNode (location: (1,11)-(1,14))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :d
@@ -42,7 +42,7 @@
│ │ │ │ ├── flags: ∅
│ │ │ │ └── arguments: (length: 1)
│ │ │ │ └── @ CallNode (location: (1,13)-(1,14))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :e
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 e9eeb336e5..6947ec4187 100644
--- a/test/prism/snapshots/seattlerb/method_call_assoc_trailing_comma.txt
+++ b/test/prism/snapshots/seattlerb/method_call_assoc_trailing_comma.txt
@@ -7,7 +7,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (1,0)-(1,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
diff --git a/test/prism/snapshots/seattlerb/method_call_trailing_comma.txt b/test/prism/snapshots/seattlerb/method_call_trailing_comma.txt
index aea6bc7de1..9fee71b503 100644
--- a/test/prism/snapshots/seattlerb/method_call_trailing_comma.txt
+++ b/test/prism/snapshots/seattlerb/method_call_trailing_comma.txt
@@ -7,7 +7,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (1,0)-(1,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
diff --git a/test/prism/snapshots/seattlerb/mlhs_back_anonsplat.txt b/test/prism/snapshots/seattlerb/mlhs_back_anonsplat.txt
index 0bf5baefd5..600f7f717b 100644
--- a/test/prism/snapshots/seattlerb/mlhs_back_anonsplat.txt
+++ b/test/prism/snapshots/seattlerb/mlhs_back_anonsplat.txt
@@ -24,7 +24,7 @@
├── operator_loc: (1,11)-(1,12) = "="
└── value:
@ CallNode (location: (1,13)-(1,14))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/mlhs_back_splat.txt b/test/prism/snapshots/seattlerb/mlhs_back_splat.txt
index 2051bb832b..f5d3fe5ae9 100644
--- a/test/prism/snapshots/seattlerb/mlhs_back_splat.txt
+++ b/test/prism/snapshots/seattlerb/mlhs_back_splat.txt
@@ -27,7 +27,7 @@
├── operator_loc: (1,12)-(1,13) = "="
└── value:
@ CallNode (location: (1,14)-(1,15))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/mlhs_front_anonsplat.txt b/test/prism/snapshots/seattlerb/mlhs_front_anonsplat.txt
index fbe7480d50..d4797031a5 100644
--- a/test/prism/snapshots/seattlerb/mlhs_front_anonsplat.txt
+++ b/test/prism/snapshots/seattlerb/mlhs_front_anonsplat.txt
@@ -24,7 +24,7 @@
├── operator_loc: (1,11)-(1,12) = "="
└── value:
@ CallNode (location: (1,13)-(1,14))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/mlhs_front_splat.txt b/test/prism/snapshots/seattlerb/mlhs_front_splat.txt
index 6585289d54..47a7b8da7c 100644
--- a/test/prism/snapshots/seattlerb/mlhs_front_splat.txt
+++ b/test/prism/snapshots/seattlerb/mlhs_front_splat.txt
@@ -27,7 +27,7 @@
├── operator_loc: (1,12)-(1,13) = "="
└── value:
@ CallNode (location: (1,14)-(1,15))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/mlhs_keyword.txt b/test/prism/snapshots/seattlerb/mlhs_keyword.txt
index d7033a5203..6142640b2c 100644
--- a/test/prism/snapshots/seattlerb/mlhs_keyword.txt
+++ b/test/prism/snapshots/seattlerb/mlhs_keyword.txt
@@ -7,7 +7,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (1,0)-(1,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
diff --git a/test/prism/snapshots/seattlerb/mlhs_mid_anonsplat.txt b/test/prism/snapshots/seattlerb/mlhs_mid_anonsplat.txt
index a2aad9a335..b6306e1674 100644
--- a/test/prism/snapshots/seattlerb/mlhs_mid_anonsplat.txt
+++ b/test/prism/snapshots/seattlerb/mlhs_mid_anonsplat.txt
@@ -33,7 +33,7 @@
├── operator_loc: (1,20)-(1,21) = "="
└── value:
@ CallNode (location: (1,22)-(1,23))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/mlhs_mid_splat.txt b/test/prism/snapshots/seattlerb/mlhs_mid_splat.txt
index 10a0a23917..1dae24d911 100644
--- a/test/prism/snapshots/seattlerb/mlhs_mid_splat.txt
+++ b/test/prism/snapshots/seattlerb/mlhs_mid_splat.txt
@@ -36,7 +36,7 @@
├── operator_loc: (1,21)-(1,22) = "="
└── value:
@ CallNode (location: (1,23)-(1,24))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/mlhs_rescue.txt b/test/prism/snapshots/seattlerb/mlhs_rescue.txt
index 9885ab4c78..3fe7f92d84 100644
--- a/test/prism/snapshots/seattlerb/mlhs_rescue.txt
+++ b/test/prism/snapshots/seattlerb/mlhs_rescue.txt
@@ -20,7 +20,7 @@
@ RescueModifierNode (location: (1,7)-(1,18))
├── expression:
│ @ CallNode (location: (1,7)-(1,8))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :f
diff --git a/test/prism/snapshots/seattlerb/multiline_hash_declaration.txt b/test/prism/snapshots/seattlerb/multiline_hash_declaration.txt
index f377bda17c..ac28532a9a 100644
--- a/test/prism/snapshots/seattlerb/multiline_hash_declaration.txt
+++ b/test/prism/snapshots/seattlerb/multiline_hash_declaration.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(8,12))
└── body: (length: 3)
├── @ CallNode (location: (1,0)-(3,2))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :f
@@ -34,7 +34,7 @@
│ ├── closing_loc: (3,1)-(3,2) = ")"
│ └── block: ∅
├── @ CallNode (location: (5,0)-(6,2))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :f
@@ -64,7 +64,7 @@
│ ├── closing_loc: (6,1)-(6,2) = ")"
│ └── block: ∅
└── @ CallNode (location: (8,0)-(8,12))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/op_asgn_command_call.txt b/test/prism/snapshots/seattlerb/op_asgn_command_call.txt
index ae82ec31cd..cd97d440d3 100644
--- a/test/prism/snapshots/seattlerb/op_asgn_command_call.txt
+++ b/test/prism/snapshots/seattlerb/op_asgn_command_call.txt
@@ -11,7 +11,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (1,6)-(1,7))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
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 f25e6328be..edf54a0c29 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
@@ -15,7 +15,7 @@
├── operator_loc: (1,4)-(1,7) = "||="
└── value:
@ CallNode (location: (1,8)-(1,11))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :c
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 03b8811fc1..8c371f7b40 100644
--- a/test/prism/snapshots/seattlerb/op_asgn_index_command_call.txt
+++ b/test/prism/snapshots/seattlerb/op_asgn_index_command_call.txt
@@ -7,7 +7,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (1,0)-(1,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -33,7 +33,7 @@
├── operator_loc: (1,6)-(1,9) = "||="
└── value:
@ CallNode (location: (1,10)-(1,16))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :c
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 f17ca505da..8e6df3e812 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
@@ -16,7 +16,7 @@
├── operator_loc: (1,5)-(1,7) = "*="
├── value:
│ @ CallNode (location: (1,8)-(1,11))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :c
@@ -27,7 +27,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (1,10)-(1,11))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :d
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 0fbbe197c7..ea8603165b 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
@@ -16,7 +16,7 @@
├── operator_loc: (1,5)-(1,7) = "*="
└── value:
@ CallNode (location: (1,8)-(1,11))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :c
@@ -27,7 +27,7 @@
│ ├── flags: ∅
│ └── arguments: (length: 1)
│ └── @ CallNode (location: (1,10)-(1,11))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :d
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 afd48a88f8..1fcad3e307 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
@@ -7,7 +7,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (1,0)-(1,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -23,7 +23,7 @@
├── operator_loc: (1,4)-(1,7) = "||="
└── value:
@ CallNode (location: (1,8)-(1,11))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :c
diff --git a/test/prism/snapshots/seattlerb/parse_if_not_canonical.txt b/test/prism/snapshots/seattlerb/parse_if_not_canonical.txt
index 10f788a271..763bd24efd 100644
--- a/test/prism/snapshots/seattlerb/parse_if_not_canonical.txt
+++ b/test/prism/snapshots/seattlerb/parse_if_not_canonical.txt
@@ -13,7 +13,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (1,7)-(1,10))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :var
diff --git a/test/prism/snapshots/seattlerb/parse_if_not_noncanonical.txt b/test/prism/snapshots/seattlerb/parse_if_not_noncanonical.txt
index 10f788a271..763bd24efd 100644
--- a/test/prism/snapshots/seattlerb/parse_if_not_noncanonical.txt
+++ b/test/prism/snapshots/seattlerb/parse_if_not_noncanonical.txt
@@ -13,7 +13,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (1,7)-(1,10))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :var
diff --git a/test/prism/snapshots/seattlerb/parse_line_block.txt b/test/prism/snapshots/seattlerb/parse_line_block.txt
index ba579a280a..d5f5ee084b 100644
--- a/test/prism/snapshots/seattlerb/parse_line_block.txt
+++ b/test/prism/snapshots/seattlerb/parse_line_block.txt
@@ -12,7 +12,7 @@
│ │ └── flags: decimal
│ └── operator_loc: (1,2)-(1,3) = "="
└── @ CallNode (location: (2,0)-(2,3))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :p
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 5b4c006eff..8495527cf4 100644
--- a/test/prism/snapshots/seattlerb/parse_line_block_inline_comment.txt
+++ b/test/prism/snapshots/seattlerb/parse_line_block_inline_comment.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(3,1))
└── body: (length: 3)
├── @ CallNode (location: (1,0)-(1,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -14,7 +14,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (2,0)-(2,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :b
@@ -24,7 +24,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
└── @ CallNode (location: (3,0)-(3,1))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :c
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 ddabbe84e4..f531a73a58 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
@@ -4,7 +4,7 @@
@ StatementsNode (location: (4,0)-(7,1))
└── body: (length: 3)
├── @ CallNode (location: (4,0)-(4,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -14,7 +14,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (5,0)-(5,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :b
@@ -24,7 +24,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
└── @ CallNode (location: (7,0)-(7,1))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :c
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 7a55397bac..d4e962b355 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
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(4,1))
└── body: (length: 3)
├── @ CallNode (location: (1,0)-(1,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -14,7 +14,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (2,0)-(2,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :b
@@ -24,7 +24,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
└── @ CallNode (location: (4,0)-(4,1))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :c
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 991e3a1685..a08f5419f1 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
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,4))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,4))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :a
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 15af12fe83..dd58d92d3a 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
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(2,1))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(2,1))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :a
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 8a07a8912c..475e8d9efd 100644
--- a/test/prism/snapshots/seattlerb/parse_line_call_no_args.txt
+++ b/test/prism/snapshots/seattlerb/parse_line_call_no_args.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(3,3))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(3,3))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/seattlerb/parse_line_defn_complex.txt b/test/prism/snapshots/seattlerb/parse_line_defn_complex.txt
index 0ec63b3123..4df2cea7cd 100644
--- a/test/prism/snapshots/seattlerb/parse_line_defn_complex.txt
+++ b/test/prism/snapshots/seattlerb/parse_line_defn_complex.txt
@@ -22,7 +22,7 @@
│ @ StatementsNode (location: (2,2)-(4,10))
│ └── body: (length: 3)
│ ├── @ CallNode (location: (2,2)-(2,6))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :p
diff --git a/test/prism/snapshots/seattlerb/parse_line_dot2.txt b/test/prism/snapshots/seattlerb/parse_line_dot2.txt
index 960369cfa5..4b01940a5f 100644
--- a/test/prism/snapshots/seattlerb/parse_line_dot2.txt
+++ b/test/prism/snapshots/seattlerb/parse_line_dot2.txt
@@ -16,7 +16,7 @@
│ ├── flags: ∅
│ ├── left:
│ │ @ CallNode (location: (3,0)-(3,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -27,7 +27,7 @@
│ │ └── block: ∅
│ ├── right:
│ │ @ CallNode (location: (4,0)-(4,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
@@ -38,7 +38,7 @@
│ │ └── block: ∅
│ └── operator_loc: (3,1)-(3,3) = ".."
└── @ CallNode (location: (5,0)-(5,1))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :c
diff --git a/test/prism/snapshots/seattlerb/parse_line_dot2_open.txt b/test/prism/snapshots/seattlerb/parse_line_dot2_open.txt
index 986f57136e..b787120772 100644
--- a/test/prism/snapshots/seattlerb/parse_line_dot2_open.txt
+++ b/test/prism/snapshots/seattlerb/parse_line_dot2_open.txt
@@ -14,7 +14,7 @@
│ ├── flags: ∅
│ ├── left:
│ │ @ CallNode (location: (2,2)-(2,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -26,7 +26,7 @@
│ ├── right: ∅
│ └── operator_loc: (2,3)-(2,5) = ".."
└── @ CallNode (location: (3,2)-(3,3))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :c
diff --git a/test/prism/snapshots/seattlerb/parse_line_dot3.txt b/test/prism/snapshots/seattlerb/parse_line_dot3.txt
index 791618812d..0b2b90f860 100644
--- a/test/prism/snapshots/seattlerb/parse_line_dot3.txt
+++ b/test/prism/snapshots/seattlerb/parse_line_dot3.txt
@@ -16,7 +16,7 @@
│ ├── flags: exclude_end
│ ├── left:
│ │ @ CallNode (location: (3,0)-(3,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -27,7 +27,7 @@
│ │ └── block: ∅
│ ├── right:
│ │ @ CallNode (location: (4,0)-(4,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
@@ -38,7 +38,7 @@
│ │ └── block: ∅
│ └── operator_loc: (3,1)-(3,4) = "..."
└── @ CallNode (location: (5,0)-(5,1))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :c
diff --git a/test/prism/snapshots/seattlerb/parse_line_dot3_open.txt b/test/prism/snapshots/seattlerb/parse_line_dot3_open.txt
index 49ce1b0bae..d2349ddb2b 100644
--- a/test/prism/snapshots/seattlerb/parse_line_dot3_open.txt
+++ b/test/prism/snapshots/seattlerb/parse_line_dot3_open.txt
@@ -14,7 +14,7 @@
│ ├── flags: exclude_end
│ ├── left:
│ │ @ CallNode (location: (2,2)-(2,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -26,7 +26,7 @@
│ ├── right: ∅
│ └── operator_loc: (2,3)-(2,6) = "..."
└── @ CallNode (location: (3,2)-(3,3))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :c
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 9a6cbfdb65..9cb200e94b 100644
--- a/test/prism/snapshots/seattlerb/parse_line_evstr_after_break.txt
+++ b/test/prism/snapshots/seattlerb/parse_line_evstr_after_break.txt
@@ -21,7 +21,7 @@
│ │ │ @ StatementsNode (location: (2,3)-(2,4))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (2,3)-(2,4))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
diff --git a/test/prism/snapshots/seattlerb/parse_line_heredoc.txt b/test/prism/snapshots/seattlerb/parse_line_heredoc.txt
index 2b52a3b6fb..ba00f01504 100644
--- a/test/prism/snapshots/seattlerb/parse_line_heredoc.txt
+++ b/test/prism/snapshots/seattlerb/parse_line_heredoc.txt
@@ -26,7 +26,7 @@
│ │ └── block: ∅
│ └── operator_loc: (1,13)-(1,14) = "="
└── @ CallNode (location: (4,6)-(4,17))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :puts
diff --git a/test/prism/snapshots/seattlerb/parse_line_heredoc_evstr.txt b/test/prism/snapshots/seattlerb/parse_line_heredoc_evstr.txt
index 0a96830a65..1a51e36934 100644
--- a/test/prism/snapshots/seattlerb/parse_line_heredoc_evstr.txt
+++ b/test/prism/snapshots/seattlerb/parse_line_heredoc_evstr.txt
@@ -18,7 +18,7 @@
│ │ │ @ StatementsNode (location: (3,2)-(3,3))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (3,2)-(3,3))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
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 c762376f14..fdac30fab7 100644
--- a/test/prism/snapshots/seattlerb/parse_line_heredoc_regexp_chars.txt
+++ b/test/prism/snapshots/seattlerb/parse_line_heredoc_regexp_chars.txt
@@ -16,7 +16,7 @@
│ │ └── unescaped: " very long string\n"
│ └── operator_loc: (1,13)-(1,14) = "="
└── @ CallNode (location: (4,6)-(4,17))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :puts
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 a22d252918..9edb2c6202 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
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(3,3))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(3,3))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
@@ -15,7 +15,7 @@
│ ├── flags: ∅
│ └── arguments: (length: 1)
│ └── @ CallNode (location: (1,2)-(1,3))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
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 e9a7b0140d..d92e8a18dc 100644
--- a/test/prism/snapshots/seattlerb/parse_line_iter_call_parens.txt
+++ b/test/prism/snapshots/seattlerb/parse_line_iter_call_parens.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(3,3))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(3,3))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
@@ -15,7 +15,7 @@
│ ├── flags: ∅
│ └── arguments: (length: 1)
│ └── @ CallNode (location: (1,2)-(1,3))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
diff --git a/test/prism/snapshots/seattlerb/parse_line_op_asgn.txt b/test/prism/snapshots/seattlerb/parse_line_op_asgn.txt
index 63d52a477d..5c2eb2da3c 100644
--- a/test/prism/snapshots/seattlerb/parse_line_op_asgn.txt
+++ b/test/prism/snapshots/seattlerb/parse_line_op_asgn.txt
@@ -8,7 +8,7 @@
│ ├── operator_loc: (1,10)-(1,12) = "+="
│ ├── value:
│ │ @ CallNode (location: (2,8)-(2,11))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -21,7 +21,7 @@
│ ├── operator: :+
│ └── depth: 0
└── @ CallNode (location: (3,6)-(3,9))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :baz
diff --git a/test/prism/snapshots/seattlerb/parse_line_postexe.txt b/test/prism/snapshots/seattlerb/parse_line_postexe.txt
index 3a5e0f084e..68b5f02fe0 100644
--- a/test/prism/snapshots/seattlerb/parse_line_postexe.txt
+++ b/test/prism/snapshots/seattlerb/parse_line_postexe.txt
@@ -8,7 +8,7 @@
│ @ StatementsNode (location: (2,0)-(2,3))
│ └── body: (length: 1)
│ └── @ CallNode (location: (2,0)-(2,3))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
diff --git a/test/prism/snapshots/seattlerb/parse_line_preexe.txt b/test/prism/snapshots/seattlerb/parse_line_preexe.txt
index 71ca121314..65ea22cf7d 100644
--- a/test/prism/snapshots/seattlerb/parse_line_preexe.txt
+++ b/test/prism/snapshots/seattlerb/parse_line_preexe.txt
@@ -8,7 +8,7 @@
│ @ StatementsNode (location: (2,0)-(2,3))
│ └── body: (length: 1)
│ └── @ CallNode (location: (2,0)-(2,3))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
diff --git a/test/prism/snapshots/seattlerb/parse_line_rescue.txt b/test/prism/snapshots/seattlerb/parse_line_rescue.txt
index a13ef4357d..cb20d5403b 100644
--- a/test/prism/snapshots/seattlerb/parse_line_rescue.txt
+++ b/test/prism/snapshots/seattlerb/parse_line_rescue.txt
@@ -9,7 +9,7 @@
│ @ StatementsNode (location: (2,2)-(2,3))
│ └── body: (length: 1)
│ └── @ CallNode (location: (2,2)-(2,3))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -28,7 +28,7 @@
│ │ @ StatementsNode (location: (4,2)-(4,3))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (4,2)-(4,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
@@ -47,7 +47,7 @@
│ │ @ StatementsNode (location: (6,2)-(6,3))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (6,2)-(6,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :c
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 ee1fa91116..4a675d67c4 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
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,13))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,13))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :a
diff --git a/test/prism/snapshots/seattlerb/parse_line_to_ary.txt b/test/prism/snapshots/seattlerb/parse_line_to_ary.txt
index c0a7a6f631..0485b0d2e3 100644
--- a/test/prism/snapshots/seattlerb/parse_line_to_ary.txt
+++ b/test/prism/snapshots/seattlerb/parse_line_to_ary.txt
@@ -18,7 +18,7 @@
│ ├── operator_loc: (2,2)-(2,3) = "="
│ └── value:
│ @ CallNode (location: (2,4)-(2,5))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :c
@@ -28,7 +28,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
└── @ CallNode (location: (3,0)-(3,1))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :d
diff --git a/test/prism/snapshots/seattlerb/parse_line_trailing_newlines.txt b/test/prism/snapshots/seattlerb/parse_line_trailing_newlines.txt
index 355a0da11c..5cd7702847 100644
--- a/test/prism/snapshots/seattlerb/parse_line_trailing_newlines.txt
+++ b/test/prism/snapshots/seattlerb/parse_line_trailing_newlines.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(2,1))
└── body: (length: 2)
├── @ CallNode (location: (1,0)-(1,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -14,7 +14,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
└── @ CallNode (location: (2,0)-(2,1))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :b
diff --git a/test/prism/snapshots/seattlerb/parse_pattern_044.txt b/test/prism/snapshots/seattlerb/parse_pattern_044.txt
index 1eeb954839..951a5100b6 100644
--- a/test/prism/snapshots/seattlerb/parse_pattern_044.txt
+++ b/test/prism/snapshots/seattlerb/parse_pattern_044.txt
@@ -6,7 +6,7 @@
└── @ CaseMatchNode (location: (1,0)-(4,3))
├── predicate:
│ @ CallNode (location: (1,5)-(1,8))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :obj
diff --git a/test/prism/snapshots/seattlerb/parse_until_not_canonical.txt b/test/prism/snapshots/seattlerb/parse_until_not_canonical.txt
index 71002ef207..7d5ef19a05 100644
--- a/test/prism/snapshots/seattlerb/parse_until_not_canonical.txt
+++ b/test/prism/snapshots/seattlerb/parse_until_not_canonical.txt
@@ -15,7 +15,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (1,10)-(1,13))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :var
diff --git a/test/prism/snapshots/seattlerb/parse_until_not_noncanonical.txt b/test/prism/snapshots/seattlerb/parse_until_not_noncanonical.txt
index 71002ef207..7d5ef19a05 100644
--- a/test/prism/snapshots/seattlerb/parse_until_not_noncanonical.txt
+++ b/test/prism/snapshots/seattlerb/parse_until_not_noncanonical.txt
@@ -15,7 +15,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (1,10)-(1,13))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :var
diff --git a/test/prism/snapshots/seattlerb/parse_while_not_canonical.txt b/test/prism/snapshots/seattlerb/parse_while_not_canonical.txt
index 973d32fe39..91eb88a70f 100644
--- a/test/prism/snapshots/seattlerb/parse_while_not_canonical.txt
+++ b/test/prism/snapshots/seattlerb/parse_while_not_canonical.txt
@@ -15,7 +15,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (1,10)-(1,13))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :var
diff --git a/test/prism/snapshots/seattlerb/parse_while_not_noncanonical.txt b/test/prism/snapshots/seattlerb/parse_while_not_noncanonical.txt
index 973d32fe39..91eb88a70f 100644
--- a/test/prism/snapshots/seattlerb/parse_while_not_noncanonical.txt
+++ b/test/prism/snapshots/seattlerb/parse_while_not_noncanonical.txt
@@ -15,7 +15,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (1,10)-(1,13))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :var
diff --git a/test/prism/snapshots/seattlerb/pipe_semicolon.txt b/test/prism/snapshots/seattlerb/pipe_semicolon.txt
index 3b611021c8..1d83dc50cf 100644
--- a/test/prism/snapshots/seattlerb/pipe_semicolon.txt
+++ b/test/prism/snapshots/seattlerb/pipe_semicolon.txt
@@ -7,7 +7,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (1,0)-(1,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
diff --git a/test/prism/snapshots/seattlerb/pipe_space.txt b/test/prism/snapshots/seattlerb/pipe_space.txt
index c791d2b117..e1a9ebe9df 100644
--- a/test/prism/snapshots/seattlerb/pipe_space.txt
+++ b/test/prism/snapshots/seattlerb/pipe_space.txt
@@ -7,7 +7,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (1,0)-(1,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
diff --git a/test/prism/snapshots/seattlerb/quoted_symbol_hash_arg.txt b/test/prism/snapshots/seattlerb/quoted_symbol_hash_arg.txt
index 8730eb1911..4f89f48ccc 100644
--- a/test/prism/snapshots/seattlerb/quoted_symbol_hash_arg.txt
+++ b/test/prism/snapshots/seattlerb/quoted_symbol_hash_arg.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,12))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,12))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :puts
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 9640b4d060..c480feb503 100644
--- a/test/prism/snapshots/seattlerb/rescue_do_end_ensure_result.txt
+++ b/test/prism/snapshots/seattlerb/rescue_do_end_ensure_result.txt
@@ -7,7 +7,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (1,0)-(5,3))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :proc
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 d5e1180a26..154e75fe10 100644
--- a/test/prism/snapshots/seattlerb/rescue_do_end_no_raise.txt
+++ b/test/prism/snapshots/seattlerb/rescue_do_end_no_raise.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(9,3))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(9,3))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :tap
diff --git a/test/prism/snapshots/seattlerb/rescue_do_end_raised.txt b/test/prism/snapshots/seattlerb/rescue_do_end_raised.txt
index d400d7c4f9..33fbd0e6e0 100644
--- a/test/prism/snapshots/seattlerb/rescue_do_end_raised.txt
+++ b/test/prism/snapshots/seattlerb/rescue_do_end_raised.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(5,3))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(5,3))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :tap
@@ -24,7 +24,7 @@
│ │ @ StatementsNode (location: (2,2)-(2,7))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (2,2)-(2,7))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :raise
diff --git a/test/prism/snapshots/seattlerb/rescue_do_end_rescued.txt b/test/prism/snapshots/seattlerb/rescue_do_end_rescued.txt
index 1b66ad6e3b..b68d05e569 100644
--- a/test/prism/snapshots/seattlerb/rescue_do_end_rescued.txt
+++ b/test/prism/snapshots/seattlerb/rescue_do_end_rescued.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(9,3))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(9,3))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :tap
@@ -24,7 +24,7 @@
│ │ @ StatementsNode (location: (2,2)-(2,7))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (2,2)-(2,7))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :raise
diff --git a/test/prism/snapshots/seattlerb/rescue_in_block.txt b/test/prism/snapshots/seattlerb/rescue_in_block.txt
index 10019765e3..b13fed1333 100644
--- a/test/prism/snapshots/seattlerb/rescue_in_block.txt
+++ b/test/prism/snapshots/seattlerb/rescue_in_block.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(4,3))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(4,3))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :blah
@@ -31,7 +31,7 @@
│ │ │ @ StatementsNode (location: (3,2)-(3,7))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (3,2)-(3,7))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :stuff
diff --git a/test/prism/snapshots/seattlerb/rescue_parens.txt b/test/prism/snapshots/seattlerb/rescue_parens.txt
index 0471b8b36a..d086095e7a 100644
--- a/test/prism/snapshots/seattlerb/rescue_parens.txt
+++ b/test/prism/snapshots/seattlerb/rescue_parens.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,14))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,14))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :a
@@ -21,7 +21,7 @@
│ │ └── @ RescueModifierNode (location: (1,3)-(1,13))
│ │ ├── expression:
│ │ │ @ CallNode (location: (1,3)-(1,4))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -33,7 +33,7 @@
│ │ ├── keyword_loc: (1,5)-(1,11) = "rescue"
│ │ └── rescue_expression:
│ │ @ CallNode (location: (1,12)-(1,13))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :c
diff --git a/test/prism/snapshots/seattlerb/return_call_assocs.txt b/test/prism/snapshots/seattlerb/return_call_assocs.txt
index 98b7943bac..128037d226 100644
--- a/test/prism/snapshots/seattlerb/return_call_assocs.txt
+++ b/test/prism/snapshots/seattlerb/return_call_assocs.txt
@@ -68,7 +68,7 @@
│ ├── flags: ∅
│ └── arguments: (length: 1)
│ └── @ CallNode (location: (5,7)-(5,14))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :y
@@ -102,7 +102,7 @@
│ ├── flags: ∅
│ └── arguments: (length: 1)
│ └── @ CallNode (location: (7,7)-(7,12))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :y
@@ -136,7 +136,7 @@
│ ├── flags: ∅
│ └── arguments: (length: 1)
│ └── @ CallNode (location: (9,7)-(9,13))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :y
@@ -170,7 +170,7 @@
├── flags: ∅
└── arguments: (length: 1)
└── @ CallNode (location: (11,7)-(11,14))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :y
@@ -186,7 +186,7 @@
│ └── @ AssocNode (location: (11,9)-(11,13))
│ ├── key:
│ │ @ CallNode (location: (11,9)-(11,10))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :z
diff --git a/test/prism/snapshots/seattlerb/safe_attrasgn.txt b/test/prism/snapshots/seattlerb/safe_attrasgn.txt
index 530ae74362..191fc53785 100644
--- a/test/prism/snapshots/seattlerb/safe_attrasgn.txt
+++ b/test/prism/snapshots/seattlerb/safe_attrasgn.txt
@@ -7,7 +7,7 @@
├── flags: safe_navigation, attribute_write
├── receiver:
│ @ CallNode (location: (1,0)-(1,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
diff --git a/test/prism/snapshots/seattlerb/safe_attrasgn_constant.txt b/test/prism/snapshots/seattlerb/safe_attrasgn_constant.txt
index c34b981d9d..10a5cc9495 100644
--- a/test/prism/snapshots/seattlerb/safe_attrasgn_constant.txt
+++ b/test/prism/snapshots/seattlerb/safe_attrasgn_constant.txt
@@ -7,7 +7,7 @@
├── flags: safe_navigation, attribute_write
├── receiver:
│ @ CallNode (location: (1,0)-(1,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
diff --git a/test/prism/snapshots/seattlerb/safe_call.txt b/test/prism/snapshots/seattlerb/safe_call.txt
index a6ba52bede..7b402d9ef2 100644
--- a/test/prism/snapshots/seattlerb/safe_call.txt
+++ b/test/prism/snapshots/seattlerb/safe_call.txt
@@ -7,7 +7,7 @@
├── flags: safe_navigation
├── receiver:
│ @ CallNode (location: (1,0)-(1,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
diff --git a/test/prism/snapshots/seattlerb/safe_call_after_newline.txt b/test/prism/snapshots/seattlerb/safe_call_after_newline.txt
index e9adf068c7..0a69cbc9e5 100644
--- a/test/prism/snapshots/seattlerb/safe_call_after_newline.txt
+++ b/test/prism/snapshots/seattlerb/safe_call_after_newline.txt
@@ -7,7 +7,7 @@
├── flags: safe_navigation
├── receiver:
│ @ CallNode (location: (1,0)-(1,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
diff --git a/test/prism/snapshots/seattlerb/safe_call_dot_parens.txt b/test/prism/snapshots/seattlerb/safe_call_dot_parens.txt
index e46db2b102..1d6ba9e49e 100644
--- a/test/prism/snapshots/seattlerb/safe_call_dot_parens.txt
+++ b/test/prism/snapshots/seattlerb/safe_call_dot_parens.txt
@@ -7,7 +7,7 @@
├── flags: safe_navigation
├── receiver:
│ @ CallNode (location: (1,0)-(1,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
diff --git a/test/prism/snapshots/seattlerb/safe_call_newline.txt b/test/prism/snapshots/seattlerb/safe_call_newline.txt
index a6ba52bede..7b402d9ef2 100644
--- a/test/prism/snapshots/seattlerb/safe_call_newline.txt
+++ b/test/prism/snapshots/seattlerb/safe_call_newline.txt
@@ -7,7 +7,7 @@
├── flags: safe_navigation
├── receiver:
│ @ CallNode (location: (1,0)-(1,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
diff --git a/test/prism/snapshots/seattlerb/safe_call_operator.txt b/test/prism/snapshots/seattlerb/safe_call_operator.txt
index f6027afefb..a84a348f6e 100644
--- a/test/prism/snapshots/seattlerb/safe_call_operator.txt
+++ b/test/prism/snapshots/seattlerb/safe_call_operator.txt
@@ -7,7 +7,7 @@
├── flags: safe_navigation
├── receiver:
│ @ CallNode (location: (1,0)-(1,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
diff --git a/test/prism/snapshots/seattlerb/safe_call_rhs_newline.txt b/test/prism/snapshots/seattlerb/safe_call_rhs_newline.txt
index 9acf398819..34790ebb33 100644
--- a/test/prism/snapshots/seattlerb/safe_call_rhs_newline.txt
+++ b/test/prism/snapshots/seattlerb/safe_call_rhs_newline.txt
@@ -12,7 +12,7 @@
│ ├── flags: safe_navigation
│ ├── receiver:
│ │ @ CallNode (location: (1,4)-(1,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
diff --git a/test/prism/snapshots/seattlerb/safe_calls.txt b/test/prism/snapshots/seattlerb/safe_calls.txt
index 76931bd4fe..3b17d28026 100644
--- a/test/prism/snapshots/seattlerb/safe_calls.txt
+++ b/test/prism/snapshots/seattlerb/safe_calls.txt
@@ -10,7 +10,7 @@
│ ├── flags: safe_navigation
│ ├── receiver:
│ │ @ CallNode (location: (1,0)-(1,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
diff --git a/test/prism/snapshots/seattlerb/safe_op_asgn.txt b/test/prism/snapshots/seattlerb/safe_op_asgn.txt
index 01b783642f..1e00005bd0 100644
--- a/test/prism/snapshots/seattlerb/safe_op_asgn.txt
+++ b/test/prism/snapshots/seattlerb/safe_op_asgn.txt
@@ -7,7 +7,7 @@
├── flags: safe_navigation
├── receiver:
│ @ CallNode (location: (1,0)-(1,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -24,7 +24,7 @@
├── operator_loc: (1,5)-(1,7) = "+="
└── value:
@ CallNode (location: (1,8)-(1,11))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :x
diff --git a/test/prism/snapshots/seattlerb/safe_op_asgn2.txt b/test/prism/snapshots/seattlerb/safe_op_asgn2.txt
index 9d350e53a1..bdb0e06156 100644
--- a/test/prism/snapshots/seattlerb/safe_op_asgn2.txt
+++ b/test/prism/snapshots/seattlerb/safe_op_asgn2.txt
@@ -7,7 +7,7 @@
├── flags: safe_navigation
├── receiver:
│ @ CallNode (location: (1,0)-(1,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -23,7 +23,7 @@
├── operator_loc: (1,5)-(1,8) = "||="
└── value:
@ CallNode (location: (2,0)-(2,1))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :x
diff --git a/test/prism/snapshots/seattlerb/slashy_newlines_within_string.txt b/test/prism/snapshots/seattlerb/slashy_newlines_within_string.txt
index 840b67ab1a..f9be33ffdd 100644
--- a/test/prism/snapshots/seattlerb/slashy_newlines_within_string.txt
+++ b/test/prism/snapshots/seattlerb/slashy_newlines_within_string.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(6,5))
└── body: (length: 2)
├── @ CallNode (location: (1,0)-(4,8))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :puts
@@ -26,7 +26,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (6,0)-(6,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -44,7 +44,7 @@
│ ├── flags: ∅
│ └── arguments: (length: 1)
│ └── @ CallNode (location: (6,4)-(6,5))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :b
diff --git a/test/prism/snapshots/seattlerb/stabby_block_iter_call.txt b/test/prism/snapshots/seattlerb/stabby_block_iter_call.txt
index 0115ceb46a..7091596e0b 100644
--- a/test/prism/snapshots/seattlerb/stabby_block_iter_call.txt
+++ b/test/prism/snapshots/seattlerb/stabby_block_iter_call.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(4,3))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(4,3))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :x
@@ -33,7 +33,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (2,0)-(2,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
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 2c680db712..6942fa9fd6 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
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(4,3))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(4,3))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :x
@@ -30,7 +30,7 @@
│ @ StatementsNode (location: (2,0)-(3,3))
│ └── body: (length: 1)
│ └── @ CallNode (location: (2,0)-(3,3))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
diff --git a/test/prism/snapshots/seattlerb/str_backslashes.txt b/test/prism/snapshots/seattlerb/str_backslashes.txt
index ce5160fd3b..ec41a89c38 100644
--- a/test/prism/snapshots/seattlerb/str_backslashes.txt
+++ b/test/prism/snapshots/seattlerb/str_backslashes.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,204))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,204))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :x
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 2edea58cc1..620b43f631 100644
--- a/test/prism/snapshots/seattlerb/str_double_double_escaped_newline.txt
+++ b/test/prism/snapshots/seattlerb/str_double_double_escaped_newline.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,9))
└── body: (length: 2)
├── @ CallNode (location: (1,0)-(1,7))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -23,7 +23,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
└── @ CallNode (location: (1,8)-(1,9))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :b
diff --git a/test/prism/snapshots/seattlerb/str_double_escaped_newline.txt b/test/prism/snapshots/seattlerb/str_double_escaped_newline.txt
index 53d356ddaa..2aee91b75c 100644
--- a/test/prism/snapshots/seattlerb/str_double_escaped_newline.txt
+++ b/test/prism/snapshots/seattlerb/str_double_escaped_newline.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,8))
└── body: (length: 2)
├── @ CallNode (location: (1,0)-(1,6))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -23,7 +23,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
└── @ CallNode (location: (1,7)-(1,8))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :b
diff --git a/test/prism/snapshots/seattlerb/str_double_newline.txt b/test/prism/snapshots/seattlerb/str_double_newline.txt
index b5fd8fb582..eb249cde8a 100644
--- a/test/prism/snapshots/seattlerb/str_double_newline.txt
+++ b/test/prism/snapshots/seattlerb/str_double_newline.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(2,3))
└── body: (length: 2)
├── @ CallNode (location: (1,0)-(2,1))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -23,7 +23,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
└── @ CallNode (location: (2,2)-(2,3))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :b
diff --git a/test/prism/snapshots/seattlerb/str_evstr.txt b/test/prism/snapshots/seattlerb/str_evstr.txt
index 48798a3ddb..24b4bdaa85 100644
--- a/test/prism/snapshots/seattlerb/str_evstr.txt
+++ b/test/prism/snapshots/seattlerb/str_evstr.txt
@@ -18,7 +18,7 @@
│ │ @ StatementsNode (location: (1,5)-(1,6))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (1,5)-(1,6))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
diff --git a/test/prism/snapshots/seattlerb/str_evstr_escape.txt b/test/prism/snapshots/seattlerb/str_evstr_escape.txt
index f173c0269b..c14c39ee85 100644
--- a/test/prism/snapshots/seattlerb/str_evstr_escape.txt
+++ b/test/prism/snapshots/seattlerb/str_evstr_escape.txt
@@ -18,7 +18,7 @@
│ │ │ @ StatementsNode (location: (1,5)-(1,6))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (1,5)-(1,6))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
diff --git a/test/prism/snapshots/seattlerb/str_heredoc_interp.txt b/test/prism/snapshots/seattlerb/str_heredoc_interp.txt
index eab9b874d6..cdb5e7e804 100644
--- a/test/prism/snapshots/seattlerb/str_heredoc_interp.txt
+++ b/test/prism/snapshots/seattlerb/str_heredoc_interp.txt
@@ -12,7 +12,7 @@
│ │ │ @ StatementsNode (location: (2,2)-(2,3))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (2,2)-(2,3))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :x
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 5fadc71333..474c42ebc8 100644
--- a/test/prism/snapshots/seattlerb/str_interp_ternary_or_label.txt
+++ b/test/prism/snapshots/seattlerb/str_interp_ternary_or_label.txt
@@ -18,7 +18,7 @@
│ │ │ ├── flags: ∅
│ │ │ ├── receiver:
│ │ │ │ @ CallNode (location: (1,3)-(1,4))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :a
@@ -59,7 +59,7 @@
│ │ │ │ │ ├── flags: ∅
│ │ │ │ │ └── arguments: (length: 1)
│ │ │ │ │ └── @ CallNode (location: (1,13)-(1,14))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :a
diff --git a/test/prism/snapshots/seattlerb/str_pct_Q_nested.txt b/test/prism/snapshots/seattlerb/str_pct_Q_nested.txt
index edf51fff7b..92ee7a9c6c 100644
--- a/test/prism/snapshots/seattlerb/str_pct_Q_nested.txt
+++ b/test/prism/snapshots/seattlerb/str_pct_Q_nested.txt
@@ -18,7 +18,7 @@
│ │ │ @ StatementsNode (location: (1,13)-(1,17))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (1,13)-(1,17))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :nest
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 c519951ed0..8fa8886029 100644
--- a/test/prism/snapshots/seattlerb/str_single_double_escaped_newline.txt
+++ b/test/prism/snapshots/seattlerb/str_single_double_escaped_newline.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,9))
└── body: (length: 2)
├── @ CallNode (location: (1,0)-(1,7))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -23,7 +23,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
└── @ CallNode (location: (1,8)-(1,9))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :b
diff --git a/test/prism/snapshots/seattlerb/str_single_escaped_newline.txt b/test/prism/snapshots/seattlerb/str_single_escaped_newline.txt
index 80c4712a74..c840c7688b 100644
--- a/test/prism/snapshots/seattlerb/str_single_escaped_newline.txt
+++ b/test/prism/snapshots/seattlerb/str_single_escaped_newline.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,8))
└── body: (length: 2)
├── @ CallNode (location: (1,0)-(1,6))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -23,7 +23,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
└── @ CallNode (location: (1,7)-(1,8))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :b
diff --git a/test/prism/snapshots/seattlerb/str_single_newline.txt b/test/prism/snapshots/seattlerb/str_single_newline.txt
index d9b8d69f99..15b0f2ff72 100644
--- a/test/prism/snapshots/seattlerb/str_single_newline.txt
+++ b/test/prism/snapshots/seattlerb/str_single_newline.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(2,3))
└── body: (length: 2)
├── @ CallNode (location: (1,0)-(2,1))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -23,7 +23,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
└── @ CallNode (location: (2,2)-(2,3))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :b
diff --git a/test/prism/snapshots/seattlerb/symbol_list.txt b/test/prism/snapshots/seattlerb/symbol_list.txt
index 212edfcbc7..6750160d50 100644
--- a/test/prism/snapshots/seattlerb/symbol_list.txt
+++ b/test/prism/snapshots/seattlerb/symbol_list.txt
@@ -15,7 +15,7 @@
│ │ │ │ @ StatementsNode (location: (1,5)-(1,6))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (1,5)-(1,6))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :a
@@ -35,7 +35,7 @@
│ │ │ @ StatementsNode (location: (1,10)-(1,11))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (1,10)-(1,11))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
diff --git a/test/prism/snapshots/seattlerb/thingy.txt b/test/prism/snapshots/seattlerb/thingy.txt
index 63ec8c7e36..6fe6882062 100644
--- a/test/prism/snapshots/seattlerb/thingy.txt
+++ b/test/prism/snapshots/seattlerb/thingy.txt
@@ -7,7 +7,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (1,0)-(1,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :f
@@ -32,7 +32,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (3,0)-(3,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :f
diff --git a/test/prism/snapshots/seattlerb/unary_minus.txt b/test/prism/snapshots/seattlerb/unary_minus.txt
index 53fe7a65f2..79889bffb0 100644
--- a/test/prism/snapshots/seattlerb/unary_minus.txt
+++ b/test/prism/snapshots/seattlerb/unary_minus.txt
@@ -7,7 +7,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (1,1)-(1,2))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
diff --git a/test/prism/snapshots/seattlerb/unary_plus.txt b/test/prism/snapshots/seattlerb/unary_plus.txt
index 34ea027ce3..b570cbf73b 100644
--- a/test/prism/snapshots/seattlerb/unary_plus.txt
+++ b/test/prism/snapshots/seattlerb/unary_plus.txt
@@ -7,7 +7,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (1,1)-(1,2))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
diff --git a/test/prism/snapshots/seattlerb/unary_tilde.txt b/test/prism/snapshots/seattlerb/unary_tilde.txt
index 7268b99cd3..5fd1a5d00e 100644
--- a/test/prism/snapshots/seattlerb/unary_tilde.txt
+++ b/test/prism/snapshots/seattlerb/unary_tilde.txt
@@ -7,7 +7,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (1,1)-(1,2))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
diff --git a/test/prism/snapshots/seattlerb/utf8_bom.txt b/test/prism/snapshots/seattlerb/utf8_bom.txt
index ad48aa068f..05fa1af463 100644
--- a/test/prism/snapshots/seattlerb/utf8_bom.txt
+++ b/test/prism/snapshots/seattlerb/utf8_bom.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (2,0)-(2,3))
└── body: (length: 1)
└── @ CallNode (location: (2,0)-(2,3))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :p
diff --git a/test/prism/snapshots/seattlerb/when_splat.txt b/test/prism/snapshots/seattlerb/when_splat.txt
index bd5928ca8b..dfe19b29cc 100644
--- a/test/prism/snapshots/seattlerb/when_splat.txt
+++ b/test/prism/snapshots/seattlerb/when_splat.txt
@@ -6,7 +6,7 @@
└── @ CaseNode (location: (1,0)-(1,25))
├── predicate:
│ @ CallNode (location: (1,5)-(1,6))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -23,7 +23,7 @@
│ │ ├── operator_loc: (1,13)-(1,14) = "*"
│ │ └── expression:
│ │ @ CallNode (location: (1,14)-(1,15))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
diff --git a/test/prism/snapshots/seattlerb/yield_call_assocs.txt b/test/prism/snapshots/seattlerb/yield_call_assocs.txt
index 95d64eaaef..8a842b5166 100644
--- a/test/prism/snapshots/seattlerb/yield_call_assocs.txt
+++ b/test/prism/snapshots/seattlerb/yield_call_assocs.txt
@@ -73,7 +73,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (5,6)-(5,13))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :y
@@ -109,7 +109,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (7,6)-(7,11))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :y
@@ -145,7 +145,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (9,6)-(9,12))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :y
@@ -181,7 +181,7 @@
│ ├── flags: ∅
│ └── arguments: (length: 1)
│ └── @ CallNode (location: (11,6)-(11,13))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :y
@@ -197,7 +197,7 @@
│ │ └── @ AssocNode (location: (11,8)-(11,12))
│ │ ├── key:
│ │ │ @ CallNode (location: (11,8)-(11,9))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :z
diff --git a/test/prism/snapshots/spanning_heredoc.txt b/test/prism/snapshots/spanning_heredoc.txt
index 5602d567eb..6f499ffcea 100644
--- a/test/prism/snapshots/spanning_heredoc.txt
+++ b/test/prism/snapshots/spanning_heredoc.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (4,0)-(63,2))
└── body: (length: 14)
├── @ CallNode (location: (4,0)-(7,7))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :pp
@@ -59,7 +59,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (10,0)-(13,2))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :pp
@@ -94,7 +94,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (16,0)-(19,2))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :pp
@@ -129,7 +129,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (22,0)-(25,2))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :pp
@@ -164,7 +164,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (28,0)-(31,2))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :pp
@@ -200,7 +200,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (35,0)-(38,2))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :pp
@@ -240,7 +240,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (41,0)-(44,2))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :pp
@@ -276,7 +276,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (48,0)-(51,2))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :pp
diff --git a/test/prism/snapshots/strings.txt b/test/prism/snapshots/strings.txt
index eec1d27f33..47f26f439d 100644
--- a/test/prism/snapshots/strings.txt
+++ b/test/prism/snapshots/strings.txt
@@ -122,7 +122,7 @@
│ │ │ │ @ StatementsNode (location: (35,8)-(35,11))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (35,8)-(35,11))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :bbb
@@ -221,7 +221,7 @@
│ │ │ │ @ StatementsNode (location: (55,7)-(55,10))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (55,7)-(55,10))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :bbb
@@ -348,7 +348,7 @@
│ │ │ │ │ │ @ StatementsNode (location: (67,8)-(67,9))
│ │ │ │ │ │ └── body: (length: 1)
│ │ │ │ │ │ └── @ CallNode (location: (67,8)-(67,9))
- │ │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ │ ├── name: :c
diff --git a/test/prism/snapshots/symbols.txt b/test/prism/snapshots/symbols.txt
index e830ddb7cc..3f3f0578bc 100644
--- a/test/prism/snapshots/symbols.txt
+++ b/test/prism/snapshots/symbols.txt
@@ -18,7 +18,7 @@
│ │ │ @ StatementsNode (location: (3,4)-(3,7))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (3,4)-(3,7))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :var
diff --git a/test/prism/snapshots/ternary_operator.txt b/test/prism/snapshots/ternary_operator.txt
index 541bd8c792..f1d72f810b 100644
--- a/test/prism/snapshots/ternary_operator.txt
+++ b/test/prism/snapshots/ternary_operator.txt
@@ -7,7 +7,7 @@
│ ├── if_keyword_loc: ∅
│ ├── predicate:
│ │ @ CallNode (location: (1,0)-(1,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -21,7 +21,7 @@
│ │ @ StatementsNode (location: (1,4)-(1,5))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (1,4)-(1,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
@@ -37,7 +37,7 @@
│ │ │ @ StatementsNode (location: (1,8)-(1,9))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (1,8)-(1,9))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :c
@@ -52,7 +52,7 @@
│ ├── if_keyword_loc: ∅
│ ├── predicate:
│ │ @ CallNode (location: (3,0)-(3,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -69,7 +69,7 @@
│ │ ├── lparen_loc: ∅
│ │ ├── value:
│ │ │ @ CallNode (location: (3,13)-(3,14))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -90,7 +90,7 @@
│ │ │ ├── lparen_loc: ∅
│ │ │ ├── value:
│ │ │ │ @ CallNode (location: (3,26)-(3,27))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :c
@@ -107,7 +107,7 @@
│ ├── if_keyword_loc: ∅
│ ├── predicate:
│ │ @ CallNode (location: (5,0)-(5,6))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :empty?
@@ -134,7 +134,7 @@
│ ├── if_keyword_loc: ∅
│ ├── predicate:
│ │ @ CallNode (location: (7,0)-(7,6))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :empty?
@@ -161,7 +161,7 @@
│ ├── if_keyword_loc: ∅
│ ├── predicate:
│ │ @ CallNode (location: (9,0)-(9,6))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :empty?
@@ -188,7 +188,7 @@
│ ├── if_keyword_loc: ∅
│ ├── predicate:
│ │ @ CallNode (location: (11,0)-(11,2))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a?
@@ -215,7 +215,7 @@
│ ├── if_keyword_loc: ∅
│ ├── predicate:
│ │ @ CallNode (location: (13,0)-(13,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -229,7 +229,7 @@
│ │ @ StatementsNode (location: (13,3)-(13,7))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (13,3)-(13,7))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :var1
@@ -245,7 +245,7 @@
│ │ │ @ StatementsNode (location: (13,10)-(13,14))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (13,10)-(13,14))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :var2
@@ -260,7 +260,7 @@
├── if_keyword_loc: ∅
├── predicate:
│ @ CallNode (location: (15,0)-(15,4))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :nil?
diff --git a/test/prism/snapshots/unless.txt b/test/prism/snapshots/unless.txt
index 3bc3e99897..7deb8f7959 100644
--- a/test/prism/snapshots/unless.txt
+++ b/test/prism/snapshots/unless.txt
@@ -90,7 +90,7 @@
├── keyword_loc: (14,11)-(14,17) = "unless"
├── predicate:
│ @ CallNode (location: (14,18)-(14,22))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar?
@@ -104,7 +104,7 @@
│ @ StatementsNode (location: (14,0)-(14,10))
│ └── body: (length: 1)
│ └── @ CallNode (location: (14,0)-(14,10))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
diff --git a/test/prism/snapshots/unparser/corpus/literal/assignment.txt b/test/prism/snapshots/unparser/corpus/literal/assignment.txt
index 4cb19d2867..281a7ea515 100644
--- a/test/prism/snapshots/unparser/corpus/literal/assignment.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/assignment.txt
@@ -535,7 +535,7 @@
│ ├── name_loc: (25,0)-(25,3) = "foo"
│ ├── value:
│ │ @ CallNode (location: (25,6)-(25,11))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -613,7 +613,7 @@
│ │ │ ├── operator_loc: (29,4)-(29,5) = "*"
│ │ │ └── expression:
│ │ │ @ CallNode (location: (29,5)-(29,10))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :index
@@ -623,7 +623,7 @@
│ │ │ ├── closing_loc: ∅
│ │ │ └── block: ∅
│ │ └── @ CallNode (location: (29,14)-(29,19))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :value
@@ -658,7 +658,7 @@
│ │ │ │ └── flags: decimal
│ │ │ └── operator_loc: (30,5)-(30,7) = ".."
│ │ └── @ CallNode (location: (30,12)-(30,17))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :value
@@ -708,7 +708,7 @@
│ │ │ ├── name: :b
│ │ │ └── depth: 0
│ │ └── @ CallNode (location: (32,12)-(32,17))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :value
@@ -734,7 +734,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (33,4)-(33,9))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :index
@@ -744,7 +744,7 @@
│ │ │ ├── closing_loc: ∅
│ │ │ └── block: ∅
│ │ └── @ CallNode (location: (33,13)-(33,18))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :value
@@ -810,7 +810,7 @@
│ │ │ ├── closing_loc: (36,4)-(36,5) = ")"
│ │ │ └── unescaped: ""
│ │ └── @ CallNode (location: (36,9)-(36,12))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -844,7 +844,7 @@
│ ├── operator_loc: (37,7)-(37,10) = "||="
│ └── value:
│ @ CallNode (location: (37,11)-(37,14))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
@@ -999,7 +999,7 @@
│ ├── operator_loc: (48,14)-(48,17) = "||="
│ └── value:
│ @ CallNode (location: (48,18)-(48,21))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
diff --git a/test/prism/snapshots/unparser/corpus/literal/block.txt b/test/prism/snapshots/unparser/corpus/literal/block.txt
index 63fcfd23dd..8c8d9ac508 100644
--- a/test/prism/snapshots/unparser/corpus/literal/block.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/block.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(96,1))
└── body: (length: 30)
├── @ CallNode (location: (1,0)-(2,1))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -21,7 +21,7 @@
│ ├── opening_loc: (1,4)-(1,5) = "{"
│ └── closing_loc: (2,0)-(2,1) = "}"
├── @ CallNode (location: (3,0)-(4,1))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -53,7 +53,7 @@
│ ├── opening_loc: (3,4)-(3,5) = "{"
│ └── closing_loc: (4,0)-(4,1) = "}"
├── @ CallNode (location: (5,0)-(6,1))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -86,7 +86,7 @@
│ ├── opening_loc: (5,4)-(5,5) = "{"
│ └── closing_loc: (6,0)-(6,1) = "}"
├── @ CallNode (location: (7,0)-(8,1))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -121,7 +121,7 @@
│ ├── opening_loc: (7,4)-(7,5) = "{"
│ └── closing_loc: (8,0)-(8,1) = "}"
├── @ CallNode (location: (9,0)-(10,1))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -155,7 +155,7 @@
│ ├── opening_loc: (9,4)-(9,5) = "{"
│ └── closing_loc: (10,0)-(10,1) = "}"
├── @ CallNode (location: (11,0)-(13,1))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -180,7 +180,7 @@
│ ├── opening_loc: (11,7)-(11,8) = "{"
│ └── closing_loc: (13,0)-(13,1) = "}"
├── @ CallNode (location: (14,0)-(16,1))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -219,7 +219,7 @@
│ ├── opening_loc: (14,4)-(14,5) = "{"
│ └── closing_loc: (16,0)-(16,1) = "}"
├── @ CallNode (location: (17,0)-(19,1))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -258,7 +258,7 @@
│ ├── opening_loc: (17,4)-(17,5) = "{"
│ └── closing_loc: (19,0)-(19,1) = "}"
├── @ CallNode (location: (20,0)-(22,1))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -275,7 +275,7 @@
│ │ @ StatementsNode (location: (21,2)-(21,5))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (21,2)-(21,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -290,7 +290,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (23,0)-(23,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -339,7 +339,7 @@
│ │ @ StatementsNode (location: (24,2)-(24,3))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (24,2)-(24,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :d
@@ -354,7 +354,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (26,0)-(26,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -400,7 +400,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (28,0)-(28,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -444,7 +444,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (30,0)-(30,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -480,7 +480,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (32,0)-(32,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -521,7 +521,7 @@
│ │ @ StatementsNode (location: (33,2)-(33,3))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (33,2)-(33,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :d
@@ -536,7 +536,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (35,0)-(35,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -582,7 +582,7 @@
│ │ @ StatementsNode (location: (36,2)-(36,3))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (36,2)-(36,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :d
@@ -597,7 +597,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (38,0)-(38,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -649,7 +649,7 @@
│ │ @ StatementsNode (location: (39,2)-(39,3))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (39,2)-(39,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :d
@@ -664,7 +664,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (41,0)-(41,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -718,7 +718,7 @@
│ │ @ StatementsNode (location: (42,2)-(42,3))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (42,2)-(42,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :d
@@ -733,7 +733,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (44,0)-(44,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -780,7 +780,7 @@
│ │ @ StatementsNode (location: (45,2)-(45,3))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (45,2)-(45,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :d
@@ -798,7 +798,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (47,0)-(47,3))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -829,7 +829,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (49,0)-(51,3))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :m
@@ -865,7 +865,7 @@
│ ├── opening_loc: (49,2)-(49,4) = "do"
│ └── closing_loc: (51,0)-(51,3) = "end"
├── @ CallNode (location: (52,0)-(56,3))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :m
@@ -885,7 +885,7 @@
│ │ │ @ StatementsNode (location: (53,2)-(53,5))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (53,2)-(53,5))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -918,7 +918,7 @@
│ ├── opening_loc: (52,2)-(52,4) = "do"
│ └── closing_loc: (56,0)-(56,3) = "end"
├── @ CallNode (location: (57,0)-(61,3))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :m
@@ -938,7 +938,7 @@
│ │ │ @ StatementsNode (location: (58,2)-(58,5))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (58,2)-(58,5))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -957,7 +957,7 @@
│ │ │ │ ├── operator_loc: (59,18)-(59,19) = "*"
│ │ │ │ └── expression:
│ │ │ │ @ CallNode (location: (59,19)-(59,22))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :bar
@@ -972,7 +972,7 @@
│ │ │ │ @ StatementsNode (location: (60,2)-(60,5))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (60,2)-(60,5))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :baz
@@ -988,7 +988,7 @@
│ ├── opening_loc: (57,2)-(57,4) = "do"
│ └── closing_loc: (61,0)-(61,3) = "end"
├── @ CallNode (location: (62,0)-(66,3))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :m
@@ -1008,7 +1008,7 @@
│ │ │ @ StatementsNode (location: (63,2)-(63,5))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (63,2)-(63,5))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -1027,7 +1027,7 @@
│ │ │ │ ├── operator_loc: (64,18)-(64,19) = "*"
│ │ │ │ └── expression:
│ │ │ │ @ CallNode (location: (64,19)-(64,22))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :bar
@@ -1045,7 +1045,7 @@
│ │ │ │ @ StatementsNode (location: (65,2)-(65,5))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (65,2)-(65,5))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :baz
@@ -1061,7 +1061,7 @@
│ ├── opening_loc: (62,2)-(62,4) = "do"
│ └── closing_loc: (66,0)-(66,3) = "end"
├── @ CallNode (location: (67,0)-(71,3))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :m
@@ -1081,7 +1081,7 @@
│ │ │ @ StatementsNode (location: (68,2)-(68,5))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (68,2)-(68,5))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -1098,7 +1098,7 @@
│ │ │ │ ├── operator_loc: (69,7)-(69,8) = "*"
│ │ │ │ └── expression:
│ │ │ │ @ CallNode (location: (69,8)-(69,11))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :bar
@@ -1113,7 +1113,7 @@
│ │ │ │ @ StatementsNode (location: (70,2)-(70,5))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (70,2)-(70,5))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :baz
@@ -1129,7 +1129,7 @@
│ ├── opening_loc: (67,2)-(67,4) = "do"
│ └── closing_loc: (71,0)-(71,3) = "end"
├── @ CallNode (location: (72,0)-(75,3))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :m
@@ -1149,7 +1149,7 @@
│ │ │ @ StatementsNode (location: (73,2)-(73,5))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (73,2)-(73,5))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -1174,7 +1174,7 @@
│ ├── opening_loc: (72,2)-(72,4) = "do"
│ └── closing_loc: (75,0)-(75,3) = "end"
├── @ CallNode (location: (76,0)-(81,3))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :m
@@ -1194,7 +1194,7 @@
│ │ │ @ StatementsNode (location: (77,2)-(77,5))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (77,2)-(77,5))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -1218,7 +1218,7 @@
│ │ │ │ @ StatementsNode (location: (80,2)-(80,5))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (80,2)-(80,5))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :baz
@@ -1233,7 +1233,7 @@
│ ├── opening_loc: (76,2)-(76,4) = "do"
│ └── closing_loc: (81,0)-(81,3) = "end"
├── @ CallNode (location: (82,0)-(86,3))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :m
@@ -1253,7 +1253,7 @@
│ │ │ @ StatementsNode (location: (83,2)-(83,5))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (83,2)-(83,5))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -1270,7 +1270,7 @@
│ │ │ │ ├── operator_loc: (84,7)-(84,8) = "*"
│ │ │ │ └── expression:
│ │ │ │ @ CallNode (location: (84,8)-(84,11))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :bar
@@ -1288,7 +1288,7 @@
│ │ │ │ @ StatementsNode (location: (85,2)-(85,5))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (85,2)-(85,5))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :baz
@@ -1304,7 +1304,7 @@
│ ├── opening_loc: (82,2)-(82,4) = "do"
│ └── closing_loc: (86,0)-(86,3) = "end"
├── @ CallNode (location: (87,0)-(89,3))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :m
@@ -1332,7 +1332,7 @@
│ ├── opening_loc: (87,2)-(87,4) = "do"
│ └── closing_loc: (89,0)-(89,3) = "end"
├── @ CallNode (location: (90,0)-(93,3))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :m
@@ -1367,7 +1367,7 @@
│ ├── opening_loc: (90,2)-(90,4) = "do"
│ └── closing_loc: (93,0)-(93,3) = "end"
└── @ CallNode (location: (94,0)-(96,1))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :bar
diff --git a/test/prism/snapshots/unparser/corpus/literal/case.txt b/test/prism/snapshots/unparser/corpus/literal/case.txt
index be09557956..ee5866a158 100644
--- a/test/prism/snapshots/unparser/corpus/literal/case.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/case.txt
@@ -10,7 +10,7 @@
│ │ │ ├── keyword_loc: (2,0)-(2,4) = "when"
│ │ │ ├── conditions: (length: 1)
│ │ │ │ └── @ CallNode (location: (2,5)-(2,8))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :bar
@@ -23,7 +23,7 @@
│ │ │ @ StatementsNode (location: (3,2)-(3,5))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (3,2)-(3,5))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :baz
@@ -36,7 +36,7 @@
│ │ ├── keyword_loc: (4,0)-(4,4) = "when"
│ │ ├── conditions: (length: 1)
│ │ │ └── @ CallNode (location: (4,5)-(4,8))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :baz
@@ -49,7 +49,7 @@
│ │ @ StatementsNode (location: (5,2)-(5,5))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (5,2)-(5,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -64,7 +64,7 @@
├── @ CaseNode (location: (7,0)-(11,3))
│ ├── predicate:
│ │ @ CallNode (location: (7,5)-(7,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -78,7 +78,7 @@
│ │ │ ├── keyword_loc: (8,0)-(8,4) = "when"
│ │ │ ├── conditions: (length: 1)
│ │ │ │ └── @ CallNode (location: (8,5)-(8,8))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :bar
@@ -92,7 +92,7 @@
│ │ ├── keyword_loc: (9,0)-(9,4) = "when"
│ │ ├── conditions: (length: 1)
│ │ │ └── @ CallNode (location: (9,5)-(9,8))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :baz
@@ -105,7 +105,7 @@
│ │ @ StatementsNode (location: (10,2)-(10,5))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (10,2)-(10,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -120,7 +120,7 @@
├── @ CaseNode (location: (12,0)-(17,3))
│ ├── predicate:
│ │ @ CallNode (location: (12,5)-(12,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -134,7 +134,7 @@
│ │ │ ├── keyword_loc: (13,0)-(13,4) = "when"
│ │ │ ├── conditions: (length: 1)
│ │ │ │ └── @ CallNode (location: (13,5)-(13,8))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :bar
@@ -147,7 +147,7 @@
│ │ │ @ StatementsNode (location: (14,2)-(14,5))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (14,2)-(14,5))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :baz
@@ -160,7 +160,7 @@
│ │ ├── keyword_loc: (15,0)-(15,4) = "when"
│ │ ├── conditions: (length: 1)
│ │ │ └── @ CallNode (location: (15,5)-(15,8))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :baz
@@ -173,7 +173,7 @@
│ │ @ StatementsNode (location: (16,2)-(16,5))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (16,2)-(16,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -188,7 +188,7 @@
├── @ CaseNode (location: (18,0)-(21,3))
│ ├── predicate:
│ │ @ CallNode (location: (18,5)-(18,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -202,7 +202,7 @@
│ │ ├── keyword_loc: (19,0)-(19,4) = "when"
│ │ ├── conditions: (length: 2)
│ │ │ ├── @ CallNode (location: (19,5)-(19,8))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :bar
@@ -212,7 +212,7 @@
│ │ │ │ ├── closing_loc: ∅
│ │ │ │ └── block: ∅
│ │ │ └── @ CallNode (location: (19,10)-(19,13))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :baz
@@ -236,7 +236,7 @@
├── @ CaseNode (location: (22,0)-(25,3))
│ ├── predicate:
│ │ @ CallNode (location: (22,5)-(22,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -253,7 +253,7 @@
│ │ │ ├── operator_loc: (23,5)-(23,6) = "*"
│ │ │ └── expression:
│ │ │ @ CallNode (location: (23,6)-(23,9))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -277,7 +277,7 @@
├── @ CaseNode (location: (26,0)-(31,3))
│ ├── predicate:
│ │ @ CallNode (location: (26,5)-(26,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -291,7 +291,7 @@
│ │ ├── keyword_loc: (27,0)-(27,4) = "when"
│ │ ├── conditions: (length: 1)
│ │ │ └── @ CallNode (location: (27,5)-(27,8))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -304,7 +304,7 @@
│ │ @ StatementsNode (location: (28,2)-(28,5))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (28,2)-(28,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :baz
@@ -331,7 +331,7 @@
├── @ CaseNode (location: (32,0)-(34,3))
│ ├── predicate:
│ │ @ CallNode (location: (32,5)-(32,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -351,7 +351,7 @@
│ │ │ ├── flags: ∅
│ │ │ ├── receiver:
│ │ │ │ @ CallNode (location: (33,6)-(33,9))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :bar
@@ -369,7 +369,7 @@
│ │ │ │ ├── flags: ∅
│ │ │ │ └── arguments: (length: 1)
│ │ │ │ └── @ CallNode (location: (33,12)-(33,15))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :baz
@@ -387,7 +387,7 @@
└── @ CaseNode (location: (35,0)-(37,3))
├── predicate:
│ @ CallNode (location: (35,5)-(35,8))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -407,7 +407,7 @@
│ │ ├── flags: attribute_write
│ │ ├── receiver:
│ │ │ @ CallNode (location: (36,6)-(36,9))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
diff --git a/test/prism/snapshots/unparser/corpus/literal/class.txt b/test/prism/snapshots/unparser/corpus/literal/class.txt
index b26934afbb..ce22483410 100644
--- a/test/prism/snapshots/unparser/corpus/literal/class.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/class.txt
@@ -20,7 +20,7 @@
│ ├── operator_loc: (4,6)-(4,8) = "<<"
│ ├── expression:
│ │ @ CallNode (location: (4,9)-(4,10))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -37,7 +37,7 @@
│ ├── operator_loc: (7,6)-(7,8) = "<<"
│ ├── expression:
│ │ @ CallNode (location: (7,9)-(7,10))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -50,7 +50,7 @@
│ │ @ StatementsNode (location: (8,2)-(8,3))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (8,2)-(8,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
@@ -169,7 +169,7 @@
│ │ @ StatementsNode (location: (27,2)-(31,5))
│ │ └── body: (length: 2)
│ │ ├── @ CallNode (location: (27,2)-(27,16))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :include
diff --git a/test/prism/snapshots/unparser/corpus/literal/def.txt b/test/prism/snapshots/unparser/corpus/literal/def.txt
index 0648be1293..085f0ef8b3 100644
--- a/test/prism/snapshots/unparser/corpus/literal/def.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/def.txt
@@ -15,7 +15,7 @@
│ │ │ @ StatementsNode (location: (2,2)-(2,3))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (2,2)-(2,3))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :a
@@ -34,7 +34,7 @@
│ │ │ │ @ StatementsNode (location: (4,2)-(4,3))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (4,2)-(4,3))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :b
@@ -51,7 +51,7 @@
│ │ │ │ @ StatementsNode (location: (6,2)-(6,3))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (6,2)-(6,3))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :c
@@ -68,7 +68,7 @@
│ │ │ │ @ StatementsNode (location: (8,2)-(8,3))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (8,2)-(8,3))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :d
@@ -101,7 +101,7 @@
│ │ │ └── @ RescueModifierNode (location: (12,2)-(12,12))
│ │ │ ├── expression:
│ │ │ │ @ CallNode (location: (12,2)-(12,3))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :a
@@ -113,7 +113,7 @@
│ │ │ ├── keyword_loc: (12,4)-(12,10) = "rescue"
│ │ │ └── rescue_expression:
│ │ │ @ CallNode (location: (12,11)-(12,12))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -132,7 +132,7 @@
│ │ │ │ @ StatementsNode (location: (14,2)-(14,3))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (14,2)-(14,3))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :b
@@ -149,7 +149,7 @@
│ │ │ │ @ StatementsNode (location: (16,2)-(16,3))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (16,2)-(16,3))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :c
@@ -166,7 +166,7 @@
│ │ │ │ @ StatementsNode (location: (18,2)-(18,3))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (18,2)-(18,3))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :d
@@ -236,7 +236,7 @@
│ │ @ StatementsNode (location: (28,2)-(28,5))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (28,2)-(28,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -265,7 +265,7 @@
│ │ │ @ StatementsNode (location: (32,2)-(32,5))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (32,2)-(32,5))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -284,7 +284,7 @@
│ │ │ │ @ StatementsNode (location: (34,2)-(34,5))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (34,2)-(34,5))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :bar
@@ -302,7 +302,7 @@
│ │ │ │ @ StatementsNode (location: (36,2)-(36,5))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (36,2)-(36,5))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :baz
@@ -333,7 +333,7 @@
│ │ │ @ StatementsNode (location: (40,2)-(40,5))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (40,2)-(40,5))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -351,7 +351,7 @@
│ │ │ │ @ StatementsNode (location: (42,2)-(42,5))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (42,2)-(42,5))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :baz
@@ -382,7 +382,7 @@
│ │ │ @ StatementsNode (location: (46,2)-(46,5))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (46,2)-(46,5))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -401,7 +401,7 @@
│ │ │ │ @ StatementsNode (location: (48,2)-(48,5))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (48,2)-(48,5))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :baz
@@ -536,7 +536,7 @@
│ │ │ │ @ StatementsNode (location: (63,15)-(63,23))
│ │ │ │ └── body: (length: 2)
│ │ │ │ ├── @ CallNode (location: (63,15)-(63,18))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :baz
@@ -674,7 +674,7 @@
│ │ │ ├── name_loc: (77,8)-(77,12) = "bar:"
│ │ │ └── value:
│ │ │ @ CallNode (location: (77,13)-(77,16))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :baz
@@ -710,7 +710,7 @@
│ │ │ ├── name_loc: (80,8)-(80,12) = "bar:"
│ │ │ └── value:
│ │ │ @ CallNode (location: (80,13)-(80,18))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -751,7 +751,7 @@
│ │ @ StatementsNode (location: (84,2)-(84,5))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (84,2)-(84,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -859,7 +859,7 @@
│ │ @ StatementsNode (location: (96,2)-(96,5))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (96,2)-(96,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -907,7 +907,7 @@
│ │ @ StatementsNode (location: (100,2)-(100,5))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (100,2)-(100,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -984,7 +984,7 @@
│ │ @ StatementsNode (location: (108,2)-(108,5))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (108,2)-(108,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -1043,7 +1043,7 @@
│ │ @ StatementsNode (location: (116,2)-(117,5))
│ │ └── body: (length: 2)
│ │ ├── @ CallNode (location: (116,2)-(116,5))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -1053,7 +1053,7 @@
│ │ │ ├── closing_loc: ∅
│ │ │ └── block: ∅
│ │ └── @ CallNode (location: (117,2)-(117,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :baz
diff --git a/test/prism/snapshots/unparser/corpus/literal/defs.txt b/test/prism/snapshots/unparser/corpus/literal/defs.txt
index 8b8dcf2f28..196cef2dc5 100644
--- a/test/prism/snapshots/unparser/corpus/literal/defs.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/defs.txt
@@ -28,7 +28,7 @@
│ │ @ StatementsNode (location: (5,2)-(5,5))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (5,2)-(5,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -55,7 +55,7 @@
│ │ @ StatementsNode (location: (9,2)-(10,5))
│ │ └── body: (length: 2)
│ │ ├── @ CallNode (location: (9,2)-(9,5))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -65,7 +65,7 @@
│ │ │ ├── closing_loc: ∅
│ │ │ └── block: ∅
│ │ └── @ CallNode (location: (10,2)-(10,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :baz
@@ -93,7 +93,7 @@
│ │ @ StatementsNode (location: (14,2)-(14,5))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (14,2)-(14,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -117,7 +117,7 @@
│ │ @ ParenthesesNode (location: (17,4)-(18,2))
│ │ ├── body:
│ │ │ @ CallNode (location: (17,5)-(18,1))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -155,7 +155,7 @@
│ │ @ StatementsNode (location: (19,2)-(19,5))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (19,2)-(19,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -179,7 +179,7 @@
│ │ @ ParenthesesNode (location: (22,4)-(22,12))
│ │ ├── body:
│ │ │ @ CallNode (location: (22,5)-(22,11))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -200,7 +200,7 @@
│ │ @ StatementsNode (location: (23,2)-(23,5))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (23,2)-(23,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -248,7 +248,7 @@
│ │ @ StatementsNode (location: (27,2)-(27,5))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (27,2)-(27,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :baz
@@ -286,7 +286,7 @@
│ │ @ StatementsNode (location: (31,2)-(31,5))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (31,2)-(31,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :baz
@@ -314,7 +314,7 @@
│ │ @ StatementsNode (location: (35,2)-(35,5))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (35,2)-(35,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :baz
@@ -336,7 +336,7 @@
├── name_loc: (38,8)-(38,11) = "bar"
├── receiver:
│ @ CallNode (location: (38,4)-(38,7))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -350,7 +350,7 @@
│ @ StatementsNode (location: (39,2)-(39,5))
│ └── body: (length: 1)
│ └── @ CallNode (location: (39,2)-(39,5))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :baz
diff --git a/test/prism/snapshots/unparser/corpus/literal/dstr.txt b/test/prism/snapshots/unparser/corpus/literal/dstr.txt
index f4fbe11140..45c399720e 100644
--- a/test/prism/snapshots/unparser/corpus/literal/dstr.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/dstr.txt
@@ -56,7 +56,7 @@
│ │ │ │ └── unescaped: "a\nb\n"
│ │ │ └── closing_loc: (9,0)-(10,0) = " HEREDOC\n"
│ │ └── @ CallNode (location: (10,2)-(10,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :x
@@ -227,7 +227,7 @@
│ ├── consequent: ∅
│ └── end_keyword_loc: (30,0)-(30,3) = "end"
├── @ CallNode (location: (31,0)-(31,15))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -252,7 +252,7 @@
│ │ │ │ │ @ StatementsNode (location: (32,4)-(32,7))
│ │ │ │ │ └── body: (length: 1)
│ │ │ │ │ └── @ CallNode (location: (32,4)-(32,7))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :bar
@@ -272,7 +272,7 @@
│ ├── closing_loc: (31,14)-(31,15) = ")"
│ └── block: ∅
└── @ CallNode (location: (34,0)-(37,1))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :foo
@@ -297,7 +297,7 @@
│ │ │ │ @ StatementsNode (location: (35,4)-(35,7))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (35,4)-(35,7))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :bar
diff --git a/test/prism/snapshots/unparser/corpus/literal/flipflop.txt b/test/prism/snapshots/unparser/corpus/literal/flipflop.txt
index 45b2ed0c94..5e61e64da1 100644
--- a/test/prism/snapshots/unparser/corpus/literal/flipflop.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/flipflop.txt
@@ -21,7 +21,7 @@
│ │ │ │ │ ├── flags: ∅
│ │ │ │ │ ├── receiver:
│ │ │ │ │ │ @ CallNode (location: (1,5)-(1,6))
- │ │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ │ ├── name: :i
@@ -53,7 +53,7 @@
│ │ │ │ │ ├── flags: ∅
│ │ │ │ │ ├── receiver:
│ │ │ │ │ │ @ CallNode (location: (1,15)-(1,16))
- │ │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ │ ├── name: :i
@@ -84,7 +84,7 @@
│ │ @ StatementsNode (location: (2,2)-(2,5))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (2,2)-(2,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -113,7 +113,7 @@
│ │ │ │ ├── flags: ∅
│ │ │ │ ├── receiver:
│ │ │ │ │ @ CallNode (location: (4,5)-(4,6))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :i
@@ -145,7 +145,7 @@
│ │ │ │ ├── flags: ∅
│ │ │ │ ├── receiver:
│ │ │ │ │ @ CallNode (location: (4,16)-(4,17))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :i
@@ -176,7 +176,7 @@
│ @ StatementsNode (location: (5,2)-(5,5))
│ └── body: (length: 1)
│ └── @ CallNode (location: (5,2)-(5,5))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
diff --git a/test/prism/snapshots/unparser/corpus/literal/for.txt b/test/prism/snapshots/unparser/corpus/literal/for.txt
index 626a97fe55..660c6b73f3 100644
--- a/test/prism/snapshots/unparser/corpus/literal/for.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/for.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(12,3))
└── body: (length: 4)
├── @ CallNode (location: (1,0)-(3,4))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
@@ -21,7 +21,7 @@
│ │ │ └── depth: 0
│ │ ├── collection:
│ │ │ @ CallNode (location: (1,13)-(1,16))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -34,7 +34,7 @@
│ │ │ @ StatementsNode (location: (2,2)-(2,5))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (2,2)-(2,5))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :baz
@@ -56,7 +56,7 @@
│ │ └── depth: 0
│ ├── collection:
│ │ @ CallNode (location: (4,9)-(4,12))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -69,7 +69,7 @@
│ │ @ StatementsNode (location: (5,2)-(5,5))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (5,2)-(5,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :baz
@@ -101,7 +101,7 @@
│ │ └── rparen_loc: (7,10)-(7,11) = ")"
│ ├── collection:
│ │ @ CallNode (location: (7,15)-(7,18))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -114,7 +114,7 @@
│ │ @ StatementsNode (location: (8,2)-(8,5))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (8,2)-(8,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :baz
@@ -143,7 +143,7 @@
│ └── rparen_loc: (10,9)-(10,10) = ")"
├── collection:
│ @ CallNode (location: (10,14)-(10,17))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
@@ -156,7 +156,7 @@
│ @ StatementsNode (location: (11,2)-(11,5))
│ └── body: (length: 1)
│ └── @ CallNode (location: (11,2)-(11,5))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :baz
diff --git a/test/prism/snapshots/unparser/corpus/literal/hookexe.txt b/test/prism/snapshots/unparser/corpus/literal/hookexe.txt
index 0ff57fb213..dabedbc588 100644
--- a/test/prism/snapshots/unparser/corpus/literal/hookexe.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/hookexe.txt
@@ -8,7 +8,7 @@
│ │ @ StatementsNode (location: (2,2)-(2,5))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (2,2)-(2,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -21,7 +21,7 @@
│ ├── opening_loc: (1,6)-(1,7) = "{"
│ └── closing_loc: (3,0)-(3,1) = "}"
├── @ CallNode (location: (4,0)-(4,3))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
@@ -35,7 +35,7 @@
│ @ StatementsNode (location: (6,2)-(6,5))
│ └── body: (length: 1)
│ └── @ CallNode (location: (6,2)-(6,5))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :baz
diff --git a/test/prism/snapshots/unparser/corpus/literal/if.txt b/test/prism/snapshots/unparser/corpus/literal/if.txt
index 7b6300b85a..2c019ff502 100644
--- a/test/prism/snapshots/unparser/corpus/literal/if.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/if.txt
@@ -17,7 +17,7 @@
│ │ @ StatementsNode (location: (2,2)-(2,5))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (2,2)-(2,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -91,7 +91,7 @@
│ ├── if_keyword_loc: (18,0)-(18,2) = "if"
│ ├── predicate:
│ │ @ CallNode (location: (18,3)-(18,6))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -129,7 +129,7 @@
│ │ │ ├── name_loc: (22,2)-(22,5) = "foo"
│ │ │ ├── value:
│ │ │ │ @ CallNode (location: (22,8)-(22,11))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :bar
@@ -168,7 +168,7 @@
│ │ │ ├── name_loc: (26,2)-(26,5) = "foo"
│ │ │ ├── value:
│ │ │ │ @ CallNode (location: (26,8)-(26,11))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :bar
@@ -186,7 +186,7 @@
│ ├── keyword_loc: (28,0)-(28,6) = "unless"
│ ├── predicate:
│ │ @ CallNode (location: (28,7)-(28,10))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -205,7 +205,7 @@
│ │ ├── name_loc: (29,2)-(29,5) = "foo"
│ │ ├── value:
│ │ │ @ CallNode (location: (29,8)-(29,11))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -221,7 +221,7 @@
├── if_keyword_loc: (31,0)-(31,2) = "if"
├── predicate:
│ @ CallNode (location: (31,3)-(33,1))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
diff --git a/test/prism/snapshots/unparser/corpus/literal/kwbegin.txt b/test/prism/snapshots/unparser/corpus/literal/kwbegin.txt
index ed148fff8b..130dc4e08a 100644
--- a/test/prism/snapshots/unparser/corpus/literal/kwbegin.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/kwbegin.txt
@@ -34,7 +34,7 @@
│ │ @ StatementsNode (location: (10,2)-(10,3))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (10,2)-(10,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -53,7 +53,7 @@
│ │ @ StatementsNode (location: (14,2)-(14,3))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (14,2)-(14,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -72,7 +72,7 @@
│ │ │ @ StatementsNode (location: (16,2)-(16,3))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (16,2)-(16,3))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -91,7 +91,7 @@
│ │ @ StatementsNode (location: (20,2)-(21,3))
│ │ └── body: (length: 2)
│ │ ├── @ CallNode (location: (20,2)-(20,3))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :a
@@ -101,7 +101,7 @@
│ │ │ ├── closing_loc: ∅
│ │ │ └── block: ∅
│ │ └── @ CallNode (location: (21,2)-(21,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
@@ -120,7 +120,7 @@
│ │ │ @ StatementsNode (location: (23,2)-(23,3))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (23,2)-(23,3))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -174,7 +174,7 @@
│ │ @ StatementsNode (location: (35,2)-(35,3))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (35,2)-(35,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -195,7 +195,7 @@
│ │ │ @ StatementsNode (location: (37,2)-(37,3))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (37,2)-(37,3))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -216,7 +216,7 @@
│ │ │ @ StatementsNode (location: (39,2)-(39,3))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (39,2)-(39,3))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :c
@@ -234,7 +234,7 @@
│ │ │ @ StatementsNode (location: (41,2)-(41,3))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (41,2)-(41,3))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :d
@@ -259,7 +259,7 @@
│ │ │ │ ├── name: :foo
│ │ │ │ └── depth: 0
│ │ │ └── @ CallNode (location: (47,4)-(47,7))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -289,7 +289,7 @@
│ │ │ @ StatementsNode (location: (51,2)-(52,5))
│ │ │ └── body: (length: 2)
│ │ │ ├── @ CallNode (location: (51,2)-(51,5))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :baz
@@ -299,7 +299,7 @@
│ │ │ │ ├── closing_loc: ∅
│ │ │ │ └── block: ∅
│ │ │ └── @ CallNode (location: (52,2)-(52,5))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -320,7 +320,7 @@
│ │ └── @ RescueModifierNode (location: (56,2)-(56,35))
│ │ ├── expression:
│ │ │ @ CallNode (location: (56,2)-(56,18))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :raise
@@ -342,7 +342,7 @@
│ │ ├── name_loc: (56,26)-(56,29) = "foo"
│ │ ├── value:
│ │ │ @ CallNode (location: (56,32)-(56,35))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -452,7 +452,7 @@
│ │ │ @ StatementsNode (location: (75,2)-(75,5))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (75,2)-(75,5))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :baz
diff --git a/test/prism/snapshots/unparser/corpus/literal/lambda.txt b/test/prism/snapshots/unparser/corpus/literal/lambda.txt
index a8b58e5574..1a00ea9a59 100644
--- a/test/prism/snapshots/unparser/corpus/literal/lambda.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/lambda.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(13,1))
└── body: (length: 6)
├── @ CallNode (location: (1,0)-(2,1))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :lambda
@@ -21,7 +21,7 @@
│ ├── opening_loc: (1,7)-(1,8) = "{"
│ └── closing_loc: (2,0)-(2,1) = "}"
├── @ CallNode (location: (3,0)-(5,1))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :lambda
diff --git a/test/prism/snapshots/unparser/corpus/literal/literal.txt b/test/prism/snapshots/unparser/corpus/literal/literal.txt
index a26b925196..c9bb0b0153 100644
--- a/test/prism/snapshots/unparser/corpus/literal/literal.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/literal.txt
@@ -110,7 +110,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (6,0)-(6,13))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -153,7 +153,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (9,0)-(9,6))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -214,7 +214,7 @@
│ │ └── @ AssocSplatNode (location: (10,23)-(10,28))
│ │ ├── value:
│ │ │ @ CallNode (location: (10,25)-(10,28))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :baz
@@ -247,7 +247,7 @@
│ │ └── @ AssocSplatNode (location: (13,16)-(13,21))
│ │ ├── value:
│ │ │ @ CallNode (location: (13,18)-(13,21))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :baz
@@ -372,7 +372,7 @@
│ │ │ @ StatementsNode (location: (29,10)-(29,13))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (29,10)-(29,13))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :baz
@@ -657,7 +657,7 @@
│ │ │ │ @ StatementsNode (location: (58,7)-(58,10))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (58,7)-(58,10))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :bar
@@ -795,7 +795,7 @@
│ │ │ ├── opening_loc: (66,4)-(66,5) = "("
│ │ │ └── closing_loc: (66,5)-(66,6) = ")"
│ │ └── @ CallNode (location: (66,8)-(66,10))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :n2
@@ -932,7 +932,7 @@
│ │ │ │ │ ├── keyword_loc: (76,8)-(76,14) = "rescue"
│ │ │ │ │ └── rescue_expression:
│ │ │ │ │ @ CallNode (location: (76,15)-(76,18))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :foo
@@ -1062,7 +1062,7 @@
│ │ └── unescaped: "\na"
│ └── closing_loc: (82,6)-(82,7) = "\""
├── @ CallNode (location: (83,0)-(86,1))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -1125,7 +1125,7 @@
│ │ │ @ StatementsNode (location: (90,2)-(90,5))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (90,2)-(90,5))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
diff --git a/test/prism/snapshots/unparser/corpus/literal/module.txt b/test/prism/snapshots/unparser/corpus/literal/module.txt
index 71621f5a29..83766b1def 100644
--- a/test/prism/snapshots/unparser/corpus/literal/module.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/module.txt
@@ -58,7 +58,7 @@
│ @ StatementsNode (location: (11,2)-(15,5))
│ └── body: (length: 2)
│ ├── @ CallNode (location: (11,2)-(11,16))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :include
diff --git a/test/prism/snapshots/unparser/corpus/literal/opasgn.txt b/test/prism/snapshots/unparser/corpus/literal/opasgn.txt
index cf7de993c1..d4efe8de6b 100644
--- a/test/prism/snapshots/unparser/corpus/literal/opasgn.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/opasgn.txt
@@ -53,7 +53,7 @@
│ ├── operator_loc: (6,2)-(6,5) = "&&="
│ ├── value:
│ │ @ CallNode (location: (6,6)-(6,7))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
@@ -124,7 +124,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (9,11)-(9,12))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :k
@@ -134,7 +134,7 @@
│ │ │ ├── closing_loc: ∅
│ │ │ └── block: ∅
│ │ └── @ CallNode (location: (9,16)-(9,17))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :v
@@ -233,7 +233,7 @@
│ ├── operator_loc: (15,4)-(15,7) = "&&="
│ └── value:
│ @ CallNode (location: (15,8)-(15,9))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :b
@@ -269,7 +269,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (17,2)-(17,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
@@ -298,7 +298,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (18,2)-(18,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
@@ -327,7 +327,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (19,2)-(19,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
@@ -356,7 +356,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (20,2)-(20,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
@@ -385,7 +385,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (21,2)-(21,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
@@ -414,7 +414,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (22,2)-(22,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
@@ -428,7 +428,7 @@
│ ├── operator_loc: (22,5)-(22,8) = "&&="
│ └── value:
│ @ CallNode (location: (22,9)-(22,10))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :b
@@ -450,7 +450,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (23,2)-(23,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
@@ -469,7 +469,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (24,0)-(24,3))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
diff --git a/test/prism/snapshots/unparser/corpus/literal/pattern.txt b/test/prism/snapshots/unparser/corpus/literal/pattern.txt
index 8aa64face6..1a5113160d 100644
--- a/test/prism/snapshots/unparser/corpus/literal/pattern.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/pattern.txt
@@ -6,7 +6,7 @@
├── @ CaseMatchNode (location: (1,0)-(33,3))
│ ├── predicate:
│ │ @ CallNode (location: (1,5)-(1,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -63,7 +63,7 @@
│ │ │ │ @ StatementsNode (location: (5,2)-(5,3))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (5,2)-(5,3))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :y
@@ -340,7 +340,7 @@
├── @ CaseMatchNode (location: (34,0)-(36,3))
│ ├── predicate:
│ │ @ CallNode (location: (34,5)-(34,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -382,7 +382,7 @@
├── @ CaseMatchNode (location: (37,0)-(40,3))
│ ├── predicate:
│ │ @ CallNode (location: (37,5)-(37,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
diff --git a/test/prism/snapshots/unparser/corpus/literal/pragma.txt b/test/prism/snapshots/unparser/corpus/literal/pragma.txt
index 49a790c20f..ade81bc8ce 100644
--- a/test/prism/snapshots/unparser/corpus/literal/pragma.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/pragma.txt
@@ -8,7 +8,7 @@
│ └── filepath: "unparser/corpus/literal/pragma.txt"
├── @ SourceLineNode (location: (3,0)-(3,8))
└── @ CallNode (location: (4,0)-(4,7))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :__dir__
diff --git a/test/prism/snapshots/unparser/corpus/literal/rescue.txt b/test/prism/snapshots/unparser/corpus/literal/rescue.txt
index 80fd34f321..d84366f3f5 100644
--- a/test/prism/snapshots/unparser/corpus/literal/rescue.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/rescue.txt
@@ -6,7 +6,7 @@
├── @ RescueModifierNode (location: (1,0)-(1,14))
│ ├── expression:
│ │ @ CallNode (location: (1,0)-(1,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -18,7 +18,7 @@
│ ├── keyword_loc: (1,4)-(1,10) = "rescue"
│ └── rescue_expression:
│ @ CallNode (location: (1,11)-(1,14))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
@@ -30,7 +30,7 @@
├── @ RescueModifierNode (location: (2,0)-(2,21))
│ ├── expression:
│ │ @ CallNode (location: (2,0)-(2,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -48,7 +48,7 @@
│ ├── flags: ∅
│ └── arguments: (length: 1)
│ └── @ CallNode (location: (2,18)-(2,21))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
@@ -69,7 +69,7 @@
│ │ └── @ RescueModifierNode (location: (3,5)-(3,26))
│ │ ├── expression:
│ │ │ @ CallNode (location: (3,5)-(3,8))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -87,7 +87,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (3,23)-(3,26))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
diff --git a/test/prism/snapshots/unparser/corpus/literal/send.txt b/test/prism/snapshots/unparser/corpus/literal/send.txt
index edfd0cc6ae..cdb95cd491 100644
--- a/test/prism/snapshots/unparser/corpus/literal/send.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/send.txt
@@ -35,7 +35,7 @@
│ │ │ │ ├── operator_loc: (2,18)-(2,19) = "="
│ │ │ │ └── value:
│ │ │ │ @ CallNode (location: (2,20)-(2,21))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :b
@@ -182,7 +182,7 @@
│ │ │ ├── keyword_loc: (18,0)-(18,4) = "when"
│ │ │ ├── conditions: (length: 1)
│ │ │ │ └── @ CallNode (location: (18,5)-(18,8))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :bar
@@ -208,7 +208,7 @@
│ │ @ CaseNode (location: (20,0)-(22,3))
│ │ ├── predicate:
│ │ │ @ CallNode (location: (20,5)-(20,8))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -222,7 +222,7 @@
│ │ │ ├── keyword_loc: (21,0)-(21,4) = "when"
│ │ │ ├── conditions: (length: 1)
│ │ │ │ └── @ CallNode (location: (21,5)-(21,8))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :bar
@@ -318,7 +318,7 @@
│ │ ├── closing_loc: (30,0)-(30,3) = "end"
│ │ ├── predicate:
│ │ │ @ CallNode (location: (29,6)-(29,9))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -344,7 +344,7 @@
│ │ ├── closing_loc: (32,0)-(32,3) = "end"
│ │ ├── predicate:
│ │ │ @ CallNode (location: (31,6)-(31,9))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -365,7 +365,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (33,0)-(34,1))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :loop
@@ -395,7 +395,7 @@
│ │ ├── if_keyword_loc: (35,0)-(35,2) = "if"
│ │ ├── predicate:
│ │ │ @ CallNode (location: (35,3)-(35,6))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -492,7 +492,7 @@
│ │ │ ├── flags: ∅
│ │ │ ├── receiver:
│ │ │ │ @ CallNode (location: (39,1)-(39,4))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :foo
@@ -569,7 +569,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (41,9)-(41,12))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -612,7 +612,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (44,0)-(44,5))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :FOO
@@ -625,7 +625,7 @@
│ ├── flags: safe_navigation
│ ├── receiver:
│ │ @ CallNode (location: (45,0)-(45,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -645,7 +645,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (46,0)-(46,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -662,7 +662,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (47,0)-(47,3))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -675,7 +675,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (48,0)-(48,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -700,7 +700,7 @@
│ │ │ ├── flags: ∅
│ │ │ ├── receiver:
│ │ │ │ @ CallNode (location: (48,8)-(48,11))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :bar
@@ -718,7 +718,7 @@
│ │ │ │ ├── flags: ∅
│ │ │ │ └── arguments: (length: 1)
│ │ │ │ └── @ CallNode (location: (48,14)-(48,17))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :baz
@@ -737,7 +737,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (49,0)-(49,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -763,7 +763,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (50,0)-(50,17))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -781,7 +781,7 @@
│ │ │ └── @ OrNode (location: (50,6)-(50,16))
│ │ │ ├── left:
│ │ │ │ @ CallNode (location: (50,6)-(50,9))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :foo
@@ -792,7 +792,7 @@
│ │ │ │ └── block: ∅
│ │ │ ├── right:
│ │ │ │ @ CallNode (location: (50,13)-(50,16))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :bar
@@ -806,7 +806,7 @@
│ │ └── closing_loc: (50,16)-(50,17) = ")"
│ └── operator_loc: (50,4)-(50,5) = "&"
├── @ CallNode (location: (51,0)-(51,10))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -818,7 +818,7 @@
│ @ BlockArgumentNode (location: (51,4)-(51,10))
│ ├── expression:
│ │ @ CallNode (location: (51,5)-(51,10))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :block
@@ -829,7 +829,7 @@
│ │ └── block: ∅
│ └── operator_loc: (51,4)-(51,5) = "&"
├── @ CallNode (location: (52,0)-(52,17))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -843,7 +843,7 @@
│ │ ├── operator_loc: (52,4)-(52,5) = "*"
│ │ └── expression:
│ │ @ CallNode (location: (52,5)-(52,9))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :args
@@ -857,7 +857,7 @@
│ @ BlockArgumentNode (location: (52,11)-(52,17))
│ ├── expression:
│ │ @ CallNode (location: (52,12)-(52,17))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :block
@@ -868,7 +868,7 @@
│ │ └── block: ∅
│ └── operator_loc: (52,11)-(52,12) = "&"
├── @ CallNode (location: (53,0)-(53,15))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -882,7 +882,7 @@
│ │ ├── operator_loc: (53,4)-(53,5) = "*"
│ │ └── expression:
│ │ @ CallNode (location: (53,5)-(53,14))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :arguments
@@ -894,7 +894,7 @@
│ ├── closing_loc: (53,14)-(53,15) = ")"
│ └── block: ∅
├── @ CallNode (location: (54,0)-(54,9))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -911,7 +911,7 @@
│ ├── closing_loc: (54,8)-(54,9) = ")"
│ └── block: ∅
├── @ CallNode (location: (55,0)-(55,8))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -922,7 +922,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (55,4)-(55,7))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -934,7 +934,7 @@
│ ├── closing_loc: (55,7)-(55,8) = ")"
│ └── block: ∅
├── @ CallNode (location: (56,0)-(56,15))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -945,7 +945,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (56,4)-(56,7))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -958,7 +958,7 @@
│ │ ├── operator_loc: (56,9)-(56,10) = "*"
│ │ └── expression:
│ │ @ CallNode (location: (56,10)-(56,14))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :args
@@ -970,7 +970,7 @@
│ ├── closing_loc: (56,14)-(56,15) = ")"
│ └── block: ∅
├── @ CallNode (location: (57,0)-(57,17))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -984,7 +984,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (57,4)-(57,7))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -1015,7 +1015,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (58,0)-(58,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1034,7 +1034,7 @@
│ @ BlockArgumentNode (location: (58,8)-(58,12))
│ ├── expression:
│ │ @ CallNode (location: (58,9)-(58,12))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :baz
@@ -1048,7 +1048,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (59,0)-(59,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1069,7 +1069,7 @@
│ │ │ ├── operator_loc: (59,8)-(59,9) = "*"
│ │ │ └── expression:
│ │ │ @ CallNode (location: (59,9)-(59,13))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :arga
@@ -1079,7 +1079,7 @@
│ │ │ ├── closing_loc: ∅
│ │ │ └── block: ∅
│ │ ├── @ CallNode (location: (59,15)-(59,18))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -1092,7 +1092,7 @@
│ │ ├── operator_loc: (59,20)-(59,21) = "*"
│ │ └── expression:
│ │ @ CallNode (location: (59,21)-(59,25))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :argb
@@ -1107,7 +1107,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (60,0)-(60,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1128,7 +1128,7 @@
│ │ ├── operator_loc: (60,8)-(60,9) = "*"
│ │ └── expression:
│ │ @ CallNode (location: (60,9)-(60,13))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :args
@@ -1143,7 +1143,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (61,0)-(61,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1164,7 +1164,7 @@
│ │ │ ├── operator_loc: (61,8)-(61,9) = "*"
│ │ │ └── expression:
│ │ │ @ CallNode (location: (61,9)-(61,13))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :args
@@ -1174,7 +1174,7 @@
│ │ │ ├── closing_loc: ∅
│ │ │ └── block: ∅
│ │ └── @ CallNode (location: (61,15)-(61,18))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1189,7 +1189,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (62,0)-(62,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1217,7 +1217,7 @@
│ @ BlockArgumentNode (location: (62,14)-(62,18))
│ ├── expression:
│ │ @ CallNode (location: (62,15)-(62,18))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :baz
@@ -1231,7 +1231,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (63,0)-(63,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1261,7 +1261,7 @@
│ │ │ └── unescaped: "baz"
│ │ ├── value:
│ │ │ @ CallNode (location: (63,13)-(63,16))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :boz
@@ -1277,7 +1277,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (64,0)-(64,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1295,7 +1295,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (64,8)-(64,11))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -1317,7 +1317,7 @@
│ │ │ └── unescaped: "baz"
│ │ ├── value:
│ │ │ @ CallNode (location: (64,22)-(64,25))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :boz
@@ -1333,7 +1333,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (65,0)-(65,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1351,7 +1351,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (65,8)-(65,11))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -1364,7 +1364,7 @@
│ │ ├── operator_loc: (65,13)-(65,14) = "*"
│ │ └── expression:
│ │ @ CallNode (location: (65,14)-(65,18))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :args
@@ -1379,7 +1379,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (66,0)-(66,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1397,7 +1397,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (66,8)-(66,11))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -1410,7 +1410,7 @@
│ │ ├── operator_loc: (66,13)-(66,14) = "*"
│ │ └── expression:
│ │ @ CallNode (location: (66,14)-(66,18))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :args
@@ -1424,7 +1424,7 @@
│ @ BlockArgumentNode (location: (66,20)-(66,26))
│ ├── expression:
│ │ @ CallNode (location: (66,21)-(66,26))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :block
@@ -1438,7 +1438,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (67,0)-(67,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1456,7 +1456,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (67,8)-(67,11))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -1475,7 +1475,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (68,0)-(68,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1505,7 +1505,7 @@
│ │ │ │ │ └── unescaped: "foo"
│ │ │ │ ├── value:
│ │ │ │ │ @ CallNode (location: (68,15)-(68,18))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :boz
@@ -1517,7 +1517,7 @@
│ │ │ │ └── operator_loc: ∅
│ │ │ └── closing_loc: (68,19)-(68,20) = "}"
│ │ └── @ CallNode (location: (68,22)-(68,25))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :boz
@@ -1532,7 +1532,7 @@
│ ├── flags: attribute_write
│ ├── receiver:
│ │ @ CallNode (location: (69,0)-(69,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1558,7 +1558,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (70,0)-(70,9))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -1581,7 +1581,7 @@
│ │ │ └── unescaped: "a"
│ │ ├── value:
│ │ │ @ CallNode (location: (70,7)-(70,8))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -1597,7 +1597,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (71,0)-(71,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1627,7 +1627,7 @@
│ │ │ └── unescaped: "a"
│ │ ├── value:
│ │ │ @ CallNode (location: (71,9)-(71,10))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -1643,7 +1643,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (72,0)-(72,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1666,7 +1666,7 @@
│ │ └── @ AssocSplatNode (location: (72,6)-(72,9))
│ │ ├── value:
│ │ │ @ CallNode (location: (72,8)-(72,9))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :a
@@ -1682,7 +1682,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (73,0)-(73,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1703,7 +1703,7 @@
│ │ ├── operator_loc: (73,4)-(73,5) = "*"
│ │ └── expression:
│ │ @ CallNode (location: (73,5)-(73,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :baz
@@ -1718,7 +1718,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (74,0)-(74,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1745,7 +1745,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (75,0)-(75,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -1762,7 +1762,7 @@
│ ├── closing_loc: (75,4)-(75,5) = "]"
│ └── block: ∅
├── @ CallNode (location: (76,0)-(76,8))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver:
│ │ @ SelfNode (location: (76,0)-(76,4))
│ ├── call_operator_loc: (76,4)-(76,5) = "."
@@ -1773,7 +1773,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (77,0)-(77,13))
- │ ├── flags: attribute_write
+ │ ├── flags: attribute_write, ignore_visibility
│ ├── receiver:
│ │ @ SelfNode (location: (77,0)-(77,4))
│ ├── call_operator_loc: (77,4)-(77,5) = "."
@@ -1803,7 +1803,7 @@
│ │ │ ├── flags: ∅
│ │ │ ├── receiver:
│ │ │ │ @ CallNode (location: (78,1)-(78,2))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :a
@@ -1821,7 +1821,7 @@
│ │ │ │ ├── flags: ∅
│ │ │ │ └── arguments: (length: 1)
│ │ │ │ └── @ CallNode (location: (78,5)-(78,6))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :b
@@ -1850,7 +1850,7 @@
│ │ │ ├── flags: ∅
│ │ │ ├── receiver:
│ │ │ │ @ CallNode (location: (78,11)-(78,12))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :c
@@ -1868,7 +1868,7 @@
│ │ │ │ ├── flags: ∅
│ │ │ │ └── arguments: (length: 1)
│ │ │ │ └── @ CallNode (location: (78,15)-(78,16))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :d
@@ -1894,7 +1894,7 @@
│ │ │ ├── flags: ∅
│ │ │ ├── receiver:
│ │ │ │ @ CallNode (location: (79,1)-(79,2))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :a
@@ -1912,7 +1912,7 @@
│ │ │ │ ├── flags: ∅
│ │ │ │ └── arguments: (length: 1)
│ │ │ │ └── @ CallNode (location: (79,5)-(79,6))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :b
@@ -1937,7 +1937,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (79,10)-(79,11))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :c
@@ -1955,7 +1955,7 @@
│ │ │ ├── flags: ∅
│ │ │ └── arguments: (length: 2)
│ │ │ ├── @ CallNode (location: (79,14)-(79,15))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :e
@@ -1965,7 +1965,7 @@
│ │ │ │ ├── closing_loc: ∅
│ │ │ │ └── block: ∅
│ │ │ └── @ CallNode (location: (79,17)-(79,18))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :f
@@ -1989,7 +1989,7 @@
│ │ │ ├── flags: ∅
│ │ │ ├── receiver:
│ │ │ │ @ CallNode (location: (80,1)-(80,2))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :a
@@ -2007,7 +2007,7 @@
│ │ │ │ ├── flags: ∅
│ │ │ │ └── arguments: (length: 1)
│ │ │ │ └── @ CallNode (location: (80,5)-(80,6))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :b
@@ -2032,7 +2032,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (80,10)-(80,11))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :c
@@ -2053,7 +2053,7 @@
│ │ │ ├── operator_loc: (80,14)-(80,15) = "*"
│ │ │ └── expression:
│ │ │ @ CallNode (location: (80,15)-(80,16))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :f
@@ -2067,7 +2067,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (81,0)-(81,8))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :x
@@ -2083,7 +2083,7 @@
│ │ └── @ AssocSplatNode (location: (81,2)-(81,7))
│ │ ├── value:
│ │ │ @ CallNode (location: (81,4)-(81,7))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -2099,7 +2099,7 @@
│ ├── flags: safe_navigation
│ ├── receiver:
│ │ @ CallNode (location: (82,0)-(82,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -2119,7 +2119,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (83,0)-(83,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -2137,7 +2137,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (83,6)-(83,7))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
@@ -2152,7 +2152,7 @@
├── flags: safe_navigation
├── receiver:
│ @ CallNode (location: (84,0)-(84,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -2170,7 +2170,7 @@
│ ├── flags: ∅
│ └── arguments: (length: 1)
│ └── @ CallNode (location: (84,5)-(84,6))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :b
diff --git a/test/prism/snapshots/unparser/corpus/literal/since/31.txt b/test/prism/snapshots/unparser/corpus/literal/since/31.txt
index d5bc8d0903..7a033021e2 100644
--- a/test/prism/snapshots/unparser/corpus/literal/since/31.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/since/31.txt
@@ -24,7 +24,7 @@
│ │ @ StatementsNode (location: (2,2)-(2,7))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (2,2)-(2,7))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -67,7 +67,7 @@
│ @ StatementsNode (location: (6,2)-(6,7))
│ └── body: (length: 1)
│ └── @ CallNode (location: (6,2)-(6,7))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
diff --git a/test/prism/snapshots/unparser/corpus/literal/since/32.txt b/test/prism/snapshots/unparser/corpus/literal/since/32.txt
index 85d8e595b4..1678985f7e 100644
--- a/test/prism/snapshots/unparser/corpus/literal/since/32.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/since/32.txt
@@ -26,7 +26,7 @@
│ │ @ StatementsNode (location: (2,2)-(2,19))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (2,2)-(2,19))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -78,7 +78,7 @@
│ @ StatementsNode (location: (6,2)-(6,18))
│ └── body: (length: 1)
│ └── @ CallNode (location: (6,2)-(6,18))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
diff --git a/test/prism/snapshots/unparser/corpus/literal/super.txt b/test/prism/snapshots/unparser/corpus/literal/super.txt
index c4f3c0efca..14783f63f9 100644
--- a/test/prism/snapshots/unparser/corpus/literal/super.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/super.txt
@@ -19,7 +19,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (3,6)-(3,7))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -38,7 +38,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (4,6)-(4,7))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :a
@@ -48,7 +48,7 @@
│ │ │ ├── closing_loc: ∅
│ │ │ └── block: ∅
│ │ └── @ CallNode (location: (4,9)-(4,10))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
@@ -68,7 +68,7 @@
│ @ BlockArgumentNode (location: (5,6)-(5,12))
│ ├── expression:
│ │ @ CallNode (location: (5,7)-(5,12))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :block
@@ -86,7 +86,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (6,6)-(6,7))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -100,7 +100,7 @@
│ @ BlockArgumentNode (location: (6,9)-(6,15))
│ ├── expression:
│ │ @ CallNode (location: (6,10)-(6,15))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :block
@@ -118,7 +118,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (7,6)-(9,1))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -135,7 +135,7 @@
│ │ │ @ StatementsNode (location: (8,2)-(8,5))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (8,2)-(8,5))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -158,7 +158,7 @@
│ │ @ StatementsNode (location: (11,2)-(11,5))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (11,2)-(11,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -177,7 +177,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (13,6)-(13,7))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -196,7 +196,7 @@
│ │ @ StatementsNode (location: (14,2)-(14,5))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (14,2)-(14,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -221,7 +221,7 @@
│ │ @ StatementsNode (location: (17,2)-(17,5))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (17,2)-(17,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -240,7 +240,7 @@
│ ├── flags: ∅
│ └── arguments: (length: 2)
│ ├── @ CallNode (location: (19,6)-(19,7))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -250,7 +250,7 @@
│ │ ├── closing_loc: ∅
│ │ └── block: ∅
│ └── @ CallNode (location: (19,9)-(19,10))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :b
@@ -269,7 +269,7 @@
│ @ StatementsNode (location: (20,2)-(20,5))
│ └── body: (length: 1)
│ └── @ CallNode (location: (20,2)-(20,5))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
diff --git a/test/prism/snapshots/unparser/corpus/literal/unary.txt b/test/prism/snapshots/unparser/corpus/literal/unary.txt
index 97eec0c01e..a5a314a620 100644
--- a/test/prism/snapshots/unparser/corpus/literal/unary.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/unary.txt
@@ -60,7 +60,7 @@
│ │ │ │ │ └── @ OrNode (location: (3,4)-(3,14))
│ │ │ │ │ ├── left:
│ │ │ │ │ │ @ CallNode (location: (3,4)-(3,7))
- │ │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ │ ├── name: :foo
@@ -71,7 +71,7 @@
│ │ │ │ │ │ └── block: ∅
│ │ │ │ │ ├── right:
│ │ │ │ │ │ @ CallNode (location: (3,11)-(3,14))
- │ │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ │ ├── name: :bar
@@ -141,7 +141,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (5,1)-(5,2))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -161,7 +161,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (6,1)-(6,2))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -181,7 +181,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (7,1)-(7,2))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -211,7 +211,7 @@
│ │ │ ├── flags: ∅
│ │ │ ├── receiver:
│ │ │ │ @ CallNode (location: (8,3)-(8,4))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :a
diff --git a/test/prism/snapshots/unparser/corpus/literal/variables.txt b/test/prism/snapshots/unparser/corpus/literal/variables.txt
index a667bc7e8b..bf79de385c 100644
--- a/test/prism/snapshots/unparser/corpus/literal/variables.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/variables.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(10,17))
└── body: (length: 10)
├── @ CallNode (location: (1,0)-(1,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
diff --git a/test/prism/snapshots/unparser/corpus/literal/while.txt b/test/prism/snapshots/unparser/corpus/literal/while.txt
index 5c1bae8281..ae006ea41f 100644
--- a/test/prism/snapshots/unparser/corpus/literal/while.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/while.txt
@@ -13,7 +13,7 @@
│ │ @ StatementsNode (location: (2,2)-(6,3))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (2,2)-(6,3))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -50,7 +50,7 @@
│ │ │ ├── closing_loc: (5,4)-(5,7) = "end"
│ │ │ ├── predicate:
│ │ │ │ @ CallNode (location: (3,10)-(3,13))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :foo
@@ -103,7 +103,7 @@
│ │ │ │ ├── flags: ∅
│ │ │ │ └── arguments: (length: 1)
│ │ │ │ └── @ CallNode (location: (10,25)-(10,28))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :baz
@@ -123,7 +123,7 @@
│ │ ├── name_loc: (10,2)-(10,5) = "foo"
│ │ ├── value:
│ │ │ @ CallNode (location: (10,8)-(10,11))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -167,7 +167,7 @@
│ │ ├── name_loc: (14,2)-(14,5) = "foo"
│ │ ├── value:
│ │ │ @ CallNode (location: (14,8)-(14,11))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -205,7 +205,7 @@
│ │ ├── name_loc: (18,2)-(18,5) = "foo"
│ │ ├── value:
│ │ │ @ CallNode (location: (18,8)-(18,11))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -232,7 +232,7 @@
│ │ ├── closing_loc: (24,2)-(24,5) = "end"
│ │ ├── predicate:
│ │ │ @ CallNode (location: (22,8)-(22,11))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -250,7 +250,7 @@
│ │ ├── name_loc: (23,4)-(23,7) = "foo"
│ │ ├── value:
│ │ │ @ CallNode (location: (23,10)-(23,13))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -272,7 +272,7 @@
│ │ @ StatementsNode (location: (28,2)-(32,3))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (28,2)-(32,3))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :each
@@ -309,7 +309,7 @@
│ │ │ ├── closing_loc: (31,4)-(31,7) = "end"
│ │ │ ├── predicate:
│ │ │ │ @ CallNode (location: (29,10)-(29,13))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :foo
@@ -327,7 +327,7 @@
│ │ │ ├── name_loc: (30,6)-(30,9) = "foo"
│ │ │ ├── value:
│ │ │ │ @ CallNode (location: (30,12)-(30,15))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :bar
@@ -351,7 +351,7 @@
│ │ @ StatementsNode (location: (36,2)-(40,3))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (36,2)-(40,3))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :each
@@ -399,7 +399,7 @@
│ │ │ ├── name_loc: (38,6)-(38,9) = "foo"
│ │ │ ├── value:
│ │ │ │ @ CallNode (location: (38,12)-(38,15))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :bar
@@ -428,7 +428,7 @@
│ │ │ ├── closing_loc: ∅
│ │ │ ├── predicate:
│ │ │ │ @ CallNode (location: (44,10)-(44,13))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :baz
@@ -446,7 +446,7 @@
│ │ │ │ @ StatementsNode (location: (43,2)-(43,5))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (43,2)-(43,5))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :foo
@@ -468,7 +468,7 @@
│ ├── closing_loc: ∅
│ ├── predicate:
│ │ @ CallNode (location: (47,10)-(47,13))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :baz
@@ -486,7 +486,7 @@
│ │ @ StatementsNode (location: (46,2)-(46,5))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (46,2)-(46,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -505,7 +505,7 @@
│ ├── closing_loc: ∅
│ ├── predicate:
│ │ @ CallNode (location: (51,10)-(51,13))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :baz
@@ -523,7 +523,7 @@
│ │ @ StatementsNode (location: (49,2)-(50,5))
│ │ └── body: (length: 2)
│ │ ├── @ CallNode (location: (49,2)-(49,5))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -533,7 +533,7 @@
│ │ │ ├── closing_loc: ∅
│ │ │ └── block: ∅
│ │ └── @ CallNode (location: (50,2)-(50,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -552,7 +552,7 @@
│ ├── closing_loc: ∅
│ ├── predicate:
│ │ @ CallNode (location: (55,10)-(55,13))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :baz
@@ -570,7 +570,7 @@
│ │ @ StatementsNode (location: (53,2)-(54,5))
│ │ └── body: (length: 2)
│ │ ├── @ CallNode (location: (53,2)-(53,5))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -580,7 +580,7 @@
│ │ │ ├── closing_loc: ∅
│ │ │ └── block: ∅
│ │ └── @ CallNode (location: (54,2)-(54,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -621,7 +621,7 @@
│ │ │ @ StatementsNode (location: (61,7)-(62,1))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (61,7)-(62,1))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -676,7 +676,7 @@
│ │ @ StatementsNode (location: (70,7)-(71,1))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (70,7)-(71,1))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
diff --git a/test/prism/snapshots/unparser/corpus/literal/yield.txt b/test/prism/snapshots/unparser/corpus/literal/yield.txt
index a1c0f25855..4d2b272e35 100644
--- a/test/prism/snapshots/unparser/corpus/literal/yield.txt
+++ b/test/prism/snapshots/unparser/corpus/literal/yield.txt
@@ -16,7 +16,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (2,6)-(2,7))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -34,7 +34,7 @@
│ ├── flags: ∅
│ └── arguments: (length: 2)
│ ├── @ CallNode (location: (3,6)-(3,7))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -44,7 +44,7 @@
│ │ ├── closing_loc: ∅
│ │ └── block: ∅
│ └── @ CallNode (location: (3,9)-(3,10))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :b
diff --git a/test/prism/snapshots/unparser/corpus/semantic/and.txt b/test/prism/snapshots/unparser/corpus/semantic/and.txt
index c0682a5ecb..bc9d674e44 100644
--- a/test/prism/snapshots/unparser/corpus/semantic/and.txt
+++ b/test/prism/snapshots/unparser/corpus/semantic/and.txt
@@ -9,7 +9,7 @@
│ │ ├── flags: exclude_end
│ │ ├── left:
│ │ │ @ CallNode (location: (1,0)-(1,1))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :a
@@ -20,7 +20,7 @@
│ │ │ └── block: ∅
│ │ ├── right:
│ │ │ @ CallNode (location: (1,4)-(1,5))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -35,7 +35,7 @@
│ │ ├── flags: exclude_end
│ │ ├── left:
│ │ │ @ CallNode (location: (1,9)-(1,10))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :c
@@ -46,7 +46,7 @@
│ │ │ └── block: ∅
│ │ ├── right:
│ │ │ @ CallNode (location: (1,13)-(1,14))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :d
@@ -63,7 +63,7 @@
│ │ ├── flags: exclude_end
│ │ ├── left:
│ │ │ @ CallNode (location: (2,0)-(2,1))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :a
@@ -74,7 +74,7 @@
│ │ │ └── block: ∅
│ │ ├── right:
│ │ │ @ CallNode (location: (2,4)-(2,5))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -89,7 +89,7 @@
│ │ ├── flags: exclude_end
│ │ ├── left:
│ │ │ @ CallNode (location: (2,10)-(2,11))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :c
@@ -100,7 +100,7 @@
│ │ │ └── block: ∅
│ │ ├── right:
│ │ │ @ CallNode (location: (2,14)-(2,15))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :d
@@ -120,7 +120,7 @@
│ │ │ ├── flags: exclude_end
│ │ │ ├── left:
│ │ │ │ @ CallNode (location: (4,3)-(4,4))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :a
@@ -131,7 +131,7 @@
│ │ │ │ └── block: ∅
│ │ │ ├── right:
│ │ │ │ @ CallNode (location: (4,7)-(4,8))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :b
@@ -146,7 +146,7 @@
│ │ │ ├── flags: exclude_end
│ │ │ ├── left:
│ │ │ │ @ CallNode (location: (4,12)-(4,13))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :c
@@ -157,7 +157,7 @@
│ │ │ │ └── block: ∅
│ │ │ ├── right:
│ │ │ │ @ CallNode (location: (4,16)-(4,17))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :d
@@ -181,7 +181,7 @@
│ │ ├── flags: exclude_end
│ │ ├── left:
│ │ │ @ CallNode (location: (7,3)-(7,4))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :a
@@ -192,7 +192,7 @@
│ │ │ └── block: ∅
│ │ ├── right:
│ │ │ @ CallNode (location: (7,7)-(7,8))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -207,7 +207,7 @@
│ │ ├── flags: exclude_end
│ │ ├── left:
│ │ │ @ CallNode (location: (7,13)-(7,14))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :c
@@ -218,7 +218,7 @@
│ │ │ └── block: ∅
│ │ ├── right:
│ │ │ @ CallNode (location: (7,17)-(7,18))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :d
diff --git a/test/prism/snapshots/unparser/corpus/semantic/block.txt b/test/prism/snapshots/unparser/corpus/semantic/block.txt
index 9f490a4ce7..c62afa6d37 100644
--- a/test/prism/snapshots/unparser/corpus/semantic/block.txt
+++ b/test/prism/snapshots/unparser/corpus/semantic/block.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(26,3))
└── body: (length: 6)
├── @ CallNode (location: (1,0)-(2,3))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -21,7 +21,7 @@
│ ├── opening_loc: (1,4)-(1,6) = "do"
│ └── closing_loc: (2,0)-(2,3) = "end"
├── @ CallNode (location: (4,0)-(6,3))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -52,7 +52,7 @@
│ ├── opening_loc: (4,4)-(4,6) = "do"
│ └── closing_loc: (6,0)-(6,3) = "end"
├── @ CallNode (location: (8,0)-(11,3))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -78,7 +78,7 @@
│ ├── opening_loc: (8,4)-(8,6) = "do"
│ └── closing_loc: (11,0)-(11,3) = "end"
├── @ CallNode (location: (13,0)-(14,3))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -110,7 +110,7 @@
│ ├── opening_loc: (13,4)-(13,6) = "do"
│ └── closing_loc: (14,0)-(14,3) = "end"
├── @ CallNode (location: (16,0)-(20,3))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -156,7 +156,7 @@
│ ├── opening_loc: (16,12)-(16,14) = "do"
│ └── closing_loc: (20,0)-(20,3) = "end"
└── @ CallNode (location: (22,0)-(26,3))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :foo
@@ -182,7 +182,7 @@
│ @ StatementsNode (location: (25,2)-(25,3))
│ └── body: (length: 1)
│ └── @ CallNode (location: (25,2)-(25,3))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
diff --git a/test/prism/snapshots/unparser/corpus/semantic/def.txt b/test/prism/snapshots/unparser/corpus/semantic/def.txt
index 1219d65b4d..7398cad7a8 100644
--- a/test/prism/snapshots/unparser/corpus/semantic/def.txt
+++ b/test/prism/snapshots/unparser/corpus/semantic/def.txt
@@ -19,7 +19,7 @@
│ │ │ ├── flags: ∅
│ │ │ ├── receiver:
│ │ │ │ @ CallNode (location: (2,3)-(2,4))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :a
@@ -37,7 +37,7 @@
│ │ │ │ ├── flags: ∅
│ │ │ │ └── arguments: (length: 1)
│ │ │ │ └── @ CallNode (location: (2,7)-(2,8))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :b
@@ -69,7 +69,7 @@
│ └── @ RescueModifierNode (location: (6,2)-(6,20))
│ ├── expression:
│ │ @ CallNode (location: (6,2)-(6,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
diff --git a/test/prism/snapshots/unparser/corpus/semantic/kwbegin.txt b/test/prism/snapshots/unparser/corpus/semantic/kwbegin.txt
index e87557841f..38486ddc12 100644
--- a/test/prism/snapshots/unparser/corpus/semantic/kwbegin.txt
+++ b/test/prism/snapshots/unparser/corpus/semantic/kwbegin.txt
@@ -41,7 +41,7 @@
│ │ @ StatementsNode (location: (11,2)-(11,3))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (11,2)-(11,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -60,7 +60,7 @@
│ │ @ StatementsNode (location: (15,2)-(15,3))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (15,2)-(15,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -79,7 +79,7 @@
│ │ │ @ StatementsNode (location: (17,2)-(17,3))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (17,2)-(17,3))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -98,7 +98,7 @@
│ │ @ StatementsNode (location: (21,2)-(22,3))
│ │ └── body: (length: 2)
│ │ ├── @ CallNode (location: (21,2)-(21,3))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :a
@@ -108,7 +108,7 @@
│ │ │ ├── closing_loc: ∅
│ │ │ └── block: ∅
│ │ └── @ CallNode (location: (22,2)-(22,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
@@ -127,7 +127,7 @@
│ │ │ @ StatementsNode (location: (24,2)-(24,3))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (24,2)-(24,3))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -186,7 +186,7 @@
│ @ StatementsNode (location: (35,2)-(35,3))
│ └── body: (length: 1)
│ └── @ CallNode (location: (35,2)-(35,3))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -207,7 +207,7 @@
│ │ @ StatementsNode (location: (37,2)-(37,3))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (37,2)-(37,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
@@ -228,7 +228,7 @@
│ │ @ StatementsNode (location: (39,2)-(39,3))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (39,2)-(39,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :c
@@ -246,7 +246,7 @@
│ │ @ StatementsNode (location: (41,2)-(41,3))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (41,2)-(41,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :d
diff --git a/test/prism/snapshots/unparser/corpus/semantic/literal.txt b/test/prism/snapshots/unparser/corpus/semantic/literal.txt
index c4bb54a9ec..5854765fad 100644
--- a/test/prism/snapshots/unparser/corpus/semantic/literal.txt
+++ b/test/prism/snapshots/unparser/corpus/semantic/literal.txt
@@ -57,7 +57,7 @@
├── @ FloatNode (location: (12,0)-(12,16))
├── @ FloatNode (location: (13,0)-(13,17))
└── @ CallNode (location: (14,0)-(14,10))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :w
@@ -68,7 +68,7 @@
│ ├── flags: ∅
│ └── arguments: (length: 1)
│ └── @ CallNode (location: (14,2)-(14,9))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -79,7 +79,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (14,6)-(14,9))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
diff --git a/test/prism/snapshots/unparser/corpus/semantic/send.txt b/test/prism/snapshots/unparser/corpus/semantic/send.txt
index 8cb28a8e57..a4e261e377 100644
--- a/test/prism/snapshots/unparser/corpus/semantic/send.txt
+++ b/test/prism/snapshots/unparser/corpus/semantic/send.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(6,15))
└── body: (length: 4)
├── @ CallNode (location: (1,0)-(1,3))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -14,7 +14,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (2,0)-(2,6))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -38,7 +38,7 @@
│ │ │ ├── flags: ∅
│ │ │ ├── receiver:
│ │ │ │ @ CallNode (location: (4,0)-(4,1))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :a
@@ -56,7 +56,7 @@
│ │ │ │ ├── flags: ∅
│ │ │ │ └── arguments: (length: 1)
│ │ │ │ └── @ CallNode (location: (4,6)-(4,7))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :b
@@ -83,7 +83,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (4,14)-(4,15))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :d
@@ -98,7 +98,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (6,0)-(6,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -122,7 +122,7 @@
│ │ ├── flags: ∅
│ │ ├── receiver:
│ │ │ @ CallNode (location: (6,5)-(6,6))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :d
@@ -147,7 +147,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (6,13)-(6,14))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :c
diff --git a/test/prism/snapshots/unparser/corpus/semantic/while.txt b/test/prism/snapshots/unparser/corpus/semantic/while.txt
index 23466c147e..a59e5948d5 100644
--- a/test/prism/snapshots/unparser/corpus/semantic/while.txt
+++ b/test/prism/snapshots/unparser/corpus/semantic/while.txt
@@ -9,7 +9,7 @@
│ ├── closing_loc: ∅
│ ├── predicate:
│ │ @ CallNode (location: (1,8)-(1,13))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b?
@@ -29,7 +29,7 @@
│ @ StatementsNode (location: (1,0)-(1,1))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,0)-(1,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -44,7 +44,7 @@
│ ├── closing_loc: (5,0)-(5,3) = "end"
│ ├── predicate:
│ │ @ CallNode (location: (3,6)-(3,11))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b?
@@ -64,7 +64,7 @@
│ @ StatementsNode (location: (4,2)-(4,3))
│ └── body: (length: 1)
│ └── @ CallNode (location: (4,2)-(4,3))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -90,7 +90,7 @@
│ ├── name_loc: (7,0)-(7,3) = "foo"
│ ├── value:
│ │ @ CallNode (location: (7,6)-(7,9))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -108,7 +108,7 @@
│ │ @ AndNode (location: (9,8)-(9,18))
│ │ ├── left:
│ │ │ @ CallNode (location: (9,8)-(9,9))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -119,7 +119,7 @@
│ │ │ └── block: ∅
│ │ ├── right:
│ │ │ @ CallNode (location: (9,13)-(9,18))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :a
@@ -140,7 +140,7 @@
│ @ StatementsNode (location: (9,0)-(9,1))
│ └── body: (length: 1)
│ └── @ CallNode (location: (9,0)-(9,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -160,7 +160,7 @@
│ │ ├── name_loc: (11,6)-(11,7) = "a"
│ │ ├── value:
│ │ │ @ CallNode (location: (11,10)-(11,11))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -182,7 +182,7 @@
│ ├── closing_loc: ∅
│ ├── predicate:
│ │ @ CallNode (location: (15,8)-(18,3))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
@@ -208,7 +208,7 @@
│ │ │ @ StatementsNode (location: (17,2)-(17,3))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (17,2)-(17,3))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :c
@@ -240,7 +240,7 @@
│ │ ├── name_loc: (21,2)-(21,5) = "foo"
│ │ ├── value:
│ │ │ @ CallNode (location: (21,8)-(21,11))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :exp
@@ -267,7 +267,7 @@
│ ├── name_loc: (23,4)-(23,7) = "foo"
│ ├── value:
│ │ @ CallNode (location: (23,10)-(23,13))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
diff --git a/test/prism/snapshots/until.txt b/test/prism/snapshots/until.txt
index ed08d06df2..178502751a 100644
--- a/test/prism/snapshots/until.txt
+++ b/test/prism/snapshots/until.txt
@@ -67,7 +67,7 @@
│ ├── closing_loc: ∅
│ ├── predicate:
│ │ @ CallNode (location: (11,17)-(11,21))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar?
@@ -80,7 +80,7 @@
│ @ StatementsNode (location: (11,0)-(11,10))
│ └── body: (length: 1)
│ └── @ CallNode (location: (11,0)-(11,10))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -112,7 +112,7 @@
│ @ MatchPredicateNode (location: (13,10)-(13,20))
│ ├── value:
│ │ @ CallNode (location: (13,10)-(13,13))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -130,7 +130,7 @@
@ StatementsNode (location: (13,0)-(13,3))
└── body: (length: 1)
└── @ CallNode (location: (13,0)-(13,3))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :foo
diff --git a/test/prism/snapshots/variables.txt b/test/prism/snapshots/variables.txt
index f8134aeab6..37cd4556f0 100644
--- a/test/prism/snapshots/variables.txt
+++ b/test/prism/snapshots/variables.txt
@@ -59,7 +59,7 @@
│ │ └── flags: decimal
│ └── operator_loc: (15,5)-(15,6) = "="
├── @ CallNode (location: (17,0)-(17,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -315,7 +315,7 @@
│ │ @ StatementsNode (location: (45,1)-(45,8))
│ │ └── body: (length: 3)
│ │ ├── @ CallNode (location: (45,1)-(45,2))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :a
@@ -325,7 +325,7 @@
│ │ │ ├── closing_loc: ∅
│ │ │ └── block: ∅
│ │ ├── @ CallNode (location: (45,4)-(45,5))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -335,7 +335,7 @@
│ │ │ ├── closing_loc: ∅
│ │ │ └── block: ∅
│ │ └── @ CallNode (location: (45,7)-(45,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :c
diff --git a/test/prism/snapshots/while.txt b/test/prism/snapshots/while.txt
index d86d8b8033..bb2d86dcc7 100644
--- a/test/prism/snapshots/while.txt
+++ b/test/prism/snapshots/while.txt
@@ -67,7 +67,7 @@
│ ├── closing_loc: ∅
│ ├── predicate:
│ │ @ CallNode (location: (11,17)-(11,21))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar?
@@ -80,7 +80,7 @@
│ @ StatementsNode (location: (11,0)-(11,10))
│ └── body: (length: 1)
│ └── @ CallNode (location: (11,0)-(11,10))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -124,7 +124,7 @@
│ │ │ │ ├── operator_loc: (13,21)-(13,22) = "="
│ │ │ │ └── value:
│ │ │ │ @ CallNode (location: (13,23)-(13,33))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :tap
@@ -182,7 +182,7 @@
│ │ │ ├── name_loc: (15,16)-(15,17) = "a"
│ │ │ ├── value:
│ │ │ │ @ CallNode (location: (15,20)-(15,30))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :tap
@@ -222,7 +222,7 @@
│ │ │ @ StatementsNode (location: (17,21)-(17,31))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (17,21)-(17,31))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :tap
@@ -265,7 +265,7 @@
│ │ │ ├── name_loc: (19,21)-(19,22) = "a"
│ │ │ ├── value:
│ │ │ │ @ CallNode (location: (19,25)-(19,35))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :tap
@@ -303,7 +303,7 @@
│ │ │ @ StatementsNode (location: (21,16)-(21,26))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (21,16)-(21,26))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -336,7 +336,7 @@
│ @ MatchPredicateNode (location: (23,10)-(23,20))
│ ├── value:
│ │ @ CallNode (location: (23,10)-(23,13))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -354,7 +354,7 @@
@ StatementsNode (location: (23,0)-(23,3))
└── body: (length: 1)
└── @ CallNode (location: (23,0)-(23,3))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :foo
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 535266c325..c6a5c14934 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
@@ -7,7 +7,7 @@
├── if_keyword_loc: ∅
├── predicate:
│ @ CallNode (location: (1,0)-(1,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -24,7 +24,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (1,4)-(1,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
diff --git a/test/prism/snapshots/whitequark/and.txt b/test/prism/snapshots/whitequark/and.txt
index 35b1c43dd0..d2e1b33c50 100644
--- a/test/prism/snapshots/whitequark/and.txt
+++ b/test/prism/snapshots/whitequark/and.txt
@@ -6,7 +6,7 @@
├── @ AndNode (location: (1,0)-(1,10))
│ ├── left:
│ │ @ CallNode (location: (1,0)-(1,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -17,7 +17,7 @@
│ │ └── block: ∅
│ ├── right:
│ │ @ CallNode (location: (1,7)-(1,10))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -30,7 +30,7 @@
└── @ AndNode (location: (3,0)-(3,11))
├── left:
│ @ CallNode (location: (3,0)-(3,3))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -41,7 +41,7 @@
│ └── block: ∅
├── right:
│ @ CallNode (location: (3,8)-(3,11))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/and_asgn.txt b/test/prism/snapshots/whitequark/and_asgn.txt
index 789ba792f2..af4b86cead 100644
--- a/test/prism/snapshots/whitequark/and_asgn.txt
+++ b/test/prism/snapshots/whitequark/and_asgn.txt
@@ -7,7 +7,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (1,0)-(1,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -28,7 +28,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (3,0)-(3,3))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
diff --git a/test/prism/snapshots/whitequark/and_or_masgn.txt b/test/prism/snapshots/whitequark/and_or_masgn.txt
index d1a349619b..05aff040cd 100644
--- a/test/prism/snapshots/whitequark/and_or_masgn.txt
+++ b/test/prism/snapshots/whitequark/and_or_masgn.txt
@@ -6,7 +6,7 @@
├── @ AndNode (location: (1,0)-(1,19))
│ ├── left:
│ │ @ CallNode (location: (1,0)-(1,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -35,7 +35,7 @@
│ │ │ ├── operator_loc: (1,13)-(1,14) = "="
│ │ │ └── value:
│ │ │ @ CallNode (location: (1,15)-(1,18))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -50,7 +50,7 @@
└── @ OrNode (location: (3,0)-(3,19))
├── left:
│ @ CallNode (location: (3,0)-(3,3))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -79,7 +79,7 @@
│ │ ├── operator_loc: (3,13)-(3,14) = "="
│ │ └── value:
│ │ @ CallNode (location: (3,15)-(3,18))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/anonymous_blockarg.txt b/test/prism/snapshots/whitequark/anonymous_blockarg.txt
index dea08d7e73..8e0c70a4b3 100644
--- a/test/prism/snapshots/whitequark/anonymous_blockarg.txt
+++ b/test/prism/snapshots/whitequark/anonymous_blockarg.txt
@@ -24,7 +24,7 @@
│ @ StatementsNode (location: (1,12)-(1,17))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,12)-(1,17))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/arg_label.txt b/test/prism/snapshots/whitequark/arg_label.txt
index 4e45db5d6c..4b65019047 100644
--- a/test/prism/snapshots/whitequark/arg_label.txt
+++ b/test/prism/snapshots/whitequark/arg_label.txt
@@ -12,7 +12,7 @@
│ │ @ StatementsNode (location: (2,1)-(2,4))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (2,1)-(2,4))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -47,7 +47,7 @@
│ │ @ StatementsNode (location: (4,10)-(4,13))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (4,10)-(4,13))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -74,7 +74,7 @@
│ ├── equal_loc: ∅
│ └── end_keyword_loc: (4,14)-(4,17) = "end"
└── @ CallNode (location: (6,0)-(6,12))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
@@ -96,7 +96,7 @@
│ @ StatementsNode (location: (6,7)-(6,10))
│ └── body: (length: 1)
│ └── @ CallNode (location: (6,7)-(6,10))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
diff --git a/test/prism/snapshots/whitequark/arg_scope.txt b/test/prism/snapshots/whitequark/arg_scope.txt
index a27d7dc016..adbe43f03d 100644
--- a/test/prism/snapshots/whitequark/arg_scope.txt
+++ b/test/prism/snapshots/whitequark/arg_scope.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,13))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,13))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :lambda
diff --git a/test/prism/snapshots/whitequark/args_args_assocs.txt b/test/prism/snapshots/whitequark/args_args_assocs.txt
index 3d467e39a5..951d1a0a4a 100644
--- a/test/prism/snapshots/whitequark/args_args_assocs.txt
+++ b/test/prism/snapshots/whitequark/args_args_assocs.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(3,24))
└── body: (length: 2)
├── @ CallNode (location: (1,0)-(1,19))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :fun
@@ -15,7 +15,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (1,4)-(1,7))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -42,7 +42,7 @@
│ ├── closing_loc: (1,18)-(1,19) = ")"
│ └── block: ∅
└── @ CallNode (location: (3,0)-(3,24))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :fun
@@ -53,7 +53,7 @@
│ ├── flags: ∅
│ └── arguments: (length: 2)
│ ├── @ CallNode (location: (3,4)-(3,7))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -82,7 +82,7 @@
@ BlockArgumentNode (location: (3,20)-(3,24))
├── expression:
│ @ CallNode (location: (3,21)-(3,24))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :baz
diff --git a/test/prism/snapshots/whitequark/args_args_assocs_comma.txt b/test/prism/snapshots/whitequark/args_args_assocs_comma.txt
index 7b74a1886c..2e16454a08 100644
--- a/test/prism/snapshots/whitequark/args_args_assocs_comma.txt
+++ b/test/prism/snapshots/whitequark/args_args_assocs_comma.txt
@@ -7,7 +7,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (1,0)-(1,3))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -25,7 +25,7 @@
│ ├── flags: ∅
│ └── arguments: (length: 2)
│ ├── @ CallNode (location: (1,4)-(1,7))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/args_args_comma.txt b/test/prism/snapshots/whitequark/args_args_comma.txt
index 70f6c07d6f..09113a72b6 100644
--- a/test/prism/snapshots/whitequark/args_args_comma.txt
+++ b/test/prism/snapshots/whitequark/args_args_comma.txt
@@ -7,7 +7,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (1,0)-(1,3))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -25,7 +25,7 @@
│ ├── flags: ∅
│ └── arguments: (length: 1)
│ └── @ CallNode (location: (1,4)-(1,7))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/args_args_star.txt b/test/prism/snapshots/whitequark/args_args_star.txt
index b38eacfb14..26c9e72da3 100644
--- a/test/prism/snapshots/whitequark/args_args_star.txt
+++ b/test/prism/snapshots/whitequark/args_args_star.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(3,19))
└── body: (length: 2)
├── @ CallNode (location: (1,0)-(1,14))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :fun
@@ -15,7 +15,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (1,4)-(1,7))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -28,7 +28,7 @@
│ │ ├── operator_loc: (1,9)-(1,10) = "*"
│ │ └── expression:
│ │ @ CallNode (location: (1,10)-(1,13))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -40,7 +40,7 @@
│ ├── closing_loc: (1,13)-(1,14) = ")"
│ └── block: ∅
└── @ CallNode (location: (3,0)-(3,19))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :fun
@@ -51,7 +51,7 @@
│ ├── flags: ∅
│ └── arguments: (length: 2)
│ ├── @ CallNode (location: (3,4)-(3,7))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -64,7 +64,7 @@
│ ├── operator_loc: (3,9)-(3,10) = "*"
│ └── expression:
│ @ CallNode (location: (3,10)-(3,13))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
@@ -78,7 +78,7 @@
@ BlockArgumentNode (location: (3,15)-(3,19))
├── expression:
│ @ CallNode (location: (3,16)-(3,19))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :baz
diff --git a/test/prism/snapshots/whitequark/args_assocs.txt b/test/prism/snapshots/whitequark/args_assocs.txt
index e4acaca435..68ef7bb1d7 100644
--- a/test/prism/snapshots/whitequark/args_assocs.txt
+++ b/test/prism/snapshots/whitequark/args_assocs.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(11,17))
└── body: (length: 6)
├── @ CallNode (location: (1,0)-(1,14))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :fun
@@ -32,7 +32,7 @@
│ ├── closing_loc: (1,13)-(1,14) = ")"
│ └── block: ∅
├── @ CallNode (location: (3,0)-(3,19))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :fun
@@ -62,7 +62,7 @@
│ @ BlockArgumentNode (location: (3,15)-(3,19))
│ ├── expression:
│ │ @ CallNode (location: (3,16)-(3,19))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :baz
@@ -73,7 +73,7 @@
│ │ └── block: ∅
│ └── operator_loc: (3,15)-(3,16) = "&"
├── @ CallNode (location: (5,0)-(5,21))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver:
│ │ @ SelfNode (location: (5,0)-(5,4))
│ ├── call_operator_loc: (5,4)-(5,5) = "."
@@ -85,7 +85,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (5,9)-(5,12))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -112,7 +112,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (7,0)-(7,15))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver:
│ │ @ SelfNode (location: (7,0)-(7,4))
│ ├── call_operator_loc: ∅
diff --git a/test/prism/snapshots/whitequark/args_assocs_comma.txt b/test/prism/snapshots/whitequark/args_assocs_comma.txt
index 0ced5c7bc6..a94dde3245 100644
--- a/test/prism/snapshots/whitequark/args_assocs_comma.txt
+++ b/test/prism/snapshots/whitequark/args_assocs_comma.txt
@@ -7,7 +7,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (1,0)-(1,3))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
diff --git a/test/prism/snapshots/whitequark/args_assocs_legacy.txt b/test/prism/snapshots/whitequark/args_assocs_legacy.txt
index e4acaca435..68ef7bb1d7 100644
--- a/test/prism/snapshots/whitequark/args_assocs_legacy.txt
+++ b/test/prism/snapshots/whitequark/args_assocs_legacy.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(11,17))
└── body: (length: 6)
├── @ CallNode (location: (1,0)-(1,14))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :fun
@@ -32,7 +32,7 @@
│ ├── closing_loc: (1,13)-(1,14) = ")"
│ └── block: ∅
├── @ CallNode (location: (3,0)-(3,19))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :fun
@@ -62,7 +62,7 @@
│ @ BlockArgumentNode (location: (3,15)-(3,19))
│ ├── expression:
│ │ @ CallNode (location: (3,16)-(3,19))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :baz
@@ -73,7 +73,7 @@
│ │ └── block: ∅
│ └── operator_loc: (3,15)-(3,16) = "&"
├── @ CallNode (location: (5,0)-(5,21))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver:
│ │ @ SelfNode (location: (5,0)-(5,4))
│ ├── call_operator_loc: (5,4)-(5,5) = "."
@@ -85,7 +85,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (5,9)-(5,12))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -112,7 +112,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (7,0)-(7,15))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver:
│ │ @ SelfNode (location: (7,0)-(7,4))
│ ├── call_operator_loc: ∅
diff --git a/test/prism/snapshots/whitequark/args_block_pass.txt b/test/prism/snapshots/whitequark/args_block_pass.txt
index 84089ed92c..99ffa81934 100644
--- a/test/prism/snapshots/whitequark/args_block_pass.txt
+++ b/test/prism/snapshots/whitequark/args_block_pass.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,8))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,8))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :fun
@@ -16,7 +16,7 @@
@ BlockArgumentNode (location: (1,4)-(1,8))
├── expression:
│ @ CallNode (location: (1,5)-(1,8))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/args_cmd.txt b/test/prism/snapshots/whitequark/args_cmd.txt
index f626fc686e..0089e56157 100644
--- a/test/prism/snapshots/whitequark/args_cmd.txt
+++ b/test/prism/snapshots/whitequark/args_cmd.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,10))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,10))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :fun
@@ -15,7 +15,7 @@
│ ├── flags: ∅
│ └── arguments: (length: 1)
│ └── @ CallNode (location: (1,4)-(1,9))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :f
@@ -26,7 +26,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (1,6)-(1,9))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/args_star.txt b/test/prism/snapshots/whitequark/args_star.txt
index 6cbc248ba2..c19577f106 100644
--- a/test/prism/snapshots/whitequark/args_star.txt
+++ b/test/prism/snapshots/whitequark/args_star.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(3,14))
└── body: (length: 2)
├── @ CallNode (location: (1,0)-(1,9))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :fun
@@ -18,7 +18,7 @@
│ │ ├── operator_loc: (1,4)-(1,5) = "*"
│ │ └── expression:
│ │ @ CallNode (location: (1,5)-(1,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -30,7 +30,7 @@
│ ├── closing_loc: (1,8)-(1,9) = ")"
│ └── block: ∅
└── @ CallNode (location: (3,0)-(3,14))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :fun
@@ -44,7 +44,7 @@
│ ├── operator_loc: (3,4)-(3,5) = "*"
│ └── expression:
│ @ CallNode (location: (3,5)-(3,8))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
@@ -58,7 +58,7 @@
@ BlockArgumentNode (location: (3,10)-(3,14))
├── expression:
│ @ CallNode (location: (3,11)-(3,14))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :baz
diff --git a/test/prism/snapshots/whitequark/array_splat.txt b/test/prism/snapshots/whitequark/array_splat.txt
index 3e6c8a6efe..fd1ce43f8d 100644
--- a/test/prism/snapshots/whitequark/array_splat.txt
+++ b/test/prism/snapshots/whitequark/array_splat.txt
@@ -10,7 +10,7 @@
│ │ ├── operator_loc: (1,1)-(1,2) = "*"
│ │ └── expression:
│ │ @ CallNode (location: (1,2)-(1,5))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -30,7 +30,7 @@
│ │ │ ├── operator_loc: (3,4)-(3,5) = "*"
│ │ │ └── expression:
│ │ │ @ CallNode (location: (3,5)-(3,8))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -52,7 +52,7 @@
│ ├── operator_loc: (5,4)-(5,5) = "*"
│ └── expression:
│ @ CallNode (location: (5,5)-(5,8))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
diff --git a/test/prism/snapshots/whitequark/array_symbols_interp.txt b/test/prism/snapshots/whitequark/array_symbols_interp.txt
index d10eb2c528..6e872446c4 100644
--- a/test/prism/snapshots/whitequark/array_symbols_interp.txt
+++ b/test/prism/snapshots/whitequark/array_symbols_interp.txt
@@ -21,7 +21,7 @@
│ │ │ │ @ StatementsNode (location: (1,9)-(1,12))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (1,9)-(1,12))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :bar
@@ -52,7 +52,7 @@
│ │ │ @ StatementsNode (location: (3,8)-(3,11))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (3,8)-(3,11))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/array_words_interp.txt b/test/prism/snapshots/whitequark/array_words_interp.txt
index 3e9e0eaaaa..c2f23d2bf1 100644
--- a/test/prism/snapshots/whitequark/array_words_interp.txt
+++ b/test/prism/snapshots/whitequark/array_words_interp.txt
@@ -21,7 +21,7 @@
│ │ │ │ @ StatementsNode (location: (1,9)-(1,12))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (1,9)-(1,12))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :bar
@@ -52,7 +52,7 @@
│ │ │ │ @ StatementsNode (location: (3,9)-(3,12))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (3,9)-(3,12))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/asgn_cmd.txt b/test/prism/snapshots/whitequark/asgn_cmd.txt
index ee13da76c0..4a3c36680b 100644
--- a/test/prism/snapshots/whitequark/asgn_cmd.txt
+++ b/test/prism/snapshots/whitequark/asgn_cmd.txt
@@ -14,7 +14,7 @@
│ │ ├── name_loc: (1,6)-(1,9) = "bar"
│ │ ├── value:
│ │ │ @ CallNode (location: (1,12)-(1,17))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :m
@@ -37,7 +37,7 @@
├── name_loc: (3,0)-(3,3) = "foo"
├── value:
│ @ CallNode (location: (3,6)-(3,11))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :m
diff --git a/test/prism/snapshots/whitequark/asgn_mrhs.txt b/test/prism/snapshots/whitequark/asgn_mrhs.txt
index 11caa62274..a5811faf91 100644
--- a/test/prism/snapshots/whitequark/asgn_mrhs.txt
+++ b/test/prism/snapshots/whitequark/asgn_mrhs.txt
@@ -15,7 +15,7 @@
│ │ │ ├── operator_loc: (1,6)-(1,7) = "*"
│ │ │ └── expression:
│ │ │ @ CallNode (location: (1,7)-(1,10))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -36,7 +36,7 @@
│ │ ├── flags: ∅
│ │ ├── elements: (length: 2)
│ │ │ ├── @ CallNode (location: (3,6)-(3,9))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :bar
@@ -59,7 +59,7 @@
│ ├── flags: contains_splat
│ ├── elements: (length: 2)
│ │ ├── @ CallNode (location: (5,6)-(5,9))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :baz
@@ -72,7 +72,7 @@
│ │ ├── operator_loc: (5,11)-(5,12) = "*"
│ │ └── expression:
│ │ @ CallNode (location: (5,12)-(5,15))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/bang.txt b/test/prism/snapshots/whitequark/bang.txt
index 843d0edea4..997a8718c5 100644
--- a/test/prism/snapshots/whitequark/bang.txt
+++ b/test/prism/snapshots/whitequark/bang.txt
@@ -7,7 +7,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (1,1)-(1,4))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
diff --git a/test/prism/snapshots/whitequark/bang_cmd.txt b/test/prism/snapshots/whitequark/bang_cmd.txt
index 83f70c6c2b..e487da5e57 100644
--- a/test/prism/snapshots/whitequark/bang_cmd.txt
+++ b/test/prism/snapshots/whitequark/bang_cmd.txt
@@ -7,7 +7,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (1,1)-(1,6))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :m
@@ -18,7 +18,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (1,3)-(1,6))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
diff --git a/test/prism/snapshots/whitequark/begin_cmdarg.txt b/test/prism/snapshots/whitequark/begin_cmdarg.txt
index 26045f1caa..f293656bb9 100644
--- a/test/prism/snapshots/whitequark/begin_cmdarg.txt
+++ b/test/prism/snapshots/whitequark/begin_cmdarg.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,28))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,28))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :p
diff --git a/test/prism/snapshots/whitequark/beginless_erange_after_newline.txt b/test/prism/snapshots/whitequark/beginless_erange_after_newline.txt
index e67233cc03..bffa01e42a 100644
--- a/test/prism/snapshots/whitequark/beginless_erange_after_newline.txt
+++ b/test/prism/snapshots/whitequark/beginless_erange_after_newline.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(2,6))
└── body: (length: 2)
├── @ CallNode (location: (1,0)-(1,3))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
diff --git a/test/prism/snapshots/whitequark/beginless_irange_after_newline.txt b/test/prism/snapshots/whitequark/beginless_irange_after_newline.txt
index 64643f2189..b0fb7258a7 100644
--- a/test/prism/snapshots/whitequark/beginless_irange_after_newline.txt
+++ b/test/prism/snapshots/whitequark/beginless_irange_after_newline.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(2,5))
└── body: (length: 2)
├── @ CallNode (location: (1,0)-(1,3))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
diff --git a/test/prism/snapshots/whitequark/blockargs.txt b/test/prism/snapshots/whitequark/blockargs.txt
index 3abacbea60..6e87c70633 100644
--- a/test/prism/snapshots/whitequark/blockargs.txt
+++ b/test/prism/snapshots/whitequark/blockargs.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(71,7))
└── body: (length: 35)
├── @ CallNode (location: (1,0)-(1,5))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :f
@@ -21,7 +21,7 @@
│ ├── opening_loc: (1,1)-(1,2) = "{"
│ └── closing_loc: (1,4)-(1,5) = "}"
├── @ CallNode (location: (3,0)-(3,8))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :f
@@ -43,7 +43,7 @@
│ ├── opening_loc: (3,1)-(3,2) = "{"
│ └── closing_loc: (3,7)-(3,8) = "}"
├── @ CallNode (location: (5,0)-(5,9))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :f
@@ -77,7 +77,7 @@
│ ├── opening_loc: (5,1)-(5,2) = "{"
│ └── closing_loc: (5,8)-(5,9) = "}"
├── @ CallNode (location: (7,0)-(7,16))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :f
@@ -115,7 +115,7 @@
│ ├── opening_loc: (7,1)-(7,2) = "{"
│ └── closing_loc: (7,15)-(7,16) = "}"
├── @ CallNode (location: (9,0)-(9,12))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :f
@@ -153,7 +153,7 @@
│ ├── opening_loc: (9,1)-(9,2) = "{"
│ └── closing_loc: (9,11)-(9,12) = "}"
├── @ CallNode (location: (11,0)-(11,16))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :f
@@ -193,7 +193,7 @@
│ ├── opening_loc: (11,1)-(11,2) = "{"
│ └── closing_loc: (11,15)-(11,16) = "}"
├── @ CallNode (location: (13,0)-(13,13))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :f
@@ -231,7 +231,7 @@
│ ├── opening_loc: (13,1)-(13,2) = "{"
│ └── closing_loc: (13,12)-(13,13) = "}"
├── @ CallNode (location: (15,0)-(15,9))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :f
@@ -265,7 +265,7 @@
│ ├── opening_loc: (15,1)-(15,2) = "{"
│ └── closing_loc: (15,8)-(15,9) = "}"
├── @ CallNode (location: (17,0)-(17,8))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :f
@@ -299,7 +299,7 @@
│ ├── opening_loc: (17,1)-(17,2) = "{"
│ └── closing_loc: (17,7)-(17,8) = "}"
├── @ CallNode (location: (19,0)-(21,3))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :f
@@ -323,7 +323,7 @@
│ ├── opening_loc: (19,1)-(19,2) = "{"
│ └── closing_loc: (21,2)-(21,3) = "}"
├── @ CallNode (location: (23,0)-(23,9))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :f
@@ -347,7 +347,7 @@
│ ├── opening_loc: (23,1)-(23,2) = "{"
│ └── closing_loc: (23,8)-(23,9) = "}"
├── @ CallNode (location: (25,0)-(25,12))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :f
@@ -383,7 +383,7 @@
│ ├── opening_loc: (25,1)-(25,2) = "{"
│ └── closing_loc: (25,11)-(25,12) = "}"
├── @ CallNode (location: (27,0)-(27,15))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :f
@@ -423,7 +423,7 @@
│ ├── opening_loc: (27,1)-(27,2) = "{"
│ └── closing_loc: (27,14)-(27,15) = "}"
├── @ CallNode (location: (29,0)-(29,19))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :f
@@ -465,7 +465,7 @@
│ ├── opening_loc: (29,1)-(29,2) = "{"
│ └── closing_loc: (29,18)-(29,19) = "}"
├── @ CallNode (location: (31,0)-(31,16))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :f
@@ -505,7 +505,7 @@
│ ├── opening_loc: (31,1)-(31,2) = "{"
│ └── closing_loc: (31,15)-(31,16) = "}"
├── @ CallNode (location: (33,0)-(33,12))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :f
@@ -541,7 +541,7 @@
│ ├── opening_loc: (33,1)-(33,2) = "{"
│ └── closing_loc: (33,11)-(33,12) = "}"
├── @ CallNode (location: (35,0)-(35,11))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :f
@@ -577,7 +577,7 @@
│ ├── opening_loc: (35,1)-(35,2) = "{"
│ └── closing_loc: (35,10)-(35,11) = "}"
├── @ CallNode (location: (37,0)-(37,12))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :f
@@ -612,7 +612,7 @@
│ ├── opening_loc: (37,1)-(37,2) = "{"
│ └── closing_loc: (37,11)-(37,12) = "}"
├── @ CallNode (location: (39,0)-(39,11))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :f
@@ -646,7 +646,7 @@
│ ├── opening_loc: (39,1)-(39,2) = "{"
│ └── closing_loc: (39,10)-(39,11) = "}"
├── @ CallNode (location: (41,0)-(41,17))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :f
@@ -689,7 +689,7 @@
│ ├── opening_loc: (41,1)-(41,2) = "{"
│ └── closing_loc: (41,16)-(41,17) = "}"
├── @ CallNode (location: (43,0)-(43,24))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :f
@@ -738,7 +738,7 @@
│ ├── opening_loc: (43,1)-(43,2) = "{"
│ └── closing_loc: (43,23)-(43,24) = "}"
├── @ CallNode (location: (45,0)-(45,27))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :f
@@ -792,7 +792,7 @@
│ ├── opening_loc: (45,1)-(45,2) = "{"
│ └── closing_loc: (45,26)-(45,27) = "}"
├── @ CallNode (location: (47,0)-(47,20))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :f
@@ -837,7 +837,7 @@
│ ├── opening_loc: (47,1)-(47,2) = "{"
│ └── closing_loc: (47,19)-(47,20) = "}"
├── @ CallNode (location: (49,0)-(49,9))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :f
@@ -870,7 +870,7 @@
│ ├── opening_loc: (49,1)-(49,2) = "{"
│ └── closing_loc: (49,8)-(49,9) = "}"
├── @ CallNode (location: (51,0)-(51,8))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :f
@@ -902,7 +902,7 @@
│ ├── opening_loc: (51,1)-(51,2) = "{"
│ └── closing_loc: (51,7)-(51,8) = "}"
├── @ CallNode (location: (53,0)-(53,8))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :f
@@ -934,7 +934,7 @@
│ ├── opening_loc: (53,1)-(53,2) = "{"
│ └── closing_loc: (53,7)-(53,8) = "}"
├── @ CallNode (location: (55,0)-(55,8))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :f
@@ -966,7 +966,7 @@
│ ├── opening_loc: (55,1)-(55,2) = "{"
│ └── closing_loc: (55,7)-(55,8) = "}"
├── @ CallNode (location: (57,0)-(57,17))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :f
@@ -1006,7 +1006,7 @@
│ ├── opening_loc: (57,1)-(57,2) = "{"
│ └── closing_loc: (57,16)-(57,17) = "}"
├── @ CallNode (location: (59,0)-(59,32))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :f
@@ -1056,7 +1056,7 @@
│ ├── opening_loc: (59,1)-(59,2) = "{"
│ └── closing_loc: (59,31)-(59,32) = "}"
├── @ CallNode (location: (61,0)-(61,11))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :f
@@ -1089,7 +1089,7 @@
│ ├── opening_loc: (61,1)-(61,2) = "{"
│ └── closing_loc: (61,10)-(61,11) = "}"
├── @ CallNode (location: (63,0)-(63,14))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :f
@@ -1130,7 +1130,7 @@
│ ├── opening_loc: (63,1)-(63,2) = "{"
│ └── closing_loc: (63,13)-(63,14) = "}"
├── @ CallNode (location: (65,0)-(65,18))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :f
@@ -1175,7 +1175,7 @@
│ ├── opening_loc: (65,1)-(65,2) = "{"
│ └── closing_loc: (65,17)-(65,18) = "}"
├── @ CallNode (location: (67,0)-(67,21))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :f
@@ -1222,7 +1222,7 @@
│ ├── opening_loc: (67,1)-(67,2) = "{"
│ └── closing_loc: (67,20)-(67,21) = "}"
├── @ CallNode (location: (69,0)-(69,17))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :f
@@ -1265,7 +1265,7 @@
│ ├── opening_loc: (69,1)-(69,2) = "{"
│ └── closing_loc: (69,16)-(69,17) = "}"
└── @ CallNode (location: (71,0)-(71,7))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/whitequark/break.txt b/test/prism/snapshots/whitequark/break.txt
index 4f40ca759e..7ce2bfa136 100644
--- a/test/prism/snapshots/whitequark/break.txt
+++ b/test/prism/snapshots/whitequark/break.txt
@@ -12,7 +12,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (3,6)-(3,9))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -42,7 +42,7 @@
│ │ @ StatementsNode (location: (7,6)-(7,9))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (7,6)-(7,9))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
diff --git a/test/prism/snapshots/whitequark/break_block.txt b/test/prism/snapshots/whitequark/break_block.txt
index 12a9263911..e27b40e5c9 100644
--- a/test/prism/snapshots/whitequark/break_block.txt
+++ b/test/prism/snapshots/whitequark/break_block.txt
@@ -9,7 +9,7 @@
│ ├── flags: ∅
│ └── arguments: (length: 1)
│ └── @ CallNode (location: (1,6)-(1,20))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :fun
@@ -20,7 +20,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (1,10)-(1,13))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
diff --git a/test/prism/snapshots/whitequark/bug_447.txt b/test/prism/snapshots/whitequark/bug_447.txt
index 427579b8b8..18ee926adf 100644
--- a/test/prism/snapshots/whitequark/bug_447.txt
+++ b/test/prism/snapshots/whitequark/bug_447.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(3,14))
└── body: (length: 2)
├── @ CallNode (location: (1,0)-(1,11))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :m
@@ -29,7 +29,7 @@
│ ├── opening_loc: (1,5)-(1,7) = "do"
│ └── closing_loc: (1,8)-(1,11) = "end"
└── @ CallNode (location: (3,0)-(3,14))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :m
diff --git a/test/prism/snapshots/whitequark/bug_452.txt b/test/prism/snapshots/whitequark/bug_452.txt
index 8bed829c80..90c51f2c8c 100644
--- a/test/prism/snapshots/whitequark/bug_452.txt
+++ b/test/prism/snapshots/whitequark/bug_452.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,37))
└── body: (length: 2)
├── @ CallNode (location: (1,0)-(1,21))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :td
@@ -38,7 +38,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (1,23)-(1,25))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :td
diff --git a/test/prism/snapshots/whitequark/bug_466.txt b/test/prism/snapshots/whitequark/bug_466.txt
index 32361b6e75..7f2f12d32c 100644
--- a/test/prism/snapshots/whitequark/bug_466.txt
+++ b/test/prism/snapshots/whitequark/bug_466.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,27))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,27))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :foo
diff --git a/test/prism/snapshots/whitequark/bug_473.txt b/test/prism/snapshots/whitequark/bug_473.txt
index c4767f4ec1..96991ebeb7 100644
--- a/test/prism/snapshots/whitequark/bug_473.txt
+++ b/test/prism/snapshots/whitequark/bug_473.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,9))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,9))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :m
diff --git a/test/prism/snapshots/whitequark/bug_480.txt b/test/prism/snapshots/whitequark/bug_480.txt
index 73903adb78..f0a2a312e5 100644
--- a/test/prism/snapshots/whitequark/bug_480.txt
+++ b/test/prism/snapshots/whitequark/bug_480.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,12))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,12))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :m
diff --git a/test/prism/snapshots/whitequark/bug_481.txt b/test/prism/snapshots/whitequark/bug_481.txt
index ccacf71b1e..85ec4befb1 100644
--- a/test/prism/snapshots/whitequark/bug_481.txt
+++ b/test/prism/snapshots/whitequark/bug_481.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,28))
└── body: (length: 2)
├── @ CallNode (location: (1,0)-(1,14))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :m
diff --git a/test/prism/snapshots/whitequark/bug_cmd_string_lookahead.txt b/test/prism/snapshots/whitequark/bug_cmd_string_lookahead.txt
index 91e849c830..0b1e8c96a0 100644
--- a/test/prism/snapshots/whitequark/bug_cmd_string_lookahead.txt
+++ b/test/prism/snapshots/whitequark/bug_cmd_string_lookahead.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,17))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,17))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :desc
diff --git a/test/prism/snapshots/whitequark/bug_cmdarg.txt b/test/prism/snapshots/whitequark/bug_cmdarg.txt
index 428d061ee4..addff03908 100644
--- a/test/prism/snapshots/whitequark/bug_cmdarg.txt
+++ b/test/prism/snapshots/whitequark/bug_cmdarg.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(5,26))
└── body: (length: 3)
├── @ CallNode (location: (1,0)-(1,15))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :assert
@@ -31,7 +31,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (3,0)-(3,11))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :assert
@@ -42,7 +42,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (3,7)-(3,11))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :dogs
@@ -54,7 +54,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
└── @ CallNode (location: (5,0)-(5,26))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
@@ -87,7 +87,7 @@
│ │ @ StatementsNode (location: (5,11)-(5,22))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (5,11)-(5,22))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :meth
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 3b5bc5b475..4c0ea27a74 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
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,33))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,33))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :bar
@@ -23,7 +23,7 @@
│ │ @ StatementsNode (location: (1,13)-(1,29))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (1,13)-(1,29))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver:
│ │ │ @ SelfNode (location: (1,13)-(1,17))
│ │ ├── call_operator_loc: (1,17)-(1,18) = "."
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 3283361ac1..34bd224d31 100644
--- a/test/prism/snapshots/whitequark/bug_do_block_in_cmdarg.txt
+++ b/test/prism/snapshots/whitequark/bug_do_block_in_cmdarg.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,17))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,17))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :tap
@@ -19,7 +19,7 @@
│ │ @ StatementsNode (location: (1,5)-(1,16))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (1,5)-(1,16))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :proc
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 4415a16551..2244d6f8aa 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
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(9,52))
└── body: (length: 5)
├── @ CallNode (location: (1,0)-(1,42))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :p
@@ -33,7 +33,7 @@
│ │ │ │ │ └── unescaped: "a"
│ │ │ │ ├── value:
│ │ │ │ │ @ CallNode (location: (1,14)-(1,25))
- │ │ │ │ │ ├── flags: ∅
+ │ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :proc
@@ -60,7 +60,7 @@
│ │ │ │ └── unescaped: "b"
│ │ │ ├── value:
│ │ │ │ @ CallNode (location: (1,30)-(1,41))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :proc
@@ -81,7 +81,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (3,0)-(3,40))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :p
@@ -103,7 +103,7 @@
│ │ │ ├── @ AssocSplatNode (location: (3,9)-(3,23))
│ │ │ │ ├── value:
│ │ │ │ │ @ CallNode (location: (3,12)-(3,23))
- │ │ │ │ │ ├── flags: ∅
+ │ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :proc
@@ -130,7 +130,7 @@
│ │ │ │ └── unescaped: "b"
│ │ │ ├── value:
│ │ │ │ @ CallNode (location: (3,28)-(3,39))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :proc
@@ -151,7 +151,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (5,0)-(5,43))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :p
@@ -180,7 +180,7 @@
│ │ │ │ │ └── unescaped: "a"
│ │ │ │ ├── value:
│ │ │ │ │ @ CallNode (location: (5,15)-(5,26))
- │ │ │ │ │ ├── flags: ∅
+ │ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :proc
@@ -207,7 +207,7 @@
│ │ │ │ └── unescaped: "b"
│ │ │ ├── value:
│ │ │ │ @ CallNode (location: (5,31)-(5,42))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :proc
@@ -228,7 +228,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (7,0)-(7,40))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :p
@@ -257,7 +257,7 @@
│ │ │ │ │ └── unescaped: "a"
│ │ │ │ ├── value:
│ │ │ │ │ @ CallNode (location: (7,12)-(7,23))
- │ │ │ │ │ ├── flags: ∅
+ │ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :proc
@@ -284,7 +284,7 @@
│ │ │ │ └── unescaped: "b"
│ │ │ ├── value:
│ │ │ │ @ CallNode (location: (7,28)-(7,39))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :proc
@@ -305,7 +305,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
└── @ CallNode (location: (9,0)-(9,52))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :p
@@ -327,7 +327,7 @@
│ │ ├── @ AssocNode (location: (9,9)-(9,35))
│ │ │ ├── key:
│ │ │ │ @ CallNode (location: (9,9)-(9,20))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :proc
@@ -345,7 +345,7 @@
│ │ │ │ └── closing_loc: (9,17)-(9,20) = "end"
│ │ │ ├── value:
│ │ │ │ @ CallNode (location: (9,24)-(9,35))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :proc
@@ -372,7 +372,7 @@
│ │ │ └── unescaped: "b"
│ │ ├── value:
│ │ │ @ CallNode (location: (9,40)-(9,51))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :proc
diff --git a/test/prism/snapshots/whitequark/bug_heredoc_do.txt b/test/prism/snapshots/whitequark/bug_heredoc_do.txt
index 7d1254f4fe..3877f657c2 100644
--- a/test/prism/snapshots/whitequark/bug_heredoc_do.txt
+++ b/test/prism/snapshots/whitequark/bug_heredoc_do.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(3,3))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(3,3))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
diff --git a/test/prism/snapshots/whitequark/bug_lambda_leakage.txt b/test/prism/snapshots/whitequark/bug_lambda_leakage.txt
index f538e3f613..96af5544b9 100644
--- a/test/prism/snapshots/whitequark/bug_lambda_leakage.txt
+++ b/test/prism/snapshots/whitequark/bug_lambda_leakage.txt
@@ -27,7 +27,7 @@
│ │ └── closing_loc: (1,8)-(1,9) = ")"
│ └── body: ∅
└── @ CallNode (location: (1,14)-(1,19))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :scope
diff --git a/test/prism/snapshots/whitequark/case_cond.txt b/test/prism/snapshots/whitequark/case_cond.txt
index c578d386da..a94c840465 100644
--- a/test/prism/snapshots/whitequark/case_cond.txt
+++ b/test/prism/snapshots/whitequark/case_cond.txt
@@ -10,7 +10,7 @@
│ ├── keyword_loc: (1,6)-(1,10) = "when"
│ ├── conditions: (length: 1)
│ │ └── @ CallNode (location: (1,11)-(1,14))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
diff --git a/test/prism/snapshots/whitequark/case_cond_else.txt b/test/prism/snapshots/whitequark/case_cond_else.txt
index f6411ad5a9..faca87afc6 100644
--- a/test/prism/snapshots/whitequark/case_cond_else.txt
+++ b/test/prism/snapshots/whitequark/case_cond_else.txt
@@ -10,7 +10,7 @@
│ ├── keyword_loc: (1,6)-(1,10) = "when"
│ ├── conditions: (length: 1)
│ │ └── @ CallNode (location: (1,11)-(1,14))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
diff --git a/test/prism/snapshots/whitequark/case_expr.txt b/test/prism/snapshots/whitequark/case_expr.txt
index d52625f74e..6b209d9e4e 100644
--- a/test/prism/snapshots/whitequark/case_expr.txt
+++ b/test/prism/snapshots/whitequark/case_expr.txt
@@ -6,7 +6,7 @@
└── @ CaseNode (location: (1,0)-(1,30))
├── predicate:
│ @ CallNode (location: (1,5)-(1,8))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -29,7 +29,7 @@
│ @ StatementsNode (location: (1,22)-(1,25))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,22)-(1,25))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/case_expr_else.txt b/test/prism/snapshots/whitequark/case_expr_else.txt
index ddb80acfcb..5729140685 100644
--- a/test/prism/snapshots/whitequark/case_expr_else.txt
+++ b/test/prism/snapshots/whitequark/case_expr_else.txt
@@ -6,7 +6,7 @@
└── @ CaseNode (location: (1,0)-(1,40))
├── predicate:
│ @ CallNode (location: (1,5)-(1,8))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -29,7 +29,7 @@
│ @ StatementsNode (location: (1,22)-(1,25))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,22)-(1,25))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
@@ -45,7 +45,7 @@
│ │ @ StatementsNode (location: (1,32)-(1,35))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (1,32)-(1,35))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :baz
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 44b7d83765..85c2c96b4f 100644
--- a/test/prism/snapshots/whitequark/class_definition_in_while_cond.txt
+++ b/test/prism/snapshots/whitequark/class_definition_in_while_cond.txt
@@ -23,7 +23,7 @@
│ │ │ ├── name_loc: (1,21)-(1,22) = "a"
│ │ │ ├── value:
│ │ │ │ @ CallNode (location: (1,25)-(1,35))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :tap
@@ -62,7 +62,7 @@
│ │ │ @ StatementsNode (location: (3,21)-(3,31))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (3,21)-(3,31))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :tap
@@ -107,7 +107,7 @@
│ │ │ ├── name_loc: (5,16)-(5,17) = "a"
│ │ │ ├── value:
│ │ │ │ @ CallNode (location: (5,20)-(5,30))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :tap
@@ -149,7 +149,7 @@
│ │ @ StatementsNode (location: (7,17)-(7,27))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (7,17)-(7,27))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :tap
diff --git a/test/prism/snapshots/whitequark/class_super_label.txt b/test/prism/snapshots/whitequark/class_super_label.txt
index 519583475b..abfdaf32a9 100644
--- a/test/prism/snapshots/whitequark/class_super_label.txt
+++ b/test/prism/snapshots/whitequark/class_super_label.txt
@@ -12,7 +12,7 @@
├── inheritance_operator_loc: (1,10)-(1,11) = "<"
├── superclass:
│ @ CallNode (location: (1,12)-(1,15))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
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 4868d0913e..e33f798ef5 100644
--- a/test/prism/snapshots/whitequark/comments_before_leading_dot__27.txt
+++ b/test/prism/snapshots/whitequark/comments_before_leading_dot__27.txt
@@ -7,7 +7,7 @@
│ ├── flags: safe_navigation
│ ├── receiver:
│ │ @ CallNode (location: (1,0)-(1,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -27,7 +27,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (6,0)-(6,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -47,7 +47,7 @@
│ ├── flags: safe_navigation
│ ├── receiver:
│ │ @ CallNode (location: (11,0)-(11,1))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -67,7 +67,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (16,0)-(16,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
diff --git a/test/prism/snapshots/whitequark/cond_begin.txt b/test/prism/snapshots/whitequark/cond_begin.txt
index d70314408f..e349c198a5 100644
--- a/test/prism/snapshots/whitequark/cond_begin.txt
+++ b/test/prism/snapshots/whitequark/cond_begin.txt
@@ -11,7 +11,7 @@
│ │ @ StatementsNode (location: (1,4)-(1,7))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (1,4)-(1,7))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -27,7 +27,7 @@
│ @ StatementsNode (location: (1,10)-(1,13))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,10)-(1,13))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
diff --git a/test/prism/snapshots/whitequark/cond_begin_masgn.txt b/test/prism/snapshots/whitequark/cond_begin_masgn.txt
index 93892315ac..b4e6d8682c 100644
--- a/test/prism/snapshots/whitequark/cond_begin_masgn.txt
+++ b/test/prism/snapshots/whitequark/cond_begin_masgn.txt
@@ -11,7 +11,7 @@
│ │ @ StatementsNode (location: (1,4)-(1,19))
│ │ └── body: (length: 2)
│ │ ├── @ CallNode (location: (1,4)-(1,7))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -35,7 +35,7 @@
│ │ ├── operator_loc: (1,14)-(1,15) = "="
│ │ └── value:
│ │ @ CallNode (location: (1,16)-(1,19))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
diff --git a/test/prism/snapshots/whitequark/cond_eflipflop.txt b/test/prism/snapshots/whitequark/cond_eflipflop.txt
index ab617f583f..18fee58492 100644
--- a/test/prism/snapshots/whitequark/cond_eflipflop.txt
+++ b/test/prism/snapshots/whitequark/cond_eflipflop.txt
@@ -14,7 +14,7 @@
│ │ │ ├── flags: exclude_end
│ │ │ ├── left:
│ │ │ │ @ CallNode (location: (1,2)-(1,5))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :foo
@@ -25,7 +25,7 @@
│ │ │ │ └── block: ∅
│ │ │ ├── right:
│ │ │ │ @ CallNode (location: (1,8)-(1,11))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :bar
@@ -51,7 +51,7 @@
│ ├── flags: exclude_end
│ ├── left:
│ │ @ CallNode (location: (3,3)-(3,6))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -62,7 +62,7 @@
│ │ └── block: ∅
│ ├── right:
│ │ @ CallNode (location: (3,9)-(3,12))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/cond_iflipflop.txt b/test/prism/snapshots/whitequark/cond_iflipflop.txt
index 061bfd4315..f76a6636f6 100644
--- a/test/prism/snapshots/whitequark/cond_iflipflop.txt
+++ b/test/prism/snapshots/whitequark/cond_iflipflop.txt
@@ -14,7 +14,7 @@
│ │ │ ├── flags: ∅
│ │ │ ├── left:
│ │ │ │ @ CallNode (location: (1,2)-(1,5))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :foo
@@ -25,7 +25,7 @@
│ │ │ │ └── block: ∅
│ │ │ ├── right:
│ │ │ │ @ CallNode (location: (1,7)-(1,10))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :bar
@@ -51,7 +51,7 @@
│ ├── flags: ∅
│ ├── left:
│ │ @ CallNode (location: (3,3)-(3,6))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -62,7 +62,7 @@
│ │ └── block: ∅
│ ├── right:
│ │ @ CallNode (location: (3,8)-(3,11))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/dedenting_heredoc.txt b/test/prism/snapshots/whitequark/dedenting_heredoc.txt
index a459cd851f..49c4454915 100644
--- a/test/prism/snapshots/whitequark/dedenting_heredoc.txt
+++ b/test/prism/snapshots/whitequark/dedenting_heredoc.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(72,8))
└── body: (length: 16)
├── @ CallNode (location: (1,0)-(1,8))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :p
@@ -45,7 +45,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (6,0)-(6,8))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :p
@@ -70,7 +70,7 @@
│ │ │ │ │ @ StatementsNode (location: (8,4)-(8,7))
│ │ │ │ │ └── body: (length: 1)
│ │ │ │ │ └── @ CallNode (location: (8,4)-(8,7))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :foo
@@ -90,7 +90,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (11,0)-(11,6))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :p
@@ -119,7 +119,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (16,0)-(16,6))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :p
@@ -148,7 +148,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (21,0)-(21,6))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :p
@@ -177,7 +177,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (26,0)-(26,6))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :p
@@ -206,7 +206,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (31,0)-(31,6))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :p
@@ -235,7 +235,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (36,0)-(36,6))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :p
@@ -264,7 +264,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (41,0)-(41,6))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :p
@@ -283,7 +283,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (44,0)-(44,6))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :p
@@ -318,7 +318,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (50,0)-(50,6))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :p
@@ -353,7 +353,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (56,0)-(56,6))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :p
@@ -382,7 +382,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (61,0)-(61,6))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :p
@@ -401,7 +401,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (65,0)-(65,6))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :p
@@ -420,7 +420,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (69,0)-(69,6))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :p
@@ -439,7 +439,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
└── @ CallNode (location: (72,0)-(72,8))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :p
@@ -464,7 +464,7 @@
│ │ │ │ @ StatementsNode (location: (74,4)-(74,7))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (74,4)-(74,7))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :foo
diff --git a/test/prism/snapshots/whitequark/defined.txt b/test/prism/snapshots/whitequark/defined.txt
index 6a1d8cd499..5e05870b21 100644
--- a/test/prism/snapshots/whitequark/defined.txt
+++ b/test/prism/snapshots/whitequark/defined.txt
@@ -14,7 +14,7 @@
│ ├── lparen_loc: ∅
│ ├── value:
│ │ @ CallNode (location: (3,9)-(3,12))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -29,7 +29,7 @@
├── lparen_loc: (5,8)-(5,9) = "("
├── value:
│ @ CallNode (location: (5,9)-(5,12))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
diff --git a/test/prism/snapshots/whitequark/defs.txt b/test/prism/snapshots/whitequark/defs.txt
index 4bb97ea025..82ab7dfc46 100644
--- a/test/prism/snapshots/whitequark/defs.txt
+++ b/test/prism/snapshots/whitequark/defs.txt
@@ -10,7 +10,7 @@
│ │ @ ParenthesesNode (location: (1,4)-(1,9))
│ │ ├── body:
│ │ │ @ CallNode (location: (1,5)-(1,8))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
diff --git a/test/prism/snapshots/whitequark/endless_comparison_method.txt b/test/prism/snapshots/whitequark/endless_comparison_method.txt
index 7104b23494..c8a9a4c624 100644
--- a/test/prism/snapshots/whitequark/endless_comparison_method.txt
+++ b/test/prism/snapshots/whitequark/endless_comparison_method.txt
@@ -22,7 +22,7 @@
│ │ @ StatementsNode (location: (1,16)-(1,28))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (1,16)-(1,28))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :do_something
@@ -58,7 +58,7 @@
│ │ @ StatementsNode (location: (3,16)-(3,28))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (3,16)-(3,28))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :do_something
@@ -94,7 +94,7 @@
│ │ @ StatementsNode (location: (5,16)-(5,28))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (5,16)-(5,28))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :do_something
@@ -130,7 +130,7 @@
│ │ @ StatementsNode (location: (7,16)-(7,28))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (7,16)-(7,28))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :do_something
@@ -166,7 +166,7 @@
│ │ @ StatementsNode (location: (9,17)-(9,29))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (9,17)-(9,29))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :do_something
@@ -202,7 +202,7 @@
│ @ StatementsNode (location: (11,16)-(11,28))
│ └── body: (length: 1)
│ └── @ CallNode (location: (11,16)-(11,28))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :do_something
diff --git a/test/prism/snapshots/whitequark/endless_method.txt b/test/prism/snapshots/whitequark/endless_method.txt
index 20550049ce..ab826ccfe1 100644
--- a/test/prism/snapshots/whitequark/endless_method.txt
+++ b/test/prism/snapshots/whitequark/endless_method.txt
@@ -70,7 +70,7 @@
│ ├── name_loc: (5,8)-(5,11) = "foo"
│ ├── receiver:
│ │ @ CallNode (location: (5,4)-(5,7))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :obj
@@ -98,7 +98,7 @@
├── name_loc: (7,8)-(7,11) = "inc"
├── receiver:
│ @ CallNode (location: (7,4)-(7,7))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :obj
diff --git a/test/prism/snapshots/whitequark/endless_method_command_syntax.txt b/test/prism/snapshots/whitequark/endless_method_command_syntax.txt
index c544e19265..c6d5e7150a 100644
--- a/test/prism/snapshots/whitequark/endless_method_command_syntax.txt
+++ b/test/prism/snapshots/whitequark/endless_method_command_syntax.txt
@@ -12,7 +12,7 @@
│ │ @ StatementsNode (location: (1,10)-(1,22))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (1,10)-(1,22))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :puts
@@ -47,7 +47,7 @@
│ │ @ StatementsNode (location: (3,12)-(3,24))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (3,12)-(3,24))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :puts
@@ -92,7 +92,7 @@
│ │ @ StatementsNode (location: (5,13)-(5,19))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (5,13)-(5,19))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :puts
@@ -120,7 +120,7 @@
│ ├── name_loc: (7,8)-(7,11) = "foo"
│ ├── receiver:
│ │ @ CallNode (location: (7,4)-(7,7))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :obj
@@ -134,7 +134,7 @@
│ │ @ StatementsNode (location: (7,14)-(7,26))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (7,14)-(7,26))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :puts
@@ -165,7 +165,7 @@
│ ├── name_loc: (9,8)-(9,11) = "foo"
│ ├── receiver:
│ │ @ CallNode (location: (9,4)-(9,7))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :obj
@@ -179,7 +179,7 @@
│ │ @ StatementsNode (location: (9,16)-(9,28))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (9,16)-(9,28))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :puts
@@ -210,7 +210,7 @@
│ ├── name_loc: (11,8)-(11,11) = "foo"
│ ├── receiver:
│ │ @ CallNode (location: (11,4)-(11,7))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :obj
@@ -234,7 +234,7 @@
│ │ @ StatementsNode (location: (11,17)-(11,23))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (11,17)-(11,23))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :puts
@@ -278,7 +278,7 @@
│ │ └── @ RescueModifierNode (location: (13,17)-(13,60))
│ │ ├── expression:
│ │ │ @ CallNode (location: (13,17)-(13,37))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :raise
@@ -347,7 +347,7 @@
│ └── @ RescueModifierNode (location: (15,22)-(15,62))
│ ├── expression:
│ │ @ CallNode (location: (15,22)-(15,42))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :raise
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 f4b3ec941e..366258cf92 100644
--- a/test/prism/snapshots/whitequark/endless_method_forwarded_args_legacy.txt
+++ b/test/prism/snapshots/whitequark/endless_method_forwarded_args_legacy.txt
@@ -21,7 +21,7 @@
│ @ StatementsNode (location: (1,15)-(1,23))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,15)-(1,23))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/ensure.txt b/test/prism/snapshots/whitequark/ensure.txt
index 9c93109927..a48d2370e8 100644
--- a/test/prism/snapshots/whitequark/ensure.txt
+++ b/test/prism/snapshots/whitequark/ensure.txt
@@ -9,7 +9,7 @@
│ @ StatementsNode (location: (1,7)-(1,11))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,7)-(1,11))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :meth
@@ -27,7 +27,7 @@
│ │ @ StatementsNode (location: (1,21)-(1,24))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (1,21)-(1,24))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/for.txt b/test/prism/snapshots/whitequark/for.txt
index 0f52869838..fec8bdfd64 100644
--- a/test/prism/snapshots/whitequark/for.txt
+++ b/test/prism/snapshots/whitequark/for.txt
@@ -10,7 +10,7 @@
│ │ └── depth: 0
│ ├── collection:
│ │ @ CallNode (location: (1,9)-(1,12))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -23,7 +23,7 @@
│ │ @ StatementsNode (location: (1,16)-(1,19))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (1,16)-(1,19))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :p
@@ -49,7 +49,7 @@
│ └── depth: 0
├── collection:
│ @ CallNode (location: (3,9)-(3,12))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -62,7 +62,7 @@
│ @ StatementsNode (location: (3,14)-(3,17))
│ └── body: (length: 1)
│ └── @ CallNode (location: (3,14)-(3,17))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :p
diff --git a/test/prism/snapshots/whitequark/for_mlhs.txt b/test/prism/snapshots/whitequark/for_mlhs.txt
index a4b8e3d349..42d8fa2258 100644
--- a/test/prism/snapshots/whitequark/for_mlhs.txt
+++ b/test/prism/snapshots/whitequark/for_mlhs.txt
@@ -19,7 +19,7 @@
│ └── rparen_loc: ∅
├── collection:
│ @ CallNode (location: (1,12)-(1,15))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -32,7 +32,7 @@
│ @ StatementsNode (location: (1,17)-(1,23))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,17)-(1,23))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :p
diff --git a/test/prism/snapshots/whitequark/forward_arg.txt b/test/prism/snapshots/whitequark/forward_arg.txt
index 3d7c90eed2..c81fc7a142 100644
--- a/test/prism/snapshots/whitequark/forward_arg.txt
+++ b/test/prism/snapshots/whitequark/forward_arg.txt
@@ -21,7 +21,7 @@
│ @ StatementsNode (location: (1,14)-(1,22))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,14)-(1,22))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
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 1a85c80765..9735edb5ef 100644
--- a/test/prism/snapshots/whitequark/forward_arg_with_open_args.txt
+++ b/test/prism/snapshots/whitequark/forward_arg_with_open_args.txt
@@ -25,7 +25,7 @@
│ │ │ @ StatementsNode (location: (2,2)-(2,10))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (2,2)-(2,10))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -70,7 +70,7 @@
│ │ │ @ StatementsNode (location: (5,14)-(5,22))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (5,14)-(5,22))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -134,7 +134,7 @@
│ │ @ StatementsNode (location: (10,13)-(10,21))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (10,13)-(10,21))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -175,7 +175,7 @@
│ │ @ StatementsNode (location: (13,2)-(13,10))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (13,2)-(13,10))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -216,7 +216,7 @@
│ │ @ StatementsNode (location: (16,16)-(16,24))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (16,16)-(16,24))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -294,7 +294,7 @@
│ │ @ StatementsNode (location: (22,2)-(22,10))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (22,2)-(22,10))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -340,7 +340,7 @@
│ │ @ StatementsNode (location: (25,20)-(25,28))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (25,20)-(25,28))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -381,7 +381,7 @@
│ @ StatementsNode (location: (27,16)-(27,24))
│ └── body: (length: 1)
│ └── @ CallNode (location: (27,16)-(27,24))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/forward_args_legacy.txt b/test/prism/snapshots/whitequark/forward_args_legacy.txt
index 8ece72dd9f..6175e6588f 100644
--- a/test/prism/snapshots/whitequark/forward_args_legacy.txt
+++ b/test/prism/snapshots/whitequark/forward_args_legacy.txt
@@ -21,7 +21,7 @@
│ │ @ StatementsNode (location: (1,14)-(1,22))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (1,14)-(1,22))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/forwarded_argument_with_kwrestarg.txt b/test/prism/snapshots/whitequark/forwarded_argument_with_kwrestarg.txt
index ee2ae74c6d..3e1f113611 100644
--- a/test/prism/snapshots/whitequark/forwarded_argument_with_kwrestarg.txt
+++ b/test/prism/snapshots/whitequark/forwarded_argument_with_kwrestarg.txt
@@ -26,7 +26,7 @@
│ @ StatementsNode (location: (1,23)-(1,40))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,23)-(1,40))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/forwarded_argument_with_restarg.txt b/test/prism/snapshots/whitequark/forwarded_argument_with_restarg.txt
index c590fa3526..76531aa707 100644
--- a/test/prism/snapshots/whitequark/forwarded_argument_with_restarg.txt
+++ b/test/prism/snapshots/whitequark/forwarded_argument_with_restarg.txt
@@ -26,7 +26,7 @@
│ @ StatementsNode (location: (1,22)-(1,38))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,22)-(1,38))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/forwarded_kwrestarg.txt b/test/prism/snapshots/whitequark/forwarded_kwrestarg.txt
index cb09606e53..23dc2d1646 100644
--- a/test/prism/snapshots/whitequark/forwarded_kwrestarg.txt
+++ b/test/prism/snapshots/whitequark/forwarded_kwrestarg.txt
@@ -24,7 +24,7 @@
│ @ StatementsNode (location: (1,13)-(1,20))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,13)-(1,20))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
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 10c0cdc45a..a532391b3f 100644
--- a/test/prism/snapshots/whitequark/forwarded_kwrestarg_with_additional_kwarg.txt
+++ b/test/prism/snapshots/whitequark/forwarded_kwrestarg_with_additional_kwarg.txt
@@ -24,7 +24,7 @@
│ @ StatementsNode (location: (1,13)-(1,36))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,13)-(1,36))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/forwarded_restarg.txt b/test/prism/snapshots/whitequark/forwarded_restarg.txt
index bd0352377e..c05180b808 100644
--- a/test/prism/snapshots/whitequark/forwarded_restarg.txt
+++ b/test/prism/snapshots/whitequark/forwarded_restarg.txt
@@ -24,7 +24,7 @@
│ @ StatementsNode (location: (1,12)-(1,18))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,12)-(1,18))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/hash_kwsplat.txt b/test/prism/snapshots/whitequark/hash_kwsplat.txt
index 66bb06e936..729a9c6b88 100644
--- a/test/prism/snapshots/whitequark/hash_kwsplat.txt
+++ b/test/prism/snapshots/whitequark/hash_kwsplat.txt
@@ -21,7 +21,7 @@
│ └── @ AssocSplatNode (location: (1,10)-(1,15))
│ ├── value:
│ │ @ CallNode (location: (1,12)-(1,15))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/hash_label_end.txt b/test/prism/snapshots/whitequark/hash_label_end.txt
index 6aa1aac055..4999fc842a 100644
--- a/test/prism/snapshots/whitequark/hash_label_end.txt
+++ b/test/prism/snapshots/whitequark/hash_label_end.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(5,22))
└── body: (length: 3)
├── @ CallNode (location: (1,0)-(1,12))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :f
@@ -18,7 +18,7 @@
│ │ ├── if_keyword_loc: ∅
│ │ ├── predicate:
│ │ │ @ CallNode (location: (1,2)-(1,3))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :a
diff --git a/test/prism/snapshots/whitequark/hash_pair_value_omission.txt b/test/prism/snapshots/whitequark/hash_pair_value_omission.txt
index cfa0feadd4..28af780360 100644
--- a/test/prism/snapshots/whitequark/hash_pair_value_omission.txt
+++ b/test/prism/snapshots/whitequark/hash_pair_value_omission.txt
@@ -36,7 +36,7 @@
│ │ │ │ @ ImplicitNode (location: (3,1)-(3,3))
│ │ │ │ └── value:
│ │ │ │ @ CallNode (location: (3,1)-(3,3))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :a
@@ -58,7 +58,7 @@
│ │ │ @ ImplicitNode (location: (3,5)-(3,7))
│ │ │ └── value:
│ │ │ @ CallNode (location: (3,5)-(3,7))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -84,7 +84,7 @@
│ │ @ ImplicitNode (location: (5,1)-(5,6))
│ │ └── value:
│ │ @ CallNode (location: (5,1)-(5,6))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :puts
diff --git a/test/prism/snapshots/whitequark/if.txt b/test/prism/snapshots/whitequark/if.txt
index 233e51de23..809a100f8c 100644
--- a/test/prism/snapshots/whitequark/if.txt
+++ b/test/prism/snapshots/whitequark/if.txt
@@ -7,7 +7,7 @@
│ ├── if_keyword_loc: (1,0)-(1,2) = "if"
│ ├── predicate:
│ │ @ CallNode (location: (1,3)-(1,6))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -21,7 +21,7 @@
│ │ @ StatementsNode (location: (1,12)-(1,15))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (1,12)-(1,15))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -36,7 +36,7 @@
├── if_keyword_loc: (3,0)-(3,2) = "if"
├── predicate:
│ @ CallNode (location: (3,3)-(3,6))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -50,7 +50,7 @@
│ @ StatementsNode (location: (3,8)-(3,11))
│ └── body: (length: 1)
│ └── @ CallNode (location: (3,8)-(3,11))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/if_else.txt b/test/prism/snapshots/whitequark/if_else.txt
index 3e83f32c87..c7dab47f13 100644
--- a/test/prism/snapshots/whitequark/if_else.txt
+++ b/test/prism/snapshots/whitequark/if_else.txt
@@ -7,7 +7,7 @@
│ ├── if_keyword_loc: (1,0)-(1,2) = "if"
│ ├── predicate:
│ │ @ CallNode (location: (1,3)-(1,6))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -21,7 +21,7 @@
│ │ @ StatementsNode (location: (1,12)-(1,15))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (1,12)-(1,15))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -37,7 +37,7 @@
│ │ │ @ StatementsNode (location: (1,22)-(1,25))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (1,22)-(1,25))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :baz
@@ -52,7 +52,7 @@
├── if_keyword_loc: (3,0)-(3,2) = "if"
├── predicate:
│ @ CallNode (location: (3,3)-(3,6))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -66,7 +66,7 @@
│ @ StatementsNode (location: (3,8)-(3,11))
│ └── body: (length: 1)
│ └── @ CallNode (location: (3,8)-(3,11))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
@@ -82,7 +82,7 @@
│ │ @ StatementsNode (location: (3,18)-(3,21))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (3,18)-(3,21))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :baz
diff --git a/test/prism/snapshots/whitequark/if_elsif.txt b/test/prism/snapshots/whitequark/if_elsif.txt
index 50f79966d2..aab6d4003b 100644
--- a/test/prism/snapshots/whitequark/if_elsif.txt
+++ b/test/prism/snapshots/whitequark/if_elsif.txt
@@ -7,7 +7,7 @@
├── if_keyword_loc: (1,0)-(1,2) = "if"
├── predicate:
│ @ CallNode (location: (1,3)-(1,6))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -21,7 +21,7 @@
│ @ StatementsNode (location: (1,8)-(1,11))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,8)-(1,11))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
@@ -35,7 +35,7 @@
│ ├── if_keyword_loc: (1,13)-(1,18) = "elsif"
│ ├── predicate:
│ │ @ CallNode (location: (1,19)-(1,22))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :baz
diff --git a/test/prism/snapshots/whitequark/if_masgn__24.txt b/test/prism/snapshots/whitequark/if_masgn__24.txt
index 4c01b8fee6..c76a93574d 100644
--- a/test/prism/snapshots/whitequark/if_masgn__24.txt
+++ b/test/prism/snapshots/whitequark/if_masgn__24.txt
@@ -25,7 +25,7 @@
│ │ ├── operator_loc: (1,9)-(1,10) = "="
│ │ └── value:
│ │ @ CallNode (location: (1,11)-(1,14))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
diff --git a/test/prism/snapshots/whitequark/if_mod.txt b/test/prism/snapshots/whitequark/if_mod.txt
index 58ad3c29fd..241918f020 100644
--- a/test/prism/snapshots/whitequark/if_mod.txt
+++ b/test/prism/snapshots/whitequark/if_mod.txt
@@ -7,7 +7,7 @@
├── if_keyword_loc: (1,4)-(1,6) = "if"
├── predicate:
│ @ CallNode (location: (1,7)-(1,10))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -21,7 +21,7 @@
│ @ StatementsNode (location: (1,0)-(1,3))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,0)-(1,3))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/if_nl_then.txt b/test/prism/snapshots/whitequark/if_nl_then.txt
index befe49ca45..fbbafe7390 100644
--- a/test/prism/snapshots/whitequark/if_nl_then.txt
+++ b/test/prism/snapshots/whitequark/if_nl_then.txt
@@ -7,7 +7,7 @@
├── if_keyword_loc: (1,0)-(1,2) = "if"
├── predicate:
│ @ CallNode (location: (1,3)-(1,6))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -21,7 +21,7 @@
│ @ StatementsNode (location: (2,5)-(2,8))
│ └── body: (length: 1)
│ └── @ CallNode (location: (2,5)-(2,8))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/keyword_argument_omission.txt b/test/prism/snapshots/whitequark/keyword_argument_omission.txt
index afcfd87c49..74e3378432 100644
--- a/test/prism/snapshots/whitequark/keyword_argument_omission.txt
+++ b/test/prism/snapshots/whitequark/keyword_argument_omission.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,11))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,11))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :foo
@@ -29,7 +29,7 @@
│ │ │ @ ImplicitNode (location: (1,4)-(1,6))
│ │ │ └── value:
│ │ │ @ CallNode (location: (1,4)-(1,6))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :a
@@ -51,7 +51,7 @@
│ │ @ ImplicitNode (location: (1,8)-(1,10))
│ │ └── value:
│ │ @ CallNode (location: (1,8)-(1,10))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
diff --git a/test/prism/snapshots/whitequark/kwbegin_compstmt.txt b/test/prism/snapshots/whitequark/kwbegin_compstmt.txt
index 92eaa5bb0e..376e628f8e 100644
--- a/test/prism/snapshots/whitequark/kwbegin_compstmt.txt
+++ b/test/prism/snapshots/whitequark/kwbegin_compstmt.txt
@@ -9,7 +9,7 @@
│ @ StatementsNode (location: (1,6)-(1,16))
│ └── body: (length: 2)
│ ├── @ CallNode (location: (1,6)-(1,10))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo!
@@ -19,7 +19,7 @@
│ │ ├── closing_loc: ∅
│ │ └── block: ∅
│ └── @ CallNode (location: (1,12)-(1,16))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar!
diff --git a/test/prism/snapshots/whitequark/kwnilarg.txt b/test/prism/snapshots/whitequark/kwnilarg.txt
index 041b0a3773..3777a97e60 100644
--- a/test/prism/snapshots/whitequark/kwnilarg.txt
+++ b/test/prism/snapshots/whitequark/kwnilarg.txt
@@ -53,7 +53,7 @@
│ ├── equal_loc: ∅
│ └── end_keyword_loc: (3,14)-(3,17) = "end"
└── @ CallNode (location: (5,0)-(5,13))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :m
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 290d66b0fc..2a003a80e7 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
@@ -29,7 +29,7 @@
│ @ StatementsNode (location: (1,19)-(1,24))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,19)-(1,24))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :b
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 b1664264ac..4265c8a87c 100644
--- a/test/prism/snapshots/whitequark/lbrace_arg_after_command_args.txt
+++ b/test/prism/snapshots/whitequark/lbrace_arg_after_command_args.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,22))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,22))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :let
@@ -36,7 +36,7 @@
│ @ StatementsNode (location: (1,11)-(1,20))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,11)-(1,20))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :m
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 ac9432787d..e5b953b9fd 100644
--- a/test/prism/snapshots/whitequark/lparenarg_after_lvar__since_25.txt
+++ b/test/prism/snapshots/whitequark/lparenarg_after_lvar__since_25.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(3,15))
└── body: (length: 2)
├── @ CallNode (location: (1,0)-(1,14))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -34,7 +34,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
└── @ CallNode (location: (3,0)-(3,15))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :meth
diff --git a/test/prism/snapshots/whitequark/lvar.txt b/test/prism/snapshots/whitequark/lvar.txt
index 878a4a91f5..afceb6a1a4 100644
--- a/test/prism/snapshots/whitequark/lvar.txt
+++ b/test/prism/snapshots/whitequark/lvar.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,3))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,3))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :foo
diff --git a/test/prism/snapshots/whitequark/masgn_attr.txt b/test/prism/snapshots/whitequark/masgn_attr.txt
index 2a4dc38b7c..c77b54e096 100644
--- a/test/prism/snapshots/whitequark/masgn_attr.txt
+++ b/test/prism/snapshots/whitequark/masgn_attr.txt
@@ -6,7 +6,7 @@
├── @ MultiWriteNode (location: (1,0)-(1,17))
│ ├── lefts: (length: 2)
│ │ ├── @ CallTargetNode (location: (1,0)-(1,6))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver:
│ │ │ │ @ SelfNode (location: (1,0)-(1,4))
│ │ │ ├── call_operator_loc: (1,4)-(1,5) = "."
@@ -27,14 +27,14 @@
├── @ MultiWriteNode (location: (3,0)-(3,24))
│ ├── lefts: (length: 2)
│ │ ├── @ CallTargetNode (location: (3,0)-(3,6))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver:
│ │ │ │ @ SelfNode (location: (3,0)-(3,4))
│ │ │ ├── call_operator_loc: (3,4)-(3,5) = "."
│ │ │ ├── name: :a=
│ │ │ └── message_loc: (3,5)-(3,6) = "a"
│ │ └── @ IndexTargetNode (location: (3,8)-(3,18))
- │ │ ├── flags: attribute_write
+ │ │ ├── flags: attribute_write, ignore_visibility
│ │ ├── receiver:
│ │ │ @ SelfNode (location: (3,8)-(3,12))
│ │ ├── opening_loc: (3,12)-(3,13) = "["
@@ -60,7 +60,7 @@
└── @ MultiWriteNode (location: (5,0)-(5,18))
├── lefts: (length: 2)
│ ├── @ CallTargetNode (location: (5,0)-(5,7))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver:
│ │ │ @ SelfNode (location: (5,0)-(5,4))
│ │ ├── call_operator_loc: (5,4)-(5,6) = "::"
diff --git a/test/prism/snapshots/whitequark/masgn_cmd.txt b/test/prism/snapshots/whitequark/masgn_cmd.txt
index b9d66d5d89..1c62658ab2 100644
--- a/test/prism/snapshots/whitequark/masgn_cmd.txt
+++ b/test/prism/snapshots/whitequark/masgn_cmd.txt
@@ -18,7 +18,7 @@
├── operator_loc: (1,9)-(1,10) = "="
└── value:
@ CallNode (location: (1,11)-(1,16))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :m
diff --git a/test/prism/snapshots/whitequark/masgn_nested.txt b/test/prism/snapshots/whitequark/masgn_nested.txt
index 6bbfc61ef6..3e4602472f 100644
--- a/test/prism/snapshots/whitequark/masgn_nested.txt
+++ b/test/prism/snapshots/whitequark/masgn_nested.txt
@@ -22,7 +22,7 @@
│ ├── operator_loc: (1,8)-(1,9) = "="
│ └── value:
│ @ CallNode (location: (1,10)-(1,13))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -55,7 +55,7 @@
├── operator_loc: (3,10)-(3,11) = "="
└── value:
@ CallNode (location: (3,12)-(3,15))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :foo
diff --git a/test/prism/snapshots/whitequark/masgn_splat.txt b/test/prism/snapshots/whitequark/masgn_splat.txt
index be3cbfb47d..0db040a3ab 100644
--- a/test/prism/snapshots/whitequark/masgn_splat.txt
+++ b/test/prism/snapshots/whitequark/masgn_splat.txt
@@ -15,7 +15,7 @@
│ ├── operator_loc: (1,2)-(1,3) = "="
│ └── value:
│ @ CallNode (location: (1,4)-(1,7))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
@@ -42,7 +42,7 @@
│ ├── operator_loc: (3,8)-(3,9) = "="
│ └── value:
│ @ CallNode (location: (3,10)-(3,13))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
@@ -66,7 +66,7 @@
│ ├── operator_loc: (5,3)-(5,4) = "="
│ └── value:
│ @ CallNode (location: (5,5)-(5,8))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
@@ -93,7 +93,7 @@
│ ├── operator_loc: (7,6)-(7,7) = "="
│ └── value:
│ @ CallNode (location: (7,8)-(7,11))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
@@ -121,7 +121,7 @@
│ │ ├── operator_loc: (9,14)-(9,15) = "*"
│ │ └── expression:
│ │ @ CallNode (location: (9,15)-(9,18))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -147,7 +147,7 @@
│ ├── operator_loc: (11,5)-(11,6) = "="
│ └── value:
│ @ CallNode (location: (11,7)-(11,10))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
@@ -174,7 +174,7 @@
│ ├── operator_loc: (13,8)-(13,9) = "="
│ └── value:
│ @ CallNode (location: (13,10)-(13,13))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
@@ -201,7 +201,7 @@
│ ├── operator_loc: (15,6)-(15,7) = "="
│ └── value:
│ @ CallNode (location: (15,8)-(15,11))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
@@ -231,7 +231,7 @@
│ ├── operator_loc: (17,9)-(17,10) = "="
│ └── value:
│ @ CallNode (location: (17,11)-(17,14))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
@@ -261,7 +261,7 @@
│ │ ├── operator_loc: (19,7)-(19,8) = "*"
│ │ └── expression:
│ │ @ CallNode (location: (19,8)-(19,11))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -271,7 +271,7 @@
│ │ ├── closing_loc: ∅
│ │ └── block: ∅
│ └── @ CallNode (location: (19,13)-(19,16))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
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 7ad047983d..1ca0c3e79a 100644
--- a/test/prism/snapshots/whitequark/method_definition_in_while_cond.txt
+++ b/test/prism/snapshots/whitequark/method_definition_in_while_cond.txt
@@ -22,7 +22,7 @@
│ │ │ │ ├── operator_loc: (1,16)-(1,17) = "="
│ │ │ │ └── value:
│ │ │ │ @ CallNode (location: (1,18)-(1,28))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :tap
@@ -72,7 +72,7 @@
│ │ │ @ StatementsNode (location: (3,15)-(3,25))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (3,15)-(3,25))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :tap
@@ -122,7 +122,7 @@
│ │ │ │ ├── operator_loc: (5,21)-(5,22) = "="
│ │ │ │ └── value:
│ │ │ │ @ CallNode (location: (5,23)-(5,33))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :tap
@@ -173,7 +173,7 @@
│ │ @ StatementsNode (location: (7,20)-(7,30))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (7,20)-(7,30))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :tap
diff --git a/test/prism/snapshots/whitequark/newline_in_hash_argument.txt b/test/prism/snapshots/whitequark/newline_in_hash_argument.txt
index 5f5c1e406c..4daf1ebce5 100644
--- a/test/prism/snapshots/whitequark/newline_in_hash_argument.txt
+++ b/test/prism/snapshots/whitequark/newline_in_hash_argument.txt
@@ -6,7 +6,7 @@
├── @ CaseMatchNode (location: (1,0)-(8,3))
│ ├── predicate:
│ │ @ CallNode (location: (1,5)-(1,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -75,7 +75,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (10,0)-(10,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :obj
@@ -113,7 +113,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (13,0)-(13,3))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :obj
diff --git a/test/prism/snapshots/whitequark/next.txt b/test/prism/snapshots/whitequark/next.txt
index 74a071ba78..b58c2de4fb 100644
--- a/test/prism/snapshots/whitequark/next.txt
+++ b/test/prism/snapshots/whitequark/next.txt
@@ -12,7 +12,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (3,5)-(3,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -42,7 +42,7 @@
│ │ @ StatementsNode (location: (7,5)-(7,8))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (7,5)-(7,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
diff --git a/test/prism/snapshots/whitequark/next_block.txt b/test/prism/snapshots/whitequark/next_block.txt
index 99a4d87747..a2d4e9364c 100644
--- a/test/prism/snapshots/whitequark/next_block.txt
+++ b/test/prism/snapshots/whitequark/next_block.txt
@@ -9,7 +9,7 @@
│ ├── flags: ∅
│ └── arguments: (length: 1)
│ └── @ CallNode (location: (1,5)-(1,19))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :fun
@@ -20,7 +20,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (1,9)-(1,12))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
diff --git a/test/prism/snapshots/whitequark/not.txt b/test/prism/snapshots/whitequark/not.txt
index 95984ddc06..0a6d60e502 100644
--- a/test/prism/snapshots/whitequark/not.txt
+++ b/test/prism/snapshots/whitequark/not.txt
@@ -7,7 +7,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (1,4)-(1,7))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -37,7 +37,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (5,4)-(5,7))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
diff --git a/test/prism/snapshots/whitequark/not_cmd.txt b/test/prism/snapshots/whitequark/not_cmd.txt
index d2e82ae62c..3b111272c6 100644
--- a/test/prism/snapshots/whitequark/not_cmd.txt
+++ b/test/prism/snapshots/whitequark/not_cmd.txt
@@ -7,7 +7,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (1,4)-(1,9))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :m
@@ -18,7 +18,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (1,6)-(1,9))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
diff --git a/test/prism/snapshots/whitequark/not_masgn__24.txt b/test/prism/snapshots/whitequark/not_masgn__24.txt
index f25433976f..90124c3866 100644
--- a/test/prism/snapshots/whitequark/not_masgn__24.txt
+++ b/test/prism/snapshots/whitequark/not_masgn__24.txt
@@ -25,7 +25,7 @@
│ │ ├── operator_loc: (1,7)-(1,8) = "="
│ │ └── value:
│ │ @ CallNode (location: (1,9)-(1,12))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
diff --git a/test/prism/snapshots/whitequark/numbered_args_after_27.txt b/test/prism/snapshots/whitequark/numbered_args_after_27.txt
index ed70923edf..0cfffee407 100644
--- a/test/prism/snapshots/whitequark/numbered_args_after_27.txt
+++ b/test/prism/snapshots/whitequark/numbered_args_after_27.txt
@@ -66,7 +66,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (5,0)-(5,16))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :m
@@ -106,7 +106,7 @@
│ ├── opening_loc: (5,2)-(5,4) = "do"
│ └── closing_loc: (5,13)-(5,16) = "end"
└── @ CallNode (location: (7,0)-(7,13))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :m
diff --git a/test/prism/snapshots/whitequark/numparam_outside_block.txt b/test/prism/snapshots/whitequark/numparam_outside_block.txt
index bfd1bb8e0c..8ee53070fb 100644
--- a/test/prism/snapshots/whitequark/numparam_outside_block.txt
+++ b/test/prism/snapshots/whitequark/numparam_outside_block.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(9,17))
└── body: (length: 5)
├── @ CallNode (location: (1,0)-(1,2))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :_1
@@ -19,7 +19,7 @@
│ ├── operator_loc: (3,6)-(3,8) = "<<"
│ ├── expression:
│ │ @ CallNode (location: (3,9)-(3,12))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -32,7 +32,7 @@
│ │ @ StatementsNode (location: (3,14)-(3,16))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (3,14)-(3,16))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :_1
@@ -54,7 +54,7 @@
│ │ @ StatementsNode (location: (5,9)-(5,11))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (5,9)-(5,11))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :_1
@@ -75,7 +75,7 @@
│ │ @ StatementsNode (location: (7,12)-(7,14))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (7,12)-(7,14))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :_1
@@ -102,7 +102,7 @@
│ @ StatementsNode (location: (9,10)-(9,12))
│ └── body: (length: 1)
│ └── @ CallNode (location: (9,10)-(9,12))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :_1
diff --git a/test/prism/snapshots/whitequark/op_asgn.txt b/test/prism/snapshots/whitequark/op_asgn.txt
index 76f2e27dd9..5d7fb0c7fa 100644
--- a/test/prism/snapshots/whitequark/op_asgn.txt
+++ b/test/prism/snapshots/whitequark/op_asgn.txt
@@ -7,7 +7,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (1,0)-(1,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -29,7 +29,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (3,0)-(3,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -51,7 +51,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (5,0)-(5,3))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
diff --git a/test/prism/snapshots/whitequark/op_asgn_cmd.txt b/test/prism/snapshots/whitequark/op_asgn_cmd.txt
index cb390aa010..109c2fd2ed 100644
--- a/test/prism/snapshots/whitequark/op_asgn_cmd.txt
+++ b/test/prism/snapshots/whitequark/op_asgn_cmd.txt
@@ -7,7 +7,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (1,0)-(1,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -24,7 +24,7 @@
│ ├── operator_loc: (1,6)-(1,8) = "+="
│ └── value:
│ @ CallNode (location: (1,9)-(1,14))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :m
@@ -35,7 +35,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (1,11)-(1,14))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -50,7 +50,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (3,0)-(3,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -67,7 +67,7 @@
│ ├── operator_loc: (3,6)-(3,8) = "+="
│ └── value:
│ @ CallNode (location: (3,9)-(3,14))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :m
@@ -78,7 +78,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (3,11)-(3,14))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -94,7 +94,7 @@
│ │ @ ConstantPathNode (location: (5,0)-(5,6))
│ │ ├── parent:
│ │ │ @ CallNode (location: (5,0)-(5,3))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -110,7 +110,7 @@
│ ├── operator_loc: (5,7)-(5,9) = "+="
│ ├── value:
│ │ @ CallNode (location: (5,10)-(5,15))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :m
@@ -121,7 +121,7 @@
│ │ │ ├── flags: ∅
│ │ │ └── arguments: (length: 1)
│ │ │ └── @ CallNode (location: (5,12)-(5,15))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -137,7 +137,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (7,0)-(7,3))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -154,7 +154,7 @@
├── operator_loc: (7,7)-(7,9) = "+="
└── value:
@ CallNode (location: (7,10)-(7,15))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :m
@@ -165,7 +165,7 @@
│ ├── flags: ∅
│ └── arguments: (length: 1)
│ └── @ CallNode (location: (7,12)-(7,15))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
diff --git a/test/prism/snapshots/whitequark/op_asgn_index.txt b/test/prism/snapshots/whitequark/op_asgn_index.txt
index abeb1626ff..8bce2fce3c 100644
--- a/test/prism/snapshots/whitequark/op_asgn_index.txt
+++ b/test/prism/snapshots/whitequark/op_asgn_index.txt
@@ -7,7 +7,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (1,0)-(1,3))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
diff --git a/test/prism/snapshots/whitequark/op_asgn_index_cmd.txt b/test/prism/snapshots/whitequark/op_asgn_index_cmd.txt
index ffbbff9e5f..389f036005 100644
--- a/test/prism/snapshots/whitequark/op_asgn_index_cmd.txt
+++ b/test/prism/snapshots/whitequark/op_asgn_index_cmd.txt
@@ -7,7 +7,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (1,0)-(1,3))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -32,7 +32,7 @@
├── operator_loc: (1,10)-(1,12) = "+="
└── value:
@ CallNode (location: (1,13)-(1,18))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :m
@@ -43,7 +43,7 @@
│ ├── flags: ∅
│ └── arguments: (length: 1)
│ └── @ CallNode (location: (1,15)-(1,18))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
diff --git a/test/prism/snapshots/whitequark/or.txt b/test/prism/snapshots/whitequark/or.txt
index 9e57edb194..439146b8db 100644
--- a/test/prism/snapshots/whitequark/or.txt
+++ b/test/prism/snapshots/whitequark/or.txt
@@ -6,7 +6,7 @@
├── @ OrNode (location: (1,0)-(1,10))
│ ├── left:
│ │ @ CallNode (location: (1,0)-(1,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -17,7 +17,7 @@
│ │ └── block: ∅
│ ├── right:
│ │ @ CallNode (location: (1,7)-(1,10))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -30,7 +30,7 @@
└── @ OrNode (location: (3,0)-(3,10))
├── left:
│ @ CallNode (location: (3,0)-(3,3))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -41,7 +41,7 @@
│ └── block: ∅
├── right:
│ @ CallNode (location: (3,7)-(3,10))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/or_asgn.txt b/test/prism/snapshots/whitequark/or_asgn.txt
index e795a5a28a..ccc14c45b4 100644
--- a/test/prism/snapshots/whitequark/or_asgn.txt
+++ b/test/prism/snapshots/whitequark/or_asgn.txt
@@ -7,7 +7,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (1,0)-(1,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -28,7 +28,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (3,0)-(3,3))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
diff --git a/test/prism/snapshots/whitequark/parser_bug_272.txt b/test/prism/snapshots/whitequark/parser_bug_272.txt
index 70d6b71930..173b4df60d 100644
--- a/test/prism/snapshots/whitequark/parser_bug_272.txt
+++ b/test/prism/snapshots/whitequark/parser_bug_272.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,15))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,15))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :a
diff --git a/test/prism/snapshots/whitequark/parser_bug_525.txt b/test/prism/snapshots/whitequark/parser_bug_525.txt
index 7289bdf81b..1d61921eff 100644
--- a/test/prism/snapshots/whitequark/parser_bug_525.txt
+++ b/test/prism/snapshots/whitequark/parser_bug_525.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,32))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,32))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :m1
@@ -27,7 +27,7 @@
│ │ └── unescaped: "k"
│ ├── value:
│ │ @ CallNode (location: (1,9)-(1,11))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :m2
@@ -47,7 +47,7 @@
│ @ StatementsNode (location: (1,16)-(1,27))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,16)-(1,27))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :m3
diff --git a/test/prism/snapshots/whitequark/parser_bug_604.txt b/test/prism/snapshots/whitequark/parser_bug_604.txt
index ee00389c90..d0078ca233 100644
--- a/test/prism/snapshots/whitequark/parser_bug_604.txt
+++ b/test/prism/snapshots/whitequark/parser_bug_604.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,14))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,14))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :m
@@ -18,7 +18,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (1,2)-(1,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
@@ -36,7 +36,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (1,6)-(1,7))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
diff --git a/test/prism/snapshots/whitequark/procarg0.txt b/test/prism/snapshots/whitequark/procarg0.txt
index 5a06fa7f33..d0dacfd387 100644
--- a/test/prism/snapshots/whitequark/procarg0.txt
+++ b/test/prism/snapshots/whitequark/procarg0.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(3,11))
└── body: (length: 2)
├── @ CallNode (location: (1,0)-(1,18))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :m
@@ -44,7 +44,7 @@
│ ├── opening_loc: (1,2)-(1,3) = "{"
│ └── closing_loc: (1,17)-(1,18) = "}"
└── @ CallNode (location: (3,0)-(3,11))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :m
diff --git a/test/prism/snapshots/whitequark/regex_interp.txt b/test/prism/snapshots/whitequark/regex_interp.txt
index ef83e9a2e8..ee8caf22b9 100644
--- a/test/prism/snapshots/whitequark/regex_interp.txt
+++ b/test/prism/snapshots/whitequark/regex_interp.txt
@@ -19,7 +19,7 @@
│ │ │ @ StatementsNode (location: (1,6)-(1,9))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (1,6)-(1,9))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/resbody_list.txt b/test/prism/snapshots/whitequark/resbody_list.txt
index d5a71cc3f3..52fcfd02e0 100644
--- a/test/prism/snapshots/whitequark/resbody_list.txt
+++ b/test/prism/snapshots/whitequark/resbody_list.txt
@@ -9,7 +9,7 @@
│ @ StatementsNode (location: (1,7)-(1,11))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,7)-(1,11))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :meth
@@ -30,7 +30,7 @@
│ │ @ StatementsNode (location: (1,31)-(1,34))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (1,31)-(1,34))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/resbody_list_mrhs.txt b/test/prism/snapshots/whitequark/resbody_list_mrhs.txt
index 58b88972f5..d48ddb120d 100644
--- a/test/prism/snapshots/whitequark/resbody_list_mrhs.txt
+++ b/test/prism/snapshots/whitequark/resbody_list_mrhs.txt
@@ -9,7 +9,7 @@
│ @ StatementsNode (location: (1,7)-(1,11))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,7)-(1,11))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :meth
@@ -25,7 +25,7 @@
│ │ ├── @ ConstantReadNode (location: (1,20)-(1,29))
│ │ │ └── name: :Exception
│ │ └── @ CallNode (location: (1,31)-(1,34))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -40,7 +40,7 @@
│ │ @ StatementsNode (location: (1,36)-(1,39))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (1,36)-(1,39))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/resbody_list_var.txt b/test/prism/snapshots/whitequark/resbody_list_var.txt
index 9e2d5ec3f6..85efb1a3de 100644
--- a/test/prism/snapshots/whitequark/resbody_list_var.txt
+++ b/test/prism/snapshots/whitequark/resbody_list_var.txt
@@ -9,7 +9,7 @@
│ @ StatementsNode (location: (1,7)-(1,11))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,7)-(1,11))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :meth
@@ -23,7 +23,7 @@
│ ├── keyword_loc: (1,13)-(1,19) = "rescue"
│ ├── exceptions: (length: 1)
│ │ └── @ CallNode (location: (1,20)-(1,23))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -41,7 +41,7 @@
│ │ @ StatementsNode (location: (1,31)-(1,34))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (1,31)-(1,34))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/resbody_var.txt b/test/prism/snapshots/whitequark/resbody_var.txt
index b4c2bc310e..e12d921c75 100644
--- a/test/prism/snapshots/whitequark/resbody_var.txt
+++ b/test/prism/snapshots/whitequark/resbody_var.txt
@@ -9,7 +9,7 @@
│ │ @ StatementsNode (location: (1,7)-(1,11))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (1,7)-(1,11))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :meth
@@ -30,7 +30,7 @@
│ │ │ @ StatementsNode (location: (1,28)-(1,31))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (1,28)-(1,31))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -49,7 +49,7 @@
│ @ StatementsNode (location: (3,7)-(3,11))
│ └── body: (length: 1)
│ └── @ CallNode (location: (3,7)-(3,11))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :meth
@@ -71,7 +71,7 @@
│ │ @ StatementsNode (location: (3,27)-(3,30))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (3,27)-(3,30))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/rescue.txt b/test/prism/snapshots/whitequark/rescue.txt
index ac57561bf5..28c4f11e67 100644
--- a/test/prism/snapshots/whitequark/rescue.txt
+++ b/test/prism/snapshots/whitequark/rescue.txt
@@ -9,7 +9,7 @@
│ @ StatementsNode (location: (1,7)-(1,11))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,7)-(1,11))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :meth
@@ -28,7 +28,7 @@
│ │ @ StatementsNode (location: (1,21)-(1,24))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (1,21)-(1,24))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
diff --git a/test/prism/snapshots/whitequark/rescue_else.txt b/test/prism/snapshots/whitequark/rescue_else.txt
index 5a87d408bc..36b01a7ef6 100644
--- a/test/prism/snapshots/whitequark/rescue_else.txt
+++ b/test/prism/snapshots/whitequark/rescue_else.txt
@@ -9,7 +9,7 @@
│ @ StatementsNode (location: (1,7)-(1,11))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,7)-(1,11))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :meth
@@ -28,7 +28,7 @@
│ │ @ StatementsNode (location: (1,21)-(1,24))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (1,21)-(1,24))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -45,7 +45,7 @@
│ │ @ StatementsNode (location: (1,32)-(1,35))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (1,32)-(1,35))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/rescue_else_ensure.txt b/test/prism/snapshots/whitequark/rescue_else_ensure.txt
index 9f1f9f51a4..d97821931b 100644
--- a/test/prism/snapshots/whitequark/rescue_else_ensure.txt
+++ b/test/prism/snapshots/whitequark/rescue_else_ensure.txt
@@ -9,7 +9,7 @@
│ @ StatementsNode (location: (1,7)-(1,11))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,7)-(1,11))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :meth
@@ -28,7 +28,7 @@
│ │ @ StatementsNode (location: (1,21)-(1,24))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (1,21)-(1,24))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :baz
@@ -45,7 +45,7 @@
│ │ @ StatementsNode (location: (1,31)-(1,34))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (1,31)-(1,34))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -62,7 +62,7 @@
│ │ @ StatementsNode (location: (1,44)-(1,47))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (1,44)-(1,47))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/rescue_ensure.txt b/test/prism/snapshots/whitequark/rescue_ensure.txt
index 567b283128..f6cddbcc5e 100644
--- a/test/prism/snapshots/whitequark/rescue_ensure.txt
+++ b/test/prism/snapshots/whitequark/rescue_ensure.txt
@@ -9,7 +9,7 @@
│ @ StatementsNode (location: (1,7)-(1,11))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,7)-(1,11))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :meth
@@ -28,7 +28,7 @@
│ │ @ StatementsNode (location: (1,21)-(1,24))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (1,21)-(1,24))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :baz
@@ -46,7 +46,7 @@
│ │ @ StatementsNode (location: (1,34)-(1,37))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (1,34)-(1,37))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/rescue_mod.txt b/test/prism/snapshots/whitequark/rescue_mod.txt
index 413c522102..cd4f0fff45 100644
--- a/test/prism/snapshots/whitequark/rescue_mod.txt
+++ b/test/prism/snapshots/whitequark/rescue_mod.txt
@@ -6,7 +6,7 @@
└── @ RescueModifierNode (location: (1,0)-(1,15))
├── expression:
│ @ CallNode (location: (1,0)-(1,4))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :meth
@@ -18,7 +18,7 @@
├── keyword_loc: (1,5)-(1,11) = "rescue"
└── rescue_expression:
@ CallNode (location: (1,12)-(1,15))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :bar
diff --git a/test/prism/snapshots/whitequark/rescue_mod_asgn.txt b/test/prism/snapshots/whitequark/rescue_mod_asgn.txt
index 35d7f01084..ee094138e5 100644
--- a/test/prism/snapshots/whitequark/rescue_mod_asgn.txt
+++ b/test/prism/snapshots/whitequark/rescue_mod_asgn.txt
@@ -11,7 +11,7 @@
│ @ RescueModifierNode (location: (1,6)-(1,21))
│ ├── expression:
│ │ @ CallNode (location: (1,6)-(1,10))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :meth
@@ -23,7 +23,7 @@
│ ├── keyword_loc: (1,11)-(1,17) = "rescue"
│ └── rescue_expression:
│ @ CallNode (location: (1,18)-(1,21))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/rescue_mod_masgn.txt b/test/prism/snapshots/whitequark/rescue_mod_masgn.txt
index 6c3d0e92f0..7fe30d4708 100644
--- a/test/prism/snapshots/whitequark/rescue_mod_masgn.txt
+++ b/test/prism/snapshots/whitequark/rescue_mod_masgn.txt
@@ -20,7 +20,7 @@
@ RescueModifierNode (location: (1,11)-(1,29))
├── expression:
│ @ CallNode (location: (1,11)-(1,15))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :meth
diff --git a/test/prism/snapshots/whitequark/rescue_mod_op_assign.txt b/test/prism/snapshots/whitequark/rescue_mod_op_assign.txt
index 773b8645a6..b269104f30 100644
--- a/test/prism/snapshots/whitequark/rescue_mod_op_assign.txt
+++ b/test/prism/snapshots/whitequark/rescue_mod_op_assign.txt
@@ -10,7 +10,7 @@
│ @ RescueModifierNode (location: (1,7)-(1,22))
│ ├── expression:
│ │ @ CallNode (location: (1,7)-(1,11))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :meth
@@ -22,7 +22,7 @@
│ ├── keyword_loc: (1,12)-(1,18) = "rescue"
│ └── rescue_expression:
│ @ CallNode (location: (1,19)-(1,22))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/rescue_without_begin_end.txt b/test/prism/snapshots/whitequark/rescue_without_begin_end.txt
index 3f086abe57..b7596e0b0b 100644
--- a/test/prism/snapshots/whitequark/rescue_without_begin_end.txt
+++ b/test/prism/snapshots/whitequark/rescue_without_begin_end.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,30))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,30))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :meth
@@ -24,7 +24,7 @@
│ │ @ StatementsNode (location: (1,9)-(1,12))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (1,9)-(1,12))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -43,7 +43,7 @@
│ │ │ @ StatementsNode (location: (1,22)-(1,25))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (1,22)-(1,25))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/return.txt b/test/prism/snapshots/whitequark/return.txt
index 72e4ab9849..ddfbae85c8 100644
--- a/test/prism/snapshots/whitequark/return.txt
+++ b/test/prism/snapshots/whitequark/return.txt
@@ -13,7 +13,7 @@
│ ├── flags: ∅
│ └── arguments: (length: 1)
│ └── @ CallNode (location: (3,7)-(3,10))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -43,7 +43,7 @@
│ @ StatementsNode (location: (7,7)-(7,10))
│ └── body: (length: 1)
│ └── @ CallNode (location: (7,7)-(7,10))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
diff --git a/test/prism/snapshots/whitequark/return_block.txt b/test/prism/snapshots/whitequark/return_block.txt
index 5e55998a2f..4843f13f3b 100644
--- a/test/prism/snapshots/whitequark/return_block.txt
+++ b/test/prism/snapshots/whitequark/return_block.txt
@@ -10,7 +10,7 @@
├── flags: ∅
└── arguments: (length: 1)
└── @ CallNode (location: (1,7)-(1,21))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :fun
@@ -21,7 +21,7 @@
│ ├── flags: ∅
│ └── arguments: (length: 1)
│ └── @ CallNode (location: (1,11)-(1,14))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
diff --git a/test/prism/snapshots/whitequark/ruby_bug_10653.txt b/test/prism/snapshots/whitequark/ruby_bug_10653.txt
index 5c26bd6120..a0d088d104 100644
--- a/test/prism/snapshots/whitequark/ruby_bug_10653.txt
+++ b/test/prism/snapshots/whitequark/ruby_bug_10653.txt
@@ -12,7 +12,7 @@
│ │ @ StatementsNode (location: (1,8)-(1,20))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (1,8)-(1,20))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :raise
@@ -35,7 +35,7 @@
│ │ │ @ StatementsNode (location: (1,23)-(1,33))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (1,23)-(1,33))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :tap
@@ -62,7 +62,7 @@
│ │ @ StatementsNode (location: (3,8)-(3,16))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (3,8)-(3,16))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :raise
@@ -85,7 +85,7 @@
│ │ │ @ StatementsNode (location: (3,19)-(3,25))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (3,19)-(3,25))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :tap
@@ -146,7 +146,7 @@
│ │ @ StatementsNode (location: (5,20)-(5,23))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (5,20)-(5,23))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :p
diff --git a/test/prism/snapshots/whitequark/ruby_bug_11107.txt b/test/prism/snapshots/whitequark/ruby_bug_11107.txt
index 329f382d3b..dd88ad9093 100644
--- a/test/prism/snapshots/whitequark/ruby_bug_11107.txt
+++ b/test/prism/snapshots/whitequark/ruby_bug_11107.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,24))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,24))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :p
@@ -30,7 +30,7 @@
│ @ StatementsNode (location: (1,10)-(1,20))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,10)-(1,20))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
diff --git a/test/prism/snapshots/whitequark/ruby_bug_11380.txt b/test/prism/snapshots/whitequark/ruby_bug_11380.txt
index 7ab13b891e..fd86387e07 100644
--- a/test/prism/snapshots/whitequark/ruby_bug_11380.txt
+++ b/test/prism/snapshots/whitequark/ruby_bug_11380.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,28))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,28))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :p
diff --git a/test/prism/snapshots/whitequark/ruby_bug_11873.txt b/test/prism/snapshots/whitequark/ruby_bug_11873.txt
index de43e28eb2..4408ff6e2d 100644
--- a/test/prism/snapshots/whitequark/ruby_bug_11873.txt
+++ b/test/prism/snapshots/whitequark/ruby_bug_11873.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(23,22))
└── body: (length: 12)
├── @ CallNode (location: (1,0)-(1,20))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -15,7 +15,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (1,2)-(1,8))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -26,7 +26,7 @@
│ │ │ │ ├── flags: ∅
│ │ │ │ └── arguments: (length: 1)
│ │ │ │ └── @ CallNode (location: (1,4)-(1,7))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :c
@@ -37,7 +37,7 @@
│ │ │ │ │ ├── flags: ∅
│ │ │ │ │ └── arguments: (length: 1)
│ │ │ │ │ └── @ CallNode (location: (1,6)-(1,7))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :d
@@ -66,7 +66,7 @@
│ ├── opening_loc: (1,14)-(1,16) = "do"
│ └── closing_loc: (1,17)-(1,20) = "end"
├── @ CallNode (location: (3,0)-(3,20))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -77,7 +77,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (3,2)-(3,8))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -88,7 +88,7 @@
│ │ │ │ ├── flags: ∅
│ │ │ │ └── arguments: (length: 1)
│ │ │ │ └── @ CallNode (location: (3,4)-(3,7))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :c
@@ -99,7 +99,7 @@
│ │ │ │ │ ├── flags: ∅
│ │ │ │ │ └── arguments: (length: 1)
│ │ │ │ │ └── @ CallNode (location: (3,6)-(3,7))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :d
@@ -128,7 +128,7 @@
│ ├── opening_loc: (3,14)-(3,16) = "do"
│ └── closing_loc: (3,17)-(3,20) = "end"
├── @ CallNode (location: (5,0)-(5,21))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -139,7 +139,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (5,2)-(5,8))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -150,7 +150,7 @@
│ │ │ │ ├── flags: ∅
│ │ │ │ └── arguments: (length: 1)
│ │ │ │ └── @ CallNode (location: (5,4)-(5,7))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :c
@@ -161,7 +161,7 @@
│ │ │ │ │ ├── flags: ∅
│ │ │ │ │ └── arguments: (length: 1)
│ │ │ │ │ └── @ CallNode (location: (5,6)-(5,7))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :d
@@ -190,7 +190,7 @@
│ ├── opening_loc: (5,15)-(5,17) = "do"
│ └── closing_loc: (5,18)-(5,21) = "end"
├── @ CallNode (location: (7,0)-(7,21))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -201,7 +201,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (7,2)-(7,9))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -212,7 +212,7 @@
│ │ │ │ ├── flags: ∅
│ │ │ │ └── arguments: (length: 1)
│ │ │ │ └── @ CallNode (location: (7,4)-(7,8))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :c
@@ -223,7 +223,7 @@
│ │ │ │ │ ├── flags: ∅
│ │ │ │ │ └── arguments: (length: 1)
│ │ │ │ │ └── @ CallNode (location: (7,6)-(7,7))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :d
@@ -252,7 +252,7 @@
│ ├── opening_loc: (7,15)-(7,17) = "do"
│ └── closing_loc: (7,18)-(7,21) = "end"
├── @ CallNode (location: (9,0)-(9,21))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -263,7 +263,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (9,2)-(9,9))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -274,7 +274,7 @@
│ │ │ │ ├── flags: ∅
│ │ │ │ └── arguments: (length: 1)
│ │ │ │ └── @ CallNode (location: (9,4)-(9,8))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :c
@@ -285,7 +285,7 @@
│ │ │ │ │ ├── flags: ∅
│ │ │ │ │ └── arguments: (length: 1)
│ │ │ │ │ └── @ CallNode (location: (9,6)-(9,7))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :d
@@ -314,7 +314,7 @@
│ ├── opening_loc: (9,15)-(9,17) = "do"
│ └── closing_loc: (9,18)-(9,21) = "end"
├── @ CallNode (location: (11,0)-(11,22))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -325,7 +325,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (11,2)-(11,9))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -336,7 +336,7 @@
│ │ │ │ ├── flags: ∅
│ │ │ │ └── arguments: (length: 1)
│ │ │ │ └── @ CallNode (location: (11,4)-(11,8))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :c
@@ -347,7 +347,7 @@
│ │ │ │ │ ├── flags: ∅
│ │ │ │ │ └── arguments: (length: 1)
│ │ │ │ │ └── @ CallNode (location: (11,6)-(11,7))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :d
@@ -376,7 +376,7 @@
│ ├── opening_loc: (11,16)-(11,18) = "do"
│ └── closing_loc: (11,19)-(11,22) = "end"
├── @ CallNode (location: (13,0)-(13,20))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -387,7 +387,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (13,2)-(13,8))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -404,7 +404,7 @@
│ │ │ │ @ StatementsNode (location: (13,4)-(13,7))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (13,4)-(13,7))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :c
@@ -415,7 +415,7 @@
│ │ │ │ │ ├── flags: ∅
│ │ │ │ │ └── arguments: (length: 1)
│ │ │ │ │ └── @ CallNode (location: (13,6)-(13,7))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :d
@@ -444,7 +444,7 @@
│ ├── opening_loc: (13,14)-(13,16) = "do"
│ └── closing_loc: (13,17)-(13,20) = "end"
├── @ CallNode (location: (15,0)-(15,20))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -455,7 +455,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (15,2)-(15,8))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -472,7 +472,7 @@
│ │ │ │ @ StatementsNode (location: (15,4)-(15,7))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (15,4)-(15,7))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :c
@@ -483,7 +483,7 @@
│ │ │ │ │ ├── flags: ∅
│ │ │ │ │ └── arguments: (length: 1)
│ │ │ │ │ └── @ CallNode (location: (15,6)-(15,7))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :d
@@ -512,7 +512,7 @@
│ ├── opening_loc: (15,14)-(15,16) = "do"
│ └── closing_loc: (15,17)-(15,20) = "end"
├── @ CallNode (location: (17,0)-(17,21))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -523,7 +523,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (17,2)-(17,8))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -540,7 +540,7 @@
│ │ │ │ @ StatementsNode (location: (17,4)-(17,7))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (17,4)-(17,7))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :c
@@ -551,7 +551,7 @@
│ │ │ │ │ ├── flags: ∅
│ │ │ │ │ └── arguments: (length: 1)
│ │ │ │ │ └── @ CallNode (location: (17,6)-(17,7))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :d
@@ -580,7 +580,7 @@
│ ├── opening_loc: (17,15)-(17,17) = "do"
│ └── closing_loc: (17,18)-(17,21) = "end"
├── @ CallNode (location: (19,0)-(19,21))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -591,7 +591,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (19,2)-(19,9))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -608,7 +608,7 @@
│ │ │ │ @ StatementsNode (location: (19,4)-(19,8))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (19,4)-(19,8))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :c
@@ -619,7 +619,7 @@
│ │ │ │ │ ├── flags: ∅
│ │ │ │ │ └── arguments: (length: 1)
│ │ │ │ │ └── @ CallNode (location: (19,6)-(19,7))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :d
@@ -648,7 +648,7 @@
│ ├── opening_loc: (19,15)-(19,17) = "do"
│ └── closing_loc: (19,18)-(19,21) = "end"
├── @ CallNode (location: (21,0)-(21,21))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -659,7 +659,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (21,2)-(21,9))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -676,7 +676,7 @@
│ │ │ │ @ StatementsNode (location: (21,4)-(21,8))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (21,4)-(21,8))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :c
@@ -687,7 +687,7 @@
│ │ │ │ │ ├── flags: ∅
│ │ │ │ │ └── arguments: (length: 1)
│ │ │ │ │ └── @ CallNode (location: (21,6)-(21,7))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :d
@@ -716,7 +716,7 @@
│ ├── opening_loc: (21,15)-(21,17) = "do"
│ └── closing_loc: (21,18)-(21,21) = "end"
└── @ CallNode (location: (23,0)-(23,22))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :a
@@ -727,7 +727,7 @@
│ ├── flags: ∅
│ └── arguments: (length: 2)
│ ├── @ CallNode (location: (23,2)-(23,9))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
@@ -744,7 +744,7 @@
│ │ │ @ StatementsNode (location: (23,4)-(23,8))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (23,4)-(23,8))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :c
@@ -755,7 +755,7 @@
│ │ │ │ ├── flags: ∅
│ │ │ │ └── arguments: (length: 1)
│ │ │ │ └── @ CallNode (location: (23,6)-(23,7))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :d
diff --git a/test/prism/snapshots/whitequark/ruby_bug_11873_a.txt b/test/prism/snapshots/whitequark/ruby_bug_11873_a.txt
index d4219b3b77..d5519d0352 100644
--- a/test/prism/snapshots/whitequark/ruby_bug_11873_a.txt
+++ b/test/prism/snapshots/whitequark/ruby_bug_11873_a.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(39,20))
└── body: (length: 20)
├── @ CallNode (location: (1,0)-(1,18))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -15,7 +15,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (1,2)-(1,8))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -26,7 +26,7 @@
│ │ │ │ ├── flags: ∅
│ │ │ │ └── arguments: (length: 1)
│ │ │ │ └── @ CallNode (location: (1,4)-(1,7))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :c
@@ -37,7 +37,7 @@
│ │ │ │ │ ├── flags: ∅
│ │ │ │ │ └── arguments: (length: 1)
│ │ │ │ │ └── @ CallNode (location: (1,6)-(1,7))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :d
@@ -62,7 +62,7 @@
│ ├── opening_loc: (1,12)-(1,14) = "do"
│ └── closing_loc: (1,15)-(1,18) = "end"
├── @ CallNode (location: (3,0)-(3,20))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -73,7 +73,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (3,2)-(3,8))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -84,7 +84,7 @@
│ │ │ │ ├── flags: ∅
│ │ │ │ └── arguments: (length: 1)
│ │ │ │ └── @ CallNode (location: (3,4)-(3,7))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :c
@@ -95,7 +95,7 @@
│ │ │ │ │ ├── flags: ∅
│ │ │ │ │ └── arguments: (length: 1)
│ │ │ │ │ └── @ CallNode (location: (3,6)-(3,7))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :d
@@ -119,7 +119,7 @@
│ ├── opening_loc: (3,14)-(3,16) = "do"
│ └── closing_loc: (3,17)-(3,20) = "end"
├── @ CallNode (location: (5,0)-(5,21))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -130,7 +130,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (5,2)-(5,8))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -141,7 +141,7 @@
│ │ │ │ ├── flags: ∅
│ │ │ │ └── arguments: (length: 1)
│ │ │ │ └── @ CallNode (location: (5,4)-(5,7))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :c
@@ -152,7 +152,7 @@
│ │ │ │ │ ├── flags: ∅
│ │ │ │ │ └── arguments: (length: 1)
│ │ │ │ │ └── @ CallNode (location: (5,6)-(5,7))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :d
@@ -178,7 +178,7 @@
│ ├── opening_loc: (5,15)-(5,17) = "do"
│ └── closing_loc: (5,18)-(5,21) = "end"
├── @ CallNode (location: (7,0)-(7,21))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -189,7 +189,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (7,2)-(7,8))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -200,7 +200,7 @@
│ │ │ │ ├── flags: ∅
│ │ │ │ └── arguments: (length: 1)
│ │ │ │ └── @ CallNode (location: (7,4)-(7,7))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :c
@@ -211,7 +211,7 @@
│ │ │ │ │ ├── flags: ∅
│ │ │ │ │ └── arguments: (length: 1)
│ │ │ │ │ └── @ CallNode (location: (7,6)-(7,7))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :d
@@ -237,7 +237,7 @@
│ ├── opening_loc: (7,15)-(7,17) = "do"
│ └── closing_loc: (7,18)-(7,21) = "end"
├── @ CallNode (location: (9,0)-(9,19))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -248,7 +248,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (9,2)-(9,8))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -259,7 +259,7 @@
│ │ │ │ ├── flags: ∅
│ │ │ │ └── arguments: (length: 1)
│ │ │ │ └── @ CallNode (location: (9,4)-(9,7))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :c
@@ -270,7 +270,7 @@
│ │ │ │ │ ├── flags: ∅
│ │ │ │ │ └── arguments: (length: 1)
│ │ │ │ │ └── @ CallNode (location: (9,6)-(9,7))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :d
@@ -299,7 +299,7 @@
│ ├── opening_loc: (9,13)-(9,15) = "do"
│ └── closing_loc: (9,16)-(9,19) = "end"
├── @ CallNode (location: (11,0)-(11,19))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -310,7 +310,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (11,2)-(11,9))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -321,7 +321,7 @@
│ │ │ │ ├── flags: ∅
│ │ │ │ └── arguments: (length: 1)
│ │ │ │ └── @ CallNode (location: (11,4)-(11,8))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :c
@@ -332,7 +332,7 @@
│ │ │ │ │ ├── flags: ∅
│ │ │ │ │ └── arguments: (length: 1)
│ │ │ │ │ └── @ CallNode (location: (11,6)-(11,7))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :d
@@ -357,7 +357,7 @@
│ ├── opening_loc: (11,13)-(11,15) = "do"
│ └── closing_loc: (11,16)-(11,19) = "end"
├── @ CallNode (location: (13,0)-(13,21))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -368,7 +368,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (13,2)-(13,9))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -379,7 +379,7 @@
│ │ │ │ ├── flags: ∅
│ │ │ │ └── arguments: (length: 1)
│ │ │ │ └── @ CallNode (location: (13,4)-(13,8))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :c
@@ -390,7 +390,7 @@
│ │ │ │ │ ├── flags: ∅
│ │ │ │ │ └── arguments: (length: 1)
│ │ │ │ │ └── @ CallNode (location: (13,6)-(13,7))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :d
@@ -414,7 +414,7 @@
│ ├── opening_loc: (13,15)-(13,17) = "do"
│ └── closing_loc: (13,18)-(13,21) = "end"
├── @ CallNode (location: (15,0)-(15,22))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -425,7 +425,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (15,2)-(15,9))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -436,7 +436,7 @@
│ │ │ │ ├── flags: ∅
│ │ │ │ └── arguments: (length: 1)
│ │ │ │ └── @ CallNode (location: (15,4)-(15,8))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :c
@@ -447,7 +447,7 @@
│ │ │ │ │ ├── flags: ∅
│ │ │ │ │ └── arguments: (length: 1)
│ │ │ │ │ └── @ CallNode (location: (15,6)-(15,7))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :d
@@ -473,7 +473,7 @@
│ ├── opening_loc: (15,16)-(15,18) = "do"
│ └── closing_loc: (15,19)-(15,22) = "end"
├── @ CallNode (location: (17,0)-(17,22))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -484,7 +484,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (17,2)-(17,9))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -495,7 +495,7 @@
│ │ │ │ ├── flags: ∅
│ │ │ │ └── arguments: (length: 1)
│ │ │ │ └── @ CallNode (location: (17,4)-(17,8))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :c
@@ -506,7 +506,7 @@
│ │ │ │ │ ├── flags: ∅
│ │ │ │ │ └── arguments: (length: 1)
│ │ │ │ │ └── @ CallNode (location: (17,6)-(17,7))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :d
@@ -532,7 +532,7 @@
│ ├── opening_loc: (17,16)-(17,18) = "do"
│ └── closing_loc: (17,19)-(17,22) = "end"
├── @ CallNode (location: (19,0)-(19,20))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -543,7 +543,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (19,2)-(19,9))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -554,7 +554,7 @@
│ │ │ │ ├── flags: ∅
│ │ │ │ └── arguments: (length: 1)
│ │ │ │ └── @ CallNode (location: (19,4)-(19,8))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :c
@@ -565,7 +565,7 @@
│ │ │ │ │ ├── flags: ∅
│ │ │ │ │ └── arguments: (length: 1)
│ │ │ │ │ └── @ CallNode (location: (19,6)-(19,7))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :d
@@ -594,7 +594,7 @@
│ ├── opening_loc: (19,14)-(19,16) = "do"
│ └── closing_loc: (19,17)-(19,20) = "end"
├── @ CallNode (location: (21,0)-(21,18))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -605,7 +605,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (21,2)-(21,8))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -622,7 +622,7 @@
│ │ │ │ @ StatementsNode (location: (21,4)-(21,7))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (21,4)-(21,7))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :c
@@ -633,7 +633,7 @@
│ │ │ │ │ ├── flags: ∅
│ │ │ │ │ └── arguments: (length: 1)
│ │ │ │ │ └── @ CallNode (location: (21,6)-(21,7))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :d
@@ -658,7 +658,7 @@
│ ├── opening_loc: (21,12)-(21,14) = "do"
│ └── closing_loc: (21,15)-(21,18) = "end"
├── @ CallNode (location: (23,0)-(23,20))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -669,7 +669,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (23,2)-(23,8))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -686,7 +686,7 @@
│ │ │ │ @ StatementsNode (location: (23,4)-(23,7))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (23,4)-(23,7))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :c
@@ -697,7 +697,7 @@
│ │ │ │ │ ├── flags: ∅
│ │ │ │ │ └── arguments: (length: 1)
│ │ │ │ │ └── @ CallNode (location: (23,6)-(23,7))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :d
@@ -721,7 +721,7 @@
│ ├── opening_loc: (23,14)-(23,16) = "do"
│ └── closing_loc: (23,17)-(23,20) = "end"
├── @ CallNode (location: (25,0)-(25,21))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -732,7 +732,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (25,2)-(25,8))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -749,7 +749,7 @@
│ │ │ │ @ StatementsNode (location: (25,4)-(25,7))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (25,4)-(25,7))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :c
@@ -760,7 +760,7 @@
│ │ │ │ │ ├── flags: ∅
│ │ │ │ │ └── arguments: (length: 1)
│ │ │ │ │ └── @ CallNode (location: (25,6)-(25,7))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :d
@@ -786,7 +786,7 @@
│ ├── opening_loc: (25,15)-(25,17) = "do"
│ └── closing_loc: (25,18)-(25,21) = "end"
├── @ CallNode (location: (27,0)-(27,21))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -797,7 +797,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (27,2)-(27,8))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -814,7 +814,7 @@
│ │ │ │ @ StatementsNode (location: (27,4)-(27,7))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (27,4)-(27,7))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :c
@@ -825,7 +825,7 @@
│ │ │ │ │ ├── flags: ∅
│ │ │ │ │ └── arguments: (length: 1)
│ │ │ │ │ └── @ CallNode (location: (27,6)-(27,7))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :d
@@ -851,7 +851,7 @@
│ ├── opening_loc: (27,15)-(27,17) = "do"
│ └── closing_loc: (27,18)-(27,21) = "end"
├── @ CallNode (location: (29,0)-(29,19))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -862,7 +862,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (29,2)-(29,8))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -879,7 +879,7 @@
│ │ │ │ @ StatementsNode (location: (29,4)-(29,7))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (29,4)-(29,7))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :c
@@ -890,7 +890,7 @@
│ │ │ │ │ ├── flags: ∅
│ │ │ │ │ └── arguments: (length: 1)
│ │ │ │ │ └── @ CallNode (location: (29,6)-(29,7))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :d
@@ -919,7 +919,7 @@
│ ├── opening_loc: (29,13)-(29,15) = "do"
│ └── closing_loc: (29,16)-(29,19) = "end"
├── @ CallNode (location: (31,0)-(31,19))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -930,7 +930,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (31,2)-(31,9))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -947,7 +947,7 @@
│ │ │ │ @ StatementsNode (location: (31,4)-(31,8))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (31,4)-(31,8))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :c
@@ -958,7 +958,7 @@
│ │ │ │ │ ├── flags: ∅
│ │ │ │ │ └── arguments: (length: 1)
│ │ │ │ │ └── @ CallNode (location: (31,6)-(31,7))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :d
@@ -983,7 +983,7 @@
│ ├── opening_loc: (31,13)-(31,15) = "do"
│ └── closing_loc: (31,16)-(31,19) = "end"
├── @ CallNode (location: (33,0)-(33,21))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -994,7 +994,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (33,2)-(33,9))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -1011,7 +1011,7 @@
│ │ │ │ @ StatementsNode (location: (33,4)-(33,8))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (33,4)-(33,8))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :c
@@ -1022,7 +1022,7 @@
│ │ │ │ │ ├── flags: ∅
│ │ │ │ │ └── arguments: (length: 1)
│ │ │ │ │ └── @ CallNode (location: (33,6)-(33,7))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :d
@@ -1046,7 +1046,7 @@
│ ├── opening_loc: (33,15)-(33,17) = "do"
│ └── closing_loc: (33,18)-(33,21) = "end"
├── @ CallNode (location: (35,0)-(35,22))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -1057,7 +1057,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (35,2)-(35,9))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -1074,7 +1074,7 @@
│ │ │ │ @ StatementsNode (location: (35,4)-(35,8))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (35,4)-(35,8))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :c
@@ -1085,7 +1085,7 @@
│ │ │ │ │ ├── flags: ∅
│ │ │ │ │ └── arguments: (length: 1)
│ │ │ │ │ └── @ CallNode (location: (35,6)-(35,7))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :d
@@ -1111,7 +1111,7 @@
│ ├── opening_loc: (35,16)-(35,18) = "do"
│ └── closing_loc: (35,19)-(35,22) = "end"
├── @ CallNode (location: (37,0)-(37,22))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -1122,7 +1122,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 2)
│ │ ├── @ CallNode (location: (37,2)-(37,9))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :b
@@ -1139,7 +1139,7 @@
│ │ │ │ @ StatementsNode (location: (37,4)-(37,8))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (37,4)-(37,8))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :c
@@ -1150,7 +1150,7 @@
│ │ │ │ │ ├── flags: ∅
│ │ │ │ │ └── arguments: (length: 1)
│ │ │ │ │ └── @ CallNode (location: (37,6)-(37,7))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :d
@@ -1176,7 +1176,7 @@
│ ├── opening_loc: (37,16)-(37,18) = "do"
│ └── closing_loc: (37,19)-(37,22) = "end"
└── @ CallNode (location: (39,0)-(39,20))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :a
@@ -1187,7 +1187,7 @@
│ ├── flags: ∅
│ └── arguments: (length: 2)
│ ├── @ CallNode (location: (39,2)-(39,9))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :b
@@ -1204,7 +1204,7 @@
│ │ │ @ StatementsNode (location: (39,4)-(39,8))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (39,4)-(39,8))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :c
@@ -1215,7 +1215,7 @@
│ │ │ │ ├── flags: ∅
│ │ │ │ └── arguments: (length: 1)
│ │ │ │ └── @ CallNode (location: (39,6)-(39,7))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :d
diff --git a/test/prism/snapshots/whitequark/ruby_bug_11873_b.txt b/test/prism/snapshots/whitequark/ruby_bug_11873_b.txt
index 62d3b0387d..ab08a9421c 100644
--- a/test/prism/snapshots/whitequark/ruby_bug_11873_b.txt
+++ b/test/prism/snapshots/whitequark/ruby_bug_11873_b.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,25))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,25))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :p
@@ -15,7 +15,7 @@
│ ├── flags: ∅
│ └── arguments: (length: 2)
│ ├── @ CallNode (location: (1,2)-(1,13))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :p
@@ -32,7 +32,7 @@
│ │ │ @ StatementsNode (location: (1,4)-(1,12))
│ │ │ └── body: (length: 2)
│ │ │ ├── @ CallNode (location: (1,4)-(1,8))
- │ │ │ │ ├── flags: ∅
+ │ │ │ │ ├── flags: ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :p
@@ -43,7 +43,7 @@
│ │ │ │ │ ├── flags: ∅
│ │ │ │ │ └── arguments: (length: 1)
│ │ │ │ │ └── @ CallNode (location: (1,6)-(1,7))
- │ │ │ │ │ ├── flags: variable_call
+ │ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ │ ├── receiver: ∅
│ │ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ │ ├── name: :p
@@ -55,7 +55,7 @@
│ │ │ │ ├── closing_loc: (1,7)-(1,8) = ")"
│ │ │ │ └── block: ∅
│ │ │ └── @ CallNode (location: (1,9)-(1,12))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :p
@@ -66,7 +66,7 @@
│ │ │ │ ├── flags: ∅
│ │ │ │ └── arguments: (length: 1)
│ │ │ │ └── @ CallNode (location: (1,11)-(1,12))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :p
@@ -80,7 +80,7 @@
│ │ ├── opening_loc: (1,3)-(1,4) = "{"
│ │ └── closing_loc: (1,12)-(1,13) = "}"
│ └── @ CallNode (location: (1,15)-(1,18))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :tap
diff --git a/test/prism/snapshots/whitequark/ruby_bug_11989.txt b/test/prism/snapshots/whitequark/ruby_bug_11989.txt
index b853f81f46..fe17087e53 100644
--- a/test/prism/snapshots/whitequark/ruby_bug_11989.txt
+++ b/test/prism/snapshots/whitequark/ruby_bug_11989.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,8))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,8))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :p
diff --git a/test/prism/snapshots/whitequark/ruby_bug_11990.txt b/test/prism/snapshots/whitequark/ruby_bug_11990.txt
index e726cff9bf..43c04e55a2 100644
--- a/test/prism/snapshots/whitequark/ruby_bug_11990.txt
+++ b/test/prism/snapshots/whitequark/ruby_bug_11990.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,12))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,12))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :p
diff --git a/test/prism/snapshots/whitequark/ruby_bug_12073.txt b/test/prism/snapshots/whitequark/ruby_bug_12073.txt
index 27f2838bce..f5d11b102d 100644
--- a/test/prism/snapshots/whitequark/ruby_bug_12073.txt
+++ b/test/prism/snapshots/whitequark/ruby_bug_12073.txt
@@ -12,7 +12,7 @@
│ │ └── flags: decimal
│ └── operator_loc: (1,2)-(1,3) = "="
├── @ CallNode (location: (1,7)-(1,13))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
@@ -58,7 +58,7 @@
│ @ StatementsNode (location: (3,15)-(3,29))
│ └── body: (length: 1)
│ └── @ CallNode (location: (3,15)-(3,29))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :raise
diff --git a/test/prism/snapshots/whitequark/ruby_bug_12402.txt b/test/prism/snapshots/whitequark/ruby_bug_12402.txt
index 76a8facca6..34c67cb987 100644
--- a/test/prism/snapshots/whitequark/ruby_bug_12402.txt
+++ b/test/prism/snapshots/whitequark/ruby_bug_12402.txt
@@ -10,7 +10,7 @@
│ │ @ RescueModifierNode (location: (1,7)-(1,27))
│ │ ├── expression:
│ │ │ @ CallNode (location: (1,7)-(1,16))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :raise
@@ -21,7 +21,7 @@
│ │ │ │ ├── flags: ∅
│ │ │ │ └── arguments: (length: 1)
│ │ │ │ └── @ CallNode (location: (1,13)-(1,16))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :bar
@@ -45,7 +45,7 @@
│ │ @ RescueModifierNode (location: (3,7)-(3,28))
│ │ ├── expression:
│ │ │ @ CallNode (location: (3,7)-(3,17))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :raise
@@ -56,7 +56,7 @@
│ │ │ │ ├── flags: ∅
│ │ │ │ └── arguments: (length: 1)
│ │ │ │ └── @ CallNode (location: (3,13)-(3,16))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :bar
@@ -81,7 +81,7 @@
│ │ @ RescueModifierNode (location: (5,6)-(5,26))
│ │ ├── expression:
│ │ │ @ CallNode (location: (5,6)-(5,15))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :raise
@@ -92,7 +92,7 @@
│ │ │ │ ├── flags: ∅
│ │ │ │ └── arguments: (length: 1)
│ │ │ │ └── @ CallNode (location: (5,12)-(5,15))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :bar
@@ -115,7 +115,7 @@
│ │ @ RescueModifierNode (location: (7,6)-(7,27))
│ │ ├── expression:
│ │ │ @ CallNode (location: (7,6)-(7,16))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :raise
@@ -126,7 +126,7 @@
│ │ │ │ ├── flags: ∅
│ │ │ │ └── arguments: (length: 1)
│ │ │ │ └── @ CallNode (location: (7,12)-(7,15))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :bar
@@ -157,7 +157,7 @@
│ @ RescueModifierNode (location: (9,9)-(9,29))
│ ├── expression:
│ │ @ CallNode (location: (9,9)-(9,18))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :raise
@@ -168,7 +168,7 @@
│ │ │ ├── flags: ∅
│ │ │ └── arguments: (length: 1)
│ │ │ └── @ CallNode (location: (9,15)-(9,18))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -198,7 +198,7 @@
│ @ RescueModifierNode (location: (11,9)-(11,30))
│ ├── expression:
│ │ @ CallNode (location: (11,9)-(11,19))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :raise
@@ -209,7 +209,7 @@
│ │ │ ├── flags: ∅
│ │ │ └── arguments: (length: 1)
│ │ │ └── @ CallNode (location: (11,15)-(11,18))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -239,7 +239,7 @@
│ @ RescueModifierNode (location: (13,9)-(13,29))
│ ├── expression:
│ │ @ CallNode (location: (13,9)-(13,18))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :raise
@@ -250,7 +250,7 @@
│ │ │ ├── flags: ∅
│ │ │ └── arguments: (length: 1)
│ │ │ └── @ CallNode (location: (13,15)-(13,18))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -280,7 +280,7 @@
│ @ RescueModifierNode (location: (15,9)-(15,30))
│ ├── expression:
│ │ @ CallNode (location: (15,9)-(15,19))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :raise
@@ -291,7 +291,7 @@
│ │ │ ├── flags: ∅
│ │ │ └── arguments: (length: 1)
│ │ │ └── @ CallNode (location: (15,15)-(15,18))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -321,7 +321,7 @@
│ @ RescueModifierNode (location: (17,11)-(17,31))
│ ├── expression:
│ │ @ CallNode (location: (17,11)-(17,20))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :raise
@@ -332,7 +332,7 @@
│ │ │ ├── flags: ∅
│ │ │ └── arguments: (length: 1)
│ │ │ └── @ CallNode (location: (17,17)-(17,20))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -362,7 +362,7 @@
│ @ RescueModifierNode (location: (19,11)-(19,32))
│ ├── expression:
│ │ @ CallNode (location: (19,11)-(19,21))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :raise
@@ -373,7 +373,7 @@
│ │ │ ├── flags: ∅
│ │ │ └── arguments: (length: 1)
│ │ │ └── @ CallNode (location: (19,17)-(19,20))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -403,7 +403,7 @@
│ @ RescueModifierNode (location: (21,10)-(21,30))
│ ├── expression:
│ │ @ CallNode (location: (21,10)-(21,19))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :raise
@@ -414,7 +414,7 @@
│ │ │ ├── flags: ∅
│ │ │ └── arguments: (length: 1)
│ │ │ └── @ CallNode (location: (21,16)-(21,19))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -444,7 +444,7 @@
│ @ RescueModifierNode (location: (23,10)-(23,31))
│ ├── expression:
│ │ @ CallNode (location: (23,10)-(23,20))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :raise
@@ -455,7 +455,7 @@
│ │ │ ├── flags: ∅
│ │ │ └── arguments: (length: 1)
│ │ │ └── @ CallNode (location: (23,16)-(23,19))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -491,7 +491,7 @@
│ @ RescueModifierNode (location: (25,10)-(25,30))
│ ├── expression:
│ │ @ CallNode (location: (25,10)-(25,19))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :raise
@@ -502,7 +502,7 @@
│ │ │ ├── flags: ∅
│ │ │ └── arguments: (length: 1)
│ │ │ └── @ CallNode (location: (25,16)-(25,19))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
@@ -538,7 +538,7 @@
@ RescueModifierNode (location: (27,10)-(27,31))
├── expression:
│ @ CallNode (location: (27,10)-(27,20))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :raise
@@ -549,7 +549,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (27,16)-(27,19))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/ruby_bug_12669.txt b/test/prism/snapshots/whitequark/ruby_bug_12669.txt
index 95e438f7d5..cb8a1b370e 100644
--- a/test/prism/snapshots/whitequark/ruby_bug_12669.txt
+++ b/test/prism/snapshots/whitequark/ruby_bug_12669.txt
@@ -12,7 +12,7 @@
│ │ ├── operator_loc: (1,7)-(1,9) = "+="
│ │ ├── value:
│ │ │ @ CallNode (location: (1,10)-(1,18))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :raise
@@ -46,7 +46,7 @@
│ │ ├── name_loc: (3,5)-(3,6) = "b"
│ │ ├── value:
│ │ │ @ CallNode (location: (3,9)-(3,17))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :raise
@@ -78,7 +78,7 @@
│ │ ├── operator_loc: (5,6)-(5,8) = "+="
│ │ ├── value:
│ │ │ @ CallNode (location: (5,9)-(5,17))
- │ │ │ ├── flags: ∅
+ │ │ │ ├── flags: ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :raise
@@ -111,7 +111,7 @@
│ ├── name_loc: (7,4)-(7,5) = "b"
│ ├── value:
│ │ @ CallNode (location: (7,8)-(7,16))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :raise
diff --git a/test/prism/snapshots/whitequark/ruby_bug_12686.txt b/test/prism/snapshots/whitequark/ruby_bug_12686.txt
index d236b88348..427c96bbe0 100644
--- a/test/prism/snapshots/whitequark/ruby_bug_12686.txt
+++ b/test/prism/snapshots/whitequark/ruby_bug_12686.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,16))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,16))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :f
@@ -21,7 +21,7 @@
│ │ └── @ RescueModifierNode (location: (1,3)-(1,15))
│ │ ├── expression:
│ │ │ @ CallNode (location: (1,3)-(1,4))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :g
diff --git a/test/prism/snapshots/whitequark/ruby_bug_13547.txt b/test/prism/snapshots/whitequark/ruby_bug_13547.txt
index 3d1fdaf853..b91873027d 100644
--- a/test/prism/snapshots/whitequark/ruby_bug_13547.txt
+++ b/test/prism/snapshots/whitequark/ruby_bug_13547.txt
@@ -7,7 +7,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (1,0)-(1,4))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :meth
diff --git a/test/prism/snapshots/whitequark/ruby_bug_14690.txt b/test/prism/snapshots/whitequark/ruby_bug_14690.txt
index f7fa7b0496..05005e4d50 100644
--- a/test/prism/snapshots/whitequark/ruby_bug_14690.txt
+++ b/test/prism/snapshots/whitequark/ruby_bug_14690.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,23))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,23))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :let
@@ -28,7 +28,7 @@
│ @ StatementsNode (location: (1,9)-(1,21))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,9)-(1,21))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :m
@@ -39,7 +39,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (1,11)-(1,12))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :a
diff --git a/test/prism/snapshots/whitequark/ruby_bug_15789.txt b/test/prism/snapshots/whitequark/ruby_bug_15789.txt
index de09d37a4d..245126d85d 100644
--- a/test/prism/snapshots/whitequark/ruby_bug_15789.txt
+++ b/test/prism/snapshots/whitequark/ruby_bug_15789.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(3,19))
└── body: (length: 2)
├── @ CallNode (location: (1,0)-(1,20))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :m
@@ -63,7 +63,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
└── @ CallNode (location: (3,0)-(3,19))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :m
diff --git a/test/prism/snapshots/whitequark/sclass.txt b/test/prism/snapshots/whitequark/sclass.txt
index 1947a4638d..53188a7b8a 100644
--- a/test/prism/snapshots/whitequark/sclass.txt
+++ b/test/prism/snapshots/whitequark/sclass.txt
@@ -9,7 +9,7 @@
├── operator_loc: (1,6)-(1,8) = "<<"
├── expression:
│ @ CallNode (location: (1,9)-(1,12))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
diff --git a/test/prism/snapshots/whitequark/send_attr_asgn.txt b/test/prism/snapshots/whitequark/send_attr_asgn.txt
index 938fcf7541..3b38f59295 100644
--- a/test/prism/snapshots/whitequark/send_attr_asgn.txt
+++ b/test/prism/snapshots/whitequark/send_attr_asgn.txt
@@ -7,7 +7,7 @@
│ ├── flags: attribute_write
│ ├── receiver:
│ │ @ CallNode (location: (1,0)-(1,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -32,7 +32,7 @@
│ ├── flags: attribute_write
│ ├── receiver:
│ │ @ CallNode (location: (3,0)-(3,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -58,7 +58,7 @@
│ │ @ ConstantPathNode (location: (5,0)-(5,6))
│ │ ├── parent:
│ │ │ @ CallNode (location: (5,0)-(5,3))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :foo
@@ -79,7 +79,7 @@
├── flags: attribute_write
├── receiver:
│ @ CallNode (location: (7,0)-(7,3))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
diff --git a/test/prism/snapshots/whitequark/send_attr_asgn_conditional.txt b/test/prism/snapshots/whitequark/send_attr_asgn_conditional.txt
index 530ae74362..191fc53785 100644
--- a/test/prism/snapshots/whitequark/send_attr_asgn_conditional.txt
+++ b/test/prism/snapshots/whitequark/send_attr_asgn_conditional.txt
@@ -7,7 +7,7 @@
├── flags: safe_navigation, attribute_write
├── receiver:
│ @ CallNode (location: (1,0)-(1,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
diff --git a/test/prism/snapshots/whitequark/send_binary_op.txt b/test/prism/snapshots/whitequark/send_binary_op.txt
index c18eb69f2c..1c91a0fdd0 100644
--- a/test/prism/snapshots/whitequark/send_binary_op.txt
+++ b/test/prism/snapshots/whitequark/send_binary_op.txt
@@ -7,7 +7,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (1,0)-(1,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -32,7 +32,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (3,0)-(3,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -57,7 +57,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (5,0)-(5,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -82,7 +82,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (7,0)-(7,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -107,7 +107,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (9,0)-(9,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -132,7 +132,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (11,0)-(11,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -157,7 +157,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (13,0)-(13,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -182,7 +182,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (15,0)-(15,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -207,7 +207,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (17,0)-(17,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -232,7 +232,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (19,0)-(19,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -257,7 +257,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (21,0)-(21,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -282,7 +282,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (23,0)-(23,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -307,7 +307,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (25,0)-(25,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -332,7 +332,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (27,0)-(27,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -357,7 +357,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (29,0)-(29,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -382,7 +382,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (31,0)-(31,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -407,7 +407,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (33,0)-(33,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -432,7 +432,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (35,0)-(35,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -457,7 +457,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (37,0)-(37,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -482,7 +482,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (39,0)-(39,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -507,7 +507,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (41,0)-(41,3))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
diff --git a/test/prism/snapshots/whitequark/send_block_chain_cmd.txt b/test/prism/snapshots/whitequark/send_block_chain_cmd.txt
index 83e8186450..571789a535 100644
--- a/test/prism/snapshots/whitequark/send_block_chain_cmd.txt
+++ b/test/prism/snapshots/whitequark/send_block_chain_cmd.txt
@@ -7,7 +7,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (1,0)-(1,13))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :meth
@@ -37,7 +37,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (1,18)-(1,21))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -52,7 +52,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (3,0)-(3,13))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :meth
@@ -82,7 +82,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (3,18)-(3,21))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -104,7 +104,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (5,0)-(5,13))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :meth
@@ -143,7 +143,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (7,0)-(7,13))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :meth
@@ -173,7 +173,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (7,18)-(7,21))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -188,7 +188,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (9,0)-(9,13))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :meth
@@ -218,7 +218,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (9,18)-(9,21))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -240,7 +240,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (11,0)-(11,13))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :meth
@@ -270,7 +270,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (11,19)-(11,22))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -285,7 +285,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (13,0)-(13,13))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :meth
@@ -315,7 +315,7 @@
│ ├── flags: ∅
│ └── arguments: (length: 1)
│ └── @ CallNode (location: (13,19)-(13,22))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/send_block_conditional.txt b/test/prism/snapshots/whitequark/send_block_conditional.txt
index 9b6b288434..26cb00dd1f 100644
--- a/test/prism/snapshots/whitequark/send_block_conditional.txt
+++ b/test/prism/snapshots/whitequark/send_block_conditional.txt
@@ -7,7 +7,7 @@
├── flags: safe_navigation
├── receiver:
│ @ CallNode (location: (1,0)-(1,3))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
diff --git a/test/prism/snapshots/whitequark/send_call.txt b/test/prism/snapshots/whitequark/send_call.txt
index 0135a5d854..bfd554e495 100644
--- a/test/prism/snapshots/whitequark/send_call.txt
+++ b/test/prism/snapshots/whitequark/send_call.txt
@@ -7,7 +7,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (1,0)-(1,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -32,7 +32,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (3,0)-(3,3))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
diff --git a/test/prism/snapshots/whitequark/send_conditional.txt b/test/prism/snapshots/whitequark/send_conditional.txt
index a6ba52bede..7b402d9ef2 100644
--- a/test/prism/snapshots/whitequark/send_conditional.txt
+++ b/test/prism/snapshots/whitequark/send_conditional.txt
@@ -7,7 +7,7 @@
├── flags: safe_navigation
├── receiver:
│ @ CallNode (location: (1,0)-(1,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
diff --git a/test/prism/snapshots/whitequark/send_index.txt b/test/prism/snapshots/whitequark/send_index.txt
index df9ed12a3a..5e00593222 100644
--- a/test/prism/snapshots/whitequark/send_index.txt
+++ b/test/prism/snapshots/whitequark/send_index.txt
@@ -7,7 +7,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (1,0)-(1,3))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
diff --git a/test/prism/snapshots/whitequark/send_index_asgn.txt b/test/prism/snapshots/whitequark/send_index_asgn.txt
index 34adbb1dde..f34d351472 100644
--- a/test/prism/snapshots/whitequark/send_index_asgn.txt
+++ b/test/prism/snapshots/whitequark/send_index_asgn.txt
@@ -7,7 +7,7 @@
├── flags: attribute_write
├── receiver:
│ @ CallNode (location: (1,0)-(1,3))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
diff --git a/test/prism/snapshots/whitequark/send_index_asgn_legacy.txt b/test/prism/snapshots/whitequark/send_index_asgn_legacy.txt
index 34adbb1dde..f34d351472 100644
--- a/test/prism/snapshots/whitequark/send_index_asgn_legacy.txt
+++ b/test/prism/snapshots/whitequark/send_index_asgn_legacy.txt
@@ -7,7 +7,7 @@
├── flags: attribute_write
├── receiver:
│ @ CallNode (location: (1,0)-(1,3))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
diff --git a/test/prism/snapshots/whitequark/send_index_cmd.txt b/test/prism/snapshots/whitequark/send_index_cmd.txt
index e1a6caa7ad..0a41fd051d 100644
--- a/test/prism/snapshots/whitequark/send_index_cmd.txt
+++ b/test/prism/snapshots/whitequark/send_index_cmd.txt
@@ -7,7 +7,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (1,0)-(1,3))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -25,7 +25,7 @@
│ ├── flags: ∅
│ └── arguments: (length: 1)
│ └── @ CallNode (location: (1,4)-(1,9))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :m
@@ -36,7 +36,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (1,6)-(1,9))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/send_index_legacy.txt b/test/prism/snapshots/whitequark/send_index_legacy.txt
index df9ed12a3a..5e00593222 100644
--- a/test/prism/snapshots/whitequark/send_index_legacy.txt
+++ b/test/prism/snapshots/whitequark/send_index_legacy.txt
@@ -7,7 +7,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (1,0)-(1,3))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
diff --git a/test/prism/snapshots/whitequark/send_op_asgn_conditional.txt b/test/prism/snapshots/whitequark/send_op_asgn_conditional.txt
index a8d1e7ea83..102a5af5b5 100644
--- a/test/prism/snapshots/whitequark/send_op_asgn_conditional.txt
+++ b/test/prism/snapshots/whitequark/send_op_asgn_conditional.txt
@@ -7,7 +7,7 @@
├── flags: safe_navigation
├── receiver:
│ @ CallNode (location: (1,0)-(1,1))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :a
diff --git a/test/prism/snapshots/whitequark/send_plain.txt b/test/prism/snapshots/whitequark/send_plain.txt
index 355f460f53..be57bee5a0 100644
--- a/test/prism/snapshots/whitequark/send_plain.txt
+++ b/test/prism/snapshots/whitequark/send_plain.txt
@@ -7,7 +7,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (1,0)-(1,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -27,7 +27,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (3,0)-(3,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -47,7 +47,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (5,0)-(5,3))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
diff --git a/test/prism/snapshots/whitequark/send_plain_cmd.txt b/test/prism/snapshots/whitequark/send_plain_cmd.txt
index e1ab3b8f2f..59236e114d 100644
--- a/test/prism/snapshots/whitequark/send_plain_cmd.txt
+++ b/test/prism/snapshots/whitequark/send_plain_cmd.txt
@@ -7,7 +7,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (1,0)-(1,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -25,7 +25,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (1,8)-(1,11))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -40,7 +40,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (3,0)-(3,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -58,7 +58,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (3,9)-(3,12))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -73,7 +73,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (5,0)-(5,3))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -91,7 +91,7 @@
│ ├── flags: ∅
│ └── arguments: (length: 1)
│ └── @ CallNode (location: (5,9)-(5,12))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/send_self.txt b/test/prism/snapshots/whitequark/send_self.txt
index cc87037252..fe1e8d1157 100644
--- a/test/prism/snapshots/whitequark/send_self.txt
+++ b/test/prism/snapshots/whitequark/send_self.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(5,6))
└── body: (length: 3)
├── @ CallNode (location: (1,0)-(1,3))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :fun
@@ -14,7 +14,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
├── @ CallNode (location: (3,0)-(3,4))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :fun!
@@ -24,7 +24,7 @@
│ ├── closing_loc: ∅
│ └── block: ∅
└── @ CallNode (location: (5,0)-(5,6))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :fun
diff --git a/test/prism/snapshots/whitequark/send_self_block.txt b/test/prism/snapshots/whitequark/send_self_block.txt
index d66949ac36..9124281a71 100644
--- a/test/prism/snapshots/whitequark/send_self_block.txt
+++ b/test/prism/snapshots/whitequark/send_self_block.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(7,10))
└── body: (length: 4)
├── @ CallNode (location: (1,0)-(1,10))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :fun
@@ -21,7 +21,7 @@
│ ├── opening_loc: (1,4)-(1,6) = "do"
│ └── closing_loc: (1,7)-(1,10) = "end"
├── @ CallNode (location: (3,0)-(3,7))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :fun
@@ -38,7 +38,7 @@
│ ├── opening_loc: (3,4)-(3,5) = "{"
│ └── closing_loc: (3,6)-(3,7) = "}"
├── @ CallNode (location: (5,0)-(5,9))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :fun
@@ -55,7 +55,7 @@
│ ├── opening_loc: (5,6)-(5,7) = "{"
│ └── closing_loc: (5,8)-(5,9) = "}"
└── @ CallNode (location: (7,0)-(7,10))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :fun
diff --git a/test/prism/snapshots/whitequark/send_unary_op.txt b/test/prism/snapshots/whitequark/send_unary_op.txt
index 163146793d..8ca1de7968 100644
--- a/test/prism/snapshots/whitequark/send_unary_op.txt
+++ b/test/prism/snapshots/whitequark/send_unary_op.txt
@@ -7,7 +7,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (1,1)-(1,4))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -27,7 +27,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (3,1)-(3,4))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -47,7 +47,7 @@
├── flags: ∅
├── receiver:
│ @ CallNode (location: (5,1)-(5,4))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
diff --git a/test/prism/snapshots/whitequark/space_args_arg.txt b/test/prism/snapshots/whitequark/space_args_arg.txt
index a116b67b1b..a87138db62 100644
--- a/test/prism/snapshots/whitequark/space_args_arg.txt
+++ b/test/prism/snapshots/whitequark/space_args_arg.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,7))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,7))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :fun
diff --git a/test/prism/snapshots/whitequark/space_args_arg_block.txt b/test/prism/snapshots/whitequark/space_args_arg_block.txt
index cb5dd7281c..c8fd787c22 100644
--- a/test/prism/snapshots/whitequark/space_args_arg_block.txt
+++ b/test/prism/snapshots/whitequark/space_args_arg_block.txt
@@ -7,7 +7,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (1,0)-(1,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -45,7 +45,7 @@
│ ├── flags: ∅
│ ├── receiver:
│ │ @ CallNode (location: (3,0)-(3,3))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -80,7 +80,7 @@
│ ├── opening_loc: (3,13)-(3,14) = "{"
│ └── closing_loc: (3,14)-(3,15) = "}"
└── @ CallNode (location: (5,0)-(5,10))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :fun
diff --git a/test/prism/snapshots/whitequark/space_args_arg_call.txt b/test/prism/snapshots/whitequark/space_args_arg_call.txt
index f1339b89fa..b47b14afab 100644
--- a/test/prism/snapshots/whitequark/space_args_arg_call.txt
+++ b/test/prism/snapshots/whitequark/space_args_arg_call.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,12))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,12))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :fun
diff --git a/test/prism/snapshots/whitequark/space_args_arg_newline.txt b/test/prism/snapshots/whitequark/space_args_arg_newline.txt
index 68bf503bc7..eab0243274 100644
--- a/test/prism/snapshots/whitequark/space_args_arg_newline.txt
+++ b/test/prism/snapshots/whitequark/space_args_arg_newline.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(2,1))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(2,1))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :fun
diff --git a/test/prism/snapshots/whitequark/space_args_block.txt b/test/prism/snapshots/whitequark/space_args_block.txt
index da513176a3..853482b764 100644
--- a/test/prism/snapshots/whitequark/space_args_block.txt
+++ b/test/prism/snapshots/whitequark/space_args_block.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,9))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,9))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :fun
diff --git a/test/prism/snapshots/whitequark/space_args_cmd.txt b/test/prism/snapshots/whitequark/space_args_cmd.txt
index 7cc14caaf3..8a75bef6a8 100644
--- a/test/prism/snapshots/whitequark/space_args_cmd.txt
+++ b/test/prism/snapshots/whitequark/space_args_cmd.txt
@@ -4,7 +4,7 @@
@ StatementsNode (location: (1,0)-(1,11))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,11))
- ├── flags: ∅
+ ├── flags: ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :fun
@@ -19,7 +19,7 @@
│ │ @ StatementsNode (location: (1,5)-(1,10))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (1,5)-(1,10))
- │ │ ├── flags: ∅
+ │ │ ├── flags: ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :f
@@ -30,7 +30,7 @@
│ │ │ ├── flags: ∅
│ │ │ └── arguments: (length: 1)
│ │ │ └── @ CallNode (location: (1,7)-(1,10))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/string_interp.txt b/test/prism/snapshots/whitequark/string_interp.txt
index 90a4ee5a70..a83323a086 100644
--- a/test/prism/snapshots/whitequark/string_interp.txt
+++ b/test/prism/snapshots/whitequark/string_interp.txt
@@ -18,7 +18,7 @@
│ │ │ @ StatementsNode (location: (1,6)-(1,9))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (1,6)-(1,9))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/super.txt b/test/prism/snapshots/whitequark/super.txt
index 4cd4a940dc..132b4912e4 100644
--- a/test/prism/snapshots/whitequark/super.txt
+++ b/test/prism/snapshots/whitequark/super.txt
@@ -11,7 +11,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (1,6)-(1,9))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -36,7 +36,7 @@
│ ├── flags: ∅
│ └── arguments: (length: 1)
│ └── @ CallNode (location: (5,6)-(5,9))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
diff --git a/test/prism/snapshots/whitequark/super_block.txt b/test/prism/snapshots/whitequark/super_block.txt
index 0ad1f04bd2..2025416ae6 100644
--- a/test/prism/snapshots/whitequark/super_block.txt
+++ b/test/prism/snapshots/whitequark/super_block.txt
@@ -20,7 +20,7 @@
│ ├── flags: ∅
│ └── arguments: (length: 2)
│ ├── @ CallNode (location: (3,6)-(3,9))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -30,7 +30,7 @@
│ │ ├── closing_loc: ∅
│ │ └── block: ∅
│ └── @ CallNode (location: (3,11)-(3,14))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/symbol_interp.txt b/test/prism/snapshots/whitequark/symbol_interp.txt
index dac34b63bc..c108adddc7 100644
--- a/test/prism/snapshots/whitequark/symbol_interp.txt
+++ b/test/prism/snapshots/whitequark/symbol_interp.txt
@@ -18,7 +18,7 @@
│ │ │ @ StatementsNode (location: (1,7)-(1,10))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (1,7)-(1,10))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/ternary.txt b/test/prism/snapshots/whitequark/ternary.txt
index 913f1227ff..09312e3179 100644
--- a/test/prism/snapshots/whitequark/ternary.txt
+++ b/test/prism/snapshots/whitequark/ternary.txt
@@ -7,7 +7,7 @@
├── if_keyword_loc: ∅
├── predicate:
│ @ CallNode (location: (1,0)-(1,3))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
diff --git a/test/prism/snapshots/whitequark/ternary_ambiguous_symbol.txt b/test/prism/snapshots/whitequark/ternary_ambiguous_symbol.txt
index faf7a0c36b..b66406af52 100644
--- a/test/prism/snapshots/whitequark/ternary_ambiguous_symbol.txt
+++ b/test/prism/snapshots/whitequark/ternary_ambiguous_symbol.txt
@@ -19,7 +19,7 @@
│ │ @ StatementsNode (location: (1,5)-(1,8))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (1,5)-(1,8))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
diff --git a/test/prism/snapshots/whitequark/trailing_forward_arg.txt b/test/prism/snapshots/whitequark/trailing_forward_arg.txt
index 0c27ddd67e..bced34e1bc 100644
--- a/test/prism/snapshots/whitequark/trailing_forward_arg.txt
+++ b/test/prism/snapshots/whitequark/trailing_forward_arg.txt
@@ -25,7 +25,7 @@
│ @ StatementsNode (location: (1,20)-(1,35))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,20)-(1,35))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/unless.txt b/test/prism/snapshots/whitequark/unless.txt
index d9261db337..a3bbbe69c8 100644
--- a/test/prism/snapshots/whitequark/unless.txt
+++ b/test/prism/snapshots/whitequark/unless.txt
@@ -7,7 +7,7 @@
│ ├── keyword_loc: (1,0)-(1,6) = "unless"
│ ├── predicate:
│ │ @ CallNode (location: (1,7)-(1,10))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -21,7 +21,7 @@
│ │ @ StatementsNode (location: (1,16)-(1,19))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (1,16)-(1,19))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -36,7 +36,7 @@
├── keyword_loc: (3,0)-(3,6) = "unless"
├── predicate:
│ @ CallNode (location: (3,7)-(3,10))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -50,7 +50,7 @@
│ @ StatementsNode (location: (3,12)-(3,15))
│ └── body: (length: 1)
│ └── @ CallNode (location: (3,12)-(3,15))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/unless_else.txt b/test/prism/snapshots/whitequark/unless_else.txt
index 78f942fcca..f4f95379e5 100644
--- a/test/prism/snapshots/whitequark/unless_else.txt
+++ b/test/prism/snapshots/whitequark/unless_else.txt
@@ -7,7 +7,7 @@
│ ├── keyword_loc: (1,0)-(1,6) = "unless"
│ ├── predicate:
│ │ @ CallNode (location: (1,7)-(1,10))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -21,7 +21,7 @@
│ │ @ StatementsNode (location: (1,16)-(1,19))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (1,16)-(1,19))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -37,7 +37,7 @@
│ │ │ @ StatementsNode (location: (1,26)-(1,29))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (1,26)-(1,29))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :baz
@@ -52,7 +52,7 @@
├── keyword_loc: (3,0)-(3,6) = "unless"
├── predicate:
│ @ CallNode (location: (3,7)-(3,10))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -66,7 +66,7 @@
│ @ StatementsNode (location: (3,12)-(3,15))
│ └── body: (length: 1)
│ └── @ CallNode (location: (3,12)-(3,15))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
@@ -82,7 +82,7 @@
│ │ @ StatementsNode (location: (3,22)-(3,25))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (3,22)-(3,25))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :baz
diff --git a/test/prism/snapshots/whitequark/unless_mod.txt b/test/prism/snapshots/whitequark/unless_mod.txt
index bccbeb0b5a..d4dfda6b2c 100644
--- a/test/prism/snapshots/whitequark/unless_mod.txt
+++ b/test/prism/snapshots/whitequark/unless_mod.txt
@@ -7,7 +7,7 @@
├── keyword_loc: (1,4)-(1,10) = "unless"
├── predicate:
│ @ CallNode (location: (1,11)-(1,14))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -21,7 +21,7 @@
│ @ StatementsNode (location: (1,0)-(1,3))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,0)-(1,3))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/until.txt b/test/prism/snapshots/whitequark/until.txt
index 78b8c7dbc8..e5f60a2cf7 100644
--- a/test/prism/snapshots/whitequark/until.txt
+++ b/test/prism/snapshots/whitequark/until.txt
@@ -9,7 +9,7 @@
│ ├── closing_loc: (1,18)-(1,21) = "end"
│ ├── predicate:
│ │ @ CallNode (location: (1,6)-(1,9))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -22,7 +22,7 @@
│ @ StatementsNode (location: (1,13)-(1,17))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,13)-(1,17))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :meth
@@ -37,7 +37,7 @@
├── closing_loc: (3,16)-(3,19) = "end"
├── predicate:
│ @ CallNode (location: (3,6)-(3,9))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -50,7 +50,7 @@
@ StatementsNode (location: (3,11)-(3,15))
└── body: (length: 1)
└── @ CallNode (location: (3,11)-(3,15))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :meth
diff --git a/test/prism/snapshots/whitequark/until_mod.txt b/test/prism/snapshots/whitequark/until_mod.txt
index 07f1817b08..0b7e2360b5 100644
--- a/test/prism/snapshots/whitequark/until_mod.txt
+++ b/test/prism/snapshots/whitequark/until_mod.txt
@@ -9,7 +9,7 @@
├── closing_loc: ∅
├── predicate:
│ @ CallNode (location: (1,11)-(1,14))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -22,7 +22,7 @@
@ StatementsNode (location: (1,0)-(1,4))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,4))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :meth
diff --git a/test/prism/snapshots/whitequark/until_post.txt b/test/prism/snapshots/whitequark/until_post.txt
index 2aff618af3..5b282c363b 100644
--- a/test/prism/snapshots/whitequark/until_post.txt
+++ b/test/prism/snapshots/whitequark/until_post.txt
@@ -9,7 +9,7 @@
├── closing_loc: ∅
├── predicate:
│ @ CallNode (location: (1,21)-(1,24))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -27,7 +27,7 @@
│ @ StatementsNode (location: (1,6)-(1,10))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,6)-(1,10))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :meth
diff --git a/test/prism/snapshots/whitequark/var_op_asgn_cmd.txt b/test/prism/snapshots/whitequark/var_op_asgn_cmd.txt
index 4e574f8db2..d56c099c7e 100644
--- a/test/prism/snapshots/whitequark/var_op_asgn_cmd.txt
+++ b/test/prism/snapshots/whitequark/var_op_asgn_cmd.txt
@@ -8,7 +8,7 @@
├── operator_loc: (1,4)-(1,6) = "+="
├── value:
│ @ CallNode (location: (1,7)-(1,12))
- │ ├── flags: ∅
+ │ ├── flags: ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :m
diff --git a/test/prism/snapshots/whitequark/when_multi.txt b/test/prism/snapshots/whitequark/when_multi.txt
index 6ae94a3fef..0fa7cd69ba 100644
--- a/test/prism/snapshots/whitequark/when_multi.txt
+++ b/test/prism/snapshots/whitequark/when_multi.txt
@@ -6,7 +6,7 @@
└── @ CaseNode (location: (1,0)-(1,37))
├── predicate:
│ @ CallNode (location: (1,5)-(1,8))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -35,7 +35,7 @@
│ @ StatementsNode (location: (1,29)-(1,32))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,29)-(1,32))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/when_splat.txt b/test/prism/snapshots/whitequark/when_splat.txt
index 016f264744..c9b922da31 100644
--- a/test/prism/snapshots/whitequark/when_splat.txt
+++ b/test/prism/snapshots/whitequark/when_splat.txt
@@ -6,7 +6,7 @@
└── @ CaseNode (location: (1,0)-(1,43))
├── predicate:
│ @ CallNode (location: (1,5)-(1,8))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -25,7 +25,7 @@
│ │ │ ├── operator_loc: (1,18)-(1,19) = "*"
│ │ │ └── expression:
│ │ │ @ CallNode (location: (1,19)-(1,22))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :baz
@@ -38,7 +38,7 @@
│ │ @ StatementsNode (location: (1,24)-(1,27))
│ │ └── body: (length: 1)
│ │ └── @ CallNode (location: (1,24)-(1,27))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :bar
@@ -54,7 +54,7 @@
│ │ ├── operator_loc: (1,34)-(1,35) = "*"
│ │ └── expression:
│ │ @ CallNode (location: (1,35)-(1,38))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
diff --git a/test/prism/snapshots/whitequark/when_then.txt b/test/prism/snapshots/whitequark/when_then.txt
index 06b7e0ae87..d6b438c39e 100644
--- a/test/prism/snapshots/whitequark/when_then.txt
+++ b/test/prism/snapshots/whitequark/when_then.txt
@@ -6,7 +6,7 @@
└── @ CaseNode (location: (1,0)-(1,34))
├── predicate:
│ @ CallNode (location: (1,5)-(1,8))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -29,7 +29,7 @@
│ @ StatementsNode (location: (1,26)-(1,29))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,26)-(1,29))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/while.txt b/test/prism/snapshots/whitequark/while.txt
index e437a19297..72f9971fe5 100644
--- a/test/prism/snapshots/whitequark/while.txt
+++ b/test/prism/snapshots/whitequark/while.txt
@@ -9,7 +9,7 @@
│ ├── closing_loc: (1,18)-(1,21) = "end"
│ ├── predicate:
│ │ @ CallNode (location: (1,6)-(1,9))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -22,7 +22,7 @@
│ @ StatementsNode (location: (1,13)-(1,17))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,13)-(1,17))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :meth
@@ -37,7 +37,7 @@
├── closing_loc: (3,16)-(3,19) = "end"
├── predicate:
│ @ CallNode (location: (3,6)-(3,9))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -50,7 +50,7 @@
@ StatementsNode (location: (3,11)-(3,15))
└── body: (length: 1)
└── @ CallNode (location: (3,11)-(3,15))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :meth
diff --git a/test/prism/snapshots/whitequark/while_mod.txt b/test/prism/snapshots/whitequark/while_mod.txt
index b659a8f9c0..50a8f84d81 100644
--- a/test/prism/snapshots/whitequark/while_mod.txt
+++ b/test/prism/snapshots/whitequark/while_mod.txt
@@ -9,7 +9,7 @@
├── closing_loc: ∅
├── predicate:
│ @ CallNode (location: (1,11)-(1,14))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -22,7 +22,7 @@
@ StatementsNode (location: (1,0)-(1,4))
└── body: (length: 1)
└── @ CallNode (location: (1,0)-(1,4))
- ├── flags: variable_call
+ ├── flags: variable_call, ignore_visibility
├── receiver: ∅
├── call_operator_loc: ∅
├── name: :meth
diff --git a/test/prism/snapshots/whitequark/while_post.txt b/test/prism/snapshots/whitequark/while_post.txt
index 10f46e67e1..63c6c84a24 100644
--- a/test/prism/snapshots/whitequark/while_post.txt
+++ b/test/prism/snapshots/whitequark/while_post.txt
@@ -9,7 +9,7 @@
├── closing_loc: ∅
├── predicate:
│ @ CallNode (location: (1,21)-(1,24))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
@@ -27,7 +27,7 @@
│ @ StatementsNode (location: (1,6)-(1,10))
│ └── body: (length: 1)
│ └── @ CallNode (location: (1,6)-(1,10))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :meth
diff --git a/test/prism/snapshots/whitequark/xstring_interp.txt b/test/prism/snapshots/whitequark/xstring_interp.txt
index ad81c2bc42..e9543098c2 100644
--- a/test/prism/snapshots/whitequark/xstring_interp.txt
+++ b/test/prism/snapshots/whitequark/xstring_interp.txt
@@ -18,7 +18,7 @@
│ │ │ @ StatementsNode (location: (1,6)-(1,9))
│ │ │ └── body: (length: 1)
│ │ │ └── @ CallNode (location: (1,6)-(1,9))
- │ │ │ ├── flags: variable_call
+ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ ├── receiver: ∅
│ │ │ ├── call_operator_loc: ∅
│ │ │ ├── name: :bar
diff --git a/test/prism/snapshots/whitequark/yield.txt b/test/prism/snapshots/whitequark/yield.txt
index dccc6b9df9..2b37dd479f 100644
--- a/test/prism/snapshots/whitequark/yield.txt
+++ b/test/prism/snapshots/whitequark/yield.txt
@@ -16,7 +16,7 @@
│ │ ├── flags: ∅
│ │ └── arguments: (length: 1)
│ │ └── @ CallNode (location: (3,6)-(3,9))
- │ │ ├── flags: variable_call
+ │ │ ├── flags: variable_call, ignore_visibility
│ │ ├── receiver: ∅
│ │ ├── call_operator_loc: ∅
│ │ ├── name: :foo
@@ -39,7 +39,7 @@
│ ├── flags: ∅
│ └── arguments: (length: 1)
│ └── @ CallNode (location: (7,6)-(7,9))
- │ ├── flags: variable_call
+ │ ├── flags: variable_call, ignore_visibility
│ ├── receiver: ∅
│ ├── call_operator_loc: ∅
│ ├── name: :foo
diff --git a/test/prism/snapshots/xstring.txt b/test/prism/snapshots/xstring.txt
index 9c73210a6b..325a39afa5 100644
--- a/test/prism/snapshots/xstring.txt
+++ b/test/prism/snapshots/xstring.txt
@@ -24,7 +24,7 @@
│ │ │ │ @ StatementsNode (location: (3,7)-(3,10))
│ │ │ │ └── body: (length: 1)
│ │ │ │ └── @ CallNode (location: (3,7)-(3,10))
- │ │ │ │ ├── flags: variable_call
+ │ │ │ │ ├── flags: variable_call, ignore_visibility
│ │ │ │ ├── receiver: ∅
│ │ │ │ ├── call_operator_loc: ∅
│ │ │ │ ├── name: :bar