sorbet-result 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/.standard.yml +6 -0
- data/.tool-versions +1 -1
- data/CHANGELOG.md +10 -0
- data/Gemfile +2 -4
- data/Gemfile.lock +75 -55
- data/README.md +23 -0
- data/Rakefile +3 -5
- data/lib/minitest/result_assertions.rb +48 -0
- data/lib/sorbet-result.rb +1 -5
- data/lib/typed/result.rb +169 -7
- data/sorbet/rbi/gems/.gitattributes +1 -0
- data/sorbet/rbi/gems/erubi@1.12.0.rbi +145 -0
- data/sorbet/rbi/gems/{json@2.6.3.rbi → json@2.7.1.rbi} +80 -60
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +14237 -0
- data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +239 -0
- data/sorbet/rbi/gems/{minitest@5.18.1.rbi → minitest@5.22.2.rbi} +285 -241
- data/sorbet/rbi/gems/{parallel@1.23.0.rbi → parallel@1.24.0.rbi} +8 -1
- data/sorbet/rbi/gems/{parser@3.2.2.3.rbi → parser@3.3.0.5.rbi} +438 -2219
- data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +951 -0
- data/sorbet/rbi/gems/prism@0.24.0.rbi +31040 -0
- data/sorbet/rbi/gems/psych@5.1.2.rbi +1731 -0
- data/sorbet/rbi/gems/{racc@1.7.1.rbi → racc@1.7.3.rbi} +35 -39
- data/sorbet/rbi/gems/{rake@13.0.6.rbi → rake@13.1.0.rbi} +68 -65
- data/sorbet/rbi/gems/{rbi@0.0.16.rbi → rbi@0.1.9.rbi} +712 -714
- data/sorbet/rbi/gems/{regexp_parser@2.8.1.rbi → regexp_parser@2.9.0.rbi} +187 -165
- data/sorbet/rbi/gems/{rexml@3.2.5.rbi → rexml@3.2.6.rbi} +116 -52
- data/sorbet/rbi/gems/{rubocop-ast@1.29.0.rbi → rubocop-ast@1.30.0.rbi} +77 -77
- data/sorbet/rbi/gems/rubocop-performance@1.20.2.rbi +8 -0
- data/sorbet/rbi/gems/rubocop-sorbet@0.7.7.rbi +8 -0
- data/sorbet/rbi/gems/{rubocop@1.52.1.rbi → rubocop@1.60.2.rbi} +3593 -1700
- data/sorbet/rbi/gems/{spoom@1.2.1.rbi → spoom@1.2.4.rbi} +1378 -104
- data/sorbet/rbi/gems/standard-custom@1.0.2.rbi +8 -0
- data/sorbet/rbi/gems/standard-performance@1.3.1.rbi +8 -0
- data/sorbet/rbi/gems/standard-sorbet@0.0.2.rbi +52 -0
- data/sorbet/rbi/gems/standard@1.34.0.rbi +850 -0
- data/sorbet/rbi/gems/stringio@3.1.0.rbi +8 -0
- data/sorbet/rbi/gems/syntax_tree@6.2.0.rbi +23133 -0
- data/sorbet/rbi/gems/{tapioca@0.11.6.rbi → tapioca@0.12.0.rbi} +776 -574
- data/sorbet/rbi/gems/{thor@1.2.2.rbi → thor@1.3.0.rbi} +775 -395
- data/sorbet/rbi/gems/yard-sorbet@0.8.1.rbi +1 -1
- data/sorbet/rbi/gems/yard@0.9.34.rbi +2 -2
- data/sorbet/tapioca/config.yml +3 -12
- data/sorbet/tapioca/require.rb +0 -1
- metadata +41 -34
- data/.rubocop.yml +0 -33
- data/lib/typed/failure.rb +0 -81
- data/lib/typed/success.rb +0 -80
- data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +0 -1083
- data/sorbet/rbi/gems/irb@1.7.0.rbi +0 -342
- data/sorbet/rbi/gems/rubocop-minitest@0.31.0.rbi +0 -2528
- data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +0 -328
- data/sorbet/rbi/gems/rubocop-sorbet@0.7.0.rbi +0 -1043
- data/sorbet/rbi/gems/unparser@0.6.8.rbi +0 -4525
- data/sorbet/rbi/gems/zeitwerk@2.6.8.rbi +0 -986
- /data/sorbet/rbi/gems/{io-console@0.6.0.rbi → io-console@0.7.2.rbi} +0 -0
- /data/sorbet/rbi/gems/{reline@0.3.5.rbi → reline@0.4.2.rbi} +0 -0
- /data/sorbet/rbi/gems/{unicode-display_width@2.4.2.rbi → unicode-display_width@2.5.0.rbi} +0 -0
@@ -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
|
|
@@ -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.
|
@@ -4823,116 +4841,116 @@ class RuboCop::AST::NodePattern::Parser < ::Racc::Parser
|
|
4823
4841
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.rb#19
|
4824
4842
|
def initialize(builder = T.unsafe(nil)); end
|
4825
4843
|
|
4826
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4844
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#335
|
4827
4845
|
def _reduce_10(val, _values); end
|
4828
4846
|
|
4829
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4847
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#339
|
4830
4848
|
def _reduce_11(val, _values); end
|
4831
4849
|
|
4832
4850
|
# reduce 12 omitted
|
4833
4851
|
#
|
4834
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4852
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#345
|
4835
4853
|
def _reduce_13(val, _values); end
|
4836
4854
|
|
4837
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4855
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#349
|
4838
4856
|
def _reduce_14(val, _values); end
|
4839
4857
|
|
4840
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4858
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#353
|
4841
4859
|
def _reduce_15(val, _values); end
|
4842
4860
|
|
4843
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4861
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#357
|
4844
4862
|
def _reduce_16(val, _values); end
|
4845
4863
|
|
4846
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4864
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#361
|
4847
4865
|
def _reduce_17(val, _values); end
|
4848
4866
|
|
4849
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4867
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#365
|
4850
4868
|
def _reduce_18(val, _values); end
|
4851
4869
|
|
4852
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4870
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#369
|
4853
4871
|
def _reduce_19(val, _values); end
|
4854
4872
|
|
4855
4873
|
# reduce 1 omitted
|
4856
4874
|
#
|
4857
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4875
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#303
|
4858
4876
|
def _reduce_2(val, _values); end
|
4859
4877
|
|
4860
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4878
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#373
|
4861
4879
|
def _reduce_20(val, _values); end
|
4862
4880
|
|
4863
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4881
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#377
|
4864
4882
|
def _reduce_21(val, _values); end
|
4865
4883
|
|
4866
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4884
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#381
|
4867
4885
|
def _reduce_22(val, _values); end
|
4868
4886
|
|
4869
4887
|
# reduce 24 omitted
|
4870
4888
|
#
|
4871
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4889
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#389
|
4872
4890
|
def _reduce_25(val, _values); end
|
4873
4891
|
|
4874
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4892
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#395
|
4875
4893
|
def _reduce_26(val, _values); end
|
4876
4894
|
|
4877
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4895
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#307
|
4878
4896
|
def _reduce_3(val, _values); end
|
4879
4897
|
|
4880
4898
|
# reduce 32 omitted
|
4881
4899
|
#
|
4882
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4900
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#415
|
4883
4901
|
def _reduce_33(val, _values); end
|
4884
4902
|
|
4885
4903
|
# reduce 36 omitted
|
4886
4904
|
#
|
4887
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4905
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#425
|
4888
4906
|
def _reduce_37(val, _values); end
|
4889
4907
|
|
4890
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4908
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#429
|
4891
4909
|
def _reduce_38(val, _values); end
|
4892
4910
|
|
4893
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4911
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#433
|
4894
4912
|
def _reduce_39(val, _values); end
|
4895
4913
|
|
4896
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4914
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#311
|
4897
4915
|
def _reduce_4(val, _values); end
|
4898
4916
|
|
4899
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4917
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#437
|
4900
4918
|
def _reduce_40(val, _values); end
|
4901
4919
|
|
4902
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4920
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#441
|
4903
4921
|
def _reduce_41(val, _values); end
|
4904
4922
|
|
4905
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4923
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#445
|
4906
4924
|
def _reduce_42(val, _values); end
|
4907
4925
|
|
4908
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4926
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#449
|
4909
4927
|
def _reduce_43(val, _values); end
|
4910
4928
|
|
4911
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4929
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#453
|
4912
4930
|
def _reduce_44(val, _values); end
|
4913
4931
|
|
4914
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4932
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#457
|
4915
4933
|
def _reduce_45(val, _values); end
|
4916
4934
|
|
4917
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4935
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#461
|
4918
4936
|
def _reduce_46(val, _values); end
|
4919
4937
|
|
4920
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4938
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#315
|
4921
4939
|
def _reduce_5(val, _values); end
|
4922
4940
|
|
4923
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4941
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#319
|
4924
4942
|
def _reduce_6(val, _values); end
|
4925
4943
|
|
4926
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4944
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#323
|
4927
4945
|
def _reduce_7(val, _values); end
|
4928
4946
|
|
4929
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4947
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#327
|
4930
4948
|
def _reduce_8(val, _values); end
|
4931
4949
|
|
4932
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4950
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#331
|
4933
4951
|
def _reduce_9(val, _values); end
|
4934
4952
|
|
4935
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
4953
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#465
|
4936
4954
|
def _reduce_none(val, _values); end
|
4937
4955
|
|
4938
4956
|
# source://forwardable/1.3.3/forwardable.rb#231
|
@@ -4992,10 +5010,10 @@ RuboCop::AST::NodePattern::Parser::Lexer = RuboCop::AST::NodePattern::Lexer
|
|
4992
5010
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#227
|
4993
5011
|
RuboCop::AST::NodePattern::Parser::Racc_arg = T.let(T.unsafe(nil), Array)
|
4994
5012
|
|
4995
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
5013
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#295
|
4996
5014
|
RuboCop::AST::NodePattern::Parser::Racc_debug_parser = T.let(T.unsafe(nil), FalseClass)
|
4997
5015
|
|
4998
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#
|
5016
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/parser.racc.rb#244
|
4999
5017
|
RuboCop::AST::NodePattern::Parser::Racc_token_to_s_table = T.let(T.unsafe(nil), Array)
|
5000
5018
|
|
5001
5019
|
# Overrides Parser to use `WithMeta` variants and provide additional methods
|
@@ -5104,24 +5122,15 @@ RuboCop::AST::NodePattern::Sets::SET_10_10 = T.let(T.unsafe(nil), Set)
|
|
5104
5122
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5105
5123
|
RuboCop::AST::NodePattern::Sets::SET_1_1 = T.let(T.unsafe(nil), Set)
|
5106
5124
|
|
5107
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5108
|
-
RuboCop::AST::NodePattern::Sets::SET_ABSTRACT_OVERRIDE_OVERRIDABLE_ETC = T.let(T.unsafe(nil), Set)
|
5109
|
-
|
5110
5125
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5111
5126
|
RuboCop::AST::NodePattern::Sets::SET_ADD_DEPENDENCY_ADD_RUNTIME_DEPENDENCY_ADD_DEVELOPMENT_DEPENDENCY = T.let(T.unsafe(nil), Set)
|
5112
5127
|
|
5113
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5114
|
-
RuboCop::AST::NodePattern::Sets::SET_ANY_ALL_NORETURN_ETC = T.let(T.unsafe(nil), Set)
|
5115
|
-
|
5116
5128
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5117
5129
|
RuboCop::AST::NodePattern::Sets::SET_ANY_EMPTY = T.let(T.unsafe(nil), Set)
|
5118
5130
|
|
5119
5131
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5120
5132
|
RuboCop::AST::NodePattern::Sets::SET_ANY_EMPTY_NONE_ETC = T.let(T.unsafe(nil), Set)
|
5121
5133
|
|
5122
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5123
|
-
RuboCop::AST::NodePattern::Sets::SET_ATTR_READER_ATTR_WRITER_ATTR_ACCESSOR = T.let(T.unsafe(nil), Set)
|
5124
|
-
|
5125
5134
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5126
5135
|
RuboCop::AST::NodePattern::Sets::SET_ATTR_READER_ATTR_WRITER_ATTR_ACCESSOR_ATTR = T.let(T.unsafe(nil), Set)
|
5127
5136
|
|
@@ -5149,9 +5158,6 @@ RuboCop::AST::NodePattern::Sets::SET_CLASS_MODULE_STRUCT = T.let(T.unsafe(nil),
|
|
5149
5158
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5150
5159
|
RuboCop::AST::NodePattern::Sets::SET_CLONE_DUP_FREEZE = T.let(T.unsafe(nil), Set)
|
5151
5160
|
|
5152
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5153
|
-
RuboCop::AST::NodePattern::Sets::SET_CONSTANTIZE_CONSTANTS_CONST_GET = T.let(T.unsafe(nil), Set)
|
5154
|
-
|
5155
5161
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5156
5162
|
RuboCop::AST::NodePattern::Sets::SET_COUNT_LENGTH_SIZE = T.let(T.unsafe(nil), Set)
|
5157
5163
|
|
@@ -5185,6 +5191,9 @@ RuboCop::AST::NodePattern::Sets::SET_FILE_DIR = T.let(T.unsafe(nil), Set)
|
|
5185
5191
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5186
5192
|
RuboCop::AST::NodePattern::Sets::SET_FILE_FILETEST = T.let(T.unsafe(nil), Set)
|
5187
5193
|
|
5194
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5195
|
+
RuboCop::AST::NodePattern::Sets::SET_FILE_TEMPFILE = T.let(T.unsafe(nil), Set)
|
5196
|
+
|
5188
5197
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5189
5198
|
RuboCop::AST::NodePattern::Sets::SET_FILE_TEMPFILE_STRINGIO = T.let(T.unsafe(nil), Set)
|
5190
5199
|
|
@@ -5252,14 +5261,11 @@ RuboCop::AST::NodePattern::Sets::SET_PIPELINE_PIPELINE_R_PIPELINE_RW_ETC = T.let
|
|
5252
5261
|
RuboCop::AST::NodePattern::Sets::SET_PRESENT_ANY_BLANK_EMPTY = T.let(T.unsafe(nil), Set)
|
5253
5262
|
|
5254
5263
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5255
|
-
RuboCop::AST::NodePattern::Sets::
|
5264
|
+
RuboCop::AST::NodePattern::Sets::SET_PRIVATE_PROTECTED_PRIVATE_CLASS_METHOD = T.let(T.unsafe(nil), Set)
|
5256
5265
|
|
5257
5266
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5258
5267
|
RuboCop::AST::NodePattern::Sets::SET_PRIVATE_PROTECTED_PUBLIC = T.let(T.unsafe(nil), Set)
|
5259
5268
|
|
5260
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5261
|
-
RuboCop::AST::NodePattern::Sets::SET_PROP_CONST = T.let(T.unsafe(nil), Set)
|
5262
|
-
|
5263
5269
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5264
5270
|
RuboCop::AST::NodePattern::Sets::SET_PUBLIC_CONSTANT_PRIVATE_CONSTANT = T.let(T.unsafe(nil), Set)
|
5265
5271
|
|
@@ -5308,9 +5314,6 @@ RuboCop::AST::NodePattern::Sets::SET_STRUCT_CLASS = T.let(T.unsafe(nil), Set)
|
|
5308
5314
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5309
5315
|
RuboCop::AST::NodePattern::Sets::SET_SUCC_PRED_NEXT = T.let(T.unsafe(nil), Set)
|
5310
5316
|
|
5311
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5312
|
-
RuboCop::AST::NodePattern::Sets::SET_TASK_NAMESPACE = T.let(T.unsafe(nil), Set)
|
5313
|
-
|
5314
5317
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5315
5318
|
RuboCop::AST::NodePattern::Sets::SET_TO_ENUM_ENUM_FOR = T.let(T.unsafe(nil), Set)
|
5316
5319
|
|
@@ -5323,9 +5326,6 @@ RuboCop::AST::NodePattern::Sets::SET_TO_I_TO_F_TO_C_TO_R = T.let(T.unsafe(nil),
|
|
5323
5326
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5324
5327
|
RuboCop::AST::NodePattern::Sets::SET_TRUE_FALSE = T.let(T.unsafe(nil), Set)
|
5325
5328
|
|
5326
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5327
|
-
RuboCop::AST::NodePattern::Sets::SET_TYPE_TEMPLATE_TYPE_MEMBER = T.let(T.unsafe(nil), Set)
|
5328
|
-
|
5329
5329
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5330
5330
|
RuboCop::AST::NodePattern::Sets::SET_ZERO_POSITIVE_NEGATIVE = T.let(T.unsafe(nil), Set)
|
5331
5331
|
|
@@ -5368,9 +5368,6 @@ RuboCop::AST::NodePattern::Sets::SET___7 = T.let(T.unsafe(nil), Set)
|
|
5368
5368
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5369
5369
|
RuboCop::AST::NodePattern::Sets::SET___8 = T.let(T.unsafe(nil), Set)
|
5370
5370
|
|
5371
|
-
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5372
|
-
RuboCop::AST::NodePattern::Sets::SET___9 = T.let(T.unsafe(nil), Set)
|
5373
|
-
|
5374
5371
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5375
5372
|
RuboCop::AST::NodePattern::Sets::SET___EQL_ETC = T.let(T.unsafe(nil), Set)
|
5376
5373
|
|
@@ -5383,6 +5380,9 @@ RuboCop::AST::NodePattern::Sets::SET___METHOD_____CALLEE__ = T.let(T.unsafe(nil)
|
|
5383
5380
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5384
5381
|
RuboCop::AST::NodePattern::Sets::SET____ = T.let(T.unsafe(nil), Set)
|
5385
5382
|
|
5383
|
+
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5384
|
+
RuboCop::AST::NodePattern::Sets::SET____2 = T.let(T.unsafe(nil), Set)
|
5385
|
+
|
5386
5386
|
# source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
|
5387
5387
|
RuboCop::AST::NodePattern::Sets::SET____ETC = T.let(T.unsafe(nil), Set)
|
5388
5388
|
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `rubocop-performance` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem rubocop-performance`.
|
6
|
+
|
7
|
+
# THIS IS AN EMPTY RBI FILE.
|
8
|
+
# see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `rubocop-sorbet` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem rubocop-sorbet`.
|
6
|
+
|
7
|
+
# THIS IS AN EMPTY RBI FILE.
|
8
|
+
# see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
|