packwerk 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +14 -5
- data/.ruby-version +1 -1
- data/Gemfile +1 -1
- data/Gemfile.lock +127 -110
- data/README.md +7 -0
- data/dev.yml +1 -1
- data/gemfiles/Gemfile-rails-6-0 +22 -0
- data/lib/packwerk.rb +1 -0
- data/lib/packwerk/application_validator.rb +5 -5
- data/lib/packwerk/node_processor.rb +2 -1
- data/lib/packwerk/node_visitor.rb +1 -1
- data/lib/packwerk/version.rb +1 -1
- data/library.yml +1 -1
- data/service.yml +2 -2
- data/shipit.rubygems.yml +5 -1
- data/sorbet/rbi/gems/{actioncable@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → actioncable@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +56 -36
- data/sorbet/rbi/gems/{actionmailbox@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → actionmailbox@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +25 -28
- data/sorbet/rbi/gems/{actionmailer@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → actionmailer@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +43 -24
- data/sorbet/rbi/gems/{actionpack@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → actionpack@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +382 -284
- data/sorbet/rbi/gems/{actiontext@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → actiontext@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +76 -40
- data/sorbet/rbi/gems/{actionview@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → actionview@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +206 -195
- data/sorbet/rbi/gems/{activejob@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → activejob@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +64 -75
- data/sorbet/rbi/gems/{activemodel@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → activemodel@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +103 -56
- data/sorbet/rbi/gems/{activerecord@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → activerecord@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +1250 -898
- data/sorbet/rbi/gems/{activestorage@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → activestorage@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +92 -120
- data/sorbet/rbi/gems/{activesupport@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → activesupport@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +292 -193
- data/sorbet/rbi/gems/{ast@2.4.1.rbi → ast@2.4.2.rbi} +2 -1
- data/sorbet/rbi/gems/{better_html@1.0.15.rbi → better_html@1.0.16.rbi} +2 -2
- data/sorbet/rbi/gems/{concurrent-ruby@1.1.6.rbi → concurrent-ruby@1.1.8.rbi} +12 -9
- data/sorbet/rbi/gems/{erubi@1.9.0.rbi → erubi@1.10.0.rbi} +3 -1
- data/sorbet/rbi/gems/{i18n@1.8.2.rbi → i18n@1.8.10.rbi} +19 -52
- data/sorbet/rbi/gems/{loofah@2.5.0.rbi → loofah@2.9.0.rbi} +3 -1
- data/sorbet/rbi/gems/marcel@1.0.0.rbi +70 -0
- data/sorbet/rbi/gems/{mini_mime@1.0.2.rbi → mini_mime@1.0.3.rbi} +6 -6
- data/sorbet/rbi/gems/{mini_portile2@2.4.0.rbi → minitest-focus@1.2.1.rbi} +2 -2
- data/sorbet/rbi/gems/{minitest@5.14.0.rbi → minitest@5.14.4.rbi} +31 -29
- data/sorbet/rbi/gems/{mocha@1.11.2.rbi → mocha@1.12.0.rbi} +25 -36
- data/sorbet/rbi/gems/{nio4r@2.5.2.rbi → nio4r@2.5.7.rbi} +21 -20
- data/sorbet/rbi/gems/{nokogiri@1.10.9.rbi → nokogiri@1.11.2.rbi} +193 -154
- data/sorbet/rbi/gems/{parallel@1.19.1.rbi → parallel@1.20.1.rbi} +1 -1
- data/sorbet/rbi/gems/parlour@6.0.0.rbi +1272 -0
- data/sorbet/rbi/gems/{parser@2.7.1.4.rbi → parser@3.0.0.0.rbi} +287 -174
- data/sorbet/rbi/gems/{pry@0.13.1.rbi → pry@0.14.0.rbi} +1 -1
- data/sorbet/rbi/gems/racc@1.5.2.rbi +57 -0
- data/sorbet/rbi/gems/{rack@2.2.2.rbi → rack@2.2.3.rbi} +23 -35
- data/sorbet/rbi/gems/{rails@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → rails@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +1 -1
- data/sorbet/rbi/gems/{railties@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → railties@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +132 -121
- data/sorbet/rbi/gems/{rake@13.0.1.rbi → rake@13.0.3.rbi} +16 -20
- data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +8 -0
- data/sorbet/rbi/gems/rubocop-ast@1.4.1.rbi +8 -0
- data/sorbet/rbi/gems/{rubocop-performance@1.5.2.rbi → rubocop-performance@1.10.2.rbi} +1 -1
- data/sorbet/rbi/gems/{rubocop-shopify@1.0.2.rbi → rubocop-shopify@2.0.1.rbi} +1 -1
- data/sorbet/rbi/gems/{rubocop-sorbet@0.3.7.rbi → rubocop-sorbet@0.6.1.rbi} +1 -1
- data/sorbet/rbi/gems/{rubocop@0.82.0.rbi → rubocop@1.12.0.rbi} +1 -1
- data/sorbet/rbi/gems/{ruby-progressbar@1.10.1.rbi → ruby-progressbar@1.11.0.rbi} +1 -1
- data/sorbet/rbi/gems/spoom@1.1.0.rbi +1061 -0
- data/sorbet/rbi/gems/{spring@2.1.0.rbi → spring@2.1.1.rbi} +7 -7
- data/sorbet/rbi/gems/{sprockets-rails@3.2.1.rbi → sprockets-rails@3.2.2.rbi} +88 -68
- data/sorbet/rbi/gems/{sprockets@4.0.0.rbi → sprockets@4.0.2.rbi} +8 -7
- data/sorbet/rbi/gems/{tapioca@0.4.5.rbi → tapioca@0.4.19.rbi} +109 -24
- data/sorbet/rbi/gems/{thor@1.0.1.rbi → thor@1.1.0.rbi} +16 -15
- data/sorbet/rbi/gems/{tzinfo@2.0.2.rbi → tzinfo@2.0.4.rbi} +21 -2
- data/sorbet/rbi/gems/{unicode-display_width@1.7.0.rbi → unicode-display_width@2.0.0.rbi} +1 -1
- data/sorbet/rbi/gems/{websocket-driver@0.7.1.rbi → websocket-driver@0.7.3.rbi} +29 -29
- data/sorbet/rbi/gems/{websocket-extensions@0.1.4.rbi → websocket-extensions@0.1.5.rbi} +2 -2
- data/sorbet/rbi/gems/zeitwerk@2.4.2.rbi +177 -0
- metadata +54 -52
- data/sorbet/rbi/gems/jaro_winkler@1.5.4.rbi +0 -8
- data/sorbet/rbi/gems/marcel@0.3.3.rbi +0 -30
- data/sorbet/rbi/gems/mimemagic@0.3.5.rbi +0 -47
- data/sorbet/rbi/gems/parlour@4.0.1.rbi +0 -561
- data/sorbet/rbi/gems/spoom@1.0.4.rbi +0 -418
- data/sorbet/rbi/gems/zeitwerk@2.3.0.rbi +0 -8
@@ -1,6 +1,6 @@
|
|
1
1
|
# DO NOT EDIT MANUALLY
|
2
2
|
# This is an autogenerated file for types exported from the `parser` gem.
|
3
|
-
# Please instead update this file by running `
|
3
|
+
# Please instead update this file by running `bin/tapioca sync`.
|
4
4
|
|
5
5
|
# typed: true
|
6
6
|
|
@@ -50,10 +50,8 @@ class Parser::AST::Processor < ::AST::Processor
|
|
50
50
|
def on_cvar(node); end
|
51
51
|
def on_cvasgn(node); end
|
52
52
|
def on_def(node); end
|
53
|
-
def on_def_e(node); end
|
54
53
|
def on_defined?(node); end
|
55
54
|
def on_defs(node); end
|
56
|
-
def on_defs_e(node); end
|
57
55
|
def on_dstr(node); end
|
58
56
|
def on_dsym(node); end
|
59
57
|
def on_eflipflop(node); end
|
@@ -78,6 +76,7 @@ class Parser::AST::Processor < ::AST::Processor
|
|
78
76
|
def on_ivar(node); end
|
79
77
|
def on_ivasgn(node); end
|
80
78
|
def on_kwarg(node); end
|
79
|
+
def on_kwargs(node); end
|
81
80
|
def on_kwbegin(node); end
|
82
81
|
def on_kwoptarg(node); end
|
83
82
|
def on_kwrestarg(node); end
|
@@ -89,12 +88,13 @@ class Parser::AST::Processor < ::AST::Processor
|
|
89
88
|
def on_match_alt(node); end
|
90
89
|
def on_match_as(node); end
|
91
90
|
def on_match_current_line(node); end
|
91
|
+
def on_match_pattern(node); end
|
92
|
+
def on_match_pattern_p(node); end
|
92
93
|
def on_match_rest(node); end
|
93
94
|
def on_match_var(node); end
|
94
95
|
def on_match_with_lvasgn(node); end
|
95
96
|
def on_mlhs(node); end
|
96
97
|
def on_module(node); end
|
97
|
-
def on_mrasgn(node); end
|
98
98
|
def on_next(node); end
|
99
99
|
def on_not(node); end
|
100
100
|
def on_nth_ref(node); end
|
@@ -108,7 +108,6 @@ class Parser::AST::Processor < ::AST::Processor
|
|
108
108
|
def on_postexe(node); end
|
109
109
|
def on_preexe(node); end
|
110
110
|
def on_procarg0(node); end
|
111
|
-
def on_rasgn(node); end
|
112
111
|
def on_redo(node); end
|
113
112
|
def on_regexp(node); end
|
114
113
|
def on_resbody(node); end
|
@@ -146,6 +145,7 @@ class Parser::Base < ::Racc::Parser
|
|
146
145
|
def context; end
|
147
146
|
def current_arg_stack; end
|
148
147
|
def diagnostics; end
|
148
|
+
def lexer; end
|
149
149
|
def max_numparam_stack; end
|
150
150
|
def parse(source_buffer); end
|
151
151
|
def parse_with_comments(source_buffer); end
|
@@ -230,7 +230,7 @@ class Parser::Builders::Default
|
|
230
230
|
def def_sclass(class_t, lshft_t, expr, body, end_t); end
|
231
231
|
def def_singleton(def_t, definee, dot_t, name_t, args, body, end_t); end
|
232
232
|
def emit_file_line_as_literals; end
|
233
|
-
def emit_file_line_as_literals=(
|
233
|
+
def emit_file_line_as_literals=(_arg0); end
|
234
234
|
def false(false_t); end
|
235
235
|
def find_pattern(lbrack_t, elements, rbrack_t); end
|
236
236
|
def float(float_t); end
|
@@ -265,12 +265,13 @@ class Parser::Builders::Default
|
|
265
265
|
def match_nil_pattern(dstar_t, nil_t); end
|
266
266
|
def match_op(receiver, match_t, arg); end
|
267
267
|
def match_pair(label_type, label, value); end
|
268
|
+
def match_pattern(lhs, match_t, rhs); end
|
269
|
+
def match_pattern_p(lhs, match_t, rhs); end
|
268
270
|
def match_rest(star_t, name_t = T.unsafe(nil)); end
|
269
271
|
def match_var(name_t); end
|
270
272
|
def match_with_trailing_comma(match, comma_t); end
|
271
273
|
def multi_assign(lhs, eql_t, rhs); end
|
272
274
|
def multi_lhs(begin_t, items, end_t); end
|
273
|
-
def multi_rassign(lhs, assoc_t, rhs); end
|
274
275
|
def nil(nil_t); end
|
275
276
|
def not_op(not_t, begin_t = T.unsafe(nil), receiver = T.unsafe(nil), end_t = T.unsafe(nil)); end
|
276
277
|
def nth_ref(token); end
|
@@ -285,14 +286,13 @@ class Parser::Builders::Default
|
|
285
286
|
def pair_list_18(list); end
|
286
287
|
def pair_quoted(begin_t, parts, end_t, value); end
|
287
288
|
def parser; end
|
288
|
-
def parser=(
|
289
|
+
def parser=(_arg0); end
|
289
290
|
def pin(pin_t, var); end
|
290
291
|
def postexe(postexe_t, lbrace_t, compstmt, rbrace_t); end
|
291
292
|
def preexe(preexe_t, lbrace_t, compstmt, rbrace_t); end
|
292
293
|
def procarg0(arg); end
|
293
294
|
def range_exclusive(lhs, dot3_t, rhs); end
|
294
295
|
def range_inclusive(lhs, dot2_t, rhs); end
|
295
|
-
def rassign(lhs, assoc_t, rhs); end
|
296
296
|
def rational(rational_t); end
|
297
297
|
def regexp_compose(begin_t, parts, end_t, options); end
|
298
298
|
def regexp_options(regopt_t); end
|
@@ -326,13 +326,14 @@ class Parser::Builders::Default
|
|
326
326
|
def arg_prefix_map(op_t, name_t = T.unsafe(nil)); end
|
327
327
|
def binary_op_map(left_e, op_t, right_e); end
|
328
328
|
def block_map(receiver_l, begin_t, end_t); end
|
329
|
-
def check_assignment_to_numparam(
|
329
|
+
def check_assignment_to_numparam(name, loc); end
|
330
330
|
def check_condition(cond); end
|
331
331
|
def check_duplicate_arg(this_arg, map = T.unsafe(nil)); end
|
332
332
|
def check_duplicate_args(args, map = T.unsafe(nil)); end
|
333
333
|
def check_duplicate_pattern_key(name, loc); end
|
334
334
|
def check_duplicate_pattern_variable(name, loc); end
|
335
335
|
def check_lvar_name(name, loc); end
|
336
|
+
def check_reserved_for_numparam(name, loc); end
|
336
337
|
def collapse_string_parts?(parts); end
|
337
338
|
def collection_map(begin_t, parts, end_t); end
|
338
339
|
def condition_map(keyword_t, cond_e, begin_t, body_e, else_t, else_e, end_t); end
|
@@ -350,6 +351,7 @@ class Parser::Builders::Default
|
|
350
351
|
def keyword_map(keyword_t, begin_t, args, end_t); end
|
351
352
|
def keyword_mod_map(pre_e, keyword_t, post_e); end
|
352
353
|
def kwarg_map(name_t, value_e = T.unsafe(nil)); end
|
354
|
+
def kwargs?(node); end
|
353
355
|
def loc(token); end
|
354
356
|
def module_definition_map(keyword_t, name_e, operator_t, end_t); end
|
355
357
|
def n(type, children, source_map); end
|
@@ -361,6 +363,7 @@ class Parser::Builders::Default
|
|
361
363
|
def range_map(start_e, op_t, end_e); end
|
362
364
|
def regexp_map(begin_t, end_t, options_e); end
|
363
365
|
def rescue_body_map(keyword_t, exc_list_e, assoc_t, exc_var_e, then_t, compstmt_e); end
|
366
|
+
def rewrite_hash_args_to_kwargs(args); end
|
364
367
|
def send_binary_op_map(lhs_e, selector_t, rhs_e); end
|
365
368
|
def send_index_map(receiver_e, lbrack_t, rbrack_t); end
|
366
369
|
def send_map(receiver_e, dot_t, selector_t, begin_t = T.unsafe(nil), args = T.unsafe(nil), end_t = T.unsafe(nil)); end
|
@@ -381,17 +384,21 @@ class Parser::Builders::Default
|
|
381
384
|
|
382
385
|
class << self
|
383
386
|
def emit_arg_inside_procarg0; end
|
384
|
-
def emit_arg_inside_procarg0=(
|
387
|
+
def emit_arg_inside_procarg0=(_arg0); end
|
385
388
|
def emit_encoding; end
|
386
|
-
def emit_encoding=(
|
389
|
+
def emit_encoding=(_arg0); end
|
387
390
|
def emit_forward_arg; end
|
388
|
-
def emit_forward_arg=(
|
391
|
+
def emit_forward_arg=(_arg0); end
|
389
392
|
def emit_index; end
|
390
|
-
def emit_index=(
|
393
|
+
def emit_index=(_arg0); end
|
394
|
+
def emit_kwargs; end
|
395
|
+
def emit_kwargs=(_arg0); end
|
391
396
|
def emit_lambda; end
|
392
|
-
def emit_lambda=(
|
397
|
+
def emit_lambda=(_arg0); end
|
398
|
+
def emit_match_pattern; end
|
399
|
+
def emit_match_pattern=(_arg0); end
|
393
400
|
def emit_procarg0; end
|
394
|
-
def emit_procarg0=(
|
401
|
+
def emit_procarg0=(_arg0); end
|
395
402
|
def modernize; end
|
396
403
|
end
|
397
404
|
end
|
@@ -404,6 +411,7 @@ class Parser::Context
|
|
404
411
|
|
405
412
|
def class_definition_allowed?; end
|
406
413
|
def dynamic_const_definition_allowed?; end
|
414
|
+
def empty?; end
|
407
415
|
def in_block?; end
|
408
416
|
def in_class?; end
|
409
417
|
def in_dynamic_block?; end
|
@@ -419,6 +427,7 @@ end
|
|
419
427
|
class Parser::CurrentArgStack
|
420
428
|
def initialize; end
|
421
429
|
|
430
|
+
def empty?; end
|
422
431
|
def pop; end
|
423
432
|
def push(value); end
|
424
433
|
def reset; end
|
@@ -427,11 +436,11 @@ class Parser::CurrentArgStack
|
|
427
436
|
def top; end
|
428
437
|
end
|
429
438
|
|
430
|
-
Parser::CurrentRuby = Parser::
|
439
|
+
Parser::CurrentRuby = Parser::Ruby30
|
431
440
|
|
432
441
|
module Parser::Deprecation
|
433
442
|
def warn_of_deprecation; end
|
434
|
-
def warned_of_deprecation=(
|
443
|
+
def warned_of_deprecation=(_arg0); end
|
435
444
|
end
|
436
445
|
|
437
446
|
class Parser::Diagnostic
|
@@ -456,11 +465,11 @@ class Parser::Diagnostic::Engine
|
|
456
465
|
def initialize(consumer = T.unsafe(nil)); end
|
457
466
|
|
458
467
|
def all_errors_are_fatal; end
|
459
|
-
def all_errors_are_fatal=(
|
468
|
+
def all_errors_are_fatal=(_arg0); end
|
460
469
|
def consumer; end
|
461
|
-
def consumer=(
|
470
|
+
def consumer=(_arg0); end
|
462
471
|
def ignore_warnings; end
|
463
|
-
def ignore_warnings=(
|
472
|
+
def ignore_warnings=(_arg0); end
|
464
473
|
def process(diagnostic); end
|
465
474
|
|
466
475
|
protected
|
@@ -476,23 +485,27 @@ class Parser::Lexer
|
|
476
485
|
|
477
486
|
def advance; end
|
478
487
|
def cmdarg; end
|
479
|
-
def cmdarg=(
|
488
|
+
def cmdarg=(_arg0); end
|
489
|
+
def cmdarg_stack; end
|
480
490
|
def command_start; end
|
481
|
-
def command_start=(
|
491
|
+
def command_start=(_arg0); end
|
482
492
|
def comments; end
|
483
|
-
def comments=(
|
493
|
+
def comments=(_arg0); end
|
484
494
|
def cond; end
|
485
|
-
def cond=(
|
495
|
+
def cond=(_arg0); end
|
496
|
+
def cond_stack; end
|
486
497
|
def context; end
|
487
|
-
def context=(
|
498
|
+
def context=(_arg0); end
|
488
499
|
def dedent_level; end
|
489
500
|
def diagnostics; end
|
490
|
-
def diagnostics=(
|
501
|
+
def diagnostics=(_arg0); end
|
491
502
|
def encoding; end
|
492
503
|
def force_utf32; end
|
493
|
-
def force_utf32=(
|
504
|
+
def force_utf32=(_arg0); end
|
494
505
|
def in_kwarg; end
|
495
|
-
def in_kwarg=(
|
506
|
+
def in_kwarg=(_arg0); end
|
507
|
+
def lambda_stack; end
|
508
|
+
def paren_nest; end
|
496
509
|
def pop_cmdarg; end
|
497
510
|
def pop_cond; end
|
498
511
|
def push_cmdarg; end
|
@@ -503,9 +516,9 @@ class Parser::Lexer
|
|
503
516
|
def state; end
|
504
517
|
def state=(state); end
|
505
518
|
def static_env; end
|
506
|
-
def static_env=(
|
519
|
+
def static_env=(_arg0); end
|
507
520
|
def tokens; end
|
508
|
-
def tokens=(
|
521
|
+
def tokens=(_arg0); end
|
509
522
|
|
510
523
|
protected
|
511
524
|
|
@@ -528,78 +541,78 @@ class Parser::Lexer
|
|
528
541
|
|
529
542
|
class << self
|
530
543
|
def lex_en_expr_arg; end
|
531
|
-
def lex_en_expr_arg=(
|
544
|
+
def lex_en_expr_arg=(_arg0); end
|
532
545
|
def lex_en_expr_beg; end
|
533
|
-
def lex_en_expr_beg=(
|
546
|
+
def lex_en_expr_beg=(_arg0); end
|
534
547
|
def lex_en_expr_cmdarg; end
|
535
|
-
def lex_en_expr_cmdarg=(
|
548
|
+
def lex_en_expr_cmdarg=(_arg0); end
|
536
549
|
def lex_en_expr_dot; end
|
537
|
-
def lex_en_expr_dot=(
|
550
|
+
def lex_en_expr_dot=(_arg0); end
|
538
551
|
def lex_en_expr_end; end
|
539
|
-
def lex_en_expr_end=(
|
552
|
+
def lex_en_expr_end=(_arg0); end
|
540
553
|
def lex_en_expr_endarg; end
|
541
|
-
def lex_en_expr_endarg=(
|
554
|
+
def lex_en_expr_endarg=(_arg0); end
|
542
555
|
def lex_en_expr_endfn; end
|
543
|
-
def lex_en_expr_endfn=(
|
556
|
+
def lex_en_expr_endfn=(_arg0); end
|
544
557
|
def lex_en_expr_fname; end
|
545
|
-
def lex_en_expr_fname=(
|
558
|
+
def lex_en_expr_fname=(_arg0); end
|
546
559
|
def lex_en_expr_labelarg; end
|
547
|
-
def lex_en_expr_labelarg=(
|
560
|
+
def lex_en_expr_labelarg=(_arg0); end
|
548
561
|
def lex_en_expr_mid; end
|
549
|
-
def lex_en_expr_mid=(
|
562
|
+
def lex_en_expr_mid=(_arg0); end
|
550
563
|
def lex_en_expr_value; end
|
551
|
-
def lex_en_expr_value=(
|
564
|
+
def lex_en_expr_value=(_arg0); end
|
552
565
|
def lex_en_expr_variable; end
|
553
|
-
def lex_en_expr_variable=(
|
566
|
+
def lex_en_expr_variable=(_arg0); end
|
554
567
|
def lex_en_interp_backslash_delimited; end
|
555
|
-
def lex_en_interp_backslash_delimited=(
|
568
|
+
def lex_en_interp_backslash_delimited=(_arg0); end
|
556
569
|
def lex_en_interp_backslash_delimited_words; end
|
557
|
-
def lex_en_interp_backslash_delimited_words=(
|
570
|
+
def lex_en_interp_backslash_delimited_words=(_arg0); end
|
558
571
|
def lex_en_interp_string; end
|
559
|
-
def lex_en_interp_string=(
|
572
|
+
def lex_en_interp_string=(_arg0); end
|
560
573
|
def lex_en_interp_words; end
|
561
|
-
def lex_en_interp_words=(
|
574
|
+
def lex_en_interp_words=(_arg0); end
|
562
575
|
def lex_en_leading_dot; end
|
563
|
-
def lex_en_leading_dot=(
|
576
|
+
def lex_en_leading_dot=(_arg0); end
|
564
577
|
def lex_en_line_begin; end
|
565
|
-
def lex_en_line_begin=(
|
578
|
+
def lex_en_line_begin=(_arg0); end
|
566
579
|
def lex_en_line_comment; end
|
567
|
-
def lex_en_line_comment=(
|
580
|
+
def lex_en_line_comment=(_arg0); end
|
568
581
|
def lex_en_plain_backslash_delimited; end
|
569
|
-
def lex_en_plain_backslash_delimited=(
|
582
|
+
def lex_en_plain_backslash_delimited=(_arg0); end
|
570
583
|
def lex_en_plain_backslash_delimited_words; end
|
571
|
-
def lex_en_plain_backslash_delimited_words=(
|
584
|
+
def lex_en_plain_backslash_delimited_words=(_arg0); end
|
572
585
|
def lex_en_plain_string; end
|
573
|
-
def lex_en_plain_string=(
|
586
|
+
def lex_en_plain_string=(_arg0); end
|
574
587
|
def lex_en_plain_words; end
|
575
|
-
def lex_en_plain_words=(
|
588
|
+
def lex_en_plain_words=(_arg0); end
|
576
589
|
def lex_en_regexp_modifiers; end
|
577
|
-
def lex_en_regexp_modifiers=(
|
590
|
+
def lex_en_regexp_modifiers=(_arg0); end
|
578
591
|
def lex_error; end
|
579
|
-
def lex_error=(
|
592
|
+
def lex_error=(_arg0); end
|
580
593
|
def lex_start; end
|
581
|
-
def lex_start=(
|
594
|
+
def lex_start=(_arg0); end
|
582
595
|
|
583
596
|
private
|
584
597
|
|
585
598
|
def _lex_eof_trans; end
|
586
|
-
def _lex_eof_trans=(
|
599
|
+
def _lex_eof_trans=(_arg0); end
|
587
600
|
def _lex_from_state_actions; end
|
588
|
-
def _lex_from_state_actions=(
|
601
|
+
def _lex_from_state_actions=(_arg0); end
|
589
602
|
def _lex_index_offsets; end
|
590
|
-
def _lex_index_offsets=(
|
603
|
+
def _lex_index_offsets=(_arg0); end
|
591
604
|
def _lex_indicies; end
|
592
|
-
def _lex_indicies=(
|
605
|
+
def _lex_indicies=(_arg0); end
|
593
606
|
def _lex_key_spans; end
|
594
|
-
def _lex_key_spans=(
|
607
|
+
def _lex_key_spans=(_arg0); end
|
595
608
|
def _lex_to_state_actions; end
|
596
|
-
def _lex_to_state_actions=(
|
609
|
+
def _lex_to_state_actions=(_arg0); end
|
597
610
|
def _lex_trans_actions; end
|
598
|
-
def _lex_trans_actions=(
|
611
|
+
def _lex_trans_actions=(_arg0); end
|
599
612
|
def _lex_trans_keys; end
|
600
|
-
def _lex_trans_keys=(
|
613
|
+
def _lex_trans_keys=(_arg0); end
|
601
614
|
def _lex_trans_targs; end
|
602
|
-
def _lex_trans_targs=(
|
615
|
+
def _lex_trans_targs=(_arg0); end
|
603
616
|
end
|
604
617
|
end
|
605
618
|
|
@@ -639,7 +652,7 @@ class Parser::Lexer::Literal
|
|
639
652
|
def plain_heredoc?; end
|
640
653
|
def regexp?; end
|
641
654
|
def saved_herebody_s; end
|
642
|
-
def saved_herebody_s=(
|
655
|
+
def saved_herebody_s=(_arg0); end
|
643
656
|
def squiggly_heredoc?; end
|
644
657
|
def start_interp_brace; end
|
645
658
|
def str_s; end
|
@@ -684,6 +697,7 @@ Parser::MESSAGES = T.let(T.unsafe(nil), Hash)
|
|
684
697
|
class Parser::MaxNumparamStack
|
685
698
|
def initialize; end
|
686
699
|
|
700
|
+
def empty?; end
|
687
701
|
def has_numparams?; end
|
688
702
|
def has_ordinary_params!; end
|
689
703
|
def has_ordinary_params?; end
|
@@ -698,6 +712,8 @@ class Parser::MaxNumparamStack
|
|
698
712
|
def set(value); end
|
699
713
|
end
|
700
714
|
|
715
|
+
Parser::MaxNumparamStack::ORDINARY_PARAMS = T.let(T.unsafe(nil), Integer)
|
716
|
+
|
701
717
|
module Parser::Messages
|
702
718
|
class << self
|
703
719
|
def compile(reason, arguments); end
|
@@ -712,7 +728,7 @@ Parser::Meta::NODE_TYPES = T.let(T.unsafe(nil), Set)
|
|
712
728
|
class Parser::Rewriter < ::Parser::AST::Processor
|
713
729
|
extend(::Parser::Deprecation)
|
714
730
|
|
715
|
-
def initialize(*
|
731
|
+
def initialize(*_arg0); end
|
716
732
|
|
717
733
|
def assignment?(node); end
|
718
734
|
def insert_after(range, content); end
|
@@ -725,7 +741,8 @@ end
|
|
725
741
|
|
726
742
|
Parser::Rewriter::DEPRECATION_WARNING = T.let(T.unsafe(nil), String)
|
727
743
|
|
728
|
-
class Parser::
|
744
|
+
class Parser::Ruby30 < ::Parser::Base
|
745
|
+
def _reduce_1(val, _values, result); end
|
729
746
|
def _reduce_10(val, _values, result); end
|
730
747
|
def _reduce_100(val, _values, result); end
|
731
748
|
def _reduce_101(val, _values, result); end
|
@@ -740,30 +757,32 @@ class Parser::Ruby26 < ::Parser::Base
|
|
740
757
|
def _reduce_11(val, _values, result); end
|
741
758
|
def _reduce_110(val, _values, result); end
|
742
759
|
def _reduce_111(val, _values, result); end
|
760
|
+
def _reduce_112(val, _values, result); end
|
743
761
|
def _reduce_113(val, _values, result); end
|
744
762
|
def _reduce_114(val, _values, result); end
|
745
763
|
def _reduce_115(val, _values, result); end
|
764
|
+
def _reduce_116(val, _values, result); end
|
765
|
+
def _reduce_117(val, _values, result); end
|
766
|
+
def _reduce_118(val, _values, result); end
|
767
|
+
def _reduce_119(val, _values, result); end
|
746
768
|
def _reduce_12(val, _values, result); end
|
769
|
+
def _reduce_120(val, _values, result); end
|
747
770
|
def _reduce_121(val, _values, result); end
|
771
|
+
def _reduce_123(val, _values, result); end
|
772
|
+
def _reduce_124(val, _values, result); end
|
748
773
|
def _reduce_125(val, _values, result); end
|
749
|
-
def _reduce_126(val, _values, result); end
|
750
|
-
def _reduce_127(val, _values, result); end
|
751
774
|
def _reduce_13(val, _values, result); end
|
775
|
+
def _reduce_131(val, _values, result); end
|
776
|
+
def _reduce_133(val, _values, result); end
|
777
|
+
def _reduce_134(val, _values, result); end
|
778
|
+
def _reduce_135(val, _values, result); end
|
752
779
|
def _reduce_14(val, _values, result); end
|
753
780
|
def _reduce_15(val, _values, result); end
|
754
|
-
def
|
781
|
+
def _reduce_16(val, _values, result); end
|
755
782
|
def _reduce_18(val, _values, result); end
|
756
783
|
def _reduce_19(val, _values, result); end
|
757
|
-
def _reduce_199(val, _values, result); end
|
758
784
|
def _reduce_2(val, _values, result); end
|
759
785
|
def _reduce_20(val, _values, result); end
|
760
|
-
def _reduce_200(val, _values, result); end
|
761
|
-
def _reduce_201(val, _values, result); end
|
762
|
-
def _reduce_202(val, _values, result); end
|
763
|
-
def _reduce_203(val, _values, result); end
|
764
|
-
def _reduce_204(val, _values, result); end
|
765
|
-
def _reduce_205(val, _values, result); end
|
766
|
-
def _reduce_206(val, _values, result); end
|
767
786
|
def _reduce_207(val, _values, result); end
|
768
787
|
def _reduce_208(val, _values, result); end
|
769
788
|
def _reduce_209(val, _values, result); end
|
@@ -784,6 +803,7 @@ class Parser::Ruby26 < ::Parser::Base
|
|
784
803
|
def _reduce_222(val, _values, result); end
|
785
804
|
def _reduce_223(val, _values, result); end
|
786
805
|
def _reduce_224(val, _values, result); end
|
806
|
+
def _reduce_225(val, _values, result); end
|
787
807
|
def _reduce_226(val, _values, result); end
|
788
808
|
def _reduce_227(val, _values, result); end
|
789
809
|
def _reduce_228(val, _values, result); end
|
@@ -794,66 +814,66 @@ class Parser::Ruby26 < ::Parser::Base
|
|
794
814
|
def _reduce_232(val, _values, result); end
|
795
815
|
def _reduce_233(val, _values, result); end
|
796
816
|
def _reduce_234(val, _values, result); end
|
797
|
-
def _reduce_235(val, _values, result); end
|
798
817
|
def _reduce_236(val, _values, result); end
|
799
818
|
def _reduce_237(val, _values, result); end
|
800
819
|
def _reduce_238(val, _values, result); end
|
820
|
+
def _reduce_239(val, _values, result); end
|
801
821
|
def _reduce_24(val, _values, result); end
|
822
|
+
def _reduce_240(val, _values, result); end
|
823
|
+
def _reduce_241(val, _values, result); end
|
824
|
+
def _reduce_242(val, _values, result); end
|
825
|
+
def _reduce_243(val, _values, result); end
|
802
826
|
def _reduce_244(val, _values, result); end
|
803
827
|
def _reduce_245(val, _values, result); end
|
828
|
+
def _reduce_246(val, _values, result); end
|
829
|
+
def _reduce_247(val, _values, result); end
|
830
|
+
def _reduce_248(val, _values, result); end
|
804
831
|
def _reduce_249(val, _values, result); end
|
805
832
|
def _reduce_25(val, _values, result); end
|
806
833
|
def _reduce_250(val, _values, result); end
|
834
|
+
def _reduce_251(val, _values, result); end
|
807
835
|
def _reduce_252(val, _values, result); end
|
808
|
-
def
|
809
|
-
def _reduce_254(val, _values, result); end
|
810
|
-
def _reduce_256(val, _values, result); end
|
836
|
+
def _reduce_258(val, _values, result); end
|
811
837
|
def _reduce_259(val, _values, result); end
|
812
838
|
def _reduce_26(val, _values, result); end
|
813
|
-
def _reduce_260(val, _values, result); end
|
814
|
-
def _reduce_261(val, _values, result); end
|
815
|
-
def _reduce_262(val, _values, result); end
|
816
839
|
def _reduce_263(val, _values, result); end
|
817
840
|
def _reduce_264(val, _values, result); end
|
818
|
-
def _reduce_265(val, _values, result); end
|
819
841
|
def _reduce_266(val, _values, result); end
|
820
842
|
def _reduce_267(val, _values, result); end
|
821
843
|
def _reduce_268(val, _values, result); end
|
822
844
|
def _reduce_269(val, _values, result); end
|
823
845
|
def _reduce_27(val, _values, result); end
|
824
846
|
def _reduce_270(val, _values, result); end
|
825
|
-
def _reduce_271(val, _values, result); end
|
826
847
|
def _reduce_272(val, _values, result); end
|
827
|
-
def _reduce_273(val, _values, result); end
|
828
|
-
def _reduce_274(val, _values, result); end
|
829
848
|
def _reduce_275(val, _values, result); end
|
849
|
+
def _reduce_276(val, _values, result); end
|
830
850
|
def _reduce_277(val, _values, result); end
|
831
851
|
def _reduce_278(val, _values, result); end
|
832
852
|
def _reduce_279(val, _values, result); end
|
833
853
|
def _reduce_28(val, _values, result); end
|
854
|
+
def _reduce_280(val, _values, result); end
|
855
|
+
def _reduce_281(val, _values, result); end
|
856
|
+
def _reduce_282(val, _values, result); end
|
857
|
+
def _reduce_283(val, _values, result); end
|
858
|
+
def _reduce_284(val, _values, result); end
|
859
|
+
def _reduce_285(val, _values, result); end
|
860
|
+
def _reduce_286(val, _values, result); end
|
861
|
+
def _reduce_287(val, _values, result); end
|
862
|
+
def _reduce_288(val, _values, result); end
|
863
|
+
def _reduce_289(val, _values, result); end
|
834
864
|
def _reduce_29(val, _values, result); end
|
835
865
|
def _reduce_290(val, _values, result); end
|
836
866
|
def _reduce_291(val, _values, result); end
|
837
|
-
def _reduce_292(val, _values, result); end
|
838
867
|
def _reduce_293(val, _values, result); end
|
839
868
|
def _reduce_294(val, _values, result); end
|
840
869
|
def _reduce_295(val, _values, result); end
|
841
|
-
def _reduce_296(val, _values, result); end
|
842
|
-
def _reduce_297(val, _values, result); end
|
843
|
-
def _reduce_298(val, _values, result); end
|
844
|
-
def _reduce_299(val, _values, result); end
|
845
870
|
def _reduce_3(val, _values, result); end
|
846
|
-
def
|
847
|
-
def _reduce_301(val, _values, result); end
|
848
|
-
def _reduce_302(val, _values, result); end
|
849
|
-
def _reduce_303(val, _values, result); end
|
850
|
-
def _reduce_304(val, _values, result); end
|
851
|
-
def _reduce_305(val, _values, result); end
|
871
|
+
def _reduce_30(val, _values, result); end
|
852
872
|
def _reduce_306(val, _values, result); end
|
853
873
|
def _reduce_307(val, _values, result); end
|
854
874
|
def _reduce_308(val, _values, result); end
|
855
875
|
def _reduce_309(val, _values, result); end
|
856
|
-
def
|
876
|
+
def _reduce_310(val, _values, result); end
|
857
877
|
def _reduce_311(val, _values, result); end
|
858
878
|
def _reduce_312(val, _values, result); end
|
859
879
|
def _reduce_313(val, _values, result); end
|
@@ -870,9 +890,7 @@ class Parser::Ruby26 < ::Parser::Base
|
|
870
890
|
def _reduce_323(val, _values, result); end
|
871
891
|
def _reduce_324(val, _values, result); end
|
872
892
|
def _reduce_325(val, _values, result); end
|
873
|
-
def _reduce_326(val, _values, result); end
|
874
893
|
def _reduce_327(val, _values, result); end
|
875
|
-
def _reduce_328(val, _values, result); end
|
876
894
|
def _reduce_329(val, _values, result); end
|
877
895
|
def _reduce_33(val, _values, result); end
|
878
896
|
def _reduce_330(val, _values, result); end
|
@@ -881,29 +899,29 @@ class Parser::Ruby26 < ::Parser::Base
|
|
881
899
|
def _reduce_333(val, _values, result); end
|
882
900
|
def _reduce_334(val, _values, result); end
|
883
901
|
def _reduce_335(val, _values, result); end
|
902
|
+
def _reduce_336(val, _values, result); end
|
884
903
|
def _reduce_337(val, _values, result); end
|
904
|
+
def _reduce_338(val, _values, result); end
|
905
|
+
def _reduce_339(val, _values, result); end
|
906
|
+
def _reduce_34(val, _values, result); end
|
885
907
|
def _reduce_340(val, _values, result); end
|
908
|
+
def _reduce_341(val, _values, result); end
|
909
|
+
def _reduce_342(val, _values, result); end
|
910
|
+
def _reduce_343(val, _values, result); end
|
886
911
|
def _reduce_344(val, _values, result); end
|
912
|
+
def _reduce_345(val, _values, result); end
|
887
913
|
def _reduce_346(val, _values, result); end
|
888
|
-
def
|
914
|
+
def _reduce_347(val, _values, result); end
|
915
|
+
def _reduce_348(val, _values, result); end
|
889
916
|
def _reduce_35(val, _values, result); end
|
890
917
|
def _reduce_350(val, _values, result); end
|
891
|
-
def
|
892
|
-
def _reduce_352(val, _values, result); end
|
893
|
-
def _reduce_354(val, _values, result); end
|
894
|
-
def _reduce_355(val, _values, result); end
|
895
|
-
def _reduce_356(val, _values, result); end
|
918
|
+
def _reduce_353(val, _values, result); end
|
896
919
|
def _reduce_357(val, _values, result); end
|
897
|
-
def _reduce_358(val, _values, result); end
|
898
920
|
def _reduce_359(val, _values, result); end
|
899
|
-
def _reduce_36(val, _values, result); end
|
900
|
-
def _reduce_360(val, _values, result); end
|
901
|
-
def _reduce_361(val, _values, result); end
|
902
921
|
def _reduce_362(val, _values, result); end
|
903
922
|
def _reduce_363(val, _values, result); end
|
904
923
|
def _reduce_364(val, _values, result); end
|
905
924
|
def _reduce_365(val, _values, result); end
|
906
|
-
def _reduce_366(val, _values, result); end
|
907
925
|
def _reduce_367(val, _values, result); end
|
908
926
|
def _reduce_368(val, _values, result); end
|
909
927
|
def _reduce_369(val, _values, result); end
|
@@ -911,7 +929,6 @@ class Parser::Ruby26 < ::Parser::Base
|
|
911
929
|
def _reduce_370(val, _values, result); end
|
912
930
|
def _reduce_371(val, _values, result); end
|
913
931
|
def _reduce_372(val, _values, result); end
|
914
|
-
def _reduce_374(val, _values, result); end
|
915
932
|
def _reduce_375(val, _values, result); end
|
916
933
|
def _reduce_376(val, _values, result); end
|
917
934
|
def _reduce_377(val, _values, result); end
|
@@ -919,21 +936,20 @@ class Parser::Ruby26 < ::Parser::Base
|
|
919
936
|
def _reduce_379(val, _values, result); end
|
920
937
|
def _reduce_38(val, _values, result); end
|
921
938
|
def _reduce_380(val, _values, result); end
|
922
|
-
def
|
939
|
+
def _reduce_382(val, _values, result); end
|
923
940
|
def _reduce_383(val, _values, result); end
|
924
941
|
def _reduce_384(val, _values, result); end
|
925
942
|
def _reduce_385(val, _values, result); end
|
926
943
|
def _reduce_386(val, _values, result); end
|
927
|
-
def _reduce_387(val, _values, result); end
|
928
944
|
def _reduce_388(val, _values, result); end
|
929
945
|
def _reduce_389(val, _values, result); end
|
930
946
|
def _reduce_39(val, _values, result); end
|
931
947
|
def _reduce_390(val, _values, result); end
|
932
948
|
def _reduce_391(val, _values, result); end
|
933
949
|
def _reduce_392(val, _values, result); end
|
950
|
+
def _reduce_393(val, _values, result); end
|
934
951
|
def _reduce_394(val, _values, result); end
|
935
952
|
def _reduce_395(val, _values, result); end
|
936
|
-
def _reduce_396(val, _values, result); end
|
937
953
|
def _reduce_397(val, _values, result); end
|
938
954
|
def _reduce_398(val, _values, result); end
|
939
955
|
def _reduce_399(val, _values, result); end
|
@@ -945,7 +961,6 @@ class Parser::Ruby26 < ::Parser::Base
|
|
945
961
|
def _reduce_403(val, _values, result); end
|
946
962
|
def _reduce_404(val, _values, result); end
|
947
963
|
def _reduce_405(val, _values, result); end
|
948
|
-
def _reduce_406(val, _values, result); end
|
949
964
|
def _reduce_407(val, _values, result); end
|
950
965
|
def _reduce_408(val, _values, result); end
|
951
966
|
def _reduce_409(val, _values, result); end
|
@@ -970,41 +985,43 @@ class Parser::Ruby26 < ::Parser::Base
|
|
970
985
|
def _reduce_426(val, _values, result); end
|
971
986
|
def _reduce_427(val, _values, result); end
|
972
987
|
def _reduce_428(val, _values, result); end
|
988
|
+
def _reduce_429(val, _values, result); end
|
989
|
+
def _reduce_43(val, _values, result); end
|
973
990
|
def _reduce_430(val, _values, result); end
|
974
991
|
def _reduce_431(val, _values, result); end
|
975
992
|
def _reduce_432(val, _values, result); end
|
993
|
+
def _reduce_433(val, _values, result); end
|
994
|
+
def _reduce_434(val, _values, result); end
|
976
995
|
def _reduce_435(val, _values, result); end
|
996
|
+
def _reduce_436(val, _values, result); end
|
977
997
|
def _reduce_437(val, _values, result); end
|
998
|
+
def _reduce_438(val, _values, result); end
|
999
|
+
def _reduce_439(val, _values, result); end
|
978
1000
|
def _reduce_44(val, _values, result); end
|
979
|
-
def
|
1001
|
+
def _reduce_440(val, _values, result); end
|
1002
|
+
def _reduce_441(val, _values, result); end
|
980
1003
|
def _reduce_443(val, _values, result); end
|
981
1004
|
def _reduce_444(val, _values, result); end
|
982
1005
|
def _reduce_445(val, _values, result); end
|
983
1006
|
def _reduce_446(val, _values, result); end
|
984
|
-
def _reduce_447(val, _values, result); end
|
985
1007
|
def _reduce_448(val, _values, result); end
|
986
1008
|
def _reduce_449(val, _values, result); end
|
987
1009
|
def _reduce_450(val, _values, result); end
|
988
|
-
def _reduce_451(val, _values, result); end
|
989
1010
|
def _reduce_452(val, _values, result); end
|
990
1011
|
def _reduce_453(val, _values, result); end
|
991
1012
|
def _reduce_454(val, _values, result); end
|
992
1013
|
def _reduce_455(val, _values, result); end
|
993
1014
|
def _reduce_456(val, _values, result); end
|
994
|
-
def _reduce_457(val, _values, result); end
|
995
1015
|
def _reduce_458(val, _values, result); end
|
996
|
-
def
|
1016
|
+
def _reduce_46(val, _values, result); end
|
997
1017
|
def _reduce_460(val, _values, result); end
|
998
|
-
def _reduce_461(val, _values, result); end
|
999
1018
|
def _reduce_462(val, _values, result); end
|
1000
1019
|
def _reduce_463(val, _values, result); end
|
1001
|
-
def _reduce_464(val, _values, result); end
|
1002
1020
|
def _reduce_465(val, _values, result); end
|
1003
1021
|
def _reduce_466(val, _values, result); end
|
1004
1022
|
def _reduce_467(val, _values, result); end
|
1005
1023
|
def _reduce_468(val, _values, result); end
|
1006
1024
|
def _reduce_469(val, _values, result); end
|
1007
|
-
def _reduce_47(val, _values, result); end
|
1008
1025
|
def _reduce_470(val, _values, result); end
|
1009
1026
|
def _reduce_471(val, _values, result); end
|
1010
1027
|
def _reduce_472(val, _values, result); end
|
@@ -1012,9 +1029,9 @@ class Parser::Ruby26 < ::Parser::Base
|
|
1012
1029
|
def _reduce_474(val, _values, result); end
|
1013
1030
|
def _reduce_475(val, _values, result); end
|
1014
1031
|
def _reduce_476(val, _values, result); end
|
1032
|
+
def _reduce_477(val, _values, result); end
|
1015
1033
|
def _reduce_478(val, _values, result); end
|
1016
1034
|
def _reduce_479(val, _values, result); end
|
1017
|
-
def _reduce_48(val, _values, result); end
|
1018
1035
|
def _reduce_480(val, _values, result); end
|
1019
1036
|
def _reduce_481(val, _values, result); end
|
1020
1037
|
def _reduce_482(val, _values, result); end
|
@@ -1023,7 +1040,6 @@ class Parser::Ruby26 < ::Parser::Base
|
|
1023
1040
|
def _reduce_485(val, _values, result); end
|
1024
1041
|
def _reduce_486(val, _values, result); end
|
1025
1042
|
def _reduce_487(val, _values, result); end
|
1026
|
-
def _reduce_488(val, _values, result); end
|
1027
1043
|
def _reduce_489(val, _values, result); end
|
1028
1044
|
def _reduce_49(val, _values, result); end
|
1029
1045
|
def _reduce_490(val, _values, result); end
|
@@ -1034,7 +1050,6 @@ class Parser::Ruby26 < ::Parser::Base
|
|
1034
1050
|
def _reduce_495(val, _values, result); end
|
1035
1051
|
def _reduce_496(val, _values, result); end
|
1036
1052
|
def _reduce_497(val, _values, result); end
|
1037
|
-
def _reduce_498(val, _values, result); end
|
1038
1053
|
def _reduce_499(val, _values, result); end
|
1039
1054
|
def _reduce_5(val, _values, result); end
|
1040
1055
|
def _reduce_50(val, _values, result); end
|
@@ -1048,32 +1063,20 @@ class Parser::Ruby26 < ::Parser::Base
|
|
1048
1063
|
def _reduce_507(val, _values, result); end
|
1049
1064
|
def _reduce_508(val, _values, result); end
|
1050
1065
|
def _reduce_509(val, _values, result); end
|
1066
|
+
def _reduce_51(val, _values, result); end
|
1051
1067
|
def _reduce_510(val, _values, result); end
|
1052
1068
|
def _reduce_511(val, _values, result); end
|
1053
|
-
def _reduce_512(val, _values, result); end
|
1054
|
-
def _reduce_513(val, _values, result); end
|
1055
|
-
def _reduce_514(val, _values, result); end
|
1056
1069
|
def _reduce_515(val, _values, result); end
|
1057
1070
|
def _reduce_516(val, _values, result); end
|
1058
1071
|
def _reduce_517(val, _values, result); end
|
1059
1072
|
def _reduce_518(val, _values, result); end
|
1060
|
-
def
|
1061
|
-
def _reduce_520(val, _values, result); end
|
1062
|
-
def _reduce_521(val, _values, result); end
|
1073
|
+
def _reduce_52(val, _values, result); end
|
1063
1074
|
def _reduce_522(val, _values, result); end
|
1064
1075
|
def _reduce_523(val, _values, result); end
|
1065
|
-
def _reduce_524(val, _values, result); end
|
1066
|
-
def _reduce_525(val, _values, result); end
|
1067
|
-
def _reduce_526(val, _values, result); end
|
1068
|
-
def _reduce_527(val, _values, result); end
|
1069
|
-
def _reduce_528(val, _values, result); end
|
1070
|
-
def _reduce_529(val, _values, result); end
|
1071
1076
|
def _reduce_53(val, _values, result); end
|
1072
|
-
def _reduce_530(val, _values, result); end
|
1073
|
-
def _reduce_531(val, _values, result); end
|
1074
1077
|
def _reduce_532(val, _values, result); end
|
1075
|
-
def _reduce_533(val, _values, result); end
|
1076
1078
|
def _reduce_534(val, _values, result); end
|
1079
|
+
def _reduce_535(val, _values, result); end
|
1077
1080
|
def _reduce_536(val, _values, result); end
|
1078
1081
|
def _reduce_537(val, _values, result); end
|
1079
1082
|
def _reduce_538(val, _values, result); end
|
@@ -1081,15 +1084,12 @@ class Parser::Ruby26 < ::Parser::Base
|
|
1081
1084
|
def _reduce_54(val, _values, result); end
|
1082
1085
|
def _reduce_540(val, _values, result); end
|
1083
1086
|
def _reduce_541(val, _values, result); end
|
1084
|
-
def _reduce_542(val, _values, result); end
|
1085
|
-
def _reduce_543(val, _values, result); end
|
1086
1087
|
def _reduce_544(val, _values, result); end
|
1087
|
-
def _reduce_545(val, _values, result); end
|
1088
1088
|
def _reduce_546(val, _values, result); end
|
1089
|
-
def
|
1090
|
-
def _reduce_548(val, _values, result); end
|
1091
|
-
def _reduce_549(val, _values, result); end
|
1089
|
+
def _reduce_55(val, _values, result); end
|
1092
1090
|
def _reduce_550(val, _values, result); end
|
1091
|
+
def _reduce_551(val, _values, result); end
|
1092
|
+
def _reduce_552(val, _values, result); end
|
1093
1093
|
def _reduce_553(val, _values, result); end
|
1094
1094
|
def _reduce_554(val, _values, result); end
|
1095
1095
|
def _reduce_555(val, _values, result); end
|
@@ -1097,48 +1097,156 @@ class Parser::Ruby26 < ::Parser::Base
|
|
1097
1097
|
def _reduce_557(val, _values, result); end
|
1098
1098
|
def _reduce_558(val, _values, result); end
|
1099
1099
|
def _reduce_559(val, _values, result); end
|
1100
|
+
def _reduce_56(val, _values, result); end
|
1100
1101
|
def _reduce_560(val, _values, result); end
|
1102
|
+
def _reduce_561(val, _values, result); end
|
1103
|
+
def _reduce_562(val, _values, result); end
|
1101
1104
|
def _reduce_563(val, _values, result); end
|
1102
1105
|
def _reduce_564(val, _values, result); end
|
1106
|
+
def _reduce_565(val, _values, result); end
|
1107
|
+
def _reduce_566(val, _values, result); end
|
1103
1108
|
def _reduce_567(val, _values, result); end
|
1104
1109
|
def _reduce_568(val, _values, result); end
|
1105
1110
|
def _reduce_569(val, _values, result); end
|
1111
|
+
def _reduce_570(val, _values, result); end
|
1106
1112
|
def _reduce_571(val, _values, result); end
|
1107
1113
|
def _reduce_572(val, _values, result); end
|
1114
|
+
def _reduce_573(val, _values, result); end
|
1108
1115
|
def _reduce_574(val, _values, result); end
|
1109
1116
|
def _reduce_575(val, _values, result); end
|
1110
1117
|
def _reduce_576(val, _values, result); end
|
1111
1118
|
def _reduce_577(val, _values, result); end
|
1112
1119
|
def _reduce_578(val, _values, result); end
|
1113
1120
|
def _reduce_579(val, _values, result); end
|
1114
|
-
def
|
1121
|
+
def _reduce_580(val, _values, result); end
|
1122
|
+
def _reduce_581(val, _values, result); end
|
1123
|
+
def _reduce_582(val, _values, result); end
|
1124
|
+
def _reduce_583(val, _values, result); end
|
1125
|
+
def _reduce_584(val, _values, result); end
|
1126
|
+
def _reduce_588(val, _values, result); end
|
1127
|
+
def _reduce_589(val, _values, result); end
|
1115
1128
|
def _reduce_59(val, _values, result); end
|
1129
|
+
def _reduce_590(val, _values, result); end
|
1130
|
+
def _reduce_591(val, _values, result); end
|
1116
1131
|
def _reduce_592(val, _values, result); end
|
1117
1132
|
def _reduce_593(val, _values, result); end
|
1133
|
+
def _reduce_594(val, _values, result); end
|
1134
|
+
def _reduce_595(val, _values, result); end
|
1135
|
+
def _reduce_596(val, _values, result); end
|
1136
|
+
def _reduce_597(val, _values, result); end
|
1118
1137
|
def _reduce_598(val, _values, result); end
|
1119
1138
|
def _reduce_599(val, _values, result); end
|
1120
1139
|
def _reduce_6(val, _values, result); end
|
1121
1140
|
def _reduce_60(val, _values, result); end
|
1141
|
+
def _reduce_600(val, _values, result); end
|
1142
|
+
def _reduce_601(val, _values, result); end
|
1143
|
+
def _reduce_602(val, _values, result); end
|
1122
1144
|
def _reduce_603(val, _values, result); end
|
1145
|
+
def _reduce_604(val, _values, result); end
|
1146
|
+
def _reduce_605(val, _values, result); end
|
1147
|
+
def _reduce_606(val, _values, result); end
|
1123
1148
|
def _reduce_607(val, _values, result); end
|
1149
|
+
def _reduce_608(val, _values, result); end
|
1150
|
+
def _reduce_609(val, _values, result); end
|
1151
|
+
def _reduce_61(val, _values, result); end
|
1152
|
+
def _reduce_610(val, _values, result); end
|
1153
|
+
def _reduce_611(val, _values, result); end
|
1154
|
+
def _reduce_612(val, _values, result); end
|
1155
|
+
def _reduce_613(val, _values, result); end
|
1156
|
+
def _reduce_614(val, _values, result); end
|
1157
|
+
def _reduce_615(val, _values, result); end
|
1158
|
+
def _reduce_616(val, _values, result); end
|
1159
|
+
def _reduce_618(val, _values, result); end
|
1160
|
+
def _reduce_619(val, _values, result); end
|
1124
1161
|
def _reduce_62(val, _values, result); end
|
1162
|
+
def _reduce_620(val, _values, result); end
|
1163
|
+
def _reduce_621(val, _values, result); end
|
1164
|
+
def _reduce_623(val, _values, result); end
|
1165
|
+
def _reduce_624(val, _values, result); end
|
1166
|
+
def _reduce_625(val, _values, result); end
|
1167
|
+
def _reduce_626(val, _values, result); end
|
1168
|
+
def _reduce_627(val, _values, result); end
|
1169
|
+
def _reduce_628(val, _values, result); end
|
1170
|
+
def _reduce_629(val, _values, result); end
|
1125
1171
|
def _reduce_63(val, _values, result); end
|
1172
|
+
def _reduce_630(val, _values, result); end
|
1173
|
+
def _reduce_631(val, _values, result); end
|
1174
|
+
def _reduce_632(val, _values, result); end
|
1175
|
+
def _reduce_633(val, _values, result); end
|
1176
|
+
def _reduce_634(val, _values, result); end
|
1177
|
+
def _reduce_635(val, _values, result); end
|
1178
|
+
def _reduce_636(val, _values, result); end
|
1179
|
+
def _reduce_637(val, _values, result); end
|
1180
|
+
def _reduce_638(val, _values, result); end
|
1181
|
+
def _reduce_639(val, _values, result); end
|
1126
1182
|
def _reduce_64(val, _values, result); end
|
1127
|
-
def
|
1128
|
-
def
|
1129
|
-
def
|
1183
|
+
def _reduce_640(val, _values, result); end
|
1184
|
+
def _reduce_641(val, _values, result); end
|
1185
|
+
def _reduce_642(val, _values, result); end
|
1186
|
+
def _reduce_643(val, _values, result); end
|
1187
|
+
def _reduce_644(val, _values, result); end
|
1188
|
+
def _reduce_645(val, _values, result); end
|
1189
|
+
def _reduce_646(val, _values, result); end
|
1190
|
+
def _reduce_647(val, _values, result); end
|
1191
|
+
def _reduce_648(val, _values, result); end
|
1192
|
+
def _reduce_649(val, _values, result); end
|
1193
|
+
def _reduce_650(val, _values, result); end
|
1194
|
+
def _reduce_652(val, _values, result); end
|
1195
|
+
def _reduce_653(val, _values, result); end
|
1196
|
+
def _reduce_654(val, _values, result); end
|
1197
|
+
def _reduce_655(val, _values, result); end
|
1198
|
+
def _reduce_656(val, _values, result); end
|
1199
|
+
def _reduce_657(val, _values, result); end
|
1200
|
+
def _reduce_658(val, _values, result); end
|
1201
|
+
def _reduce_659(val, _values, result); end
|
1202
|
+
def _reduce_660(val, _values, result); end
|
1203
|
+
def _reduce_661(val, _values, result); end
|
1204
|
+
def _reduce_662(val, _values, result); end
|
1205
|
+
def _reduce_663(val, _values, result); end
|
1206
|
+
def _reduce_664(val, _values, result); end
|
1207
|
+
def _reduce_665(val, _values, result); end
|
1208
|
+
def _reduce_666(val, _values, result); end
|
1209
|
+
def _reduce_669(val, _values, result); end
|
1210
|
+
def _reduce_670(val, _values, result); end
|
1211
|
+
def _reduce_671(val, _values, result); end
|
1212
|
+
def _reduce_672(val, _values, result); end
|
1213
|
+
def _reduce_673(val, _values, result); end
|
1214
|
+
def _reduce_674(val, _values, result); end
|
1215
|
+
def _reduce_675(val, _values, result); end
|
1216
|
+
def _reduce_676(val, _values, result); end
|
1217
|
+
def _reduce_677(val, _values, result); end
|
1130
1218
|
def _reduce_68(val, _values, result); end
|
1219
|
+
def _reduce_680(val, _values, result); end
|
1220
|
+
def _reduce_681(val, _values, result); end
|
1221
|
+
def _reduce_684(val, _values, result); end
|
1222
|
+
def _reduce_685(val, _values, result); end
|
1223
|
+
def _reduce_686(val, _values, result); end
|
1224
|
+
def _reduce_688(val, _values, result); end
|
1225
|
+
def _reduce_689(val, _values, result); end
|
1131
1226
|
def _reduce_69(val, _values, result); end
|
1227
|
+
def _reduce_691(val, _values, result); end
|
1228
|
+
def _reduce_692(val, _values, result); end
|
1229
|
+
def _reduce_693(val, _values, result); end
|
1230
|
+
def _reduce_694(val, _values, result); end
|
1231
|
+
def _reduce_695(val, _values, result); end
|
1232
|
+
def _reduce_696(val, _values, result); end
|
1233
|
+
def _reduce_7(val, _values, result); end
|
1132
1234
|
def _reduce_70(val, _values, result); end
|
1133
|
-
def
|
1235
|
+
def _reduce_709(val, _values, result); end
|
1236
|
+
def _reduce_710(val, _values, result); end
|
1237
|
+
def _reduce_715(val, _values, result); end
|
1238
|
+
def _reduce_716(val, _values, result); end
|
1239
|
+
def _reduce_717(val, _values, result); end
|
1134
1240
|
def _reduce_72(val, _values, result); end
|
1241
|
+
def _reduce_721(val, _values, result); end
|
1242
|
+
def _reduce_725(val, _values, result); end
|
1135
1243
|
def _reduce_73(val, _values, result); end
|
1136
1244
|
def _reduce_74(val, _values, result); end
|
1137
1245
|
def _reduce_75(val, _values, result); end
|
1138
1246
|
def _reduce_76(val, _values, result); end
|
1247
|
+
def _reduce_77(val, _values, result); end
|
1139
1248
|
def _reduce_78(val, _values, result); end
|
1140
1249
|
def _reduce_79(val, _values, result); end
|
1141
|
-
def _reduce_8(val, _values, result); end
|
1142
1250
|
def _reduce_80(val, _values, result); end
|
1143
1251
|
def _reduce_81(val, _values, result); end
|
1144
1252
|
def _reduce_82(val, _values, result); end
|
@@ -1156,17 +1264,17 @@ class Parser::Ruby26 < ::Parser::Base
|
|
1156
1264
|
def _reduce_94(val, _values, result); end
|
1157
1265
|
def _reduce_95(val, _values, result); end
|
1158
1266
|
def _reduce_96(val, _values, result); end
|
1159
|
-
def _reduce_97(val, _values, result); end
|
1160
1267
|
def _reduce_98(val, _values, result); end
|
1161
1268
|
def _reduce_99(val, _values, result); end
|
1162
1269
|
def _reduce_none(val, _values, result); end
|
1163
1270
|
def default_encoding; end
|
1271
|
+
def endless_method_name(name_t); end
|
1164
1272
|
def version; end
|
1165
1273
|
end
|
1166
1274
|
|
1167
|
-
Parser::
|
1275
|
+
Parser::Ruby30::Racc_arg = T.let(T.unsafe(nil), Array)
|
1168
1276
|
|
1169
|
-
Parser::
|
1277
|
+
Parser::Ruby30::Racc_token_to_s_table = T.let(T.unsafe(nil), Array)
|
1170
1278
|
|
1171
1279
|
module Parser::Source
|
1172
1280
|
end
|
@@ -1177,6 +1285,7 @@ class Parser::Source::Buffer
|
|
1177
1285
|
def column_for_position(position); end
|
1178
1286
|
def decompose_position(position); end
|
1179
1287
|
def first_line; end
|
1288
|
+
def freeze; end
|
1180
1289
|
def last_line; end
|
1181
1290
|
def line_for_position(position); end
|
1182
1291
|
def line_range(lineno); end
|
@@ -1192,8 +1301,9 @@ class Parser::Source::Buffer
|
|
1192
1301
|
|
1193
1302
|
private
|
1194
1303
|
|
1304
|
+
def bsearch(line_begins, position); end
|
1195
1305
|
def line_begins; end
|
1196
|
-
def
|
1306
|
+
def line_index_for_position(position); end
|
1197
1307
|
|
1198
1308
|
class << self
|
1199
1309
|
def recognize_encoding(string); end
|
@@ -1227,7 +1337,7 @@ class Parser::Source::Comment::Associator
|
|
1227
1337
|
def associate; end
|
1228
1338
|
def associate_locations; end
|
1229
1339
|
def skip_directives; end
|
1230
|
-
def skip_directives=(
|
1340
|
+
def skip_directives=(_arg0); end
|
1231
1341
|
|
1232
1342
|
private
|
1233
1343
|
|
@@ -1311,15 +1421,6 @@ class Parser::Source::Map::Definition < ::Parser::Source::Map
|
|
1311
1421
|
def operator; end
|
1312
1422
|
end
|
1313
1423
|
|
1314
|
-
class Parser::Source::Map::EndlessDefinition < ::Parser::Source::Map
|
1315
|
-
def initialize(keyword_l, operator_l, name_l, assignment_l, body_l); end
|
1316
|
-
|
1317
|
-
def assignment; end
|
1318
|
-
def keyword; end
|
1319
|
-
def name; end
|
1320
|
-
def operator; end
|
1321
|
-
end
|
1322
|
-
|
1323
1424
|
class Parser::Source::Map::For < ::Parser::Source::Map
|
1324
1425
|
def initialize(keyword_l, in_l, begin_l, end_l, expression_l); end
|
1325
1426
|
|
@@ -1357,6 +1458,16 @@ class Parser::Source::Map::Keyword < ::Parser::Source::Map
|
|
1357
1458
|
def keyword; end
|
1358
1459
|
end
|
1359
1460
|
|
1461
|
+
class Parser::Source::Map::MethodDefinition < ::Parser::Source::Map
|
1462
|
+
def initialize(keyword_l, operator_l, name_l, end_l, assignment_l, body_l); end
|
1463
|
+
|
1464
|
+
def assignment; end
|
1465
|
+
def end; end
|
1466
|
+
def keyword; end
|
1467
|
+
def name; end
|
1468
|
+
def operator; end
|
1469
|
+
end
|
1470
|
+
|
1360
1471
|
class Parser::Source::Map::ObjcKwarg < ::Parser::Source::Map
|
1361
1472
|
def initialize(keyword_l, operator_l, argument_l, expression_l); end
|
1362
1473
|
|
@@ -1431,7 +1542,7 @@ class Parser::Source::Range
|
|
1431
1542
|
def empty?; end
|
1432
1543
|
def end; end
|
1433
1544
|
def end_pos; end
|
1434
|
-
def eql?(
|
1545
|
+
def eql?(_arg0); end
|
1435
1546
|
def first_line; end
|
1436
1547
|
def hash; end
|
1437
1548
|
def inspect; end
|
@@ -1595,6 +1706,7 @@ class Parser::StaticEnvironment
|
|
1595
1706
|
def declare_forward_args; end
|
1596
1707
|
def declared?(name); end
|
1597
1708
|
def declared_forward_args?; end
|
1709
|
+
def empty?; end
|
1598
1710
|
def extend_dynamic; end
|
1599
1711
|
def extend_static; end
|
1600
1712
|
def reset; end
|
@@ -1626,6 +1738,7 @@ class Parser::VariablesStack
|
|
1626
1738
|
|
1627
1739
|
def declare(name); end
|
1628
1740
|
def declared?(name); end
|
1741
|
+
def empty?; end
|
1629
1742
|
def pop; end
|
1630
1743
|
def push; end
|
1631
1744
|
def reset; end
|