mangrove 0.24.0 → 0.29.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +30 -3
- data/lib/mangrove/result.rb +3 -3
- data/lib/mangrove/version.rb +1 -1
- data/rbi/mangrove.rbi +20 -0
- data/sorbet/rbi/gems/{json@2.6.3.rbi → json@2.7.1.rbi} +83 -63
- data/sorbet/rbi/gems/{prism@0.15.1.rbi → prism@0.18.0.rbi} +8899 -4119
- data/sorbet/rbi/gems/{racc@1.7.1.rbi → racc@1.7.3.rbi} +35 -35
- data/sorbet/rbi/gems/{rake@13.0.6.rbi → rake@13.1.0.rbi} +206 -63
- data/sorbet/rbi/gems/{rbi@0.1.3.rbi → rbi@0.1.5.rbi} +25 -25
- data/sorbet/rbi/gems/{rdoc@6.6.0.rbi → rdoc@6.6.1.rbi} +130 -127
- data/sorbet/rbi/gems/{regexp_parser@2.8.2.rbi → regexp_parser@2.8.3.rbi} +37 -37
- data/sorbet/rbi/gems/{rubocop-ast@1.29.0.rbi → rubocop-ast@1.30.0.rbi} +249 -225
- data/sorbet/rbi/gems/{rubocop-rspec@2.24.1.rbi → rubocop-rspec@2.25.0.rbi} +39 -33
- data/sorbet/rbi/gems/{rubocop@1.57.1.rbi → rubocop@1.59.0.rbi} +1146 -686
- data/sorbet/rbi/gems/{tapioca@0.11.10.rbi → tapioca@0.11.13.rbi} +65 -65
- metadata +20 -20
- data/sorbet/rbi/gems/base64@0.1.1.rbi +0 -172
- data/sorbet/rbi/gems/irb@1.9.0.rbi +0 -342
- /data/sorbet/rbi/gems/{io-console@0.6.0.rbi → io-console@0.7.0.rbi} +0 -0
- /data/sorbet/rbi/gems/{reline@0.4.0.rbi → reline@0.4.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{ruby-lsp@0.12.0.rbi → ruby-lsp@0.13.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{stringio@3.0.9.rbi → stringio@3.1.0.rbi} +0 -0
@@ -22,7 +22,7 @@ end
|
|
22
22
|
# node when the builder constructs the AST, making its methods available
|
23
23
|
# to all `alias` nodes within RuboCop.
|
24
24
|
#
|
25
|
-
# source://rubocop-ast//lib/rubocop/ast/node/alias_node.rb#
|
25
|
+
# source://rubocop-ast//lib/rubocop/ast/node/alias_node.rb#8
|
26
26
|
class RuboCop::AST::AliasNode < ::RuboCop::AST::Node
|
27
27
|
# Returns the new identifier as specified by the `alias`.
|
28
28
|
#
|
@@ -43,7 +43,7 @@ end
|
|
43
43
|
# This will be used in place of a plain node when the builder constructs
|
44
44
|
# the AST, making its methods available to all assignment nodes within RuboCop.
|
45
45
|
#
|
46
|
-
# source://rubocop-ast//lib/rubocop/ast/node/and_asgn_node.rb#
|
46
|
+
# source://rubocop-ast//lib/rubocop/ast/node/and_asgn_node.rb#8
|
47
47
|
class RuboCop::AST::AndAsgnNode < ::RuboCop::AST::OpAsgnNode
|
48
48
|
# The operator being used for assignment as a symbol.
|
49
49
|
#
|
@@ -84,7 +84,7 @@ end
|
|
84
84
|
# This will be used in place of a plain node when the builder constructs
|
85
85
|
# the AST, making its methods available to all `arg` nodes within RuboCop.
|
86
86
|
#
|
87
|
-
# source://rubocop-ast//lib/rubocop/ast/node/arg_node.rb#
|
87
|
+
# source://rubocop-ast//lib/rubocop/ast/node/arg_node.rb#9
|
88
88
|
class RuboCop::AST::ArgNode < ::RuboCop::AST::Node
|
89
89
|
# Checks whether the argument has a default value
|
90
90
|
#
|
@@ -198,7 +198,7 @@ RuboCop::AST::ArrayNode::PERCENT_LITERAL_TYPES = T.let(T.unsafe(nil), Hash)
|
|
198
198
|
# This will be used in place of a plain node when the builder constructs
|
199
199
|
# the AST, making its methods available to all assignment nodes within RuboCop.
|
200
200
|
#
|
201
|
-
# source://rubocop-ast//lib/rubocop/ast/node/asgn_node.rb#
|
201
|
+
# source://rubocop-ast//lib/rubocop/ast/node/asgn_node.rb#8
|
202
202
|
class RuboCop::AST::AsgnNode < ::RuboCop::AST::Node
|
203
203
|
# The expression being assigned to the variable.
|
204
204
|
#
|
@@ -275,7 +275,7 @@ class RuboCop::AST::BlockNode < ::RuboCop::AST::Node
|
|
275
275
|
#
|
276
276
|
# @return [Array<Node>]
|
277
277
|
#
|
278
|
-
# source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#
|
278
|
+
# source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#60
|
279
279
|
def argument_list; end
|
280
280
|
|
281
281
|
# The arguments of this block.
|
@@ -285,63 +285,81 @@ class RuboCop::AST::BlockNode < ::RuboCop::AST::Node
|
|
285
285
|
#
|
286
286
|
# @return [Array<Node>]
|
287
287
|
#
|
288
|
-
# source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#
|
288
|
+
# source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#48
|
289
289
|
def arguments; end
|
290
290
|
|
291
291
|
# Checks whether this block takes any arguments.
|
292
292
|
#
|
293
293
|
# @return [Boolean] whether this `block` node takes any arguments
|
294
294
|
#
|
295
|
-
# source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#
|
295
|
+
# source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#85
|
296
296
|
def arguments?; end
|
297
297
|
|
298
298
|
# The body of this block.
|
299
299
|
#
|
300
300
|
# @return [Node, nil] the body of the `block` node or `nil`
|
301
301
|
#
|
302
|
-
# source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#
|
302
|
+
# source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#71
|
303
303
|
def body; end
|
304
304
|
|
305
305
|
# Checks whether the `block` literal is delimited by curly braces.
|
306
306
|
#
|
307
307
|
# @return [Boolean] whether the `block` literal is enclosed in braces
|
308
308
|
#
|
309
|
-
# source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#
|
309
|
+
# source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#92
|
310
310
|
def braces?; end
|
311
311
|
|
312
312
|
# The closing delimiter for this `block` literal.
|
313
313
|
#
|
314
314
|
# @return [String] the closing delimiter for the `block` literal
|
315
315
|
#
|
316
|
-
# source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#
|
316
|
+
# source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#120
|
317
317
|
def closing_delimiter; end
|
318
318
|
|
319
319
|
# The delimiters for this `block` literal.
|
320
320
|
#
|
321
321
|
# @return [Array<String>] the delimiters for the `block` literal
|
322
322
|
#
|
323
|
-
# source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#
|
323
|
+
# source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#106
|
324
324
|
def delimiters; end
|
325
325
|
|
326
|
+
# A shorthand for getting the first argument of this block.
|
327
|
+
# Equivalent to `arguments.first`.
|
328
|
+
#
|
329
|
+
# @return [Node, nil] the first argument of this block,
|
330
|
+
# or `nil` if there are no arguments
|
331
|
+
#
|
332
|
+
# source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#29
|
333
|
+
def first_argument; end
|
334
|
+
|
326
335
|
# Checks whether the `block` literal is delimited by `do`-`end` keywords.
|
327
336
|
#
|
328
337
|
# @return [Boolean] whether the `block` literal is enclosed in `do`-`end`
|
329
338
|
#
|
330
|
-
# source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#
|
339
|
+
# source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#99
|
331
340
|
def keywords?; end
|
332
341
|
|
333
342
|
# Checks whether this `block` literal belongs to a lambda.
|
334
343
|
#
|
335
344
|
# @return [Boolean] whether the `block` literal belongs to a lambda
|
336
345
|
#
|
337
|
-
# source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#
|
346
|
+
# source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#143
|
338
347
|
def lambda?; end
|
339
348
|
|
349
|
+
# A shorthand for getting the last argument of this block.
|
350
|
+
# Equivalent to `arguments.last`.
|
351
|
+
#
|
352
|
+
# @return [Node, nil] the last argument of this block,
|
353
|
+
# or `nil` if there are no arguments
|
354
|
+
#
|
355
|
+
# source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#38
|
356
|
+
def last_argument; end
|
357
|
+
|
340
358
|
# The name of the dispatched method as a symbol.
|
341
359
|
#
|
342
360
|
# @return [Symbol] the name of the dispatched method
|
343
361
|
#
|
344
|
-
# source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#
|
362
|
+
# source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#78
|
345
363
|
def method_name; end
|
346
364
|
|
347
365
|
# Checks whether this is a multiline block. This is overridden here
|
@@ -349,14 +367,14 @@ class RuboCop::AST::BlockNode < ::RuboCop::AST::Node
|
|
349
367
|
#
|
350
368
|
# @return [Boolean] whether the `block` literal is on a several lines
|
351
369
|
#
|
352
|
-
# source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#
|
370
|
+
# source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#136
|
353
371
|
def multiline?; end
|
354
372
|
|
355
373
|
# The opening delimiter for this `block` literal.
|
356
374
|
#
|
357
375
|
# @return [String] the opening delimiter for the `block` literal
|
358
376
|
#
|
359
|
-
# source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#
|
377
|
+
# source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#113
|
360
378
|
def opening_delimiter; end
|
361
379
|
|
362
380
|
# The `send` node associated with this block.
|
@@ -371,21 +389,21 @@ class RuboCop::AST::BlockNode < ::RuboCop::AST::Node
|
|
371
389
|
#
|
372
390
|
# @return [Boolean] whether the `block` literal is on a single line
|
373
391
|
#
|
374
|
-
# source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#
|
392
|
+
# source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#128
|
375
393
|
def single_line?; end
|
376
394
|
|
377
395
|
# Checks whether this node body is a void context.
|
378
396
|
#
|
379
397
|
# @return [Boolean] whether the `block` node body is a void context
|
380
398
|
#
|
381
|
-
# source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#
|
399
|
+
# source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#150
|
382
400
|
def void_context?; end
|
383
401
|
|
384
402
|
private
|
385
403
|
|
386
404
|
# Numbered arguments of this `numblock`.
|
387
405
|
#
|
388
|
-
# source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#
|
406
|
+
# source://rubocop-ast//lib/rubocop/ast/node/block_node.rb#157
|
389
407
|
def numbered_arguments; end
|
390
408
|
end
|
391
409
|
|
@@ -549,7 +567,7 @@ end
|
|
549
567
|
# This will be used in place of a plain node when the builder constructs
|
550
568
|
# the AST, making its methods available to all assignment nodes within RuboCop.
|
551
569
|
#
|
552
|
-
# source://rubocop-ast//lib/rubocop/ast/node/casgn_node.rb#
|
570
|
+
# source://rubocop-ast//lib/rubocop/ast/node/casgn_node.rb#8
|
553
571
|
class RuboCop::AST::CasgnNode < ::RuboCop::AST::Node
|
554
572
|
# The expression being assigned to the variable.
|
555
573
|
#
|
@@ -577,7 +595,7 @@ end
|
|
577
595
|
# node when the builder constructs the AST, making its methods available
|
578
596
|
# to all `class` nodes within RuboCop.
|
579
597
|
#
|
580
|
-
# source://rubocop-ast//lib/rubocop/ast/node/class_node.rb#
|
598
|
+
# source://rubocop-ast//lib/rubocop/ast/node/class_node.rb#8
|
581
599
|
class RuboCop::AST::ClassNode < ::RuboCop::AST::Node
|
582
600
|
# The body of this `class` node.
|
583
601
|
#
|
@@ -607,409 +625,409 @@ end
|
|
607
625
|
module RuboCop::AST::CollectionNode
|
608
626
|
extend ::Forwardable
|
609
627
|
|
610
|
-
# source://forwardable/1.3.
|
628
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
611
629
|
def &(*args, **_arg1, &block); end
|
612
630
|
|
613
|
-
# source://forwardable/1.3.
|
631
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
614
632
|
def *(*args, **_arg1, &block); end
|
615
633
|
|
616
|
-
# source://forwardable/1.3.
|
634
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
617
635
|
def +(*args, **_arg1, &block); end
|
618
636
|
|
619
|
-
# source://forwardable/1.3.
|
637
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
620
638
|
def -(*args, **_arg1, &block); end
|
621
639
|
|
622
|
-
# source://forwardable/1.3.
|
640
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
623
641
|
def <<(*args, **_arg1, &block); end
|
624
642
|
|
625
|
-
# source://forwardable/1.3.
|
643
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
626
644
|
def [](*args, **_arg1, &block); end
|
627
645
|
|
628
|
-
# source://forwardable/1.3.
|
646
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
629
647
|
def []=(*args, **_arg1, &block); end
|
630
648
|
|
631
|
-
# source://forwardable/1.3.
|
649
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
632
650
|
def all?(*args, **_arg1, &block); end
|
633
651
|
|
634
|
-
# source://forwardable/1.3.
|
652
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
635
653
|
def any?(*args, **_arg1, &block); end
|
636
654
|
|
637
|
-
# source://forwardable/1.3.
|
655
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
638
656
|
def append(*args, **_arg1, &block); end
|
639
657
|
|
640
|
-
# source://forwardable/1.3.
|
658
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
641
659
|
def assoc(*args, **_arg1, &block); end
|
642
660
|
|
643
|
-
# source://forwardable/1.3.
|
661
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
644
662
|
def at(*args, **_arg1, &block); end
|
645
663
|
|
646
|
-
# source://forwardable/1.3.
|
664
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
647
665
|
def bsearch(*args, **_arg1, &block); end
|
648
666
|
|
649
|
-
# source://forwardable/1.3.
|
667
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
650
668
|
def bsearch_index(*args, **_arg1, &block); end
|
651
669
|
|
652
|
-
# source://forwardable/1.3.
|
670
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
653
671
|
def chain(*args, **_arg1, &block); end
|
654
672
|
|
655
|
-
# source://forwardable/1.3.
|
673
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
656
674
|
def chunk(*args, **_arg1, &block); end
|
657
675
|
|
658
|
-
# source://forwardable/1.3.
|
676
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
659
677
|
def chunk_while(*args, **_arg1, &block); end
|
660
678
|
|
661
|
-
# source://forwardable/1.3.
|
679
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
662
680
|
def clear(*args, **_arg1, &block); end
|
663
681
|
|
664
|
-
# source://forwardable/1.3.
|
682
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
665
683
|
def collect(*args, **_arg1, &block); end
|
666
684
|
|
667
|
-
# source://forwardable/1.3.
|
685
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
668
686
|
def collect!(*args, **_arg1, &block); end
|
669
687
|
|
670
|
-
# source://forwardable/1.3.
|
688
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
671
689
|
def collect_concat(*args, **_arg1, &block); end
|
672
690
|
|
673
|
-
# source://forwardable/1.3.
|
691
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
674
692
|
def combination(*args, **_arg1, &block); end
|
675
693
|
|
676
|
-
# source://forwardable/1.3.
|
694
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
677
695
|
def compact(*args, **_arg1, &block); end
|
678
696
|
|
679
|
-
# source://forwardable/1.3.
|
697
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
680
698
|
def compact!(*args, **_arg1, &block); end
|
681
699
|
|
682
|
-
# source://forwardable/1.3.
|
700
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
683
701
|
def concat(*args, **_arg1, &block); end
|
684
702
|
|
685
|
-
# source://forwardable/1.3.
|
703
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
686
704
|
def count(*args, **_arg1, &block); end
|
687
705
|
|
688
|
-
# source://forwardable/1.3.
|
706
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
689
707
|
def cycle(*args, **_arg1, &block); end
|
690
708
|
|
691
|
-
# source://forwardable/1.3.
|
709
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
692
710
|
def deconstruct(*args, **_arg1, &block); end
|
693
711
|
|
694
|
-
# source://forwardable/1.3.
|
712
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
695
713
|
def delete(*args, **_arg1, &block); end
|
696
714
|
|
697
|
-
# source://forwardable/1.3.
|
715
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
698
716
|
def delete_at(*args, **_arg1, &block); end
|
699
717
|
|
700
|
-
# source://forwardable/1.3.
|
718
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
701
719
|
def delete_if(*args, **_arg1, &block); end
|
702
720
|
|
703
|
-
# source://forwardable/1.3.
|
721
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
704
722
|
def detect(*args, **_arg1, &block); end
|
705
723
|
|
706
|
-
# source://forwardable/1.3.
|
724
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
707
725
|
def difference(*args, **_arg1, &block); end
|
708
726
|
|
709
|
-
# source://forwardable/1.3.
|
727
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
710
728
|
def dig(*args, **_arg1, &block); end
|
711
729
|
|
712
|
-
# source://forwardable/1.3.
|
730
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
713
731
|
def drop(*args, **_arg1, &block); end
|
714
732
|
|
715
|
-
# source://forwardable/1.3.
|
733
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
716
734
|
def drop_while(*args, **_arg1, &block); end
|
717
735
|
|
718
|
-
# source://forwardable/1.3.
|
736
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
719
737
|
def each(*args, **_arg1, &block); end
|
720
738
|
|
721
|
-
# source://forwardable/1.3.
|
739
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
722
740
|
def each_cons(*args, **_arg1, &block); end
|
723
741
|
|
724
|
-
# source://forwardable/1.3.
|
742
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
725
743
|
def each_entry(*args, **_arg1, &block); end
|
726
744
|
|
727
|
-
# source://forwardable/1.3.
|
745
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
728
746
|
def each_index(*args, **_arg1, &block); end
|
729
747
|
|
730
|
-
# source://forwardable/1.3.
|
748
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
731
749
|
def each_slice(*args, **_arg1, &block); end
|
732
750
|
|
733
|
-
# source://forwardable/1.3.
|
751
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
734
752
|
def each_with_index(*args, **_arg1, &block); end
|
735
753
|
|
736
|
-
# source://forwardable/1.3.
|
754
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
737
755
|
def each_with_object(*args, **_arg1, &block); end
|
738
756
|
|
739
|
-
# source://forwardable/1.3.
|
757
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
740
758
|
def empty?(*args, **_arg1, &block); end
|
741
759
|
|
742
|
-
# source://forwardable/1.3.
|
760
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
743
761
|
def entries(*args, **_arg1, &block); end
|
744
762
|
|
745
|
-
# source://forwardable/1.3.
|
763
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
746
764
|
def fetch(*args, **_arg1, &block); end
|
747
765
|
|
748
|
-
# source://forwardable/1.3.
|
766
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
749
767
|
def fill(*args, **_arg1, &block); end
|
750
768
|
|
751
|
-
# source://forwardable/1.3.
|
769
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
752
770
|
def filter(*args, **_arg1, &block); end
|
753
771
|
|
754
|
-
# source://forwardable/1.3.
|
772
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
755
773
|
def filter!(*args, **_arg1, &block); end
|
756
774
|
|
757
|
-
# source://forwardable/1.3.
|
775
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
758
776
|
def filter_map(*args, **_arg1, &block); end
|
759
777
|
|
760
|
-
# source://forwardable/1.3.
|
778
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
761
779
|
def find(*args, **_arg1, &block); end
|
762
780
|
|
763
|
-
# source://forwardable/1.3.
|
781
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
764
782
|
def find_all(*args, **_arg1, &block); end
|
765
783
|
|
766
|
-
# source://forwardable/1.3.
|
784
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
767
785
|
def find_index(*args, **_arg1, &block); end
|
768
786
|
|
769
|
-
# source://forwardable/1.3.
|
787
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
770
788
|
def first(*args, **_arg1, &block); end
|
771
789
|
|
772
|
-
# source://forwardable/1.3.
|
790
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
773
791
|
def flat_map(*args, **_arg1, &block); end
|
774
792
|
|
775
|
-
# source://forwardable/1.3.
|
793
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
776
794
|
def flatten(*args, **_arg1, &block); end
|
777
795
|
|
778
|
-
# source://forwardable/1.3.
|
796
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
779
797
|
def flatten!(*args, **_arg1, &block); end
|
780
798
|
|
781
|
-
# source://forwardable/1.3.
|
799
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
782
800
|
def grep(*args, **_arg1, &block); end
|
783
801
|
|
784
|
-
# source://forwardable/1.3.
|
802
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
785
803
|
def grep_v(*args, **_arg1, &block); end
|
786
804
|
|
787
|
-
# source://forwardable/1.3.
|
805
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
788
806
|
def group_by(*args, **_arg1, &block); end
|
789
807
|
|
790
|
-
# source://forwardable/1.3.
|
808
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
791
809
|
def include?(*args, **_arg1, &block); end
|
792
810
|
|
793
|
-
# source://forwardable/1.3.
|
811
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
794
812
|
def index(*args, **_arg1, &block); end
|
795
813
|
|
796
|
-
# source://forwardable/1.3.
|
814
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
797
815
|
def inject(*args, **_arg1, &block); end
|
798
816
|
|
799
|
-
# source://forwardable/1.3.
|
817
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
800
818
|
def insert(*args, **_arg1, &block); end
|
801
819
|
|
802
|
-
# source://forwardable/1.3.
|
820
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
803
821
|
def intersect?(*args, **_arg1, &block); end
|
804
822
|
|
805
|
-
# source://forwardable/1.3.
|
823
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
806
824
|
def intersection(*args, **_arg1, &block); end
|
807
825
|
|
808
|
-
# source://forwardable/1.3.
|
826
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
809
827
|
def join(*args, **_arg1, &block); end
|
810
828
|
|
811
|
-
# source://forwardable/1.3.
|
829
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
812
830
|
def keep_if(*args, **_arg1, &block); end
|
813
831
|
|
814
|
-
# source://forwardable/1.3.
|
832
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
815
833
|
def last(*args, **_arg1, &block); end
|
816
834
|
|
817
|
-
# source://forwardable/1.3.
|
835
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
818
836
|
def lazy(*args, **_arg1, &block); end
|
819
837
|
|
820
|
-
# source://forwardable/1.3.
|
838
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
821
839
|
def length(*args, **_arg1, &block); end
|
822
840
|
|
823
|
-
# source://forwardable/1.3.
|
841
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
824
842
|
def map(*args, **_arg1, &block); end
|
825
843
|
|
826
|
-
# source://forwardable/1.3.
|
844
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
827
845
|
def map!(*args, **_arg1, &block); end
|
828
846
|
|
829
|
-
# source://forwardable/1.3.
|
847
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
830
848
|
def max(*args, **_arg1, &block); end
|
831
849
|
|
832
|
-
# source://forwardable/1.3.
|
850
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
833
851
|
def max_by(*args, **_arg1, &block); end
|
834
852
|
|
835
|
-
# source://forwardable/1.3.
|
853
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
836
854
|
def member?(*args, **_arg1, &block); end
|
837
855
|
|
838
|
-
# source://forwardable/1.3.
|
856
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
839
857
|
def min(*args, **_arg1, &block); end
|
840
858
|
|
841
|
-
# source://forwardable/1.3.
|
859
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
842
860
|
def min_by(*args, **_arg1, &block); end
|
843
861
|
|
844
|
-
# source://forwardable/1.3.
|
862
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
845
863
|
def minmax(*args, **_arg1, &block); end
|
846
864
|
|
847
|
-
# source://forwardable/1.3.
|
865
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
848
866
|
def minmax_by(*args, **_arg1, &block); end
|
849
867
|
|
850
|
-
# source://forwardable/1.3.
|
868
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
851
869
|
def none?(*args, **_arg1, &block); end
|
852
870
|
|
853
|
-
# source://forwardable/1.3.
|
871
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
854
872
|
def one?(*args, **_arg1, &block); end
|
855
873
|
|
856
|
-
# source://forwardable/1.3.
|
874
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
857
875
|
def pack(*args, **_arg1, &block); end
|
858
876
|
|
859
|
-
# source://forwardable/1.3.
|
877
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
860
878
|
def partition(*args, **_arg1, &block); end
|
861
879
|
|
862
|
-
# source://forwardable/1.3.
|
880
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
863
881
|
def permutation(*args, **_arg1, &block); end
|
864
882
|
|
865
|
-
# source://forwardable/1.3.
|
883
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
866
884
|
def place(*args, **_arg1, &block); end
|
867
885
|
|
868
|
-
# source://forwardable/1.3.
|
886
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
869
887
|
def pop(*args, **_arg1, &block); end
|
870
888
|
|
871
|
-
# source://forwardable/1.3.
|
889
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
872
890
|
def prepend(*args, **_arg1, &block); end
|
873
891
|
|
874
|
-
# source://forwardable/1.3.
|
892
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
875
893
|
def product(*args, **_arg1, &block); end
|
876
894
|
|
877
|
-
# source://forwardable/1.3.
|
895
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
878
896
|
def push(*args, **_arg1, &block); end
|
879
897
|
|
880
|
-
# source://forwardable/1.3.
|
898
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
881
899
|
def rassoc(*args, **_arg1, &block); end
|
882
900
|
|
883
|
-
# source://forwardable/1.3.
|
901
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
884
902
|
def reduce(*args, **_arg1, &block); end
|
885
903
|
|
886
|
-
# source://forwardable/1.3.
|
904
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
887
905
|
def reject(*args, **_arg1, &block); end
|
888
906
|
|
889
|
-
# source://forwardable/1.3.
|
907
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
890
908
|
def reject!(*args, **_arg1, &block); end
|
891
909
|
|
892
|
-
# source://forwardable/1.3.
|
910
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
893
911
|
def repeated_combination(*args, **_arg1, &block); end
|
894
912
|
|
895
|
-
# source://forwardable/1.3.
|
913
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
896
914
|
def repeated_permutation(*args, **_arg1, &block); end
|
897
915
|
|
898
|
-
# source://forwardable/1.3.
|
916
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
899
917
|
def replace(*args, **_arg1, &block); end
|
900
918
|
|
901
|
-
# source://forwardable/1.3.
|
919
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
902
920
|
def reverse(*args, **_arg1, &block); end
|
903
921
|
|
904
|
-
# source://forwardable/1.3.
|
922
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
905
923
|
def reverse!(*args, **_arg1, &block); end
|
906
924
|
|
907
|
-
# source://forwardable/1.3.
|
925
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
908
926
|
def reverse_each(*args, **_arg1, &block); end
|
909
927
|
|
910
|
-
# source://forwardable/1.3.
|
928
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
911
929
|
def rindex(*args, **_arg1, &block); end
|
912
930
|
|
913
|
-
# source://forwardable/1.3.
|
931
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
914
932
|
def rotate(*args, **_arg1, &block); end
|
915
933
|
|
916
|
-
# source://forwardable/1.3.
|
934
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
917
935
|
def rotate!(*args, **_arg1, &block); end
|
918
936
|
|
919
|
-
# source://forwardable/1.3.
|
937
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
920
938
|
def sample(*args, **_arg1, &block); end
|
921
939
|
|
922
|
-
# source://forwardable/1.3.
|
940
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
923
941
|
def select(*args, **_arg1, &block); end
|
924
942
|
|
925
|
-
# source://forwardable/1.3.
|
943
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
926
944
|
def select!(*args, **_arg1, &block); end
|
927
945
|
|
928
|
-
# source://forwardable/1.3.
|
946
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
929
947
|
def shelljoin(*args, **_arg1, &block); end
|
930
948
|
|
931
|
-
# source://forwardable/1.3.
|
949
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
932
950
|
def shift(*args, **_arg1, &block); end
|
933
951
|
|
934
|
-
# source://forwardable/1.3.
|
952
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
935
953
|
def shuffle(*args, **_arg1, &block); end
|
936
954
|
|
937
|
-
# source://forwardable/1.3.
|
955
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
938
956
|
def shuffle!(*args, **_arg1, &block); end
|
939
957
|
|
940
|
-
# source://forwardable/1.3.
|
958
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
941
959
|
def size(*args, **_arg1, &block); end
|
942
960
|
|
943
|
-
# source://forwardable/1.3.
|
961
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
944
962
|
def slice(*args, **_arg1, &block); end
|
945
963
|
|
946
|
-
# source://forwardable/1.3.
|
964
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
947
965
|
def slice!(*args, **_arg1, &block); end
|
948
966
|
|
949
|
-
# source://forwardable/1.3.
|
967
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
950
968
|
def slice_after(*args, **_arg1, &block); end
|
951
969
|
|
952
|
-
# source://forwardable/1.3.
|
970
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
953
971
|
def slice_before(*args, **_arg1, &block); end
|
954
972
|
|
955
|
-
# source://forwardable/1.3.
|
973
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
956
974
|
def slice_when(*args, **_arg1, &block); end
|
957
975
|
|
958
|
-
# source://forwardable/1.3.
|
976
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
959
977
|
def sort(*args, **_arg1, &block); end
|
960
978
|
|
961
|
-
# source://forwardable/1.3.
|
979
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
962
980
|
def sort!(*args, **_arg1, &block); end
|
963
981
|
|
964
|
-
# source://forwardable/1.3.
|
982
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
965
983
|
def sort_by(*args, **_arg1, &block); end
|
966
984
|
|
967
|
-
# source://forwardable/1.3.
|
985
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
968
986
|
def sort_by!(*args, **_arg1, &block); end
|
969
987
|
|
970
|
-
# source://forwardable/1.3.
|
988
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
971
989
|
def sum(*args, **_arg1, &block); end
|
972
990
|
|
973
|
-
# source://forwardable/1.3.
|
991
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
974
992
|
def take(*args, **_arg1, &block); end
|
975
993
|
|
976
|
-
# source://forwardable/1.3.
|
994
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
977
995
|
def take_while(*args, **_arg1, &block); end
|
978
996
|
|
979
|
-
# source://forwardable/1.3.
|
997
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
980
998
|
def tally(*args, **_arg1, &block); end
|
981
999
|
|
982
|
-
# source://forwardable/1.3.
|
1000
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
983
1001
|
def to_ary(*args, **_arg1, &block); end
|
984
1002
|
|
985
|
-
# source://forwardable/1.3.
|
1003
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
986
1004
|
def to_h(*args, **_arg1, &block); end
|
987
1005
|
|
988
|
-
# source://forwardable/1.3.
|
1006
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
989
1007
|
def to_set(*args, **_arg1, &block); end
|
990
1008
|
|
991
|
-
# source://forwardable/1.3.
|
1009
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
992
1010
|
def transpose(*args, **_arg1, &block); end
|
993
1011
|
|
994
|
-
# source://forwardable/1.3.
|
1012
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
995
1013
|
def union(*args, **_arg1, &block); end
|
996
1014
|
|
997
|
-
# source://forwardable/1.3.
|
1015
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
998
1016
|
def uniq(*args, **_arg1, &block); end
|
999
1017
|
|
1000
|
-
# source://forwardable/1.3.
|
1018
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
1001
1019
|
def uniq!(*args, **_arg1, &block); end
|
1002
1020
|
|
1003
|
-
# source://forwardable/1.3.
|
1021
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
1004
1022
|
def unshift(*args, **_arg1, &block); end
|
1005
1023
|
|
1006
|
-
# source://forwardable/1.3.
|
1024
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
1007
1025
|
def values_at(*args, **_arg1, &block); end
|
1008
1026
|
|
1009
|
-
# source://forwardable/1.3.
|
1027
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
1010
1028
|
def zip(*args, **_arg1, &block); end
|
1011
1029
|
|
1012
|
-
# source://forwardable/1.3.
|
1030
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
1013
1031
|
def |(*args, **_arg1, &block); end
|
1014
1032
|
end
|
1015
1033
|
|
@@ -1059,7 +1077,7 @@ end
|
|
1059
1077
|
|
1060
1078
|
# A node extension for `const` nodes.
|
1061
1079
|
#
|
1062
|
-
# source://rubocop-ast//lib/rubocop/ast/node/const_node.rb#
|
1080
|
+
# source://rubocop-ast//lib/rubocop/ast/node/const_node.rb#6
|
1063
1081
|
class RuboCop::AST::ConstNode < ::RuboCop::AST::Node
|
1064
1082
|
# @return [Boolean] if the constant starts with `::` (aka s(:cbase))
|
1065
1083
|
#
|
@@ -1284,7 +1302,7 @@ end
|
|
1284
1302
|
# node when the builder constructs the AST, making its methods available
|
1285
1303
|
# to all `ensure` nodes within RuboCop.
|
1286
1304
|
#
|
1287
|
-
# source://rubocop-ast//lib/rubocop/ast/node/ensure_node.rb#
|
1305
|
+
# source://rubocop-ast//lib/rubocop/ast/node/ensure_node.rb#8
|
1288
1306
|
class RuboCop::AST::EnsureNode < ::RuboCop::AST::Node
|
1289
1307
|
# Returns the body of the `ensure` clause.
|
1290
1308
|
#
|
@@ -1338,7 +1356,7 @@ end
|
|
1338
1356
|
# node when the builder constructs the AST, making its methods available
|
1339
1357
|
# to all `for` nodes within RuboCop.
|
1340
1358
|
#
|
1341
|
-
# source://rubocop-ast//lib/rubocop/ast/node/for_node.rb#
|
1359
|
+
# source://rubocop-ast//lib/rubocop/ast/node/for_node.rb#8
|
1342
1360
|
class RuboCop::AST::ForNode < ::RuboCop::AST::Node
|
1343
1361
|
# Returns the body of the `for` loop.
|
1344
1362
|
#
|
@@ -1521,7 +1539,7 @@ end
|
|
1521
1539
|
# node when the builder constructs the AST, making its methods available
|
1522
1540
|
# to all `hash` nodes within RuboCop.
|
1523
1541
|
#
|
1524
|
-
# source://rubocop-ast//lib/rubocop/ast/node/hash_node.rb#
|
1542
|
+
# source://rubocop-ast//lib/rubocop/ast/node/hash_node.rb#8
|
1525
1543
|
class RuboCop::AST::HashNode < ::RuboCop::AST::Node
|
1526
1544
|
# Checks whether the `hash` literal is delimited by curly braces.
|
1527
1545
|
#
|
@@ -1716,7 +1734,7 @@ class RuboCop::AST::IfNode < ::RuboCop::AST::Node
|
|
1716
1734
|
# source://rubocop-ast//lib/rubocop/ast/node/if_node.rb#80
|
1717
1735
|
def modifier_form?; end
|
1718
1736
|
|
1719
|
-
#
|
1737
|
+
# Checks whether the `if` node has nested `if` nodes in any of its
|
1720
1738
|
# branches.
|
1721
1739
|
#
|
1722
1740
|
# @note This performs a shallow search.
|
@@ -1753,7 +1771,7 @@ end
|
|
1753
1771
|
# node when the builder constructs the AST, making its methods available
|
1754
1772
|
# to all `in` nodes within RuboCop.
|
1755
1773
|
#
|
1756
|
-
# source://rubocop-ast//lib/rubocop/ast/node/in_pattern_node.rb#
|
1774
|
+
# source://rubocop-ast//lib/rubocop/ast/node/in_pattern_node.rb#8
|
1757
1775
|
class RuboCop::AST::InPatternNode < ::RuboCop::AST::Node
|
1758
1776
|
# Returns the body of the `in` node.
|
1759
1777
|
#
|
@@ -2470,7 +2488,7 @@ end
|
|
2470
2488
|
# plain node when the builder constructs the AST, making its methods
|
2471
2489
|
# available to all `module` nodes within RuboCop.
|
2472
2490
|
#
|
2473
|
-
# source://rubocop-ast//lib/rubocop/ast/node/module_node.rb#
|
2491
|
+
# source://rubocop-ast//lib/rubocop/ast/node/module_node.rb#8
|
2474
2492
|
class RuboCop::AST::ModuleNode < ::RuboCop::AST::Node
|
2475
2493
|
# The body of this `module` node.
|
2476
2494
|
#
|
@@ -3509,7 +3527,7 @@ class RuboCop::AST::NodePattern
|
|
3509
3527
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#73
|
3510
3528
|
def ast; end
|
3511
3529
|
|
3512
|
-
# source://forwardable/1.3.
|
3530
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
3513
3531
|
def captures(*args, **_arg1, &block); end
|
3514
3532
|
|
3515
3533
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#111
|
@@ -3538,7 +3556,7 @@ class RuboCop::AST::NodePattern
|
|
3538
3556
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#73
|
3539
3557
|
def match_code; end
|
3540
3558
|
|
3541
|
-
# source://forwardable/1.3.
|
3559
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
3542
3560
|
def named_parameters(*args, **_arg1, &block); end
|
3543
3561
|
|
3544
3562
|
# Returns the value of attribute pattern.
|
@@ -3546,7 +3564,7 @@ class RuboCop::AST::NodePattern
|
|
3546
3564
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#73
|
3547
3565
|
def pattern; end
|
3548
3566
|
|
3549
|
-
# source://forwardable/1.3.
|
3567
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
3550
3568
|
def positional_parameters(*args, **_arg1, &block); end
|
3551
3569
|
|
3552
3570
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern.rb#95
|
@@ -3659,7 +3677,7 @@ class RuboCop::AST::NodePattern::Compiler
|
|
3659
3677
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler.rb#15
|
3660
3678
|
def initialize; end
|
3661
3679
|
|
3662
|
-
# source://forwardable/1.3.
|
3680
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
3663
3681
|
def bind(*args, **_arg1, &block); end
|
3664
3682
|
|
3665
3683
|
# Returns the value of attribute binding.
|
@@ -3796,14 +3814,14 @@ end
|
|
3796
3814
|
|
3797
3815
|
# Variant of the Compiler with tracing information for nodes
|
3798
3816
|
#
|
3799
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#
|
3817
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#10
|
3800
3818
|
class RuboCop::AST::NodePattern::Compiler::Debug < ::RuboCop::AST::NodePattern::Compiler
|
3801
3819
|
# @return [Debug] a new instance of Debug
|
3802
3820
|
#
|
3803
3821
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#123
|
3804
3822
|
def initialize; end
|
3805
3823
|
|
3806
|
-
# source://forwardable/1.3.
|
3824
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
3807
3825
|
def comments(*args, **_arg1, &block); end
|
3808
3826
|
|
3809
3827
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#128
|
@@ -3817,7 +3835,7 @@ class RuboCop::AST::NodePattern::Compiler::Debug < ::RuboCop::AST::NodePattern::
|
|
3817
3835
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/debug.rb#132
|
3818
3836
|
def parser; end
|
3819
3837
|
|
3820
|
-
# source://forwardable/1.3.
|
3838
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
3821
3839
|
def tokens(*args, **_arg1, &block); end
|
3822
3840
|
end
|
3823
3841
|
|
@@ -4172,6 +4190,9 @@ class RuboCop::AST::NodePattern::Compiler::SequenceSubcompiler < ::RuboCop::AST:
|
|
4172
4190
|
|
4173
4191
|
private
|
4174
4192
|
|
4193
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/subcompiler.rb#20
|
4194
|
+
def compile(node); end
|
4195
|
+
|
4175
4196
|
# Compilation helpers
|
4176
4197
|
#
|
4177
4198
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/compiler/sequence_subcompiler.rb#165
|
@@ -4681,9 +4702,9 @@ RuboCop::AST::NodePattern::Node::AnyOrder::ARITIES = T.let(T.unsafe(nil), Hash)
|
|
4681
4702
|
|
4682
4703
|
# Node class for `$something`
|
4683
4704
|
#
|
4684
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#
|
4705
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#97
|
4685
4706
|
class RuboCop::AST::NodePattern::Node::Capture < ::RuboCop::AST::NodePattern::Node
|
4686
|
-
# source://forwardable/1.3.
|
4707
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
4687
4708
|
def arity(*args, **_arg1, &block); end
|
4688
4709
|
|
4689
4710
|
# @return [Boolean]
|
@@ -4697,7 +4718,7 @@ class RuboCop::AST::NodePattern::Node::Capture < ::RuboCop::AST::NodePattern::No
|
|
4697
4718
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/node.rb#105
|
4698
4719
|
def nb_captures; end
|
4699
4720
|
|
4700
|
-
# source://forwardable/1.3.
|
4721
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
4701
4722
|
def rest?(*args, **_arg1, &block); end
|
4702
4723
|
end
|
4703
4724
|
|
@@ -4811,7 +4832,7 @@ end
|
|
4811
4832
|
# Doc on how this fits in the compiling process:
|
4812
4833
|
# /docs/modules/ROOT/pages/node_pattern.adoc
|
4813
4834
|
#
|
4814
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4835
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#12
|
4815
4836
|
class RuboCop::AST::NodePattern::Parser < ::Racc::Parser
|
4816
4837
|
extend ::Forwardable
|
4817
4838
|
|
@@ -4820,140 +4841,140 @@ class RuboCop::AST::NodePattern::Parser < ::Racc::Parser
|
|
4820
4841
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.rb#19
|
4821
4842
|
def initialize(builder = T.unsafe(nil)); end
|
4822
4843
|
|
4823
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4844
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#335
|
4824
4845
|
def _reduce_10(val, _values); end
|
4825
4846
|
|
4826
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4847
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#339
|
4827
4848
|
def _reduce_11(val, _values); end
|
4828
4849
|
|
4829
4850
|
# reduce 12 omitted
|
4830
4851
|
#
|
4831
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4852
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#345
|
4832
4853
|
def _reduce_13(val, _values); end
|
4833
4854
|
|
4834
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4855
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#349
|
4835
4856
|
def _reduce_14(val, _values); end
|
4836
4857
|
|
4837
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4858
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#353
|
4838
4859
|
def _reduce_15(val, _values); end
|
4839
4860
|
|
4840
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4861
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#357
|
4841
4862
|
def _reduce_16(val, _values); end
|
4842
4863
|
|
4843
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4864
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#361
|
4844
4865
|
def _reduce_17(val, _values); end
|
4845
4866
|
|
4846
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4867
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#365
|
4847
4868
|
def _reduce_18(val, _values); end
|
4848
4869
|
|
4849
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4870
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#369
|
4850
4871
|
def _reduce_19(val, _values); end
|
4851
4872
|
|
4852
4873
|
# reduce 1 omitted
|
4853
4874
|
#
|
4854
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4875
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#303
|
4855
4876
|
def _reduce_2(val, _values); end
|
4856
4877
|
|
4857
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4878
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#373
|
4858
4879
|
def _reduce_20(val, _values); end
|
4859
4880
|
|
4860
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4881
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#377
|
4861
4882
|
def _reduce_21(val, _values); end
|
4862
4883
|
|
4863
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4884
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#381
|
4864
4885
|
def _reduce_22(val, _values); end
|
4865
4886
|
|
4866
4887
|
# reduce 24 omitted
|
4867
4888
|
#
|
4868
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4889
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#389
|
4869
4890
|
def _reduce_25(val, _values); end
|
4870
4891
|
|
4871
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4892
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#395
|
4872
4893
|
def _reduce_26(val, _values); end
|
4873
4894
|
|
4874
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4895
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#307
|
4875
4896
|
def _reduce_3(val, _values); end
|
4876
4897
|
|
4877
4898
|
# reduce 32 omitted
|
4878
4899
|
#
|
4879
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4900
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#415
|
4880
4901
|
def _reduce_33(val, _values); end
|
4881
4902
|
|
4882
4903
|
# reduce 36 omitted
|
4883
4904
|
#
|
4884
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4905
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#425
|
4885
4906
|
def _reduce_37(val, _values); end
|
4886
4907
|
|
4887
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4908
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#429
|
4888
4909
|
def _reduce_38(val, _values); end
|
4889
4910
|
|
4890
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4911
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#433
|
4891
4912
|
def _reduce_39(val, _values); end
|
4892
4913
|
|
4893
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4914
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#311
|
4894
4915
|
def _reduce_4(val, _values); end
|
4895
4916
|
|
4896
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4917
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#437
|
4897
4918
|
def _reduce_40(val, _values); end
|
4898
4919
|
|
4899
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4920
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#441
|
4900
4921
|
def _reduce_41(val, _values); end
|
4901
4922
|
|
4902
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4923
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#445
|
4903
4924
|
def _reduce_42(val, _values); end
|
4904
4925
|
|
4905
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4926
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#449
|
4906
4927
|
def _reduce_43(val, _values); end
|
4907
4928
|
|
4908
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4929
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#453
|
4909
4930
|
def _reduce_44(val, _values); end
|
4910
4931
|
|
4911
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4932
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#457
|
4912
4933
|
def _reduce_45(val, _values); end
|
4913
4934
|
|
4914
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4935
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#461
|
4915
4936
|
def _reduce_46(val, _values); end
|
4916
4937
|
|
4917
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4938
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#315
|
4918
4939
|
def _reduce_5(val, _values); end
|
4919
4940
|
|
4920
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4941
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#319
|
4921
4942
|
def _reduce_6(val, _values); end
|
4922
4943
|
|
4923
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4944
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#323
|
4924
4945
|
def _reduce_7(val, _values); end
|
4925
4946
|
|
4926
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4947
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#327
|
4927
4948
|
def _reduce_8(val, _values); end
|
4928
4949
|
|
4929
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4950
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#331
|
4930
4951
|
def _reduce_9(val, _values); end
|
4931
4952
|
|
4932
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4953
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#465
|
4933
4954
|
def _reduce_none(val, _values); end
|
4934
4955
|
|
4935
|
-
# source://forwardable/1.3.
|
4956
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
4936
4957
|
def emit_atom(*args, **_arg1, &block); end
|
4937
4958
|
|
4938
|
-
# source://forwardable/1.3.
|
4959
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
4939
4960
|
def emit_call(*args, **_arg1, &block); end
|
4940
4961
|
|
4941
|
-
# source://forwardable/1.3.
|
4962
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
4942
4963
|
def emit_capture(*args, **_arg1, &block); end
|
4943
4964
|
|
4944
|
-
# source://forwardable/1.3.
|
4965
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
4945
4966
|
def emit_list(*args, **_arg1, &block); end
|
4946
4967
|
|
4947
|
-
# source://forwardable/1.3.
|
4968
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
4948
4969
|
def emit_unary_op(*args, **_arg1, &block); end
|
4949
4970
|
|
4950
|
-
# source://forwardable/1.3.
|
4971
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
4951
4972
|
def emit_union(*args, **_arg1, &block); end
|
4952
4973
|
|
4953
4974
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.rb#40
|
4954
4975
|
def inspect; end
|
4955
4976
|
|
4956
|
-
# source://forwardable/1.3.
|
4977
|
+
# source://forwardable/1.3.3/forwardable.rb#231
|
4957
4978
|
def next_token(*args, **_arg1, &block); end
|
4958
4979
|
|
4959
4980
|
# (Similar API to `parser` gem)
|
@@ -4989,15 +5010,15 @@ RuboCop::AST::NodePattern::Parser::Lexer = RuboCop::AST::NodePattern::Lexer
|
|
4989
5010
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#227
|
4990
5011
|
RuboCop::AST::NodePattern::Parser::Racc_arg = T.let(T.unsafe(nil), Array)
|
4991
5012
|
|
4992
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
5013
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#295
|
4993
5014
|
RuboCop::AST::NodePattern::Parser::Racc_debug_parser = T.let(T.unsafe(nil), FalseClass)
|
4994
5015
|
|
4995
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
5016
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#244
|
4996
5017
|
RuboCop::AST::NodePattern::Parser::Racc_token_to_s_table = T.let(T.unsafe(nil), Array)
|
4997
5018
|
|
4998
5019
|
# Overrides Parser to use `WithMeta` variants and provide additional methods
|
4999
5020
|
#
|
5000
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/with_meta.rb#
|
5021
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/with_meta.rb#8
|
5001
5022
|
class RuboCop::AST::NodePattern::Parser::WithMeta < ::RuboCop::AST::NodePattern::Parser
|
5002
5023
|
# Returns the value of attribute comments.
|
5003
5024
|
#
|
@@ -5224,6 +5245,9 @@ RuboCop::AST::NodePattern::Sets::SET_FILE_DIR = T.let(T.unsafe(nil), Set)
|
|
5224
5245
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5225
5246
|
RuboCop::AST::NodePattern::Sets::SET_FILE_FILETEST = T.let(T.unsafe(nil), Set)
|
5226
5247
|
|
5248
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5249
|
+
RuboCop::AST::NodePattern::Sets::SET_FILE_TEMPFILE = T.let(T.unsafe(nil), Set)
|
5250
|
+
|
5227
5251
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5228
5252
|
RuboCop::AST::NodePattern::Sets::SET_FILE_TEMPFILE_STRINGIO = T.let(T.unsafe(nil), Set)
|
5229
5253
|
|
@@ -5489,7 +5513,7 @@ RuboCop::AST::NumericNode::SIGN_REGEX = T.let(T.unsafe(nil), Regexp)
|
|
5489
5513
|
# This will be used in place of a plain node when the builder constructs
|
5490
5514
|
# the AST, making its methods available to all assignment nodes within RuboCop.
|
5491
5515
|
#
|
5492
|
-
# source://rubocop-ast//lib/rubocop/ast/node/op_asgn_node.rb#
|
5516
|
+
# source://rubocop-ast//lib/rubocop/ast/node/op_asgn_node.rb#8
|
5493
5517
|
class RuboCop::AST::OpAsgnNode < ::RuboCop::AST::Node
|
5494
5518
|
# @return [AsgnNode] the assignment node
|
5495
5519
|
#
|
@@ -5522,7 +5546,7 @@ end
|
|
5522
5546
|
# This will be used in place of a plain node when the builder constructs
|
5523
5547
|
# the AST, making its methods available to all assignment nodes within RuboCop.
|
5524
5548
|
#
|
5525
|
-
# source://rubocop-ast//lib/rubocop/ast/node/or_asgn_node.rb#
|
5549
|
+
# source://rubocop-ast//lib/rubocop/ast/node/or_asgn_node.rb#8
|
5526
5550
|
class RuboCop::AST::OrAsgnNode < ::RuboCop::AST::OpAsgnNode
|
5527
5551
|
# The operator being used for assignment as a symbol.
|
5528
5552
|
#
|
@@ -5790,7 +5814,7 @@ RuboCop::AST::PredicateOperatorNode::SEMANTIC_OR = T.let(T.unsafe(nil), String)
|
|
5790
5814
|
# This will be used in place of a plain node when the builder constructs
|
5791
5815
|
# the AST, making its methods available to all `arg` nodes within RuboCop.
|
5792
5816
|
#
|
5793
|
-
# source://rubocop-ast//lib/rubocop/ast/node/procarg0_node.rb#
|
5817
|
+
# source://rubocop-ast//lib/rubocop/ast/node/procarg0_node.rb#8
|
5794
5818
|
class RuboCop::AST::Procarg0Node < ::RuboCop::AST::ArgNode
|
5795
5819
|
# Returns the name of an argument.
|
5796
5820
|
#
|
@@ -6127,7 +6151,7 @@ RuboCop::AST::RegexpNode::OPTIONS = T.let(T.unsafe(nil), Hash)
|
|
6127
6151
|
# plain node when the builder constructs the AST, making its methods
|
6128
6152
|
# available to all `resbody` nodes within RuboCop.
|
6129
6153
|
#
|
6130
|
-
# source://rubocop-ast//lib/rubocop/ast/node/resbody_node.rb#
|
6154
|
+
# source://rubocop-ast//lib/rubocop/ast/node/resbody_node.rb#8
|
6131
6155
|
class RuboCop::AST::ResbodyNode < ::RuboCop::AST::Node
|
6132
6156
|
# Returns the body of the `rescue` clause.
|
6133
6157
|
#
|
@@ -6162,7 +6186,7 @@ end
|
|
6162
6186
|
# plain node when the builder constructs the AST, making its methods
|
6163
6187
|
# available to all `rescue` nodes within RuboCop.
|
6164
6188
|
#
|
6165
|
-
# source://rubocop-ast//lib/rubocop/ast/node/rescue_node.rb#
|
6189
|
+
# source://rubocop-ast//lib/rubocop/ast/node/rescue_node.rb#8
|
6166
6190
|
class RuboCop::AST::RescueNode < ::RuboCop::AST::Node
|
6167
6191
|
# Returns the body of the rescue node.
|
6168
6192
|
#
|
@@ -6234,7 +6258,7 @@ RuboCop::AST::RuboCopCompatibility::INCOMPATIBLE_COPS = T.let(T.unsafe(nil), Has
|
|
6234
6258
|
# plain node when the builder constructs the AST, making its methods
|
6235
6259
|
# available to all `sclass` nodes within RuboCop.
|
6236
6260
|
#
|
6237
|
-
# source://rubocop-ast//lib/rubocop/ast/node/self_class_node.rb#
|
6261
|
+
# source://rubocop-ast//lib/rubocop/ast/node/self_class_node.rb#8
|
6238
6262
|
class RuboCop::AST::SelfClassNode < ::RuboCop::AST::Node
|
6239
6263
|
# The body of this `sclass` node.
|
6240
6264
|
#
|
@@ -6981,7 +7005,7 @@ RuboCop::AST::Version::STRING = T.let(T.unsafe(nil), String)
|
|
6981
7005
|
# node when the builder constructs the AST, making its methods available
|
6982
7006
|
# to all `when` nodes within RuboCop.
|
6983
7007
|
#
|
6984
|
-
# source://rubocop-ast//lib/rubocop/ast/node/when_node.rb#
|
7008
|
+
# source://rubocop-ast//lib/rubocop/ast/node/when_node.rb#8
|
6985
7009
|
class RuboCop::AST::WhenNode < ::RuboCop::AST::Node
|
6986
7010
|
# Returns the body of the `when` node.
|
6987
7011
|
#
|