lunchmoney 1.4.1 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/build_and_publish_yard_docs.yml +2 -2
  3. data/.github/workflows/ci.yml +9 -10
  4. data/.github/workflows/rbi-updater.yml +1 -1
  5. data/.github/workflows/release_pipeline.yml +1 -1
  6. data/.rubocop.yml +1 -1
  7. data/.ruby-version +1 -1
  8. data/.toys/.toys.rb +8 -0
  9. data/Gemfile +1 -1
  10. data/Gemfile.lock +76 -60
  11. data/README.md +0 -2
  12. data/SECURITY.md +151 -0
  13. data/bin/check_vcr_version +94 -0
  14. data/lib/lunchmoney/api.rb +25 -38
  15. data/lib/lunchmoney/calls/assets.rb +10 -13
  16. data/lib/lunchmoney/calls/base.rb +59 -7
  17. data/lib/lunchmoney/calls/budgets.rb +22 -25
  18. data/lib/lunchmoney/calls/categories.rb +28 -36
  19. data/lib/lunchmoney/calls/crypto.rb +7 -9
  20. data/lib/lunchmoney/calls/plaid_accounts.rb +7 -9
  21. data/lib/lunchmoney/calls/recurring_expenses.rb +4 -5
  22. data/lib/lunchmoney/calls/tags.rb +3 -4
  23. data/lib/lunchmoney/calls/transactions.rb +28 -36
  24. data/lib/lunchmoney/calls/users.rb +3 -4
  25. data/lib/lunchmoney/configuration.rb +20 -0
  26. data/lib/lunchmoney/objects/object.rb +4 -9
  27. data/lib/lunchmoney/validators.rb +8 -6
  28. data/lib/lunchmoney/version.rb +1 -1
  29. data/lib/lunchmoney.rb +3 -3
  30. data/lunchmoney.gemspec +1 -1
  31. data/sorbet/rbi/annotations/activesupport.rbi +35 -0
  32. data/sorbet/rbi/dsl/active_support/callbacks.rbi +0 -2
  33. data/sorbet/rbi/gems/{activesupport@7.2.2.1.rbi → activesupport@8.0.2.1.rbi} +1369 -989
  34. data/sorbet/rbi/gems/{ast@2.4.2.rbi → ast@2.4.3.rbi} +4 -3
  35. data/sorbet/rbi/gems/{base64@0.2.0.rbi → base64@0.3.0.rbi} +76 -39
  36. data/sorbet/rbi/gems/{benchmark@0.4.0.rbi → benchmark@0.4.1.rbi} +50 -49
  37. data/sorbet/rbi/gems/bigdecimal@3.2.2.rbi +275 -0
  38. data/sorbet/rbi/gems/{dotenv@3.1.7.rbi → dotenv@3.1.8.rbi} +9 -9
  39. data/sorbet/rbi/gems/{drb@2.2.1.rbi → drb@2.2.3.rbi} +503 -188
  40. data/sorbet/rbi/gems/{faraday-net_http@3.4.0.rbi → faraday-net_http@3.4.1.rbi} +23 -23
  41. data/sorbet/rbi/gems/{faraday@2.12.2.rbi → faraday@2.13.4.rbi} +468 -141
  42. data/sorbet/rbi/gems/{hashdiff@1.1.2.rbi → hashdiff@1.2.0.rbi} +5 -3
  43. data/sorbet/rbi/gems/{json@2.10.2.rbi → json@2.13.2.rbi} +386 -175
  44. data/sorbet/rbi/gems/{kramdown@2.4.0.rbi → kramdown@2.5.1.rbi} +316 -234
  45. data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +240 -0
  46. data/sorbet/rbi/gems/{logger@1.6.6.rbi → logger@1.7.0.rbi} +63 -40
  47. data/sorbet/rbi/gems/{parser@3.3.7.1.rbi → parser@3.3.9.0.rbi} +303 -291
  48. data/sorbet/rbi/gems/{rack@3.1.9.rbi → rack@3.2.1.rbi} +712 -547
  49. data/sorbet/rbi/gems/{rake@13.2.1.rbi → rake@13.3.0.rbi} +238 -227
  50. data/sorbet/rbi/gems/{rbi@0.3.1.rbi → rbi@0.3.6.rbi} +1084 -2521
  51. data/sorbet/rbi/gems/{rbs@3.9.0.rbi → rbs@4.0.0.dev.4.rbi} +1336 -419
  52. data/sorbet/rbi/gems/{regexp_parser@2.10.0.rbi → regexp_parser@2.11.2.rbi} +1044 -956
  53. data/sorbet/rbi/gems/require-hooks@0.2.2.rbi +110 -0
  54. data/sorbet/rbi/gems/{rexml@3.4.1.rbi → rexml@3.4.2.rbi} +302 -292
  55. data/sorbet/rbi/gems/{rubocop-ast@1.38.0.rbi → rubocop-ast@1.46.0.rbi} +802 -1016
  56. data/sorbet/rbi/gems/{rubocop-minitest@0.36.0.rbi → rubocop-minitest@0.38.2.rbi} +129 -93
  57. data/sorbet/rbi/gems/{rubocop-rails@2.29.1.rbi → rubocop-rails@2.33.3.rbi} +575 -230
  58. data/sorbet/rbi/gems/{rubocop-shopify@2.15.1.rbi → rubocop-shopify@2.17.1.rbi} +1 -0
  59. data/sorbet/rbi/gems/{rubocop-sorbet@0.8.7.rbi → rubocop-sorbet@0.10.5.rbi} +761 -83
  60. data/sorbet/rbi/gems/{rubocop@1.71.2.rbi → rubocop@1.80.1.rbi} +6543 -3097
  61. data/sorbet/rbi/gems/{spoom@1.6.1.rbi → spoom@1.7.6.rbi} +1179 -2621
  62. data/sorbet/rbi/gems/{tapioca@0.16.11.rbi → tapioca@0.17.7.rbi} +623 -745
  63. data/sorbet/rbi/gems/{thor@1.3.2.rbi → thor@1.4.0.rbi} +88 -67
  64. data/sorbet/rbi/gems/{unicode-display_width@3.1.4.rbi → unicode-display_width@3.1.5.rbi} +5 -5
  65. data/sorbet/rbi/gems/{vcr@6.3.1.rbi → vcr@6.3.1-ce35c236fe48899f02ddf780973b44cdb756c0ee.rbi} +140 -123
  66. metadata +42 -38
  67. data/sorbet/rbi/gems/bigdecimal@3.1.9.rbi +0 -78
  68. /data/sorbet/rbi/gems/{connection_pool@2.5.0.rbi → connection_pool@2.5.3.rbi} +0 -0
  69. /data/sorbet/rbi/gems/{language_server-protocol@3.17.0.4.rbi → language_server-protocol@3.17.0.5.rbi} +0 -0
  70. /data/sorbet/rbi/gems/{parallel@1.26.3.rbi → parallel@1.27.0.rbi} +0 -0
@@ -192,7 +192,7 @@ class RuboCop::AST::ArrayNode < ::RuboCop::AST::Node
192
192
  #
193
193
  # @return [Array<Node>] an array of value nodes
194
194
  #
195
- # source://ast/2.4.2/lib/ast/node.rb#56
195
+ # source://rubocop-ast//lib/rubocop/ast/node/array_node.rb#18
196
196
  def values; end
197
197
  end
198
198
 
@@ -216,7 +216,7 @@ class RuboCop::AST::AsgnNode < ::RuboCop::AST::Node
216
216
  #
217
217
  # @return [Symbol] the name of the variable being assigned
218
218
  #
219
- # source://rubocop-ast//lib/rubocop/ast/node/asgn_node.rb#12
219
+ # source://rubocop-ast//lib/rubocop/ast/node/asgn_node.rb#15
220
220
  def lhs; end
221
221
 
222
222
  # The name of the variable being assigned as a symbol.
@@ -230,12 +230,12 @@ class RuboCop::AST::AsgnNode < ::RuboCop::AST::Node
230
230
  #
231
231
  # @return [Node] the expression being assigned.
232
232
  #
233
- # source://rubocop-ast//lib/rubocop/ast/node/asgn_node.rb#20
233
+ # source://rubocop-ast//lib/rubocop/ast/node/asgn_node.rb#23
234
234
  def rhs; end
235
235
  end
236
236
 
237
237
  # Common functionality for primitive literal nodes: `sym`, `str`,
238
- # `int`, `float`, `rational`...
238
+ # `int`, `float`, `rational`, `complex`...
239
239
  #
240
240
  # source://rubocop-ast//lib/rubocop/ast/node/mixin/basic_literal_node.rb#7
241
241
  module RuboCop::AST::BasicLiteralNode
@@ -294,7 +294,7 @@ class RuboCop::AST::BlockNode < ::RuboCop::AST::Node
294
294
  #
295
295
  # @return [Array<Node>]
296
296
  #
297
- # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#60
297
+ # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#62
298
298
  def argument_list; end
299
299
 
300
300
  # The arguments of this block.
@@ -304,42 +304,42 @@ class RuboCop::AST::BlockNode < ::RuboCop::AST::Node
304
304
  #
305
305
  # @return [Array<Node>]
306
306
  #
307
- # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#48
307
+ # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#50
308
308
  def arguments; end
309
309
 
310
310
  # Checks whether this block takes any arguments.
311
311
  #
312
312
  # @return [Boolean] whether this `block` node takes any arguments
313
313
  #
314
- # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#85
314
+ # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#89
315
315
  def arguments?; end
316
316
 
317
317
  # The body of this block.
318
318
  #
319
319
  # @return [Node, nil] the body of the `block` node or `nil`
320
320
  #
321
- # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#71
321
+ # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#75
322
322
  def body; end
323
323
 
324
324
  # Checks whether the `block` literal is delimited by curly braces.
325
325
  #
326
326
  # @return [Boolean] whether the `block` literal is enclosed in braces
327
327
  #
328
- # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#92
328
+ # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#96
329
329
  def braces?; end
330
330
 
331
331
  # The closing delimiter for this `block` literal.
332
332
  #
333
333
  # @return [String] the closing delimiter for the `block` literal
334
334
  #
335
- # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#120
335
+ # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#124
336
336
  def closing_delimiter; end
337
337
 
338
338
  # The delimiters for this `block` literal.
339
339
  #
340
340
  # @return [Array<String>] the delimiters for the `block` literal
341
341
  #
342
- # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#106
342
+ # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#110
343
343
  def delimiters; end
344
344
 
345
345
  # A shorthand for getting the first argument of this block.
@@ -348,21 +348,21 @@ class RuboCop::AST::BlockNode < ::RuboCop::AST::Node
348
348
  # @return [Node, nil] the first argument of this block,
349
349
  # or `nil` if there are no arguments
350
350
  #
351
- # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#29
351
+ # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#31
352
352
  def first_argument; end
353
353
 
354
354
  # Checks whether the `block` literal is delimited by `do`-`end` keywords.
355
355
  #
356
356
  # @return [Boolean] whether the `block` literal is enclosed in `do`-`end`
357
357
  #
358
- # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#99
358
+ # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#103
359
359
  def keywords?; end
360
360
 
361
361
  # Checks whether this `block` literal belongs to a lambda.
362
362
  #
363
363
  # @return [Boolean] whether the `block` literal belongs to a lambda
364
364
  #
365
- # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#143
365
+ # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#147
366
366
  def lambda?; end
367
367
 
368
368
  # A shorthand for getting the last argument of this block.
@@ -371,14 +371,14 @@ class RuboCop::AST::BlockNode < ::RuboCop::AST::Node
371
371
  # @return [Node, nil] the last argument of this block,
372
372
  # or `nil` if there are no arguments
373
373
  #
374
- # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#38
374
+ # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#40
375
375
  def last_argument; end
376
376
 
377
377
  # The name of the dispatched method as a symbol.
378
378
  #
379
379
  # @return [Symbol] the name of the dispatched method
380
380
  #
381
- # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#78
381
+ # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#82
382
382
  def method_name; end
383
383
 
384
384
  # Checks whether this is a multiline block. This is overridden here
@@ -386,21 +386,21 @@ class RuboCop::AST::BlockNode < ::RuboCop::AST::Node
386
386
  #
387
387
  # @return [Boolean] whether the `block` literal is on a several lines
388
388
  #
389
- # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#136
389
+ # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#140
390
390
  def multiline?; end
391
391
 
392
392
  # The opening delimiter for this `block` literal.
393
393
  #
394
394
  # @return [String] the opening delimiter for the `block` literal
395
395
  #
396
- # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#113
396
+ # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#117
397
397
  def opening_delimiter; end
398
398
 
399
399
  # The `send` node associated with this block.
400
400
  #
401
401
  # @return [SendNode] the `send` node associated with the `block` node
402
402
  #
403
- # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#20
403
+ # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#22
404
404
  def send_node; end
405
405
 
406
406
  # Checks whether this is a single line block. This is overridden here
@@ -408,25 +408,26 @@ class RuboCop::AST::BlockNode < ::RuboCop::AST::Node
408
408
  #
409
409
  # @return [Boolean] whether the `block` literal is on a single line
410
410
  #
411
- # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#128
411
+ # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#132
412
412
  def single_line?; end
413
413
 
414
414
  # Checks whether this node body is a void context.
415
415
  #
416
416
  # @return [Boolean] whether the `block` node body is a void context
417
417
  #
418
- # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#150
418
+ # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#154
419
419
  def void_context?; end
420
420
 
421
421
  private
422
422
 
423
- # Numbered arguments of this `numblock`.
424
- #
425
- # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#157
423
+ # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#160
426
424
  def numbered_arguments; end
427
425
  end
428
426
 
429
427
  # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#14
428
+ RuboCop::AST::BlockNode::IT_BLOCK_ARGUMENT = T.let(T.unsafe(nil), Array)
429
+
430
+ # source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#16
430
431
  RuboCop::AST::BlockNode::VOID_CONTEXT_METHODS = T.let(T.unsafe(nil), Array)
431
432
 
432
433
  # A node extension for `break` nodes. This will be used in place of a
@@ -451,31 +452,61 @@ end
451
452
  # parser = Parser::Ruby25.new(builder)
452
453
  # root_node = parser.parse(buffer)
453
454
  #
454
- # source://rubocop-ast//lib/rubocop/ast/builder.rb#16
455
+ # source://rubocop-ast//lib/rubocop/ast/builder.rb#129
455
456
  class RuboCop::AST::Builder < ::Parser::Builders::Default
457
+ include ::RuboCop::AST::BuilderExtensions
458
+ end
459
+
460
+ # Common functionality between the parser and prism builder
461
+ #
462
+ # @api private
463
+ #
464
+ # source://rubocop-ast//lib/rubocop/ast/builder.rb#7
465
+ module RuboCop::AST::BuilderExtensions
456
466
  # Generates {Node} from the given information.
457
467
  #
468
+ # @api private
458
469
  # @return [Node] the generated node
459
470
  #
460
- # source://rubocop-ast//lib/rubocop/ast/builder.rb#106
471
+ # source://rubocop-ast//lib/rubocop/ast/builder.rb#101
461
472
  def n(type, children, source_map); end
462
473
 
463
- # TODO: Figure out what to do about literal encoding handling...
474
+ # Overwrite the base method to allow strings with invalid encoding
464
475
  # More details here https://github.com/whitequark/parser/issues/283
465
476
  #
466
- # source://rubocop-ast//lib/rubocop/ast/builder.rb#112
477
+ # @api private
478
+ #
479
+ # source://rubocop-ast//lib/rubocop/ast/builder.rb#107
467
480
  def string_value(token); end
468
481
 
469
482
  private
470
483
 
471
- # source://rubocop-ast//lib/rubocop/ast/builder.rb#118
484
+ # @api private
485
+ #
486
+ # source://rubocop-ast//lib/rubocop/ast/builder.rb#113
472
487
  def node_klass(type); end
488
+
489
+ class << self
490
+ # @api private
491
+ # @private
492
+ #
493
+ # source://rubocop-ast//lib/rubocop/ast/builder.rb#8
494
+ def included(base); end
495
+ end
473
496
  end
474
497
 
475
498
  # @api private
476
499
  #
477
- # source://rubocop-ast//lib/rubocop/ast/builder.rb#21
478
- RuboCop::AST::Builder::NODE_MAP = T.let(T.unsafe(nil), Hash)
500
+ # source://rubocop-ast//lib/rubocop/ast/builder.rb#14
501
+ RuboCop::AST::BuilderExtensions::NODE_MAP = T.let(T.unsafe(nil), Hash)
502
+
503
+ # A parser builder, based on the one provided by prism,
504
+ # which is capable of emitting AST for more recent Rubies.
505
+ #
506
+ # source://rubocop-ast//lib/rubocop/ast/builder_prism.rb#7
507
+ class RuboCop::AST::BuilderPrism < ::Prism::Translation::Parser::Builder
508
+ include ::RuboCop::AST::BuilderExtensions
509
+ end
479
510
 
480
511
  # A node extension for `case_match` nodes. This will be used in place of
481
512
  # a plain node when the builder constructs the AST, making its methods
@@ -597,17 +628,17 @@ class RuboCop::AST::CasgnNode < ::RuboCop::AST::Node
597
628
  # source://rubocop-ast//lib/rubocop/ast/node/casgn_node.rb#17
598
629
  def expression; end
599
630
 
600
- # source://rubocop-ast//lib/rubocop/ast/node/mixin/constant_node.rb#14
631
+ # source://rubocop-ast//lib/rubocop/ast/node/casgn_node.rb#12
601
632
  def lhs; end
602
633
 
603
- # source://rubocop-ast//lib/rubocop/ast/node/mixin/constant_node.rb#14
634
+ # source://rubocop-ast//lib/rubocop/ast/node/casgn_node.rb#11
604
635
  def name; end
605
636
 
606
637
  # The expression being assigned to the variable.
607
638
  #
608
639
  # @return [Node] the expression being assigned.
609
640
  #
610
- # source://rubocop-ast//lib/rubocop/ast/node/casgn_node.rb#17
641
+ # source://rubocop-ast//lib/rubocop/ast/node/casgn_node.rb#20
611
642
  def rhs; end
612
643
  end
613
644
 
@@ -645,415 +676,428 @@ end
645
676
  module RuboCop::AST::CollectionNode
646
677
  extend ::RuboCop::SimpleForwardable
647
678
 
648
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
679
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
649
680
  def &(*_arg0, **_arg1, &_arg2); end
650
681
 
651
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
682
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
652
683
  def *(*_arg0, **_arg1, &_arg2); end
653
684
 
654
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
685
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
655
686
  def +(*_arg0, **_arg1, &_arg2); end
656
687
 
657
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
688
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
658
689
  def -(*_arg0, **_arg1, &_arg2); end
659
690
 
660
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
691
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
661
692
  def <<(*_arg0, **_arg1, &_arg2); end
662
693
 
663
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
694
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
664
695
  def [](*_arg0, **_arg1, &_arg2); end
665
696
 
666
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
697
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
667
698
  def []=(*_arg0, **_arg1, &_arg2); end
668
699
 
669
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
700
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
670
701
  def all?(*_arg0, **_arg1, &_arg2); end
671
702
 
672
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
703
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
673
704
  def any?(*_arg0, **_arg1, &_arg2); end
674
705
 
675
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
706
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
676
707
  def append(*_arg0, **_arg1, &_arg2); end
677
708
 
678
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
709
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
679
710
  def assoc(*_arg0, **_arg1, &_arg2); end
680
711
 
681
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
712
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
682
713
  def at(*_arg0, **_arg1, &_arg2); end
683
714
 
684
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
715
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
685
716
  def bsearch(*_arg0, **_arg1, &_arg2); end
686
717
 
687
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
718
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
688
719
  def bsearch_index(*_arg0, **_arg1, &_arg2); end
689
720
 
690
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
721
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
691
722
  def chain(*_arg0, **_arg1, &_arg2); end
692
723
 
693
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
724
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
694
725
  def chunk(*_arg0, **_arg1, &_arg2); end
695
726
 
696
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
727
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
697
728
  def chunk_while(*_arg0, **_arg1, &_arg2); end
698
729
 
699
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
730
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
700
731
  def clear(*_arg0, **_arg1, &_arg2); end
701
732
 
702
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
733
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
703
734
  def collect(*_arg0, **_arg1, &_arg2); end
704
735
 
705
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
736
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
706
737
  def collect!(*_arg0, **_arg1, &_arg2); end
707
738
 
708
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
739
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
709
740
  def collect_concat(*_arg0, **_arg1, &_arg2); end
710
741
 
711
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
742
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
712
743
  def combination(*_arg0, **_arg1, &_arg2); end
713
744
 
714
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
745
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
715
746
  def compact(*_arg0, **_arg1, &_arg2); end
716
747
 
717
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
748
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
718
749
  def compact!(*_arg0, **_arg1, &_arg2); end
719
750
 
720
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
751
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
721
752
  def concat(*_arg0, **_arg1, &_arg2); end
722
753
 
723
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
754
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
724
755
  def count(*_arg0, **_arg1, &_arg2); end
725
756
 
726
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
757
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
727
758
  def cycle(*_arg0, **_arg1, &_arg2); end
728
759
 
729
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
760
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
730
761
  def deconstruct(*_arg0, **_arg1, &_arg2); end
731
762
 
732
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
763
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
733
764
  def delete(*_arg0, **_arg1, &_arg2); end
734
765
 
735
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
766
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
736
767
  def delete_at(*_arg0, **_arg1, &_arg2); end
737
768
 
738
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
769
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
739
770
  def delete_if(*_arg0, **_arg1, &_arg2); end
740
771
 
741
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
772
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
742
773
  def detect(*_arg0, **_arg1, &_arg2); end
743
774
 
744
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
775
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
745
776
  def difference(*_arg0, **_arg1, &_arg2); end
746
777
 
747
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
778
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
748
779
  def dig(*_arg0, **_arg1, &_arg2); end
749
780
 
750
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
781
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
751
782
  def drop(*_arg0, **_arg1, &_arg2); end
752
783
 
753
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
784
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
754
785
  def drop_while(*_arg0, **_arg1, &_arg2); end
755
786
 
756
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
787
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
757
788
  def each(*_arg0, **_arg1, &_arg2); end
758
789
 
759
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
790
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
760
791
  def each_cons(*_arg0, **_arg1, &_arg2); end
761
792
 
762
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
793
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
763
794
  def each_entry(*_arg0, **_arg1, &_arg2); end
764
795
 
765
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
796
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
766
797
  def each_index(*_arg0, **_arg1, &_arg2); end
767
798
 
768
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
799
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
769
800
  def each_slice(*_arg0, **_arg1, &_arg2); end
770
801
 
771
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
802
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
772
803
  def each_with_index(*_arg0, **_arg1, &_arg2); end
773
804
 
774
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
805
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
775
806
  def each_with_object(*_arg0, **_arg1, &_arg2); end
776
807
 
777
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
808
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
778
809
  def empty?(*_arg0, **_arg1, &_arg2); end
779
810
 
780
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
811
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
781
812
  def entries(*_arg0, **_arg1, &_arg2); end
782
813
 
783
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
814
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
784
815
  def fetch(*_arg0, **_arg1, &_arg2); end
785
816
 
786
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
817
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
818
+ def fetch_values(*_arg0, **_arg1, &_arg2); end
819
+
820
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
787
821
  def fill(*_arg0, **_arg1, &_arg2); end
788
822
 
789
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
823
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
790
824
  def filter(*_arg0, **_arg1, &_arg2); end
791
825
 
792
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
826
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
793
827
  def filter!(*_arg0, **_arg1, &_arg2); end
794
828
 
795
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
829
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
796
830
  def filter_map(*_arg0, **_arg1, &_arg2); end
797
831
 
798
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
832
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
799
833
  def find(*_arg0, **_arg1, &_arg2); end
800
834
 
801
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
835
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
802
836
  def find_all(*_arg0, **_arg1, &_arg2); end
803
837
 
804
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
838
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
805
839
  def find_index(*_arg0, **_arg1, &_arg2); end
806
840
 
807
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
841
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
808
842
  def first(*_arg0, **_arg1, &_arg2); end
809
843
 
810
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
844
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
811
845
  def flat_map(*_arg0, **_arg1, &_arg2); end
812
846
 
813
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
847
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
814
848
  def flatten(*_arg0, **_arg1, &_arg2); end
815
849
 
816
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
850
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
817
851
  def flatten!(*_arg0, **_arg1, &_arg2); end
818
852
 
819
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
853
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
820
854
  def grep(*_arg0, **_arg1, &_arg2); end
821
855
 
822
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
856
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
823
857
  def grep_v(*_arg0, **_arg1, &_arg2); end
824
858
 
825
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
859
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
826
860
  def group_by(*_arg0, **_arg1, &_arg2); end
827
861
 
828
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
862
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
829
863
  def include?(*_arg0, **_arg1, &_arg2); end
830
864
 
831
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
865
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
832
866
  def index(*_arg0, **_arg1, &_arg2); end
833
867
 
834
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
868
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
835
869
  def inject(*_arg0, **_arg1, &_arg2); end
836
870
 
837
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
871
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
838
872
  def insert(*_arg0, **_arg1, &_arg2); end
839
873
 
840
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
874
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
841
875
  def intersect?(*_arg0, **_arg1, &_arg2); end
842
876
 
843
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
877
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
844
878
  def intersection(*_arg0, **_arg1, &_arg2); end
845
879
 
846
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
880
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
847
881
  def join(*_arg0, **_arg1, &_arg2); end
848
882
 
849
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
883
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
850
884
  def keep_if(*_arg0, **_arg1, &_arg2); end
851
885
 
852
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
886
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
853
887
  def last(*_arg0, **_arg1, &_arg2); end
854
888
 
855
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
889
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
856
890
  def lazy(*_arg0, **_arg1, &_arg2); end
857
891
 
858
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
892
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
859
893
  def length(*_arg0, **_arg1, &_arg2); end
860
894
 
861
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
895
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
862
896
  def map(*_arg0, **_arg1, &_arg2); end
863
897
 
864
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
898
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
865
899
  def map!(*_arg0, **_arg1, &_arg2); end
866
900
 
867
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
901
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
868
902
  def max(*_arg0, **_arg1, &_arg2); end
869
903
 
870
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
904
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
871
905
  def max_by(*_arg0, **_arg1, &_arg2); end
872
906
 
873
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
907
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
874
908
  def member?(*_arg0, **_arg1, &_arg2); end
875
909
 
876
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
910
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
877
911
  def min(*_arg0, **_arg1, &_arg2); end
878
912
 
879
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
913
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
880
914
  def min_by(*_arg0, **_arg1, &_arg2); end
881
915
 
882
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
916
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
883
917
  def minmax(*_arg0, **_arg1, &_arg2); end
884
918
 
885
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
919
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
886
920
  def minmax_by(*_arg0, **_arg1, &_arg2); end
887
921
 
888
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
922
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
889
923
  def none?(*_arg0, **_arg1, &_arg2); end
890
924
 
891
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
925
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
892
926
  def one?(*_arg0, **_arg1, &_arg2); end
893
927
 
894
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
928
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
895
929
  def pack(*_arg0, **_arg1, &_arg2); end
896
930
 
897
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
931
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
898
932
  def partition(*_arg0, **_arg1, &_arg2); end
899
933
 
900
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
934
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
901
935
  def permutation(*_arg0, **_arg1, &_arg2); end
902
936
 
903
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
937
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
904
938
  def place(*_arg0, **_arg1, &_arg2); end
905
939
 
906
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
940
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
907
941
  def pop(*_arg0, **_arg1, &_arg2); end
908
942
 
909
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
943
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
910
944
  def prepend(*_arg0, **_arg1, &_arg2); end
911
945
 
912
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
946
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
913
947
  def product(*_arg0, **_arg1, &_arg2); end
914
948
 
915
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
949
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
916
950
  def push(*_arg0, **_arg1, &_arg2); end
917
951
 
918
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
952
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
919
953
  def rassoc(*_arg0, **_arg1, &_arg2); end
920
954
 
921
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
955
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
922
956
  def reduce(*_arg0, **_arg1, &_arg2); end
923
957
 
924
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
958
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
925
959
  def reject(*_arg0, **_arg1, &_arg2); end
926
960
 
927
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
961
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
928
962
  def reject!(*_arg0, **_arg1, &_arg2); end
929
963
 
930
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
964
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
931
965
  def repeated_combination(*_arg0, **_arg1, &_arg2); end
932
966
 
933
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
967
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
934
968
  def repeated_permutation(*_arg0, **_arg1, &_arg2); end
935
969
 
936
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
970
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
937
971
  def replace(*_arg0, **_arg1, &_arg2); end
938
972
 
939
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
973
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
940
974
  def reverse(*_arg0, **_arg1, &_arg2); end
941
975
 
942
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
976
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
943
977
  def reverse!(*_arg0, **_arg1, &_arg2); end
944
978
 
945
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
979
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
946
980
  def reverse_each(*_arg0, **_arg1, &_arg2); end
947
981
 
948
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
982
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
949
983
  def rindex(*_arg0, **_arg1, &_arg2); end
950
984
 
951
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
985
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
952
986
  def rotate(*_arg0, **_arg1, &_arg2); end
953
987
 
954
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
988
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
955
989
  def rotate!(*_arg0, **_arg1, &_arg2); end
956
990
 
957
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
991
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
958
992
  def sample(*_arg0, **_arg1, &_arg2); end
959
993
 
960
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
994
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
961
995
  def select(*_arg0, **_arg1, &_arg2); end
962
996
 
963
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
997
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
964
998
  def select!(*_arg0, **_arg1, &_arg2); end
965
999
 
966
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
1000
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
967
1001
  def shelljoin(*_arg0, **_arg1, &_arg2); end
968
1002
 
969
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
1003
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
970
1004
  def shift(*_arg0, **_arg1, &_arg2); end
971
1005
 
972
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
1006
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
973
1007
  def shuffle(*_arg0, **_arg1, &_arg2); end
974
1008
 
975
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
1009
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
976
1010
  def shuffle!(*_arg0, **_arg1, &_arg2); end
977
1011
 
978
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
1012
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
979
1013
  def size(*_arg0, **_arg1, &_arg2); end
980
1014
 
981
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
1015
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
982
1016
  def slice(*_arg0, **_arg1, &_arg2); end
983
1017
 
984
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
1018
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
985
1019
  def slice!(*_arg0, **_arg1, &_arg2); end
986
1020
 
987
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
1021
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
988
1022
  def slice_after(*_arg0, **_arg1, &_arg2); end
989
1023
 
990
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
1024
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
991
1025
  def slice_before(*_arg0, **_arg1, &_arg2); end
992
1026
 
993
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
1027
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
994
1028
  def slice_when(*_arg0, **_arg1, &_arg2); end
995
1029
 
996
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
1030
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
997
1031
  def sort(*_arg0, **_arg1, &_arg2); end
998
1032
 
999
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
1033
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
1000
1034
  def sort!(*_arg0, **_arg1, &_arg2); end
1001
1035
 
1002
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
1036
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
1003
1037
  def sort_by(*_arg0, **_arg1, &_arg2); end
1004
1038
 
1005
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
1039
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
1006
1040
  def sort_by!(*_arg0, **_arg1, &_arg2); end
1007
1041
 
1008
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
1042
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
1009
1043
  def sum(*_arg0, **_arg1, &_arg2); end
1010
1044
 
1011
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
1045
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
1012
1046
  def take(*_arg0, **_arg1, &_arg2); end
1013
1047
 
1014
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
1048
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
1015
1049
  def take_while(*_arg0, **_arg1, &_arg2); end
1016
1050
 
1017
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
1051
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
1018
1052
  def tally(*_arg0, **_arg1, &_arg2); end
1019
1053
 
1020
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
1054
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
1021
1055
  def to_ary(*_arg0, **_arg1, &_arg2); end
1022
1056
 
1023
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
1057
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
1024
1058
  def to_h(*_arg0, **_arg1, &_arg2); end
1025
1059
 
1026
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
1060
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
1027
1061
  def to_set(*_arg0, **_arg1, &_arg2); end
1028
1062
 
1029
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
1063
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
1030
1064
  def transpose(*_arg0, **_arg1, &_arg2); end
1031
1065
 
1032
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
1066
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
1033
1067
  def union(*_arg0, **_arg1, &_arg2); end
1034
1068
 
1035
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
1069
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
1036
1070
  def uniq(*_arg0, **_arg1, &_arg2); end
1037
1071
 
1038
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
1072
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
1039
1073
  def uniq!(*_arg0, **_arg1, &_arg2); end
1040
1074
 
1041
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
1075
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
1042
1076
  def unshift(*_arg0, **_arg1, &_arg2); end
1043
1077
 
1044
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
1078
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
1045
1079
  def values_at(*_arg0, **_arg1, &_arg2); end
1046
1080
 
1047
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
1081
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
1048
1082
  def zip(*_arg0, **_arg1, &_arg2); end
1049
1083
 
1050
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
1084
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#13
1051
1085
  def |(*_arg0, **_arg1, &_arg2); end
1052
1086
  end
1053
1087
 
1054
1088
  # source://rubocop-ast//lib/rubocop/ast/node/mixin/collection_node.rb#9
1055
1089
  RuboCop::AST::CollectionNode::ARRAY_METHODS = T.let(T.unsafe(nil), Array)
1056
1090
 
1091
+ # A node extension for `complex` nodes. This will be used in place of a plain
1092
+ # node when the builder constructs the AST, making its methods available to
1093
+ # all `complex` nodes within RuboCop.
1094
+ #
1095
+ # source://rubocop-ast//lib/rubocop/ast/node/complex_node.rb#8
1096
+ class RuboCop::AST::ComplexNode < ::RuboCop::AST::Node
1097
+ include ::RuboCop::AST::BasicLiteralNode
1098
+ include ::RuboCop::AST::NumericNode
1099
+ end
1100
+
1057
1101
  # Common functionality for nodes that have conditions:
1058
1102
  # `if`, `while`, `until`, `case`.
1059
1103
  # This currently doesn't include `when` nodes, because they have multiple
@@ -1116,7 +1160,7 @@ module RuboCop::AST::ConstantNode
1116
1160
  # Note: some classes might have uppercase in which case this method
1117
1161
  # returns false
1118
1162
  #
1119
- # source://rubocop-ast//lib/rubocop/ast/node/mixin/constant_node.rb#21
1163
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/constant_node.rb#24
1120
1164
  def class_name?; end
1121
1165
 
1122
1166
  # Yield nodes for the namespace
@@ -1237,7 +1281,7 @@ class RuboCop::AST::DefinedNode < ::RuboCop::AST::Node
1237
1281
  include ::RuboCop::AST::MethodIdentifierPredicates
1238
1282
  include ::RuboCop::AST::MethodDispatchNode
1239
1283
 
1240
- # source://ast/2.4.2/lib/ast/node.rb#56
1284
+ # source://rubocop-ast//lib/rubocop/ast/node/defined_node.rb#16
1241
1285
  def arguments; end
1242
1286
 
1243
1287
  # source://rubocop-ast//lib/rubocop/ast/node/defined_node.rb#12
@@ -1337,21 +1381,21 @@ class RuboCop::AST::EnsureNode < ::RuboCop::AST::Node
1337
1381
  # @deprecated Use `EnsureNode#branch`
1338
1382
  # @return [Node, nil] The body of the `ensure`.
1339
1383
  #
1340
- # source://rubocop-ast//lib/rubocop/ast/node/ensure_node.rb#13
1384
+ # source://rubocop-ast//lib/rubocop/ast/node/ensure_node.rb#16
1341
1385
  def body; end
1342
1386
 
1343
1387
  # Returns an the ensure branch in the exception handling statement.
1344
1388
  #
1345
1389
  # @return [Node, nil] the body of the ensure branch.
1346
1390
  #
1347
- # source://rubocop-ast//lib/rubocop/ast/node/ensure_node.rb#20
1391
+ # source://rubocop-ast//lib/rubocop/ast/node/ensure_node.rb#33
1348
1392
  def branch; end
1349
1393
 
1350
1394
  # Returns the `rescue` node of the `ensure`, if present.
1351
1395
  #
1352
1396
  # @return [Node, nil] The `rescue` node.
1353
1397
  #
1354
- # source://rubocop-ast//lib/rubocop/ast/node/ensure_node.rb#27
1398
+ # source://rubocop-ast//lib/rubocop/ast/node/ensure_node.rb#40
1355
1399
  def rescue_node; end
1356
1400
 
1357
1401
  # Checks whether this node body is a void context.
@@ -1359,10 +1403,13 @@ class RuboCop::AST::EnsureNode < ::RuboCop::AST::Node
1359
1403
  #
1360
1404
  # @return [true] whether the `ensure` node body is a void context
1361
1405
  #
1362
- # source://rubocop-ast//lib/rubocop/ast/node/ensure_node.rb#35
1406
+ # source://rubocop-ast//lib/rubocop/ast/node/ensure_node.rb#48
1363
1407
  def void_context?; end
1364
1408
  end
1365
1409
 
1410
+ # source://rubocop-ast//lib/rubocop/ast/node/ensure_node.rb#9
1411
+ RuboCop::AST::EnsureNode::DEPRECATION_WARNING_LOCATION_CACHE = T.let(T.unsafe(nil), Array)
1412
+
1366
1413
  # source://rubocop-ast//lib/rubocop/ast/ext/range.rb#5
1367
1414
  module RuboCop::AST::Ext; end
1368
1415
 
@@ -1557,7 +1604,7 @@ class RuboCop::AST::HashElementNode::HashElementDelta
1557
1604
 
1558
1605
  private
1559
1606
 
1560
- # source://rubocop-ast//lib/rubocop/ast/node/mixin/hash_element_node.rb#106
1607
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/hash_element_node.rb#108
1561
1608
  def delta(first, second, alignment = T.unsafe(nil)); end
1562
1609
 
1563
1610
  # Returns the value of attribute first.
@@ -1567,7 +1614,7 @@ class RuboCop::AST::HashElementNode::HashElementDelta
1567
1614
 
1568
1615
  # @return [Boolean]
1569
1616
  #
1570
- # source://rubocop-ast//lib/rubocop/ast/node/mixin/hash_element_node.rb#117
1617
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/hash_element_node.rb#119
1571
1618
  def keyword_splat?; end
1572
1619
 
1573
1620
  # Returns the value of attribute second.
@@ -2162,7 +2209,7 @@ class RuboCop::AST::MasgnNode < ::RuboCop::AST::Node
2162
2209
  #
2163
2210
  # @return [Node] the right hand side of a multiple assignment.
2164
2211
  #
2165
- # source://rubocop-ast//lib/rubocop/ast/node/masgn_node.rb#39
2212
+ # source://rubocop-ast//lib/rubocop/ast/node/masgn_node.rb#42
2166
2213
  def rhs; end
2167
2214
 
2168
2215
  # In contrast to `expression`, `values` always returns a Ruby array
@@ -2201,7 +2248,7 @@ module RuboCop::AST::MethodDispatchNode
2201
2248
  # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#64
2202
2249
  def access_modifier?; end
2203
2250
 
2204
- # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#273
2251
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#272
2205
2252
  def adjacent_def_modifier?(param0 = T.unsafe(nil)); end
2206
2253
 
2207
2254
  # Checks whether this node is an arithmetic operation
@@ -2216,7 +2263,7 @@ module RuboCop::AST::MethodDispatchNode
2216
2263
  #
2217
2264
  # @return [Boolean] whether the dispatched method is a setter
2218
2265
  #
2219
- # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#107
2266
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#110
2220
2267
  def assignment?; end
2221
2268
 
2222
2269
  # Checks whether the dispatched method is a bare access modifier that
@@ -2228,7 +2275,7 @@ module RuboCop::AST::MethodDispatchNode
2228
2275
  # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#73
2229
2276
  def bare_access_modifier?; end
2230
2277
 
2231
- # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#278
2278
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#277
2232
2279
  def bare_access_modifier_declaration?(param0 = T.unsafe(nil)); end
2233
2280
 
2234
2281
  # Checks whether this is a binary operation.
@@ -2238,7 +2285,7 @@ module RuboCop::AST::MethodDispatchNode
2238
2285
  # foo + bar
2239
2286
  # @return [Boolean] whether this method is a binary operation
2240
2287
  #
2241
- # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#248
2288
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#247
2242
2289
  def binary_operation?; end
2243
2290
 
2244
2291
  # Whether this method dispatch has an explicit block.
@@ -2248,10 +2295,10 @@ module RuboCop::AST::MethodDispatchNode
2248
2295
  # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#167
2249
2296
  def block_literal?; end
2250
2297
 
2251
- # The `block` or `numblock` node associated with this method dispatch, if any.
2298
+ # The `block`, `numblock`, or `itblock` node associated with this method dispatch, if any.
2252
2299
  #
2253
- # @return [BlockNode, nil] the `block` or `numblock` node associated with this method
2254
- # call or `nil`
2300
+ # @return [BlockNode, nil] the `block`, `numblock`, or `itblock` node associated with this
2301
+ # method call or `nil`
2255
2302
  #
2256
2303
  # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#46
2257
2304
  def block_node; end
@@ -2325,7 +2372,7 @@ module RuboCop::AST::MethodDispatchNode
2325
2372
  # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#160
2326
2373
  def implicit_call?; end
2327
2374
 
2328
- # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#257
2375
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#256
2329
2376
  def in_macro_scope?(param0 = T.unsafe(nil)); end
2330
2377
 
2331
2378
  # Checks whether this is a lambda. Some versions of parser parses
@@ -2333,7 +2380,7 @@ module RuboCop::AST::MethodDispatchNode
2333
2380
  #
2334
2381
  # @return [Boolean] whether this method is a lambda
2335
2382
  #
2336
- # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#213
2383
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#212
2337
2384
  def lambda?; end
2338
2385
 
2339
2386
  # Checks whether this is a lambda literal (stabby lambda.)
@@ -2343,7 +2390,7 @@ module RuboCop::AST::MethodDispatchNode
2343
2390
  # -> (foo) { bar }
2344
2391
  # @return [Boolean] whether this method is a lambda literal
2345
2392
  #
2346
- # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#224
2393
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#223
2347
2394
  def lambda_literal?; end
2348
2395
 
2349
2396
  # Checks whether the dispatched method is a macro method. A macro method
@@ -2372,7 +2419,7 @@ module RuboCop::AST::MethodDispatchNode
2372
2419
  # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#82
2373
2420
  def non_bare_access_modifier?; end
2374
2421
 
2375
- # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#283
2422
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#282
2376
2423
  def non_bare_access_modifier_declaration?(param0 = T.unsafe(nil)); end
2377
2424
 
2378
2425
  # The receiving node of the method dispatch.
@@ -2428,7 +2475,7 @@ module RuboCop::AST::MethodDispatchNode
2428
2475
  # -foo
2429
2476
  # @return [Boolean] whether this method is a unary operation
2430
2477
  #
2431
- # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#235
2478
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#234
2432
2479
  def unary_operation?; end
2433
2480
  end
2434
2481
 
@@ -2704,19 +2751,19 @@ class RuboCop::AST::Node < ::Parser::AST::Node
2704
2751
  # @return [Node] a new instance of Node
2705
2752
  # @see https://www.rubydoc.info/gems/ast/AST/Node:initialize
2706
2753
  #
2707
- # source://rubocop-ast//lib/rubocop/ast/node.rb#141
2754
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#148
2708
2755
  def initialize(type, children = T.unsafe(nil), properties = T.unsafe(nil)); end
2709
2756
 
2710
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
2757
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2711
2758
  def __ENCODING___type?; end
2712
2759
 
2713
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
2760
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2714
2761
  def __FILE___type?; end
2715
2762
 
2716
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
2763
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2717
2764
  def __LINE___type?; end
2718
2765
 
2719
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
2766
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2720
2767
  def alias_type?; end
2721
2768
 
2722
2769
  # Returns an array of ancestor nodes.
@@ -2724,178 +2771,188 @@ class RuboCop::AST::Node < ::Parser::AST::Node
2724
2771
  #
2725
2772
  # @return [Array<Node>] an array of ancestor nodes
2726
2773
  #
2727
- # source://rubocop-ast//lib/rubocop/ast/node.rb#306
2774
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#313
2728
2775
  def ancestors; end
2729
2776
 
2730
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
2777
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2731
2778
  def and_asgn_type?; end
2732
2779
 
2733
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
2780
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2734
2781
  def and_type?; end
2735
2782
 
2736
2783
  # @return [Boolean]
2737
2784
  #
2738
- # source://rubocop-ast//lib/rubocop/ast/node.rb#531
2785
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#542
2739
2786
  def any_block_type?; end
2740
2787
 
2741
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
2788
+ # @return [Boolean]
2789
+ #
2790
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#522
2791
+ def any_def_type?; end
2792
+
2793
+ # @return [Boolean]
2794
+ #
2795
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#546
2796
+ def any_match_pattern_type?; end
2797
+
2798
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2742
2799
  def arg_expr_type?; end
2743
2800
 
2744
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
2801
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2745
2802
  def arg_type?; end
2746
2803
 
2747
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
2804
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2748
2805
  def args_type?; end
2749
2806
 
2750
2807
  # @return [Boolean]
2751
2808
  #
2752
- # source://rubocop-ast//lib/rubocop/ast/node.rb#511
2809
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#518
2753
2810
  def argument?; end
2754
2811
 
2755
2812
  # @return [Boolean]
2756
2813
  #
2757
- # source://rubocop-ast//lib/rubocop/ast/node.rb#515
2814
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#526
2758
2815
  def argument_type?; end
2759
2816
 
2760
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
2817
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2761
2818
  def array_pattern_type?; end
2762
2819
 
2763
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
2820
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2764
2821
  def array_pattern_with_tail_type?; end
2765
2822
 
2766
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
2823
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2767
2824
  def array_type?; end
2768
2825
 
2769
2826
  # @return [Boolean]
2770
2827
  #
2771
- # source://rubocop-ast//lib/rubocop/ast/node.rb#463
2828
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#470
2772
2829
  def assignment?; end
2773
2830
 
2774
2831
  # Some cops treat the shovel operator as a kind of assignment.
2775
2832
  #
2776
- # source://rubocop-ast//lib/rubocop/ast/node.rb#413
2833
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#420
2777
2834
  def assignment_or_similar?(param0 = T.unsafe(nil)); end
2778
2835
 
2779
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
2836
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2780
2837
  def back_ref_type?; end
2781
2838
 
2782
2839
  # @return [Boolean]
2783
2840
  #
2784
- # source://rubocop-ast//lib/rubocop/ast/node.rb#467
2841
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#474
2785
2842
  def basic_conditional?; end
2786
2843
 
2787
2844
  # @return [Boolean]
2788
2845
  #
2789
- # source://rubocop-ast//lib/rubocop/ast/node.rb#421
2846
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#428
2790
2847
  def basic_literal?; end
2791
2848
 
2792
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
2849
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2793
2850
  def begin_type?; end
2794
2851
 
2795
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
2852
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2796
2853
  def block_pass_type?; end
2797
2854
 
2798
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
2855
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2799
2856
  def block_type?; end
2800
2857
 
2801
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
2858
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2802
2859
  def blockarg_expr_type?; end
2803
2860
 
2804
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
2861
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2805
2862
  def blockarg_type?; end
2806
2863
 
2807
2864
  # @return [Boolean]
2808
2865
  #
2809
- # source://rubocop-ast//lib/rubocop/ast/node.rb#519
2866
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#530
2810
2867
  def boolean_type?; end
2811
2868
 
2812
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
2869
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2813
2870
  def break_type?; end
2814
2871
 
2815
2872
  # @return [Boolean]
2816
2873
  #
2817
- # source://rubocop-ast//lib/rubocop/ast/node.rb#503
2874
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#510
2818
2875
  def call_type?; end
2819
2876
 
2820
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
2877
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2821
2878
  def case_match_type?; end
2822
2879
 
2823
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
2880
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2824
2881
  def case_type?; end
2825
2882
 
2826
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
2883
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2827
2884
  def casgn_type?; end
2828
2885
 
2829
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
2886
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2830
2887
  def cbase_type?; end
2831
2888
 
2832
2889
  # @return [Boolean]
2833
2890
  #
2834
- # source://rubocop-ast//lib/rubocop/ast/node.rb#507
2891
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#514
2835
2892
  def chained?; end
2836
2893
 
2837
- # source://rubocop-ast//lib/rubocop/ast/node.rb#579
2894
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#594
2838
2895
  def class_constructor?(param0 = T.unsafe(nil)); end
2839
2896
 
2840
- # source://rubocop-ast//lib/rubocop/ast/node.rb#597
2897
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#612
2841
2898
  def class_definition?(param0 = T.unsafe(nil)); end
2842
2899
 
2843
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
2900
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2844
2901
  def class_type?; end
2845
2902
 
2846
- # source://rubocop-ast//lib/rubocop/ast/node.rb#203
2903
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#210
2847
2904
  def complete!; end
2848
2905
 
2849
2906
  # @return [Boolean]
2850
2907
  #
2851
- # source://rubocop-ast//lib/rubocop/ast/node.rb#208
2908
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#215
2852
2909
  def complete?; end
2853
2910
 
2854
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
2911
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2855
2912
  def complex_type?; end
2856
2913
 
2857
2914
  # @return [Boolean]
2858
2915
  #
2859
- # source://rubocop-ast//lib/rubocop/ast/node.rb#471
2916
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#478
2860
2917
  def conditional?; end
2861
2918
 
2862
- # source://rubocop-ast//lib/rubocop/ast/node.rb#352
2919
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#359
2863
2920
  def const_name; end
2864
2921
 
2865
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
2922
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2866
2923
  def const_pattern_type?; end
2867
2924
 
2868
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
2925
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2869
2926
  def const_type?; end
2870
2927
 
2871
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
2928
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2872
2929
  def csend_type?; end
2873
2930
 
2874
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
2931
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2875
2932
  def cvar_type?; end
2876
2933
 
2877
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
2934
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2878
2935
  def cvasgn_type?; end
2879
2936
 
2880
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
2937
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2881
2938
  def def_type?; end
2882
2939
 
2883
- # source://rubocop-ast//lib/rubocop/ast/node.rb#372
2940
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#379
2884
2941
  def defined_module; end
2885
2942
 
2886
- # source://rubocop-ast//lib/rubocop/ast/node.rb#377
2943
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#384
2887
2944
  def defined_module_name; end
2888
2945
 
2889
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
2946
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2890
2947
  def defined_type?; end
2891
2948
 
2892
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
2949
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2893
2950
  def defs_type?; end
2894
2951
 
2895
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
2952
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2896
2953
  def dstr_type?; end
2897
2954
 
2898
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
2955
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2899
2956
  def dsym_type?; end
2900
2957
 
2901
2958
  # Calls the given block for each ancestor node from parent to root.
@@ -2908,163 +2965,169 @@ class RuboCop::AST::Node < ::Parser::AST::Node
2908
2965
  # @return [Enumerator] if no block is given
2909
2966
  # @yieldparam node [Node] each ancestor node
2910
2967
  #
2911
- # source://rubocop-ast//lib/rubocop/ast/node.rb#294
2968
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#301
2912
2969
  def each_ancestor(*types, &block); end
2913
2970
 
2914
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
2971
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2915
2972
  def eflipflop_type?; end
2916
2973
 
2917
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
2974
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2918
2975
  def empty_else_type?; end
2919
2976
 
2920
2977
  # @return [Boolean]
2921
2978
  #
2922
- # source://rubocop-ast//lib/rubocop/ast/node.rb#407
2979
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#414
2923
2980
  def empty_source?; end
2924
2981
 
2925
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
2982
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2926
2983
  def ensure_type?; end
2927
2984
 
2928
2985
  # @return [Boolean]
2929
2986
  #
2930
- # source://rubocop-ast//lib/rubocop/ast/node.rb#455
2987
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#462
2931
2988
  def equals_asgn?; end
2932
2989
 
2933
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
2990
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2934
2991
  def erange_type?; end
2935
2992
 
2936
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
2993
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2937
2994
  def false_type?; end
2938
2995
 
2939
2996
  # @return [Boolean]
2940
2997
  #
2941
- # source://rubocop-ast//lib/rubocop/ast/node.rb#429
2998
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#436
2942
2999
  def falsey_literal?; end
2943
3000
 
2944
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3001
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2945
3002
  def find_pattern_type?; end
2946
3003
 
2947
- # source://rubocop-ast//lib/rubocop/ast/node.rb#320
3004
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#327
2948
3005
  def first_line; end
2949
3006
 
2950
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3007
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2951
3008
  def float_type?; end
2952
3009
 
2953
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3010
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2954
3011
  def for_type?; end
2955
3012
 
2956
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3013
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2957
3014
  def forward_arg_type?; end
2958
3015
 
2959
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3016
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2960
3017
  def forward_args_type?; end
2961
3018
 
2962
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3019
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2963
3020
  def forwarded_args_type?; end
2964
3021
 
2965
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3022
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2966
3023
  def forwarded_kwrestarg_type?; end
2967
3024
 
2968
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3025
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2969
3026
  def forwarded_restarg_type?; end
2970
3027
 
2971
- # source://rubocop-ast//lib/rubocop/ast/node.rb#576
3028
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#591
2972
3029
  def global_const?(param0 = T.unsafe(nil), param1); end
2973
3030
 
2974
3031
  # @return [Boolean]
2975
3032
  #
2976
- # source://rubocop-ast//lib/rubocop/ast/node.rb#535
3033
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#550
2977
3034
  def guard_clause?; end
2978
3035
 
2979
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3036
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2980
3037
  def gvar_type?; end
2981
3038
 
2982
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3039
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2983
3040
  def gvasgn_type?; end
2984
3041
 
2985
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3042
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2986
3043
  def hash_pattern_type?; end
2987
3044
 
2988
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3045
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2989
3046
  def hash_type?; end
2990
3047
 
2991
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3048
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2992
3049
  def ident_type?; end
2993
3050
 
2994
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3051
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2995
3052
  def if_guard_type?; end
2996
3053
 
2997
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3054
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
2998
3055
  def if_type?; end
2999
3056
 
3000
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3057
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3001
3058
  def iflipflop_type?; end
3002
3059
 
3003
3060
  # @return [Boolean]
3004
3061
  #
3005
- # source://rubocop-ast//lib/rubocop/ast/node.rb#437
3062
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#444
3006
3063
  def immutable_literal?; end
3007
3064
 
3008
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3065
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3009
3066
  def in_match_type?; end
3010
3067
 
3011
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3068
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3012
3069
  def in_pattern_type?; end
3013
3070
 
3014
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3071
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3015
3072
  def index_type?; end
3016
3073
 
3017
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3074
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3018
3075
  def indexasgn_type?; end
3019
3076
 
3020
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3077
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3021
3078
  def int_type?; end
3022
3079
 
3023
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3080
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3024
3081
  def irange_type?; end
3025
3082
 
3026
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3083
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3084
+ def itarg_type?; end
3085
+
3086
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3087
+ def itblock_type?; end
3088
+
3089
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3027
3090
  def ivar_type?; end
3028
3091
 
3029
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3092
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3030
3093
  def ivasgn_type?; end
3031
3094
 
3032
3095
  # @return [Boolean]
3033
3096
  #
3034
- # source://rubocop-ast//lib/rubocop/ast/node.rb#484
3097
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#491
3035
3098
  def keyword?; end
3036
3099
 
3037
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3100
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3038
3101
  def kwarg_type?; end
3039
3102
 
3040
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3103
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3041
3104
  def kwargs_type?; end
3042
3105
 
3043
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3106
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3044
3107
  def kwbegin_type?; end
3045
3108
 
3046
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3109
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3047
3110
  def kwnilarg_type?; end
3048
3111
 
3049
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3112
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3050
3113
  def kwoptarg_type?; end
3051
3114
 
3052
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3115
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3053
3116
  def kwrestarg_type?; end
3054
3117
 
3055
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3118
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3056
3119
  def kwsplat_type?; end
3057
3120
 
3058
- # source://rubocop-ast//lib/rubocop/ast/node.rb#570
3121
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#585
3059
3122
  def lambda?(param0 = T.unsafe(nil)); end
3060
3123
 
3061
- # source://rubocop-ast//lib/rubocop/ast/node.rb#573
3124
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#588
3062
3125
  def lambda_or_proc?(param0 = T.unsafe(nil)); end
3063
3126
 
3064
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3127
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3065
3128
  def lambda_type?; end
3066
3129
 
3067
- # source://rubocop-ast//lib/rubocop/ast/node.rb#324
3130
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#331
3068
3131
  def last_line; end
3069
3132
 
3070
3133
  # Use is discouraged, this is a potentially slow method and can lead
@@ -3072,7 +3135,7 @@ class RuboCop::AST::Node < ::Parser::AST::Node
3072
3135
  #
3073
3136
  # @return [Node, nil] the left (aka previous) sibling
3074
3137
  #
3075
- # source://rubocop-ast//lib/rubocop/ast/node.rb#246
3138
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#253
3076
3139
  def left_sibling; end
3077
3140
 
3078
3141
  # Use is discouraged, this is a potentially slow method and can lead
@@ -3080,22 +3143,22 @@ class RuboCop::AST::Node < ::Parser::AST::Node
3080
3143
  #
3081
3144
  # @return [Array<Node>] the left (aka previous) siblings
3082
3145
  #
3083
- # source://rubocop-ast//lib/rubocop/ast/node.rb#256
3146
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#263
3084
3147
  def left_siblings; end
3085
3148
 
3086
- # source://rubocop-ast//lib/rubocop/ast/node.rb#328
3149
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#335
3087
3150
  def line_count; end
3088
3151
 
3089
3152
  # @return [Boolean]
3090
3153
  #
3091
- # source://rubocop-ast//lib/rubocop/ast/node.rb#417
3154
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#424
3092
3155
  def literal?; end
3093
3156
 
3094
3157
  # Shortcut to safely check if a location is present
3095
3158
  #
3096
3159
  # @return [Boolean]
3097
3160
  #
3098
- # source://rubocop-ast//lib/rubocop/ast/node.rb#543
3161
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#558
3099
3162
  def loc?(which_loc); end
3100
3163
 
3101
3164
  # Shortcut to safely test a particular location, even if
@@ -3103,86 +3166,86 @@ class RuboCop::AST::Node < ::Parser::AST::Node
3103
3166
  #
3104
3167
  # @return [Boolean]
3105
3168
  #
3106
- # source://rubocop-ast//lib/rubocop/ast/node.rb#551
3169
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#566
3107
3170
  def loc_is?(which_loc, str); end
3108
3171
 
3109
3172
  # NOTE: `loop { }` is a normal method call and thus not a loop keyword.
3110
3173
  #
3111
3174
  # @return [Boolean]
3112
3175
  #
3113
- # source://rubocop-ast//lib/rubocop/ast/node.rb#480
3176
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#487
3114
3177
  def loop_keyword?; end
3115
3178
 
3116
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3179
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3117
3180
  def lvar_type?; end
3118
3181
 
3119
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3182
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3120
3183
  def lvasgn_type?; end
3121
3184
 
3122
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3185
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3123
3186
  def masgn_type?; end
3124
3187
 
3125
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3188
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3126
3189
  def match_alt_type?; end
3127
3190
 
3128
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3191
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3129
3192
  def match_as_type?; end
3130
3193
 
3131
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3194
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3132
3195
  def match_current_line_type?; end
3133
3196
 
3134
- # source://rubocop-ast//lib/rubocop/ast/node.rb#558
3197
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#573
3135
3198
  def match_guard_clause?(param0 = T.unsafe(nil)); end
3136
3199
 
3137
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3200
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3138
3201
  def match_nil_pattern_type?; end
3139
3202
 
3140
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3203
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3141
3204
  def match_pattern_p_type?; end
3142
3205
 
3143
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3206
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3144
3207
  def match_pattern_type?; end
3145
3208
 
3146
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3209
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3147
3210
  def match_rest_type?; end
3148
3211
 
3149
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3212
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3150
3213
  def match_var_type?; end
3151
3214
 
3152
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3215
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3153
3216
  def match_with_lvasgn_type?; end
3154
3217
 
3155
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3218
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3156
3219
  def match_with_trailing_comma_type?; end
3157
3220
 
3158
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3221
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3159
3222
  def mlhs_type?; end
3160
3223
 
3161
- # source://rubocop-ast//lib/rubocop/ast/node.rb#604
3224
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#619
3162
3225
  def module_definition?(param0 = T.unsafe(nil)); end
3163
3226
 
3164
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3227
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3165
3228
  def module_type?; end
3166
3229
 
3167
3230
  # Predicates
3168
3231
  #
3169
3232
  # @return [Boolean]
3170
3233
  #
3171
- # source://rubocop-ast//lib/rubocop/ast/node.rb#399
3234
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#406
3172
3235
  def multiline?; end
3173
3236
 
3174
3237
  # @return [Boolean]
3175
3238
  #
3176
- # source://rubocop-ast//lib/rubocop/ast/node.rb#433
3239
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#440
3177
3240
  def mutable_literal?; end
3178
3241
 
3179
- # source://rubocop-ast//lib/rubocop/ast/node.rb#735
3242
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#750
3180
3243
  def new_class_or_module_block?(param0 = T.unsafe(nil)); end
3181
3244
 
3182
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3245
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3183
3246
  def next_type?; end
3184
3247
 
3185
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3248
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3186
3249
  def nil_type?; end
3187
3250
 
3188
3251
  # Common destructuring method. This can be used to normalize
@@ -3192,98 +3255,98 @@ class RuboCop::AST::Node < ::Parser::AST::Node
3192
3255
  #
3193
3256
  # @return [Array<Node>] the different parts of the ndde
3194
3257
  #
3195
- # source://ast/2.4.2/lib/ast/node.rb#56
3258
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#284
3196
3259
  def node_parts; end
3197
3260
 
3198
- # source://rubocop-ast//lib/rubocop/ast/node.rb#334
3261
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#341
3199
3262
  def nonempty_line_count; end
3200
3263
 
3201
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3264
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3202
3265
  def not_type?; end
3203
3266
 
3204
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3267
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3205
3268
  def nth_ref_type?; end
3206
3269
 
3207
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3270
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3208
3271
  def numargs_type?; end
3209
3272
 
3210
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3273
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3211
3274
  def numblock_type?; end
3212
3275
 
3213
3276
  # @return [Boolean]
3214
3277
  #
3215
- # source://rubocop-ast//lib/rubocop/ast/node.rb#523
3278
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#534
3216
3279
  def numeric_type?; end
3217
3280
 
3218
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3281
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3219
3282
  def objc_kwarg_type?; end
3220
3283
 
3221
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3284
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3222
3285
  def objc_restarg_type?; end
3223
3286
 
3224
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3287
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3225
3288
  def objc_varargs_type?; end
3226
3289
 
3227
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3290
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3228
3291
  def op_asgn_type?; end
3229
3292
 
3230
3293
  # @return [Boolean]
3231
3294
  #
3232
- # source://rubocop-ast//lib/rubocop/ast/node.rb#495
3295
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#502
3233
3296
  def operator_keyword?; end
3234
3297
 
3235
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3298
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3236
3299
  def optarg_type?; end
3237
3300
 
3238
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3301
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3239
3302
  def or_asgn_type?; end
3240
3303
 
3241
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3304
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3242
3305
  def or_type?; end
3243
3306
 
3244
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3307
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3245
3308
  def pair_type?; end
3246
3309
 
3247
3310
  # Returns the parent node, or `nil` if the receiver is a root node.
3248
3311
  #
3249
3312
  # @return [Node, nil] the parent node or `nil`
3250
3313
  #
3251
- # source://rubocop-ast//lib/rubocop/ast/node.rb#185
3314
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#192
3252
3315
  def parent; end
3253
3316
 
3254
3317
  # @return [Boolean]
3255
3318
  #
3256
- # source://rubocop-ast//lib/rubocop/ast/node.rb#194
3319
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#201
3257
3320
  def parent?; end
3258
3321
 
3259
3322
  # Searching the AST
3260
3323
  #
3261
- # source://rubocop-ast//lib/rubocop/ast/node.rb#383
3324
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#390
3262
3325
  def parent_module_name; end
3263
3326
 
3264
3327
  # @return [Boolean]
3265
3328
  #
3266
- # source://rubocop-ast//lib/rubocop/ast/node.rb#499
3329
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#506
3267
3330
  def parenthesized_call?; end
3268
3331
 
3269
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3332
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3270
3333
  def pin_type?; end
3271
3334
 
3272
3335
  # @return [Boolean]
3273
3336
  #
3274
- # source://rubocop-ast//lib/rubocop/ast/node.rb#475
3337
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#482
3275
3338
  def post_condition_loop?; end
3276
3339
 
3277
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3340
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3278
3341
  def postexe_type?; end
3279
3342
 
3280
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3343
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3281
3344
  def preexe_type?; end
3282
3345
 
3283
- # source://rubocop-ast//lib/rubocop/ast/node.rb#563
3346
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#578
3284
3347
  def proc?(param0 = T.unsafe(nil)); end
3285
3348
 
3286
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3349
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3287
3350
  def procarg0_type?; end
3288
3351
 
3289
3352
  # Some expressions are evaluated for their value, some for their side
@@ -3296,60 +3359,60 @@ class RuboCop::AST::Node < ::Parser::AST::Node
3296
3359
  #
3297
3360
  # @return [Boolean]
3298
3361
  #
3299
- # source://rubocop-ast//lib/rubocop/ast/node.rb#647
3362
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#662
3300
3363
  def pure?; end
3301
3364
 
3302
3365
  # @return [Boolean]
3303
3366
  #
3304
- # source://rubocop-ast//lib/rubocop/ast/node.rb#527
3367
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#538
3305
3368
  def range_type?; end
3306
3369
 
3307
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3370
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3308
3371
  def rational_type?; end
3309
3372
 
3310
- # source://rubocop-ast//lib/rubocop/ast/node.rb#345
3373
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#352
3311
3374
  def receiver(param0 = T.unsafe(nil)); end
3312
3375
 
3313
3376
  # @return [Boolean]
3314
3377
  #
3315
- # source://rubocop-ast//lib/rubocop/ast/node.rb#125
3378
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#131
3316
3379
  def recursive_basic_literal?; end
3317
3380
 
3318
3381
  # @return [Boolean]
3319
3382
  #
3320
- # source://rubocop-ast//lib/rubocop/ast/node.rb#125
3383
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#131
3321
3384
  def recursive_literal?; end
3322
3385
 
3323
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3386
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3324
3387
  def redo_type?; end
3325
3388
 
3326
3389
  # @return [Boolean]
3327
3390
  #
3328
- # source://rubocop-ast//lib/rubocop/ast/node.rb#451
3391
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#458
3329
3392
  def reference?; end
3330
3393
 
3331
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3394
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3332
3395
  def regexp_type?; end
3333
3396
 
3334
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3397
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3335
3398
  def regopt_type?; end
3336
3399
 
3337
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3400
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3338
3401
  def resbody_type?; end
3339
3402
 
3340
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3403
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3341
3404
  def rescue_type?; end
3342
3405
 
3343
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3406
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3344
3407
  def restarg_expr_type?; end
3345
3408
 
3346
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3409
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3347
3410
  def restarg_type?; end
3348
3411
 
3349
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3412
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3350
3413
  def retry_type?; end
3351
3414
 
3352
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3415
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3353
3416
  def return_type?; end
3354
3417
 
3355
3418
  # Use is discouraged, this is a potentially slow method and can lead
@@ -3357,7 +3420,7 @@ class RuboCop::AST::Node < ::Parser::AST::Node
3357
3420
  #
3358
3421
  # @return [Node, nil] the right (aka next) sibling
3359
3422
  #
3360
- # source://rubocop-ast//lib/rubocop/ast/node.rb#237
3423
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#244
3361
3424
  def right_sibling; end
3362
3425
 
3363
3426
  # Use is discouraged, this is a potentially slow method and can lead
@@ -3365,18 +3428,18 @@ class RuboCop::AST::Node < ::Parser::AST::Node
3365
3428
  #
3366
3429
  # @return [Array<Node>] the right (aka next) siblings
3367
3430
  #
3368
- # source://rubocop-ast//lib/rubocop/ast/node.rb#265
3431
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#272
3369
3432
  def right_siblings; end
3370
3433
 
3371
3434
  # @return [Boolean]
3372
3435
  #
3373
- # source://rubocop-ast//lib/rubocop/ast/node.rb#199
3436
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#206
3374
3437
  def root?; end
3375
3438
 
3376
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3439
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3377
3440
  def sclass_type?; end
3378
3441
 
3379
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3442
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3380
3443
  def self_type?; end
3381
3444
 
3382
3445
  # Most nodes are of 'send' type, so this method is defined
@@ -3384,15 +3447,15 @@ class RuboCop::AST::Node < ::Parser::AST::Node
3384
3447
  #
3385
3448
  # @return [Boolean]
3386
3449
  #
3387
- # source://rubocop-ast//lib/rubocop/ast/node.rb#178
3450
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#185
3388
3451
  def send_type?; end
3389
3452
 
3390
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3453
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3391
3454
  def shadowarg_type?; end
3392
3455
 
3393
3456
  # @return [Boolean]
3394
3457
  #
3395
- # source://rubocop-ast//lib/rubocop/ast/node.rb#459
3458
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#466
3396
3459
  def shorthand_asgn?; end
3397
3460
 
3398
3461
  # Returns the index of the receiver node in its siblings. (Sibling index
@@ -3401,58 +3464,58 @@ class RuboCop::AST::Node < ::Parser::AST::Node
3401
3464
  #
3402
3465
  # @return [Integer, nil] the index of the receiver node in its siblings
3403
3466
  #
3404
- # source://rubocop-ast//lib/rubocop/ast/node.rb#230
3467
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#237
3405
3468
  def sibling_index; end
3406
3469
 
3407
3470
  # @return [Boolean]
3408
3471
  #
3409
- # source://rubocop-ast//lib/rubocop/ast/node.rb#403
3472
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#410
3410
3473
  def single_line?; end
3411
3474
 
3412
3475
  # NOTE: Some rare nodes may have no source, like `s(:args)` in `foo {}`
3413
3476
  #
3414
3477
  # @return [String, nil]
3415
3478
  #
3416
- # source://rubocop-ast//lib/rubocop/ast/node.rb#312
3479
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#319
3417
3480
  def source; end
3418
3481
 
3419
- # source://rubocop-ast//lib/rubocop/ast/node.rb#338
3482
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#345
3420
3483
  def source_length; end
3421
3484
 
3422
- # source://rubocop-ast//lib/rubocop/ast/node.rb#316
3485
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#323
3423
3486
  def source_range; end
3424
3487
 
3425
3488
  # @return [Boolean]
3426
3489
  #
3427
- # source://rubocop-ast//lib/rubocop/ast/node.rb#491
3490
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#498
3428
3491
  def special_keyword?; end
3429
3492
 
3430
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3493
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3431
3494
  def splat_type?; end
3432
3495
 
3433
- # source://rubocop-ast//lib/rubocop/ast/node.rb#350
3496
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#357
3434
3497
  def str_content(param0 = T.unsafe(nil)); end
3435
3498
 
3436
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3499
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3437
3500
  def str_type?; end
3438
3501
 
3439
3502
  # @deprecated Use `:class_constructor?`
3440
3503
  #
3441
- # source://rubocop-ast//lib/rubocop/ast/node.rb#592
3504
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#607
3442
3505
  def struct_constructor?(param0 = T.unsafe(nil)); end
3443
3506
 
3444
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3507
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3445
3508
  def super_type?; end
3446
3509
 
3447
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3510
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3448
3511
  def sym_type?; end
3449
3512
 
3450
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3513
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3451
3514
  def true_type?; end
3452
3515
 
3453
3516
  # @return [Boolean]
3454
3517
  #
3455
- # source://rubocop-ast//lib/rubocop/ast/node.rb#425
3518
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#432
3456
3519
  def truthy_literal?; end
3457
3520
 
3458
3521
  # Determine if the node is one of several node types in a single query
@@ -3461,19 +3524,19 @@ class RuboCop::AST::Node < ::Parser::AST::Node
3461
3524
  #
3462
3525
  # @return [Boolean]
3463
3526
  #
3464
- # source://rubocop-ast//lib/rubocop/ast/node.rb#160
3527
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#167
3465
3528
  def type?(*types); end
3466
3529
 
3467
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3530
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3468
3531
  def undef_type?; end
3469
3532
 
3470
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3533
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3471
3534
  def unless_guard_type?; end
3472
3535
 
3473
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3536
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3474
3537
  def until_post_type?; end
3475
3538
 
3476
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3539
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3477
3540
  def until_type?; end
3478
3541
 
3479
3542
  # Override `AST::Node#updated` so that `AST::Processor` does not try to
@@ -3482,7 +3545,7 @@ class RuboCop::AST::Node < ::Parser::AST::Node
3482
3545
  # identical subtrees. Rather, the entire AST must be copied any time any
3483
3546
  # part of it is changed.
3484
3547
  #
3485
- # source://rubocop-ast//lib/rubocop/ast/node.rb#219
3548
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#226
3486
3549
  def updated(type = T.unsafe(nil), children = T.unsafe(nil), properties = T.unsafe(nil)); end
3487
3550
 
3488
3551
  # Some expressions are evaluated for their value, some for their side
@@ -3495,78 +3558,78 @@ class RuboCop::AST::Node < ::Parser::AST::Node
3495
3558
  #
3496
3559
  # @return [Boolean]
3497
3560
  #
3498
- # source://rubocop-ast//lib/rubocop/ast/node.rb#617
3561
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#632
3499
3562
  def value_used?; end
3500
3563
 
3501
3564
  # @return [Boolean]
3502
3565
  #
3503
- # source://rubocop-ast//lib/rubocop/ast/node.rb#447
3566
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#454
3504
3567
  def variable?; end
3505
3568
 
3506
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3569
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3507
3570
  def when_type?; end
3508
3571
 
3509
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3572
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3510
3573
  def while_post_type?; end
3511
3574
 
3512
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3575
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3513
3576
  def while_type?; end
3514
3577
 
3515
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3578
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3516
3579
  def xstr_type?; end
3517
3580
 
3518
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3581
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3519
3582
  def yield_type?; end
3520
3583
 
3521
- # source://rubocop-ast//lib/rubocop/ast/node.rb#170
3584
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#176
3522
3585
  def zsuper_type?; end
3523
3586
 
3524
3587
  protected
3525
3588
 
3526
- # source://rubocop-ast//lib/rubocop/ast/node.rb#189
3589
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#196
3527
3590
  def parent=(node); end
3528
3591
 
3529
3592
  private
3530
3593
 
3531
3594
  # @return [Boolean]
3532
3595
  #
3533
- # source://rubocop-ast//lib/rubocop/ast/node.rb#674
3596
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#689
3534
3597
  def begin_value_used?; end
3535
3598
 
3536
3599
  # @return [Boolean]
3537
3600
  #
3538
- # source://rubocop-ast//lib/rubocop/ast/node.rb#685
3601
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#700
3539
3602
  def case_if_value_used?; end
3540
3603
 
3541
- # source://rubocop-ast//lib/rubocop/ast/node.rb#363
3604
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#370
3542
3605
  def defined_module0(param0 = T.unsafe(nil)); end
3543
3606
 
3544
3607
  # @return [Boolean]
3545
3608
  #
3546
- # source://rubocop-ast//lib/rubocop/ast/node.rb#679
3609
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#694
3547
3610
  def for_value_used?; end
3548
3611
 
3549
- # source://rubocop-ast//lib/rubocop/ast/node.rb#721
3612
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#736
3550
3613
  def parent_module_name_for_block(ancestor); end
3551
3614
 
3552
- # source://rubocop-ast//lib/rubocop/ast/node.rb#709
3615
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#724
3553
3616
  def parent_module_name_for_sclass(sclass_node); end
3554
3617
 
3555
- # source://rubocop-ast//lib/rubocop/ast/node.rb#696
3618
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#711
3556
3619
  def parent_module_name_part(node); end
3557
3620
 
3558
- # source://rubocop-ast//lib/rubocop/ast/node.rb#665
3621
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#680
3559
3622
  def visit_ancestors(types); end
3560
3623
 
3561
3624
  # @return [Boolean]
3562
3625
  #
3563
- # source://rubocop-ast//lib/rubocop/ast/node.rb#691
3626
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#706
3564
3627
  def while_until_value_used?; end
3565
3628
 
3566
3629
  class << self
3567
3630
  private
3568
3631
 
3569
- # source://rubocop-ast//lib/rubocop/ast/node.rb#120
3632
+ # source://rubocop-ast//lib/rubocop/ast/node.rb#127
3570
3633
  def def_recursive_literal_predicate(kind); end
3571
3634
  end
3572
3635
  end
@@ -3730,13 +3793,13 @@ class RuboCop::AST::NodePattern
3730
3793
  # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#73
3731
3794
  def ast; end
3732
3795
 
3733
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
3796
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#75
3734
3797
  def captures(*_arg0, **_arg1, &_arg2); end
3735
3798
 
3736
3799
  # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#111
3737
3800
  def encode_with(coder); end
3738
3801
 
3739
- # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#90
3802
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#93
3740
3803
  def eql?(other); end
3741
3804
 
3742
3805
  # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#119
@@ -3759,7 +3822,7 @@ class RuboCop::AST::NodePattern
3759
3822
  # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#73
3760
3823
  def match_code; end
3761
3824
 
3762
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
3825
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#75
3763
3826
  def named_parameters(*_arg0, **_arg1, &_arg2); end
3764
3827
 
3765
3828
  # Returns the value of attribute pattern.
@@ -3767,7 +3830,7 @@ class RuboCop::AST::NodePattern
3767
3830
  # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#73
3768
3831
  def pattern; end
3769
3832
 
3770
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
3833
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#75
3771
3834
  def positional_parameters(*_arg0, **_arg1, &_arg2); end
3772
3835
 
3773
3836
  # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#95
@@ -3851,7 +3914,7 @@ class RuboCop::AST::NodePattern::Comment
3851
3914
 
3852
3915
  # Returns the value of attribute location.
3853
3916
  #
3854
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/comment.rb#8
3917
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/comment.rb#9
3855
3918
  def loc; end
3856
3919
 
3857
3920
  # Returns the value of attribute location.
@@ -3880,7 +3943,7 @@ class RuboCop::AST::NodePattern::Compiler
3880
3943
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler.rb#15
3881
3944
  def initialize; end
3882
3945
 
3883
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
3946
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler.rb#24
3884
3947
  def bind(*_arg0, **_arg1, &_arg2); end
3885
3948
 
3886
3949
  # Returns the value of attribute binding.
@@ -3963,7 +4026,7 @@ class RuboCop::AST::NodePattern::Compiler::AtomSubcompiler < ::RuboCop::AST::Nod
3963
4026
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb#32
3964
4027
  def visit_named_parameter; end
3965
4028
 
3966
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb#21
4029
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb#24
3967
4030
  def visit_number; end
3968
4031
 
3969
4032
  # Assumes other types are node patterns.
@@ -3974,13 +4037,13 @@ class RuboCop::AST::NodePattern::Compiler::AtomSubcompiler < ::RuboCop::AST::Nod
3974
4037
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb#36
3975
4038
  def visit_positional_parameter; end
3976
4039
 
3977
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb#21
4040
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb#26
3978
4041
  def visit_regexp; end
3979
4042
 
3980
4043
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb#40
3981
4044
  def visit_set; end
3982
4045
 
3983
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb#21
4046
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb#25
3984
4047
  def visit_string; end
3985
4048
 
3986
4049
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/atom_subcompiler.rb#21
@@ -4024,79 +4087,74 @@ end
4024
4087
  class RuboCop::AST::NodePattern::Compiler::Debug < ::RuboCop::AST::NodePattern::Compiler
4025
4088
  # @return [Debug] a new instance of Debug
4026
4089
  #
4027
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#123
4090
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#118
4028
4091
  def initialize; end
4029
4092
 
4030
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
4093
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#131
4031
4094
  def comments(*_arg0, **_arg1, &_arg2); end
4032
4095
 
4033
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#128
4096
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#123
4034
4097
  def named_parameters; end
4035
4098
 
4036
4099
  # Returns the value of attribute node_ids.
4037
4100
  #
4038
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#33
4101
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#35
4039
4102
  def node_ids; end
4040
4103
 
4041
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#132
4104
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#127
4042
4105
  def parser; end
4043
4106
 
4044
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
4107
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#131
4045
4108
  def tokens(*_arg0, **_arg1, &_arg2); end
4046
4109
  end
4047
4110
 
4048
4111
  # @api private
4049
4112
  #
4050
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#36
4113
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#38
4051
4114
  class RuboCop::AST::NodePattern::Compiler::Debug::Colorizer
4052
4115
  # @api private
4053
4116
  # @return [Colorizer] a new instance of Colorizer
4054
4117
  #
4055
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#96
4118
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#98
4056
4119
  def initialize(pattern, compiler: T.unsafe(nil)); end
4057
4120
 
4058
4121
  # @api private
4059
4122
  #
4060
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#94
4123
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#96
4061
4124
  def compiler; end
4062
4125
 
4063
4126
  # @api private
4064
4127
  #
4065
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#94
4128
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#96
4066
4129
  def node_pattern; end
4067
4130
 
4068
4131
  # @api private
4069
4132
  #
4070
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#94
4133
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#96
4071
4134
  def pattern; end
4072
4135
 
4073
4136
  # @api private
4074
4137
  # @return [Node] the Ruby AST
4075
4138
  #
4076
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#103
4139
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#105
4077
4140
  def test(ruby, trace: T.unsafe(nil)); end
4078
4141
 
4079
4142
  private
4080
4143
 
4081
4144
  # @api private
4082
4145
  #
4083
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#111
4146
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#113
4084
4147
  def ruby_ast(ruby); end
4085
-
4086
- # @api private
4087
- #
4088
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#116
4089
- def ruby_parser; end
4090
4148
  end
4091
4149
 
4092
4150
  # @api private
4093
4151
  #
4094
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#37
4152
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#39
4095
4153
  RuboCop::AST::NodePattern::Compiler::Debug::Colorizer::COLOR_SCHEME = T.let(T.unsafe(nil), Hash)
4096
4154
 
4097
4155
  # @api private
4098
4156
  #
4099
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#92
4157
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#94
4100
4158
  RuboCop::AST::NodePattern::Compiler::Debug::Colorizer::Compiler = RuboCop::AST::NodePattern::Compiler::Debug
4101
4159
 
4102
4160
  # Result of a NodePattern run against a particular AST
@@ -4104,129 +4162,154 @@ RuboCop::AST::NodePattern::Compiler::Debug::Colorizer::Compiler = RuboCop::AST::
4104
4162
  #
4105
4163
  # @api private
4106
4164
  #
4107
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#46
4165
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#48
4108
4166
  class RuboCop::AST::NodePattern::Compiler::Debug::Colorizer::Result < ::Struct
4109
4167
  # @api private
4110
4168
  # @return [Hash] a map for {character_position => color}
4111
4169
  #
4112
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#56
4170
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#58
4113
4171
  def color_map(color_scheme = T.unsafe(nil)); end
4114
4172
 
4115
4173
  # @api private
4116
4174
  # @return [String] a Rainbow colorized version of ruby
4117
4175
  #
4118
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#48
4176
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#50
4119
4177
  def colorize(color_scheme = T.unsafe(nil)); end
4120
4178
 
4121
4179
  # Returns the value of attribute colorizer
4122
4180
  #
4123
4181
  # @return [Object] the current value of colorizer
4182
+ #
4183
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#48
4124
4184
  def colorizer; end
4125
4185
 
4126
4186
  # Sets the attribute colorizer
4127
4187
  #
4128
4188
  # @param value [Object] the value to set the attribute colorizer to.
4129
4189
  # @return [Object] the newly set value
4190
+ #
4191
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#48
4130
4192
  def colorizer=(_); end
4131
4193
 
4132
4194
  # @api private
4133
4195
  # @return [Hash] a map for {node => matched?}, depth-first
4134
4196
  #
4135
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#66
4197
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#68
4136
4198
  def match_map; end
4137
4199
 
4138
4200
  # @api private
4139
4201
  # @return [Boolean] a value of `Trace#matched?` or `:not_visitable`
4140
4202
  #
4141
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#74
4203
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#76
4142
4204
  def matched?(node); end
4143
4205
 
4144
4206
  # Returns the value of attribute returned
4145
4207
  #
4146
4208
  # @return [Object] the current value of returned
4209
+ #
4210
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#48
4147
4211
  def returned; end
4148
4212
 
4149
4213
  # Sets the attribute returned
4150
4214
  #
4151
4215
  # @param value [Object] the value to set the attribute returned to.
4152
4216
  # @return [Object] the newly set value
4217
+ #
4218
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#48
4153
4219
  def returned=(_); end
4154
4220
 
4155
4221
  # Returns the value of attribute ruby_ast
4156
4222
  #
4157
4223
  # @return [Object] the current value of ruby_ast
4224
+ #
4225
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#48
4158
4226
  def ruby_ast; end
4159
4227
 
4160
4228
  # Sets the attribute ruby_ast
4161
4229
  #
4162
4230
  # @param value [Object] the value to set the attribute ruby_ast to.
4163
4231
  # @return [Object] the newly set value
4232
+ #
4233
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#48
4164
4234
  def ruby_ast=(_); end
4165
4235
 
4166
4236
  # Returns the value of attribute trace
4167
4237
  #
4168
4238
  # @return [Object] the current value of trace
4239
+ #
4240
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#48
4169
4241
  def trace; end
4170
4242
 
4171
4243
  # Sets the attribute trace
4172
4244
  #
4173
4245
  # @param value [Object] the value to set the attribute trace to.
4174
4246
  # @return [Object] the newly set value
4247
+ #
4248
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#48
4175
4249
  def trace=(_); end
4176
4250
 
4177
4251
  private
4178
4252
 
4179
4253
  # @api private
4180
4254
  #
4181
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#87
4255
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#89
4182
4256
  def ast; end
4183
4257
 
4184
4258
  # @api private
4185
4259
  #
4186
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#81
4260
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#83
4187
4261
  def color_map_for(node, color); end
4188
4262
 
4189
4263
  class << self
4264
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#48
4190
4265
  def [](*_arg0); end
4266
+
4267
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#48
4191
4268
  def inspect; end
4269
+
4270
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#48
4192
4271
  def keyword_init?; end
4272
+
4273
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#48
4193
4274
  def members; end
4275
+
4276
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#48
4194
4277
  def new(*_arg0); end
4195
4278
  end
4196
4279
  end
4197
4280
 
4198
4281
  # @api private
4199
4282
  #
4200
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#139
4283
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#134
4201
4284
  module RuboCop::AST::NodePattern::Compiler::Debug::InstrumentationSubcompiler
4202
4285
  # @api private
4203
4286
  #
4204
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#140
4287
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#135
4205
4288
  def do_compile; end
4206
4289
 
4207
4290
  private
4208
4291
 
4209
4292
  # @api private
4210
4293
  #
4211
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#150
4294
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#145
4212
4295
  def node_id; end
4213
4296
 
4214
4297
  # @api private
4215
4298
  #
4216
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#146
4299
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#141
4217
4300
  def tracer(kind); end
4218
4301
  end
4219
4302
 
4220
4303
  # @api private
4221
4304
  #
4222
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#156
4305
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#151
4223
4306
  class RuboCop::AST::NodePattern::Compiler::Debug::NodePatternSubcompiler < ::RuboCop::AST::NodePattern::Compiler::NodePatternSubcompiler
4224
4307
  include ::RuboCop::AST::NodePattern::Compiler::Debug::InstrumentationSubcompiler
4225
4308
  end
4226
4309
 
4227
4310
  # @api private
4228
4311
  #
4229
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#161
4312
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#156
4230
4313
  class RuboCop::AST::NodePattern::Compiler::Debug::SequenceSubcompiler < ::RuboCop::AST::NodePattern::Compiler::SequenceSubcompiler
4231
4314
  include ::RuboCop::AST::NodePattern::Compiler::Debug::InstrumentationSubcompiler
4232
4315
  end
@@ -4241,17 +4324,17 @@ class RuboCop::AST::NodePattern::Compiler::Debug::Trace
4241
4324
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#14
4242
4325
  def initialize; end
4243
4326
 
4244
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#18
4327
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#19
4245
4328
  def enter(node_id); end
4246
4329
 
4247
4330
  # return nil (not visited), false (not matched) or true (matched)
4248
4331
  #
4249
4332
  # @return [Boolean]
4250
4333
  #
4251
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#28
4334
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#30
4252
4335
  def matched?(node_id); end
4253
4336
 
4254
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#23
4337
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#25
4255
4338
  def success(node_id); end
4256
4339
  end
4257
4340
 
@@ -4395,7 +4478,7 @@ class RuboCop::AST::NodePattern::Compiler::SequenceSubcompiler < ::RuboCop::AST:
4395
4478
 
4396
4479
  private
4397
4480
 
4398
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/subcompiler.rb#20
4481
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#59
4399
4482
  def compile(node); end
4400
4483
 
4401
4484
  # Compilation helpers
@@ -4649,7 +4732,7 @@ class RuboCop::AST::NodePattern::LexerRex
4649
4732
 
4650
4733
  # The StringScanner for this lexer.
4651
4734
  #
4652
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rex.rb#48
4735
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/lexer.rex.rb#55
4653
4736
  def match; end
4654
4737
 
4655
4738
  # The match groups for the current scan.
@@ -4911,7 +4994,7 @@ RuboCop::AST::NodePattern::Node::AnyOrder::ARITIES = T.let(T.unsafe(nil), Hash)
4911
4994
  #
4912
4995
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#96
4913
4996
  class RuboCop::AST::NodePattern::Node::Capture < ::RuboCop::AST::NodePattern::Node
4914
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
4997
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#98
4915
4998
  def arity(*_arg0, **_arg1, &_arg2); end
4916
4999
 
4917
5000
  # @return [Boolean]
@@ -4925,7 +5008,7 @@ class RuboCop::AST::NodePattern::Node::Capture < ::RuboCop::AST::NodePattern::No
4925
5008
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#104
4926
5009
  def nb_captures; end
4927
5010
 
4928
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
5011
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#98
4929
5012
  def rest?(*_arg0, **_arg1, &_arg2); end
4930
5013
  end
4931
5014
 
@@ -5166,28 +5249,28 @@ class RuboCop::AST::NodePattern::Parser < ::Racc::Parser
5166
5249
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#465
5167
5250
  def _reduce_none(val, _values); end
5168
5251
 
5169
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
5252
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.rb#46
5170
5253
  def emit_atom(*_arg0, **_arg1, &_arg2); end
5171
5254
 
5172
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
5255
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.rb#46
5173
5256
  def emit_call(*_arg0, **_arg1, &_arg2); end
5174
5257
 
5175
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
5258
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.rb#46
5176
5259
  def emit_capture(*_arg0, **_arg1, &_arg2); end
5177
5260
 
5178
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
5261
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.rb#46
5179
5262
  def emit_list(*_arg0, **_arg1, &_arg2); end
5180
5263
 
5181
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
5264
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.rb#46
5182
5265
  def emit_unary_op(*_arg0, **_arg1, &_arg2); end
5183
5266
 
5184
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
5267
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.rb#46
5185
5268
  def emit_union(*_arg0, **_arg1, &_arg2); end
5186
5269
 
5187
5270
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.rb#40
5188
5271
  def inspect; end
5189
5272
 
5190
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
5273
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.rb#48
5191
5274
  def next_token(*_arg0, **_arg1, &_arg2); end
5192
5275
 
5193
5276
  # (Similar API to `parser` gem)
@@ -5345,10 +5428,10 @@ RuboCop::AST::NodePattern::Sets::SET_AFTER_ACTION_APPEND_AFTER_ACTION_APPEND_ARO
5345
5428
  RuboCop::AST::NodePattern::Sets::SET_ALL_ANY_CLASS_OF_ETC = T.let(T.unsafe(nil), Set)
5346
5429
 
5347
5430
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5348
- RuboCop::AST::NodePattern::Sets::SET_ANY_EMPTY_NONE = T.let(T.unsafe(nil), Set)
5431
+ RuboCop::AST::NodePattern::Sets::SET_ANY_EMPTY_NONE_ETC = T.let(T.unsafe(nil), Set)
5349
5432
 
5350
5433
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5351
- RuboCop::AST::NodePattern::Sets::SET_ANY_EMPTY_NONE_ETC = T.let(T.unsafe(nil), Set)
5434
+ RuboCop::AST::NodePattern::Sets::SET_ANY_NONE = T.let(T.unsafe(nil), Set)
5352
5435
 
5353
5436
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5354
5437
  RuboCop::AST::NodePattern::Sets::SET_AP_P_PP_ETC = T.let(T.unsafe(nil), Set)
@@ -5464,6 +5547,9 @@ RuboCop::AST::NodePattern::Sets::SET_HEAD_ASSERT_RESPONSE = T.let(T.unsafe(nil),
5464
5547
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5465
5548
  RuboCop::AST::NodePattern::Sets::SET_HTML_HTML5 = T.let(T.unsafe(nil), Set)
5466
5549
 
5550
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5551
+ RuboCop::AST::NodePattern::Sets::SET_IF = T.let(T.unsafe(nil), Set)
5552
+
5467
5553
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5468
5554
  RuboCop::AST::NodePattern::Sets::SET_IF_UNLESS = T.let(T.unsafe(nil), Set)
5469
5555
 
@@ -5482,9 +5568,15 @@ RuboCop::AST::NodePattern::Sets::SET_INSTANCE_EVAL_CLASS_EVAL_MODULE_EVAL = T.le
5482
5568
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5483
5569
  RuboCop::AST::NodePattern::Sets::SET_INSTANCE_EXEC_CLASS_EXEC_MODULE_EXEC = T.let(T.unsafe(nil), Set)
5484
5570
 
5571
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5572
+ RuboCop::AST::NodePattern::Sets::SET_INTEGER_BIGDECIMAL_COMPLEX_RATIONAL = T.let(T.unsafe(nil), Set)
5573
+
5485
5574
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5486
5575
  RuboCop::AST::NodePattern::Sets::SET_IO_FILE = T.let(T.unsafe(nil), Set)
5487
5576
 
5577
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5578
+ RuboCop::AST::NodePattern::Sets::SET_IS_A_KIND_OF = T.let(T.unsafe(nil), Set)
5579
+
5488
5580
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5489
5581
  RuboCop::AST::NodePattern::Sets::SET_KEYS_VALUES = T.let(T.unsafe(nil), Set)
5490
5582
 
@@ -5542,9 +5634,6 @@ RuboCop::AST::NodePattern::Sets::SET_ONLY_EXCEPT = T.let(T.unsafe(nil), Set)
5542
5634
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5543
5635
  RuboCop::AST::NodePattern::Sets::SET_PIPELINE_PIPELINE_R_PIPELINE_RW_ETC = T.let(T.unsafe(nil), Set)
5544
5636
 
5545
- # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5546
- RuboCop::AST::NodePattern::Sets::SET_PRESENT_ANY_BLANK_ETC = T.let(T.unsafe(nil), Set)
5547
-
5548
5637
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5549
5638
  RuboCop::AST::NodePattern::Sets::SET_PRIVATE_PROTECTED_PRIVATE_CLASS_METHOD = T.let(T.unsafe(nil), Set)
5550
5639
 
@@ -5593,6 +5682,9 @@ RuboCop::AST::NodePattern::Sets::SET_RETURNING_UNIQUE_BY = T.let(T.unsafe(nil),
5593
5682
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5594
5683
  RuboCop::AST::NodePattern::Sets::SET_ROOT_PUBLIC_PATH = T.let(T.unsafe(nil), Set)
5595
5684
 
5685
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5686
+ RuboCop::AST::NodePattern::Sets::SET_SELECT_FILTER = T.let(T.unsafe(nil), Set)
5687
+
5596
5688
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5597
5689
  RuboCop::AST::NodePattern::Sets::SET_SELECT_FILTER_FIND_ALL = T.let(T.unsafe(nil), Set)
5598
5690
 
@@ -5740,7 +5832,7 @@ RuboCop::AST::NodePattern::Sets::SET_____2 = T.let(T.unsafe(nil), Set)
5740
5832
  # source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#55
5741
5833
  RuboCop::AST::NodePattern::VAR = T.let(T.unsafe(nil), String)
5742
5834
 
5743
- # Common functionality for primitive numeric nodes: `int`, `float`, `rational`...
5835
+ # Common functionality for primitive numeric nodes: `int`, `float`, `rational`, `complex`...
5744
5836
  #
5745
5837
  # source://rubocop-ast//lib/rubocop/ast/node/mixin/numeric_node.rb#6
5746
5838
  module RuboCop::AST::NumericNode
@@ -5778,7 +5870,7 @@ class RuboCop::AST::OpAsgnNode < ::RuboCop::AST::Node
5778
5870
 
5779
5871
  # @return [AsgnNode] the assignment node
5780
5872
  #
5781
- # source://rubocop-ast//lib/rubocop/ast/node/op_asgn_node.rb#10
5873
+ # source://rubocop-ast//lib/rubocop/ast/node/op_asgn_node.rb#13
5782
5874
  def lhs; end
5783
5875
 
5784
5876
  # The name of the variable being assigned as a symbol.
@@ -5799,7 +5891,7 @@ class RuboCop::AST::OpAsgnNode < ::RuboCop::AST::Node
5799
5891
  #
5800
5892
  # @return [Node] the expression being assigned.
5801
5893
  #
5802
- # source://rubocop-ast//lib/rubocop/ast/node/op_asgn_node.rb#32
5894
+ # source://rubocop-ast//lib/rubocop/ast/node/op_asgn_node.rb#35
5803
5895
  def rhs; end
5804
5896
  end
5805
5897
 
@@ -5963,7 +6055,7 @@ module RuboCop::AST::ParameterizedNode
5963
6055
  #
5964
6056
  # @return [Boolean] whether the node is a splat argument
5965
6057
  #
5966
- # source://rubocop-ast//lib/rubocop/ast/node/mixin/parameterized_node.rb#48
6058
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/parameterized_node.rb#52
5967
6059
  def rest_argument?; end
5968
6060
 
5969
6061
  # Checks whether any argument of the node is a splat
@@ -6077,6 +6169,23 @@ RuboCop::AST::PredicateOperatorNode::SEMANTIC_OPERATORS = T.let(T.unsafe(nil), A
6077
6169
  # source://rubocop-ast//lib/rubocop/ast/node/mixin/predicate_operator_node.rb#14
6078
6170
  RuboCop::AST::PredicateOperatorNode::SEMANTIC_OR = T.let(T.unsafe(nil), String)
6079
6171
 
6172
+ # A `Prism` interface's class that provides a fixed `Prism::ParseLexResult` instead of parsing.
6173
+ #
6174
+ # This class implements the `parse_lex` method to return a preparsed `Prism::ParseLexResult`
6175
+ # rather than parsing the source code. When the parse result is already available externally,
6176
+ # such as in Ruby LSP, the Prism parsing process can be bypassed.
6177
+ #
6178
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#12
6179
+ class RuboCop::AST::PrismPreparsed
6180
+ # @return [PrismPreparsed] a new instance of PrismPreparsed
6181
+ #
6182
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#13
6183
+ def initialize(prism_result); end
6184
+
6185
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#23
6186
+ def parse_lex(_source, **_prism_options); end
6187
+ end
6188
+
6080
6189
  # A node extension for `procarg0` nodes.
6081
6190
  # This will be used in place of a plain node when the builder constructs
6082
6191
  # the AST, making its methods available to all `arg` nodes within RuboCop.
@@ -6095,42 +6204,42 @@ end
6095
6204
  # and other information such as disabled lines for cops.
6096
6205
  # It also provides a convenient way to access source lines.
6097
6206
  #
6098
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#10
6207
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#31
6099
6208
  class RuboCop::AST::ProcessedSource
6100
6209
  # @return [ProcessedSource] a new instance of ProcessedSource
6101
6210
  #
6102
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#28
6103
- def initialize(source, ruby_version, path = T.unsafe(nil), parser_engine: T.unsafe(nil)); end
6211
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#49
6212
+ def initialize(source, ruby_version, path = T.unsafe(nil), parser_engine: T.unsafe(nil), prism_result: T.unsafe(nil)); end
6104
6213
 
6105
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#72
6214
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#91
6106
6215
  def [](*args); end
6107
6216
 
6108
6217
  # Returns the value of attribute ast.
6109
6218
  #
6110
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#20
6219
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#41
6111
6220
  def ast; end
6112
6221
 
6113
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#50
6222
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#69
6114
6223
  def ast_with_comments; end
6115
6224
 
6116
6225
  # @return [Boolean]
6117
6226
  #
6118
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#111
6227
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#130
6119
6228
  def blank?; end
6120
6229
 
6121
6230
  # Returns the value of attribute buffer.
6122
6231
  #
6123
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#20
6232
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#41
6124
6233
  def buffer; end
6125
6234
 
6126
6235
  # Raw source checksum for tracking infinite loops.
6127
6236
  #
6128
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#83
6237
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#102
6129
6238
  def checksum; end
6130
6239
 
6131
6240
  # @return [Comment, nil] the comment at that line, if any.
6132
6241
  #
6133
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#116
6242
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#135
6134
6243
  def comment_at_line(line); end
6135
6244
 
6136
6245
  # Consider using `each_comment_in_lines` instead
@@ -6138,193 +6247,194 @@ class RuboCop::AST::ProcessedSource
6138
6247
  # @deprecated use contains_comment?
6139
6248
  # @return [Boolean] if any of the lines in the given `source_range` has a comment.
6140
6249
  #
6141
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#138
6250
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#161
6142
6251
  def commented?(source_range); end
6143
6252
 
6144
6253
  # Returns the value of attribute comments.
6145
6254
  #
6146
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#20
6255
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#41
6147
6256
  def comments; end
6148
6257
 
6149
6258
  # Should have been called `comments_before_or_at_line`. Doubtful it has of any valid use.
6150
6259
  #
6151
6260
  # @deprecated Use `each_comment_in_lines`
6152
6261
  #
6153
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#146
6262
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#165
6154
6263
  def comments_before_line(line); end
6155
6264
 
6156
6265
  # Consider using `each_comment_in_lines` instead
6157
6266
  #
6158
6267
  # @return [Boolean] if any of the lines in the given `source_range` has a comment.
6159
6268
  #
6160
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#138
6269
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#157
6161
6270
  def contains_comment?(source_range); end
6162
6271
 
6163
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#160
6272
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#179
6164
6273
  def current_line(token); end
6165
6274
 
6166
6275
  # Returns the value of attribute diagnostics.
6167
6276
  #
6168
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#20
6277
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#41
6169
6278
  def diagnostics; end
6170
6279
 
6171
6280
  # @deprecated Use `comments.each`
6172
6281
  #
6173
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#88
6282
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#107
6174
6283
  def each_comment(&block); end
6175
6284
 
6176
6285
  # Enumerates on the comments contained with the given `line_range`
6177
6286
  #
6178
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#126
6287
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#145
6179
6288
  def each_comment_in_lines(line_range); end
6180
6289
 
6181
6290
  # @deprecated Use `tokens.each`
6182
6291
  #
6183
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#98
6292
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#117
6184
6293
  def each_token(&block); end
6185
6294
 
6186
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#107
6295
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#126
6187
6296
  def file_path; end
6188
6297
 
6189
6298
  # @deprecated Use `comment_at_line`, `each_comment_in_lines`, or `comments.find`
6190
6299
  #
6191
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#93
6300
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#112
6192
6301
  def find_comment(&block); end
6193
6302
 
6194
6303
  # @deprecated Use `tokens.find`
6195
6304
  #
6196
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#103
6305
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#122
6197
6306
  def find_token(&block); end
6198
6307
 
6199
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#181
6308
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#200
6200
6309
  def first_token_of(range_or_node); end
6201
6310
 
6202
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#164
6311
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#183
6203
6312
  def following_line(token); end
6204
6313
 
6205
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#185
6314
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#204
6206
6315
  def last_token_of(range_or_node); end
6207
6316
 
6208
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#168
6317
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#187
6209
6318
  def line_indentation(line_number); end
6210
6319
 
6211
6320
  # @return [Boolean] if the given line number has a comment.
6212
6321
  #
6213
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#121
6322
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#140
6214
6323
  def line_with_comment?(line); end
6215
6324
 
6216
6325
  # Returns the source lines, line break characters removed, excluding a
6217
6326
  # possible __END__ and everything that comes after.
6218
6327
  #
6219
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#58
6328
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#77
6220
6329
  def lines; end
6221
6330
 
6222
6331
  # Returns the value of attribute parser_engine.
6223
6332
  #
6224
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#20
6333
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#41
6225
6334
  def parser_engine; end
6226
6335
 
6227
6336
  # Returns the value of attribute parser_error.
6228
6337
  #
6229
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#20
6338
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#41
6230
6339
  def parser_error; end
6231
6340
 
6232
6341
  # Returns the value of attribute path.
6233
6342
  #
6234
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#20
6343
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#41
6235
6344
  def path; end
6236
6345
 
6237
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#156
6346
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#175
6238
6347
  def preceding_line(token); end
6239
6348
 
6240
6349
  # Returns the value of attribute raw_source.
6241
6350
  #
6242
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#20
6351
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#41
6243
6352
  def raw_source; end
6244
6353
 
6245
6354
  # Returns the value of attribute ruby_version.
6246
6355
  #
6247
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#20
6356
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#41
6248
6357
  def ruby_version; end
6249
6358
 
6250
6359
  # The tokens list is always sorted by token position, except for cases when heredoc
6251
6360
  # is passed as a method argument. In this case tokens are interleaved by
6252
6361
  # heredoc contents' tokens.
6253
6362
  #
6254
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#192
6363
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#211
6255
6364
  def sorted_tokens; end
6256
6365
 
6257
6366
  # @return [Boolean]
6258
6367
  #
6259
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#150
6368
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#169
6260
6369
  def start_with?(string); end
6261
6370
 
6262
6371
  # Returns the value of attribute tokens.
6263
6372
  #
6264
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#20
6373
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#41
6265
6374
  def tokens; end
6266
6375
 
6267
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#175
6376
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#194
6268
6377
  def tokens_within(range_or_node); end
6269
6378
 
6270
6379
  # @return [Boolean]
6271
6380
  #
6272
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#76
6381
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#95
6273
6382
  def valid_syntax?; end
6274
6383
 
6275
6384
  private
6276
6385
 
6277
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#199
6386
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#329
6387
+ def builder_class(parser_engine); end
6388
+
6389
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#218
6278
6390
  def comment_index; end
6279
6391
 
6280
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#329
6281
- def create_parser(ruby_version, parser_engine); end
6392
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#339
6393
+ def create_parser(ruby_version, parser_engine, prism_result); end
6394
+
6395
+ # The Parser gem does not support Ruby 3.5 or later.
6396
+ # It is also not fully compatible with Ruby 3.4 but for
6397
+ # now respects using parser for backwards compatibility.
6398
+ #
6399
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#385
6400
+ def default_parser_engine(ruby_version); end
6282
6401
 
6283
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#345
6402
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#393
6284
6403
  def first_token_index(range_or_node); end
6285
6404
 
6286
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#350
6405
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#398
6287
6406
  def last_token_index(range_or_node); end
6288
6407
 
6289
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#205
6290
- def parse(source, ruby_version, parser_engine); end
6408
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#368
6409
+ def normalize_parser_engine(parser_engine, ruby_version); end
6291
6410
 
6292
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#238
6293
- def parser_class(ruby_version, parser_engine); end
6294
-
6295
- # Prism is a native extension, a `LoadError` will be raised if linked to an incompatible
6296
- # Ruby version. Only raise if it really was caused by Prism not being present.
6297
- #
6298
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#306
6299
- def require_prism; end
6411
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#224
6412
+ def parse(source, ruby_version, parser_engine, prism_result); end
6300
6413
 
6301
- # While Prism is not yet a dependency, users may run with outdated versions that
6302
- # don't have all the parsers.
6303
- #
6304
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#317
6305
- def require_prism_translation_parser(version); end
6414
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#260
6415
+ def parser_class(ruby_version, parser_engine); end
6306
6416
 
6307
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#355
6417
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#403
6308
6418
  def source_range(range_or_node); end
6309
6419
 
6310
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#222
6420
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#243
6311
6421
  def tokenize(parser); end
6312
6422
 
6313
6423
  class << self
6314
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#23
6424
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#44
6315
6425
  def from_file(path, ruby_version, parser_engine: T.unsafe(nil)); end
6316
6426
  end
6317
6427
  end
6318
6428
 
6319
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#14
6429
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#35
6320
6430
  RuboCop::AST::ProcessedSource::INVALID_LEVELS = T.let(T.unsafe(nil), Array)
6321
6431
 
6322
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#17
6432
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#38
6323
6433
  RuboCop::AST::ProcessedSource::PARSER_ENGINES = T.let(T.unsafe(nil), Array)
6324
6434
 
6325
6435
  # @api private
6326
6436
  #
6327
- # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#12
6437
+ # source://rubocop-ast//lib/rubocop/ast/processed_source.rb#33
6328
6438
  RuboCop::AST::ProcessedSource::STRING_SOURCE_NAME = T.let(T.unsafe(nil), String)
6329
6439
 
6330
6440
  # A node extension for `irange` and `erange` nodes. This will be used in
@@ -6662,7 +6772,7 @@ class RuboCop::AST::SuperNode < ::RuboCop::AST::Node
6662
6772
  include ::RuboCop::AST::MethodIdentifierPredicates
6663
6773
  include ::RuboCop::AST::MethodDispatchNode
6664
6774
 
6665
- # source://ast/2.4.2/lib/ast/node.rb#56
6775
+ # source://rubocop-ast//lib/rubocop/ast/node/super_node.rb#20
6666
6776
  def arguments; end
6667
6777
 
6668
6778
  # Custom destructuring method. This can be used to normalize
@@ -6849,394 +6959,397 @@ RuboCop::AST::Token::LEFT_PAREN_TYPES = T.let(T.unsafe(nil), Array)
6849
6959
  module RuboCop::AST::Traversal
6850
6960
  extend ::RuboCop::AST::Traversal::CallbackCompiler
6851
6961
 
6852
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#173
6962
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43
6853
6963
  def on_(node); end
6854
6964
 
6855
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#123
6965
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
6856
6966
  def on___ENCODING__(node); end
6857
6967
 
6858
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#123
6968
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
6859
6969
  def on___FILE__(node); end
6860
6970
 
6861
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#123
6971
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
6862
6972
  def on___LINE__(node); end
6863
6973
 
6864
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136
6974
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
6865
6975
  def on_alias(node); end
6866
6976
 
6867
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136
6977
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
6868
6978
  def on_and(node); end
6869
6979
 
6870
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136
6980
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
6871
6981
  def on_and_asgn(node); end
6872
6982
 
6873
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#127
6983
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
6874
6984
  def on_arg(node); end
6875
6985
 
6876
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#128
6986
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
6877
6987
  def on_arg_expr(node); end
6878
6988
 
6879
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136
6989
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
6880
6990
  def on_args(node); end
6881
6991
 
6882
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136
6992
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
6883
6993
  def on_array(node); end
6884
6994
 
6885
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136
6995
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
6886
6996
  def on_array_pattern(node); end
6887
6997
 
6888
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136
6998
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
6889
6999
  def on_array_pattern_with_tail(node); end
6890
7000
 
6891
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#127
7001
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
6892
7002
  def on_back_ref(node); end
6893
7003
 
6894
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136
7004
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
6895
7005
  def on_begin(node); end
6896
7006
 
6897
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#151
7007
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43
6898
7008
  def on_block(node); end
6899
7009
 
6900
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#129
7010
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43
6901
7011
  def on_block_pass(node); end
6902
7012
 
6903
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#127
7013
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
6904
7014
  def on_blockarg(node); end
6905
7015
 
6906
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136
7016
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
6907
7017
  def on_break(node); end
6908
7018
 
6909
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#139
7019
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43
6910
7020
  def on_case(node); end
6911
7021
 
6912
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#139
7022
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
6913
7023
  def on_case_match(node); end
6914
7024
 
6915
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#146
7025
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43
6916
7026
  def on_casgn(node); end
6917
7027
 
6918
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#123
7028
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
6919
7029
  def on_cbase(node); end
6920
7030
 
6921
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#147
7031
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43
6922
7032
  def on_class(node); end
6923
7033
 
6924
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#127
7034
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
6925
7035
  def on_complex(node); end
6926
7036
 
6927
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#145
7037
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43
6928
7038
  def on_const(node); end
6929
7039
 
6930
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136
7040
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
6931
7041
  def on_const_pattern(node); end
6932
7042
 
6933
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#155
7043
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
6934
7044
  def on_csend(node); end
6935
7045
 
6936
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#127
7046
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
6937
7047
  def on_cvar(node); end
6938
7048
 
6939
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#131
7049
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
6940
7050
  def on_cvasgn(node); end
6941
7051
 
6942
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#148
7052
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43
6943
7053
  def on_def(node); end
6944
7054
 
6945
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#128
7055
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
6946
7056
  def on_defined?(node); end
6947
7057
 
6948
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#153
7058
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43
6949
7059
  def on_defs(node); end
6950
7060
 
6951
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136
7061
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43
6952
7062
  def on_dstr(node); end
6953
7063
 
6954
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136
7064
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
6955
7065
  def on_dsym(node); end
6956
7066
 
6957
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136
7067
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
6958
7068
  def on_eflipflop(node); end
6959
7069
 
6960
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#123
7070
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
6961
7071
  def on_empty_else(node); end
6962
7072
 
6963
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#139
7073
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
6964
7074
  def on_ensure(node); end
6965
7075
 
6966
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#139
7076
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
6967
7077
  def on_erange(node); end
6968
7078
 
6969
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#123
7079
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
6970
7080
  def on_false(node); end
6971
7081
 
6972
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136
7082
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
6973
7083
  def on_find_pattern(node); end
6974
7084
 
6975
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#127
7085
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
6976
7086
  def on_float(node); end
6977
7087
 
6978
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#139
7088
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
6979
7089
  def on_for(node); end
6980
7090
 
6981
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#123
7091
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
6982
7092
  def on_forward_arg(node); end
6983
7093
 
6984
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#123
7094
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
6985
7095
  def on_forward_args(node); end
6986
7096
 
6987
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#123
7097
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
6988
7098
  def on_forwarded_args(node); end
6989
7099
 
6990
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#123
7100
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
6991
7101
  def on_forwarded_kwrestarg(node); end
6992
7102
 
6993
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#123
7103
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
6994
7104
  def on_forwarded_restarg(node); end
6995
7105
 
6996
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#127
7106
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
6997
7107
  def on_gvar(node); end
6998
7108
 
6999
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#131
7109
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7000
7110
  def on_gvasgn(node); end
7001
7111
 
7002
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136
7112
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7003
7113
  def on_hash(node); end
7004
7114
 
7005
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136
7115
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7006
7116
  def on_hash_pattern(node); end
7007
7117
 
7008
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#150
7118
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43
7009
7119
  def on_if(node); end
7010
7120
 
7011
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#128
7121
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7012
7122
  def on_if_guard(node); end
7013
7123
 
7014
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136
7124
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7015
7125
  def on_iflipflop(node); end
7016
7126
 
7017
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136
7127
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7018
7128
  def on_in_match(node); end
7019
7129
 
7020
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#139
7130
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7021
7131
  def on_in_pattern(node); end
7022
7132
 
7023
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136
7133
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7024
7134
  def on_index(node); end
7025
7135
 
7026
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136
7136
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7027
7137
  def on_indexasgn(node); end
7028
7138
 
7029
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#127
7139
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43
7030
7140
  def on_int(node); end
7031
7141
 
7032
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#139
7142
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7033
7143
  def on_irange(node); end
7034
7144
 
7035
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#127
7145
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43
7146
+ def on_itblock(node); end
7147
+
7148
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7036
7149
  def on_ivar(node); end
7037
7150
 
7038
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#131
7151
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7039
7152
  def on_ivasgn(node); end
7040
7153
 
7041
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#127
7154
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7042
7155
  def on_kwarg(node); end
7043
7156
 
7044
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136
7157
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7045
7158
  def on_kwargs(node); end
7046
7159
 
7047
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136
7160
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7048
7161
  def on_kwbegin(node); end
7049
7162
 
7050
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#123
7163
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7051
7164
  def on_kwnilarg(node); end
7052
7165
 
7053
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#132
7166
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7054
7167
  def on_kwoptarg(node); end
7055
7168
 
7056
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#124
7169
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7057
7170
  def on_kwrestarg(node); end
7058
7171
 
7059
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#125
7172
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7060
7173
  def on_kwsplat(node); end
7061
7174
 
7062
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#123
7175
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7063
7176
  def on_lambda(node); end
7064
7177
 
7065
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#127
7178
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7066
7179
  def on_lvar(node); end
7067
7180
 
7068
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#131
7181
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43
7069
7182
  def on_lvasgn(node); end
7070
7183
 
7071
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136
7184
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7072
7185
  def on_masgn(node); end
7073
7186
 
7074
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136
7187
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7075
7188
  def on_match_alt(node); end
7076
7189
 
7077
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136
7190
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7078
7191
  def on_match_as(node); end
7079
7192
 
7080
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#128
7193
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7081
7194
  def on_match_current_line(node); end
7082
7195
 
7083
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#123
7196
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7084
7197
  def on_match_nil_pattern(node); end
7085
7198
 
7086
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#139
7199
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7087
7200
  def on_match_pattern(node); end
7088
7201
 
7089
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#139
7202
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7090
7203
  def on_match_pattern_p(node); end
7091
7204
 
7092
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#125
7205
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7093
7206
  def on_match_rest(node); end
7094
7207
 
7095
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#127
7208
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7096
7209
  def on_match_var(node); end
7097
7210
 
7098
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136
7211
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7099
7212
  def on_match_with_lvasgn(node); end
7100
7213
 
7101
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#128
7214
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7102
7215
  def on_match_with_trailing_comma(node); end
7103
7216
 
7104
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136
7217
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7105
7218
  def on_mlhs(node); end
7106
7219
 
7107
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#133
7220
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7108
7221
  def on_module(node); end
7109
7222
 
7110
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136
7223
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7111
7224
  def on_mrasgn(node); end
7112
7225
 
7113
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136
7226
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7114
7227
  def on_next(node); end
7115
7228
 
7116
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#123
7229
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7117
7230
  def on_nil(node); end
7118
7231
 
7119
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#128
7232
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43
7120
7233
  def on_not(node); end
7121
7234
 
7122
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#127
7235
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7123
7236
  def on_nth_ref(node); end
7124
7237
 
7125
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#152
7238
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43
7126
7239
  def on_numblock(node); end
7127
7240
 
7128
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#149
7241
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43
7129
7242
  def on_op_asgn(node); end
7130
7243
 
7131
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#132
7244
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43
7132
7245
  def on_optarg(node); end
7133
7246
 
7134
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136
7247
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7135
7248
  def on_or(node); end
7136
7249
 
7137
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136
7250
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7138
7251
  def on_or_asgn(node); end
7139
7252
 
7140
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136
7253
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7141
7254
  def on_pair(node); end
7142
7255
 
7143
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#128
7256
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7144
7257
  def on_pin(node); end
7145
7258
 
7146
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#129
7259
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7147
7260
  def on_postexe(node); end
7148
7261
 
7149
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#129
7262
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7150
7263
  def on_preexe(node); end
7151
7264
 
7152
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136
7265
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7153
7266
  def on_procarg0(node); end
7154
7267
 
7155
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136
7268
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7156
7269
  def on_rasgn(node); end
7157
7270
 
7158
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#127
7271
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7159
7272
  def on_rational(node); end
7160
7273
 
7161
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#123
7274
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7162
7275
  def on_redo(node); end
7163
7276
 
7164
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136
7277
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7165
7278
  def on_regexp(node); end
7166
7279
 
7167
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#135
7280
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43
7168
7281
  def on_regopt(node); end
7169
7282
 
7170
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#139
7283
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7171
7284
  def on_resbody(node); end
7172
7285
 
7173
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#139
7286
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7174
7287
  def on_rescue(node); end
7175
7288
 
7176
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#124
7289
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43
7177
7290
  def on_restarg(node); end
7178
7291
 
7179
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#123
7292
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7180
7293
  def on_retry(node); end
7181
7294
 
7182
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136
7295
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7183
7296
  def on_return(node); end
7184
7297
 
7185
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#133
7298
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7186
7299
  def on_sclass(node); end
7187
7300
 
7188
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#123
7301
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7189
7302
  def on_self(node); end
7190
7303
 
7191
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#155
7304
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43
7192
7305
  def on_send(node); end
7193
7306
 
7194
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#127
7307
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7195
7308
  def on_shadowarg(node); end
7196
7309
 
7197
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#125
7310
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43
7198
7311
  def on_splat(node); end
7199
7312
 
7200
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#127
7313
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7201
7314
  def on_str(node); end
7202
7315
 
7203
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136
7316
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7204
7317
  def on_super(node); end
7205
7318
 
7206
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#127
7319
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7207
7320
  def on_sym(node); end
7208
7321
 
7209
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#123
7322
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43
7210
7323
  def on_true(node); end
7211
7324
 
7212
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136
7325
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7213
7326
  def on_undef(node); end
7214
7327
 
7215
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#128
7328
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7216
7329
  def on_unless_guard(node); end
7217
7330
 
7218
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#133
7331
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7219
7332
  def on_until(node); end
7220
7333
 
7221
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136
7334
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7222
7335
  def on_until_post(node); end
7223
7336
 
7224
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#139
7337
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7225
7338
  def on_when(node); end
7226
7339
 
7227
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#133
7340
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#43
7228
7341
  def on_while(node); end
7229
7342
 
7230
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136
7343
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7231
7344
  def on_while_post(node); end
7232
7345
 
7233
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136
7346
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7234
7347
  def on_xstr(node); end
7235
7348
 
7236
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#136
7349
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7237
7350
  def on_yield(node); end
7238
7351
 
7239
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#123
7352
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#50
7240
7353
  def on_zsuper(node); end
7241
7354
 
7242
7355
  # source://rubocop-ast//lib/rubocop/ast/traversal.rb#17
@@ -7249,18 +7362,18 @@ end
7249
7362
  module RuboCop::AST::Traversal::CallbackCompiler
7250
7363
  # @api private
7251
7364
  #
7252
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#61
7253
- def arity_check(range); end
7365
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#54
7366
+ def body(child_node_types, expected_children_count); end
7254
7367
 
7255
7368
  # @api private
7256
7369
  #
7257
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#52
7258
- def body(signature, prelude); end
7370
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#68
7371
+ def children_count_check_code(range); end
7259
7372
 
7260
7373
  # @api private
7261
7374
  #
7262
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#35
7263
- def def_callback(type, *signature, arity: T.unsafe(nil), arity_check: T.unsafe(nil), body: T.unsafe(nil)); end
7375
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#38
7376
+ def def_callback(type, *child_node_types, expected_children_count: T.unsafe(nil), body: T.unsafe(nil)); end
7264
7377
  end
7265
7378
 
7266
7379
  # @api private
@@ -7268,9 +7381,13 @@ end
7268
7381
  # source://rubocop-ast//lib/rubocop/ast/traversal.rb#26
7269
7382
  RuboCop::AST::Traversal::CallbackCompiler::SEND = T.let(T.unsafe(nil), String)
7270
7383
 
7384
+ # How a particular child node should be visited. For example, if a child node
7385
+ # can be nil it should be guarded behind a nil check. Or, if a child node is a literal
7386
+ # (like a symbol) then the literal itself should not be visited.
7387
+ #
7271
7388
  # @api private
7272
7389
  #
7273
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#29
7390
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#32
7274
7391
  RuboCop::AST::Traversal::CallbackCompiler::TEMPLATE = T.let(T.unsafe(nil), Hash)
7275
7392
 
7276
7393
  # Only for debugging.
@@ -7280,7 +7397,7 @@ RuboCop::AST::Traversal::CallbackCompiler::TEMPLATE = T.let(T.unsafe(nil), Hash)
7280
7397
  # source://rubocop-ast//lib/rubocop/ast/traversal.rb#12
7281
7398
  class RuboCop::AST::Traversal::DebugError < ::RuntimeError; end
7282
7399
 
7283
- # source://rubocop-ast//lib/rubocop/ast/traversal.rb#100
7400
+ # source://rubocop-ast//lib/rubocop/ast/traversal.rb#109
7284
7401
  RuboCop::AST::Traversal::NO_CHILD_NODES = T.let(T.unsafe(nil), Set)
7285
7402
 
7286
7403
  # source://rubocop-ast//lib/rubocop/ast/traversal.rb#15
@@ -7418,7 +7535,7 @@ class RuboCop::AST::YieldNode < ::RuboCop::AST::Node
7418
7535
  include ::RuboCop::AST::MethodIdentifierPredicates
7419
7536
  include ::RuboCop::AST::MethodDispatchNode
7420
7537
 
7421
- # source://ast/2.4.2/lib/ast/node.rb#56
7538
+ # source://rubocop-ast//lib/rubocop/ast/node/yield_node.rb#20
7422
7539
  def arguments; end
7423
7540
 
7424
7541
  # Custom destructuring method. This can be used to normalize
@@ -7430,340 +7547,9 @@ class RuboCop::AST::YieldNode < ::RuboCop::AST::Node
7430
7547
  def node_parts; end
7431
7548
  end
7432
7549
 
7433
- class RuboCop::CommentConfig
7434
- # source://rubocop/1.71.2/lib/rubocop/comment_config.rb#34
7435
- def initialize(processed_source); end
7436
-
7437
- # source://rubocop/1.71.2/lib/rubocop/comment_config.rb#63
7438
- def comment_only_line?(line_number); end
7439
-
7440
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
7441
- def config(*_arg0, **_arg1, &_arg2); end
7442
-
7443
- # source://rubocop/1.71.2/lib/rubocop/comment_config.rb#51
7444
- def cop_disabled_line_ranges; end
7445
-
7446
- # source://rubocop/1.71.2/lib/rubocop/comment_config.rb#39
7447
- def cop_enabled_at_line?(cop, line_number); end
7448
-
7449
- # source://rubocop/1.71.2/lib/rubocop/comment_config.rb#47
7450
- def cop_opted_in?(cop); end
7451
-
7452
- # source://rubocop/1.71.2/lib/rubocop/comment_config.rb#55
7453
- def extra_enabled_comments; end
7454
-
7455
- # source://rubocop/1.71.2/lib/rubocop/comment_config.rb#30
7456
- def processed_source; end
7457
-
7458
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
7459
- def registry(*_arg0, **_arg1, &_arg2); end
7460
-
7461
- private
7462
-
7463
- # source://rubocop/1.71.2/lib/rubocop/comment_config.rb#96
7464
- def analyze; end
7465
-
7466
- # source://rubocop/1.71.2/lib/rubocop/comment_config.rb#124
7467
- def analyze_cop(analysis, directive); end
7468
-
7469
- # source://rubocop/1.71.2/lib/rubocop/comment_config.rb#144
7470
- def analyze_disabled(analysis, directive); end
7471
-
7472
- # source://rubocop/1.71.2/lib/rubocop/comment_config.rb#155
7473
- def analyze_rest(analysis, directive); end
7474
-
7475
- # source://rubocop/1.71.2/lib/rubocop/comment_config.rb#135
7476
- def analyze_single_line(analysis, directive); end
7477
-
7478
- # source://rubocop/1.71.2/lib/rubocop/comment_config.rb#164
7479
- def cop_line_ranges(analysis); end
7480
-
7481
- # source://rubocop/1.71.2/lib/rubocop/comment_config.rb#170
7482
- def each_directive; end
7483
-
7484
- # source://rubocop/1.71.2/lib/rubocop/comment_config.rb#69
7485
- def extra_enabled_comments_with_names(extras:, names:); end
7486
-
7487
- # source://rubocop/1.71.2/lib/rubocop/comment_config.rb#190
7488
- def handle_enable_all(directive, names, extras); end
7489
-
7490
- # source://rubocop/1.71.2/lib/rubocop/comment_config.rb#204
7491
- def handle_switch(directive, names, extras); end
7492
-
7493
- # source://rubocop/1.71.2/lib/rubocop/comment_config.rb#115
7494
- def inject_disabled_cops_directives(analyses); end
7495
-
7496
- # source://rubocop/1.71.2/lib/rubocop/comment_config.rb#183
7497
- def non_comment_token_line_numbers; end
7498
-
7499
- # source://rubocop/1.71.2/lib/rubocop/comment_config.rb#83
7500
- def opt_in_cops; end
7501
-
7502
- # source://rubocop/1.71.2/lib/rubocop/comment_config.rb#179
7503
- def qualified_cop_name(cop_name); end
7504
- end
7505
-
7506
- class RuboCop::Config
7507
- # source://rubocop/1.71.2/lib/rubocop/config.rb#31
7508
- def initialize(hash = T.unsafe(nil), loaded_path = T.unsafe(nil)); end
7509
-
7510
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
7511
- def [](*_arg0, **_arg1, &_arg2); end
7512
-
7513
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
7514
- def []=(*_arg0, **_arg1, &_arg2); end
7515
-
7516
- # source://rubocop/1.71.2/lib/rubocop/config.rb#179
7517
- def active_support_extensions_enabled?; end
7518
-
7519
- # source://rubocop/1.71.2/lib/rubocop/config.rb#94
7520
- def add_excludes_from_higher_level(highest_config); end
7521
-
7522
- # source://rubocop/1.71.2/lib/rubocop/config.rb#206
7523
- def allowed_camel_case_file?(file); end
7524
-
7525
- # source://rubocop/1.71.2/lib/rubocop/config.rb#250
7526
- def base_dir_for_path_parameters; end
7527
-
7528
- # source://rubocop/1.71.2/lib/rubocop/config.rb#280
7529
- def bundler_lock_file_path; end
7530
-
7531
- # source://rubocop/1.71.2/lib/rubocop/config.rb#52
7532
- def check; end
7533
-
7534
- # source://rubocop/1.71.2/lib/rubocop/config.rb#147
7535
- def clusivity_config_for_badge?(badge); end
7536
-
7537
- # source://rubocop/1.71.2/lib/rubocop/config.rb#167
7538
- def cop_enabled?(name); end
7539
-
7540
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
7541
- def delete(*_arg0, **_arg1, &_arg2); end
7542
-
7543
- # source://rubocop/1.71.2/lib/rubocop/config.rb#106
7544
- def deprecation_check; end
7545
-
7546
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
7547
- def dig(*_arg0, **_arg1, &_arg2); end
7548
-
7549
- # source://rubocop/1.71.2/lib/rubocop/config.rb#171
7550
- def disabled_new_cops?; end
7551
-
7552
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
7553
- def each(*_arg0, **_arg1, &_arg2); end
7554
-
7555
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
7556
- def each_key(*_arg0, **_arg1, &_arg2); end
7557
-
7558
- # source://rubocop/1.71.2/lib/rubocop/config.rb#175
7559
- def enabled_new_cops?; end
7560
-
7561
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
7562
- def fetch(*_arg0, **_arg1, &_arg2); end
7563
-
7564
- # source://rubocop/1.71.2/lib/rubocop/config.rb#228
7565
- def file_to_exclude?(file); end
7566
-
7567
- # source://rubocop/1.71.2/lib/rubocop/config.rb#187
7568
- def file_to_include?(file); end
7569
-
7570
- # source://rubocop/1.71.2/lib/rubocop/config.rb#163
7571
- def for_all_cops; end
7572
-
7573
- # source://rubocop/1.71.2/lib/rubocop/config.rb#133
7574
- def for_badge(badge); end
7575
-
7576
- # source://rubocop/1.71.2/lib/rubocop/config.rb#120
7577
- def for_cop(cop); end
7578
-
7579
- # source://rubocop/1.71.2/lib/rubocop/config.rb#158
7580
- def for_department(department_name); end
7581
-
7582
- # source://rubocop/1.71.2/lib/rubocop/config.rb#127
7583
- def for_enabled_cop(cop); end
7584
-
7585
- # source://rubocop/1.71.2/lib/rubocop/config.rb#305
7586
- def gem_versions_in_target; end
7587
-
7588
- # source://rubocop/1.71.2/lib/rubocop/config.rb#309
7589
- def inspect; end
7590
-
7591
- # source://rubocop/1.71.2/lib/rubocop/config.rb#77
7592
- def internal?; end
7593
-
7594
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
7595
- def key?(*_arg0, **_arg1, &_arg2); end
7596
-
7597
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
7598
- def keys(*_arg0, **_arg1, &_arg2); end
7599
-
7600
- # source://rubocop/1.71.2/lib/rubocop/config.rb#48
7601
- def loaded_features; end
7602
-
7603
- # source://rubocop/1.71.2/lib/rubocop/config.rb#21
7604
- def loaded_path; end
7605
-
7606
- # source://rubocop/1.71.2/lib/rubocop/config.rb#82
7607
- def make_excludes_absolute; end
7608
-
7609
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
7610
- def map(*_arg0, **_arg1, &_arg2); end
7611
-
7612
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
7613
- def merge(*_arg0, **_arg1, &_arg2); end
7614
-
7615
- # source://rubocop/1.71.2/lib/rubocop/config.rb#260
7616
- def parser_engine; end
7617
-
7618
- # source://rubocop/1.71.2/lib/rubocop/config.rb#241
7619
- def path_relative_to_config(path); end
7620
-
7621
- # source://rubocop/1.71.2/lib/rubocop/config.rb#237
7622
- def patterns_to_exclude; end
7623
-
7624
- # source://rubocop/1.71.2/lib/rubocop/config.rb#233
7625
- def patterns_to_include; end
7626
-
7627
- # source://rubocop/1.71.2/lib/rubocop/config.rb#291
7628
- def pending_cops; end
7629
-
7630
- # source://rubocop/1.71.2/lib/rubocop/config.rb#220
7631
- def possibly_include_hidden?; end
7632
-
7633
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
7634
- def replace(*_arg0, **_arg1, &_arg2); end
7635
-
7636
- # source://rubocop/1.71.2/lib/rubocop/config.rb#72
7637
- def signature; end
7638
-
7639
- # source://rubocop/1.71.2/lib/rubocop/config.rb#275
7640
- def smart_loaded_path; end
7641
-
7642
- # source://rubocop/1.71.2/lib/rubocop/config.rb#183
7643
- def string_literals_frozen_by_default?; end
7644
-
7645
- # source://rubocop/1.71.2/lib/rubocop/config.rb#264
7646
- def target_rails_version; end
7647
-
7648
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
7649
- def target_ruby_version(*_arg0, **_arg1, &_arg2); end
7650
-
7651
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
7652
- def to_h(*_arg0, **_arg1, &_arg2); end
7653
-
7654
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
7655
- def to_hash(*_arg0, **_arg1, &_arg2); end
7656
-
7657
- # source://rubocop/1.71.2/lib/rubocop/config.rb#68
7658
- def to_s; end
7659
-
7660
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
7661
- def transform_values(*_arg0, **_arg1, &_arg2); end
7662
-
7663
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
7664
- def validate(*_arg0, **_arg1, &_arg2); end
7665
-
7666
- # source://rubocop/1.71.2/lib/rubocop/config.rb#59
7667
- def validate_after_resolution; end
7668
-
7669
- private
7670
-
7671
- # source://rubocop/1.71.2/lib/rubocop/config.rb#359
7672
- def department_of(qualified_cop_name); end
7673
-
7674
- # source://rubocop/1.71.2/lib/rubocop/config.rb#347
7675
- def enable_cop?(qualified_cop_name, cop_options); end
7676
-
7677
- # source://rubocop/1.71.2/lib/rubocop/config.rb#334
7678
- def gem_version_to_major_minor_float(gem_version); end
7679
-
7680
- # source://rubocop/1.71.2/lib/rubocop/config.rb#340
7681
- def read_gem_versions_from_target_lockfile; end
7682
-
7683
- # source://rubocop/1.71.2/lib/rubocop/config.rb#321
7684
- def read_rails_version_from_bundler_lock_file; end
7685
-
7686
- # source://rubocop/1.71.2/lib/rubocop/config.rb#316
7687
- def target_rails_version_from_bundler_lock_file; end
7688
-
7689
- class << self
7690
- # source://rubocop/1.71.2/lib/rubocop/config.rb#23
7691
- def create(hash, path, check: T.unsafe(nil)); end
7692
- end
7693
- end
7694
-
7695
- class RuboCop::ConfigValidator
7696
- # source://rubocop/1.71.2/lib/rubocop/config_validator.rb#28
7697
- def initialize(config); end
7698
-
7699
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
7700
- def for_all_cops(*_arg0, **_arg1, &_arg2); end
7701
-
7702
- # source://rubocop-ast//lib/rubocop/ast/utilities/simple_forwardable.rb#9
7703
- def smart_loaded_path(*_arg0, **_arg1, &_arg2); end
7704
-
7705
- # source://rubocop/1.71.2/lib/rubocop/config_validator.rb#65
7706
- def target_ruby_version; end
7707
-
7708
- # source://rubocop/1.71.2/lib/rubocop/config_validator.rb#34
7709
- def validate; end
7710
-
7711
- # source://rubocop/1.71.2/lib/rubocop/config_validator.rb#61
7712
- def validate_after_resolution; end
7713
-
7714
- private
7715
-
7716
- # source://rubocop/1.71.2/lib/rubocop/config_validator.rb#100
7717
- def alert_about_unrecognized_cops(invalid_cop_names); end
7718
-
7719
- # source://rubocop/1.71.2/lib/rubocop/config_validator.rb#263
7720
- def check_cop_config_value(hash, parent = T.unsafe(nil)); end
7721
-
7722
- # source://rubocop/1.71.2/lib/rubocop/config_validator.rb#73
7723
- def check_obsoletions; end
7724
-
7725
- # source://rubocop/1.71.2/lib/rubocop/config_validator.rb#80
7726
- def check_target_ruby; end
7727
-
7728
- # source://rubocop/1.71.2/lib/rubocop/config_validator.rb#204
7729
- def each_invalid_parameter(cop_name); end
7730
-
7731
- # source://rubocop/1.71.2/lib/rubocop/config_validator.rb#116
7732
- def list_unknown_cops(invalid_cop_names); end
7733
-
7734
- # source://rubocop/1.71.2/lib/rubocop/config_validator.rb#283
7735
- def param_error_message(parent, key, value, supposed_values); end
7736
-
7737
- # source://rubocop/1.71.2/lib/rubocop/config_validator.rb#251
7738
- def reject_conflicting_safe_settings; end
7739
-
7740
- # source://rubocop/1.71.2/lib/rubocop/config_validator.rb#242
7741
- def reject_mutually_exclusive_defaults; end
7742
-
7743
- # source://rubocop/1.71.2/lib/rubocop/config_validator.rb#138
7744
- def suggestion(name); end
7745
-
7746
- # source://rubocop/1.71.2/lib/rubocop/config_validator.rb#71
7747
- def target_ruby; end
7748
-
7749
- # source://rubocop/1.71.2/lib/rubocop/config_validator.rb#216
7750
- def validate_enforced_styles(valid_cop_names); end
7751
-
7752
- # source://rubocop/1.71.2/lib/rubocop/config_validator.rb#165
7753
- def validate_new_cops_parameter; end
7754
-
7755
- # source://rubocop/1.71.2/lib/rubocop/config_validator.rb#190
7756
- def validate_parameter_names(valid_cop_names); end
7757
-
7758
- # source://rubocop/1.71.2/lib/rubocop/config_validator.rb#176
7759
- def validate_parameter_shape(valid_cop_names); end
7760
-
7761
- # source://rubocop/1.71.2/lib/rubocop/config_validator.rb#236
7762
- def validate_support_and_has_list(name, formats, valid); end
7763
-
7764
- # source://rubocop/1.71.2/lib/rubocop/config_validator.rb#154
7765
- def validate_syntax_cop; end
7766
- end
7550
+ class RuboCop::CommentConfig; end
7551
+ class RuboCop::Config; end
7552
+ class RuboCop::ConfigValidator; end
7767
7553
 
7768
7554
  # Similar to `Forwardable#def_delegators`, but simpler & faster
7769
7555
  #