sorbet-result 0.2.1 → 0.3.1

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.
@@ -0,0 +1,161 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `racc` gem.
5
+ # Please instead update this file by running `bin/tapioca gem racc`.
6
+
7
+ # source://racc//lib/racc/parser.rb#23
8
+ ParseError = Racc::ParseError
9
+
10
+ # source://racc//lib/racc/info.rb#16
11
+ Racc::Copyright = T.let(T.unsafe(nil), String)
12
+
13
+ # source://racc//lib/racc/parser.rb#186
14
+ class Racc::Parser
15
+ # source://racc//lib/racc/parser.rb#281
16
+ def _racc_do_parse_rb(arg, in_debug); end
17
+
18
+ # source://racc//lib/racc/parser.rb#481
19
+ def _racc_do_reduce(arg, act); end
20
+
21
+ # common
22
+ #
23
+ # source://racc//lib/racc/parser.rb#384
24
+ def _racc_evalact(act, arg); end
25
+
26
+ # source://racc//lib/racc/parser.rb#234
27
+ def _racc_init_sysvars; end
28
+
29
+ # source://racc//lib/racc/parser.rb#222
30
+ def _racc_setup; end
31
+
32
+ # source://racc//lib/racc/parser.rb#331
33
+ def _racc_yyparse_rb(recv, mid, arg, c_debug); end
34
+
35
+ # source://racc//lib/racc/parser.rb#264
36
+ def do_parse; end
37
+
38
+ # The method to fetch next token.
39
+ # If you use #do_parse method, you must implement #next_token.
40
+ #
41
+ # The format of return value is [TOKEN_SYMBOL, VALUE].
42
+ # +token-symbol+ is represented by Ruby's symbol by default, e.g. :IDENT
43
+ # for 'IDENT'. ";" (String) for ';'.
44
+ #
45
+ # The final symbol (End of file) must be false.
46
+ #
47
+ # @raise [NotImplementedError]
48
+ #
49
+ # source://racc//lib/racc/parser.rb#277
50
+ def next_token; end
51
+
52
+ # This method is called when a parse error is found.
53
+ #
54
+ # ERROR_TOKEN_ID is an internal ID of token which caused error.
55
+ # You can get string representation of this ID by calling
56
+ # #token_to_str.
57
+ #
58
+ # ERROR_VALUE is a value of error token.
59
+ #
60
+ # value_stack is a stack of symbol values.
61
+ # DO NOT MODIFY this object.
62
+ #
63
+ # This method raises ParseError by default.
64
+ #
65
+ # If this method returns, parsers enter "error recovering mode".
66
+ #
67
+ # @raise [ParseError]
68
+ #
69
+ # source://racc//lib/racc/parser.rb#537
70
+ def on_error(t, val, vstack); end
71
+
72
+ # source://racc//lib/racc/parser.rb#586
73
+ def racc_accept; end
74
+
75
+ # source://racc//lib/racc/parser.rb#591
76
+ def racc_e_pop(state, tstack, vstack); end
77
+
78
+ # source://racc//lib/racc/parser.rb#598
79
+ def racc_next_state(curstate, state); end
80
+
81
+ # source://racc//lib/racc/parser.rb#604
82
+ def racc_print_stacks(t, v); end
83
+
84
+ # source://racc//lib/racc/parser.rb#613
85
+ def racc_print_states(s); end
86
+
87
+ # For debugging output
88
+ #
89
+ # source://racc//lib/racc/parser.rb#560
90
+ def racc_read_token(t, tok, val); end
91
+
92
+ # source://racc//lib/racc/parser.rb#573
93
+ def racc_reduce(toks, sim, tstack, vstack); end
94
+
95
+ # source://racc//lib/racc/parser.rb#567
96
+ def racc_shift(tok, tstack, vstack); end
97
+
98
+ # source://racc//lib/racc/parser.rb#620
99
+ def racc_token2str(tok); end
100
+
101
+ # Convert internal ID of token symbol to the string.
102
+ #
103
+ # source://racc//lib/racc/parser.rb#626
104
+ def token_to_str(t); end
105
+
106
+ # Exit parser.
107
+ # Return value is +Symbol_Value_Stack[0]+.
108
+ #
109
+ # source://racc//lib/racc/parser.rb#550
110
+ def yyaccept; end
111
+
112
+ # Leave error recovering mode.
113
+ #
114
+ # source://racc//lib/racc/parser.rb#555
115
+ def yyerrok; end
116
+
117
+ # Enter error recovering mode.
118
+ # This method does not call #on_error.
119
+ #
120
+ # source://racc//lib/racc/parser.rb#544
121
+ def yyerror; end
122
+
123
+ # source://racc//lib/racc/parser.rb#326
124
+ def yyparse(recv, mid); end
125
+
126
+ class << self
127
+ # source://racc//lib/racc/parser.rb#218
128
+ def racc_runtime_type; end
129
+ end
130
+ end
131
+
132
+ # source://racc//lib/racc/parser.rb#207
133
+ Racc::Parser::Racc_Main_Parsing_Routine = T.let(T.unsafe(nil), Symbol)
134
+
135
+ Racc::Parser::Racc_Runtime_Core_Id_C = T.let(T.unsafe(nil), String)
136
+
137
+ # source://racc//lib/racc/parser.rb#209
138
+ Racc::Parser::Racc_Runtime_Core_Version = T.let(T.unsafe(nil), String)
139
+
140
+ Racc::Parser::Racc_Runtime_Core_Version_C = T.let(T.unsafe(nil), String)
141
+
142
+ # source://racc//lib/racc/parser.rb#189
143
+ Racc::Parser::Racc_Runtime_Core_Version_R = T.let(T.unsafe(nil), String)
144
+
145
+ # source://racc//lib/racc/parser.rb#210
146
+ Racc::Parser::Racc_Runtime_Type = T.let(T.unsafe(nil), String)
147
+
148
+ # source://racc//lib/racc/parser.rb#188
149
+ Racc::Parser::Racc_Runtime_Version = T.let(T.unsafe(nil), String)
150
+
151
+ # source://racc//lib/racc/parser.rb#208
152
+ Racc::Parser::Racc_YY_Parse_Method = T.let(T.unsafe(nil), Symbol)
153
+
154
+ # source://racc//lib/racc/parser.rb#183
155
+ Racc::Racc_No_Extensions = T.let(T.unsafe(nil), FalseClass)
156
+
157
+ # source://racc//lib/racc/info.rb#14
158
+ Racc::VERSION = T.let(T.unsafe(nil), String)
159
+
160
+ # source://racc//lib/racc/info.rb#15
161
+ Racc::Version = T.let(T.unsafe(nil), String)
@@ -2586,8 +2586,6 @@ end
2586
2586
  # source://regexp_parser//lib/regexp_parser/version.rb#3
2587
2587
  Regexp::Parser::VERSION = T.let(T.unsafe(nil), String)
2588
2588
 
2589
- # mapping for simple cases with a 1:1 relation between text and token
2590
- #
2591
2589
  # source://regexp_parser//lib/regexp_parser/scanner/errors/scanner_error.rb#3
2592
2590
  class Regexp::Scanner
2593
2591
  # Emits an array with the details of the scanned pattern
@@ -3357,7 +3355,7 @@ Regexp::Syntax::Token::PosixClass::Type = T.let(T.unsafe(nil), Symbol)
3357
3355
 
3358
3356
  # alias for symmetry between token symbol and Token module name
3359
3357
  #
3360
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#718
3358
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#731
3361
3359
  Regexp::Syntax::Token::Property = Regexp::Syntax::Token::UnicodeProperty
3362
3360
 
3363
3361
  # source://regexp_parser//lib/regexp_parser/syntax/token/quantifier.rb#3
@@ -3454,7 +3452,7 @@ Regexp::Syntax::Token::UnicodeProperty::Age_V3_1_0 = T.let(T.unsafe(nil), Array)
3454
3452
  # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#62
3455
3453
  Regexp::Syntax::Token::UnicodeProperty::Age_V3_2_0 = T.let(T.unsafe(nil), Array)
3456
3454
 
3457
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#708
3455
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#721
3458
3456
  Regexp::Syntax::Token::UnicodeProperty::All = T.let(T.unsafe(nil), Array)
3459
3457
 
3460
3458
  # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#13
@@ -3505,19 +3503,22 @@ Regexp::Syntax::Token::UnicodeProperty::Derived_V2_4_0 = T.let(T.unsafe(nil), Ar
3505
3503
  # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#129
3506
3504
  Regexp::Syntax::Token::UnicodeProperty::Derived_V2_5_0 = T.let(T.unsafe(nil), Array)
3507
3505
 
3508
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#693
3506
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#706
3509
3507
  Regexp::Syntax::Token::UnicodeProperty::Emoji = T.let(T.unsafe(nil), Array)
3510
3508
 
3511
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#685
3509
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#694
3512
3510
  Regexp::Syntax::Token::UnicodeProperty::Emoji_V2_5_0 = T.let(T.unsafe(nil), Array)
3513
3511
 
3514
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#711
3512
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#702
3513
+ Regexp::Syntax::Token::UnicodeProperty::Emoji_V2_6_0 = T.let(T.unsafe(nil), Array)
3514
+
3515
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#724
3515
3516
  Regexp::Syntax::Token::UnicodeProperty::NonType = T.let(T.unsafe(nil), Symbol)
3516
3517
 
3517
3518
  # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#11
3518
3519
  Regexp::Syntax::Token::UnicodeProperty::POSIX = T.let(T.unsafe(nil), Array)
3519
3520
 
3520
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#330
3521
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#332
3521
3522
  Regexp::Syntax::Token::UnicodeProperty::Script = T.let(T.unsafe(nil), Array)
3522
3523
 
3523
3524
  # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#135
@@ -3553,76 +3554,76 @@ Regexp::Syntax::Token::UnicodeProperty::Script_V3_1_0 = T.let(T.unsafe(nil), Arr
3553
3554
  # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#322
3554
3555
  Regexp::Syntax::Token::UnicodeProperty::Script_V3_2_0 = T.let(T.unsafe(nil), Array)
3555
3556
 
3556
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#710
3557
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#723
3557
3558
  Regexp::Syntax::Token::UnicodeProperty::Type = T.let(T.unsafe(nil), Symbol)
3558
3559
 
3559
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#683
3560
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#692
3560
3561
  Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock = T.let(T.unsafe(nil), Array)
3561
3562
 
3562
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#332
3563
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#334
3563
3564
  Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V1_9_0 = T.let(T.unsafe(nil), Array)
3564
3565
 
3565
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#431
3566
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#433
3566
3567
  Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_0_0 = T.let(T.unsafe(nil), Array)
3567
3568
 
3568
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#559
3569
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#561
3569
3570
  Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_2_0 = T.let(T.unsafe(nil), Array)
3570
3571
 
3571
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#594
3572
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#596
3572
3573
  Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_3_0 = T.let(T.unsafe(nil), Array)
3573
3574
 
3574
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#607
3575
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#609
3575
3576
  Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_4_0 = T.let(T.unsafe(nil), Array)
3576
3577
 
3577
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#621
3578
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#623
3578
3579
  Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_5_0 = T.let(T.unsafe(nil), Array)
3579
3580
 
3580
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#631
3581
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#633
3581
3582
  Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_6_0 = T.let(T.unsafe(nil), Array)
3582
3583
 
3583
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#645
3584
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#647
3584
3585
  Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V2_6_2 = T.let(T.unsafe(nil), Array)
3585
3586
 
3586
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#657
3587
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#659
3587
3588
  Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V3_1_0 = T.let(T.unsafe(nil), Array)
3588
3589
 
3589
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#668
3590
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#670
3590
3591
  Regexp::Syntax::Token::UnicodeProperty::UnicodeBlock_V3_2_0 = T.let(T.unsafe(nil), Array)
3591
3592
 
3592
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#695
3593
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#708
3593
3594
  Regexp::Syntax::Token::UnicodeProperty::V1_9_0 = T.let(T.unsafe(nil), Array)
3594
3595
 
3595
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#696
3596
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#709
3596
3597
  Regexp::Syntax::Token::UnicodeProperty::V1_9_3 = T.let(T.unsafe(nil), Array)
3597
3598
 
3598
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#697
3599
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#710
3599
3600
  Regexp::Syntax::Token::UnicodeProperty::V2_0_0 = T.let(T.unsafe(nil), Array)
3600
3601
 
3601
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#698
3602
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#711
3602
3603
  Regexp::Syntax::Token::UnicodeProperty::V2_2_0 = T.let(T.unsafe(nil), Array)
3603
3604
 
3604
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#699
3605
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#712
3605
3606
  Regexp::Syntax::Token::UnicodeProperty::V2_3_0 = T.let(T.unsafe(nil), Array)
3606
3607
 
3607
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#700
3608
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#713
3608
3609
  Regexp::Syntax::Token::UnicodeProperty::V2_4_0 = T.let(T.unsafe(nil), Array)
3609
3610
 
3610
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#701
3611
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#714
3611
3612
  Regexp::Syntax::Token::UnicodeProperty::V2_5_0 = T.let(T.unsafe(nil), Array)
3612
3613
 
3613
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#702
3614
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#715
3614
3615
  Regexp::Syntax::Token::UnicodeProperty::V2_6_0 = T.let(T.unsafe(nil), Array)
3615
3616
 
3616
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#703
3617
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#716
3617
3618
  Regexp::Syntax::Token::UnicodeProperty::V2_6_2 = T.let(T.unsafe(nil), Array)
3618
3619
 
3619
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#704
3620
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#717
3620
3621
  Regexp::Syntax::Token::UnicodeProperty::V2_6_3 = T.let(T.unsafe(nil), Array)
3621
3622
 
3622
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#705
3623
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#718
3623
3624
  Regexp::Syntax::Token::UnicodeProperty::V3_1_0 = T.let(T.unsafe(nil), Array)
3624
3625
 
3625
- # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#706
3626
+ # source://regexp_parser//lib/regexp_parser/syntax/token/unicode_property.rb#719
3626
3627
  Regexp::Syntax::Token::UnicodeProperty::V3_2_0 = T.let(T.unsafe(nil), Array)
3627
3628
 
3628
3629
  # source://regexp_parser//lib/regexp_parser/syntax/version_lookup.rb#12
@@ -2033,10 +2033,10 @@ module RuboCop::AST::MethodDispatchNode
2033
2033
  #
2034
2034
  # @return [Boolean] whether the dispatched method is an access modifier
2035
2035
  #
2036
- # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#53
2036
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#64
2037
2037
  def access_modifier?; end
2038
2038
 
2039
- # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#262
2039
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#273
2040
2040
  def adjacent_def_modifier?(param0 = T.unsafe(nil)); end
2041
2041
 
2042
2042
  # Checks whether this node is an arithmetic operation
@@ -2044,14 +2044,14 @@ module RuboCop::AST::MethodDispatchNode
2044
2044
  # @return [Boolean] whether the dispatched method is an arithmetic
2045
2045
  # operation
2046
2046
  #
2047
- # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#164
2047
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#175
2048
2048
  def arithmetic_operation?; end
2049
2049
 
2050
2050
  # Checks whether the dispatched method is a setter method.
2051
2051
  #
2052
2052
  # @return [Boolean] whether the dispatched method is a setter
2053
2053
  #
2054
- # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#96
2054
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#107
2055
2055
  def assignment?; end
2056
2056
 
2057
2057
  # Checks whether the dispatched method is a bare access modifier that
@@ -2060,10 +2060,10 @@ module RuboCop::AST::MethodDispatchNode
2060
2060
  # @return [Boolean] whether the dispatched method is a bare
2061
2061
  # access modifier
2062
2062
  #
2063
- # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#62
2063
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#73
2064
2064
  def bare_access_modifier?; end
2065
2065
 
2066
- # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#267
2066
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#278
2067
2067
  def bare_access_modifier_declaration?(param0 = T.unsafe(nil)); end
2068
2068
 
2069
2069
  # Checks whether this is a binary operation.
@@ -2073,14 +2073,14 @@ module RuboCop::AST::MethodDispatchNode
2073
2073
  # foo + bar
2074
2074
  # @return [Boolean] whether this method is a binary operation
2075
2075
  #
2076
- # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#237
2076
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#248
2077
2077
  def binary_operation?; end
2078
2078
 
2079
2079
  # Whether this method dispatch has an explicit block.
2080
2080
  #
2081
2081
  # @return [Boolean] whether the dispatched method has a block
2082
2082
  #
2083
- # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#156
2083
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#167
2084
2084
  def block_literal?; end
2085
2085
 
2086
2086
  # The `block` or `numblock` node associated with this method dispatch, if any.
@@ -2088,7 +2088,7 @@ module RuboCop::AST::MethodDispatchNode
2088
2088
  # @return [BlockNode, nil] the `block` or `numblock` node associated with this method
2089
2089
  # call or `nil`
2090
2090
  #
2091
- # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#35
2091
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#46
2092
2092
  def block_node; end
2093
2093
 
2094
2094
  # Checks whether the name of the dispatched method matches the argument
@@ -2097,7 +2097,7 @@ module RuboCop::AST::MethodDispatchNode
2097
2097
  # @param name [Symbol, String] the method name to check for
2098
2098
  # @return [Boolean] whether the method name matches the argument
2099
2099
  #
2100
- # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#89
2100
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#100
2101
2101
  def command?(name); end
2102
2102
 
2103
2103
  # Checks whether the *explicit* receiver of this method dispatch is a
@@ -2106,7 +2106,7 @@ module RuboCop::AST::MethodDispatchNode
2106
2106
  # @return [Boolean] whether the receiver of this method dispatch
2107
2107
  # is a `const` node
2108
2108
  #
2109
- # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#141
2109
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#152
2110
2110
  def const_receiver?; end
2111
2111
 
2112
2112
  # Checks if this node is part of a chain of `def` or `defs` modifiers.
@@ -2118,7 +2118,7 @@ module RuboCop::AST::MethodDispatchNode
2118
2118
  # private def foo; end
2119
2119
  # @return [Node | nil] returns the `def|defs` node this is a modifier for,
2120
2120
  #
2121
- # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#188
2121
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#199
2122
2122
  def def_modifier(node = T.unsafe(nil)); end
2123
2123
 
2124
2124
  # Checks if this node is part of a chain of `def` or `defs` modifiers.
@@ -2130,7 +2130,7 @@ module RuboCop::AST::MethodDispatchNode
2130
2130
  # private def foo; end
2131
2131
  # @return [Boolean] whether the `def|defs` node is a modifier or not.
2132
2132
  #
2133
- # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#176
2133
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#187
2134
2134
  def def_modifier?(node = T.unsafe(nil)); end
2135
2135
 
2136
2136
  # Checks whether the dispatched method uses a dot to connect the
@@ -2141,7 +2141,7 @@ module RuboCop::AST::MethodDispatchNode
2141
2141
  #
2142
2142
  # @return [Boolean] whether the method was called with a connecting dot
2143
2143
  #
2144
- # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#108
2144
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#119
2145
2145
  def dot?; end
2146
2146
 
2147
2147
  # Checks whether the dispatched method uses a double colon to connect the
@@ -2149,7 +2149,7 @@ module RuboCop::AST::MethodDispatchNode
2149
2149
  #
2150
2150
  # @return [Boolean] whether the method was called with a connecting dot
2151
2151
  #
2152
- # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#116
2152
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#127
2153
2153
  def double_colon?; end
2154
2154
 
2155
2155
  # Checks whether the method dispatch is the implicit form of `#call`,
@@ -2157,10 +2157,10 @@ module RuboCop::AST::MethodDispatchNode
2157
2157
  #
2158
2158
  # @return [Boolean] whether the method is the implicit form of `#call`
2159
2159
  #
2160
- # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#149
2160
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#160
2161
2161
  def implicit_call?; end
2162
2162
 
2163
- # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#246
2163
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#257
2164
2164
  def in_macro_scope?(param0 = T.unsafe(nil)); end
2165
2165
 
2166
2166
  # Checks whether this is a lambda. Some versions of parser parses
@@ -2168,7 +2168,7 @@ module RuboCop::AST::MethodDispatchNode
2168
2168
  #
2169
2169
  # @return [Boolean] whether this method is a lambda
2170
2170
  #
2171
- # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#202
2171
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#213
2172
2172
  def lambda?; end
2173
2173
 
2174
2174
  # Checks whether this is a lambda literal (stabby lambda.)
@@ -2178,7 +2178,7 @@ module RuboCop::AST::MethodDispatchNode
2178
2178
  # -> (foo) { bar }
2179
2179
  # @return [Boolean] whether this method is a lambda literal
2180
2180
  #
2181
- # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#213
2181
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#224
2182
2182
  def lambda_literal?; end
2183
2183
 
2184
2184
  # Checks whether the dispatched method is a macro method. A macro method
@@ -2188,7 +2188,7 @@ module RuboCop::AST::MethodDispatchNode
2188
2188
  # @note This does not include DSLs that use nested blocks, like RSpec
2189
2189
  # @return [Boolean] whether the dispatched method is a macro method
2190
2190
  #
2191
- # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#46
2191
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#57
2192
2192
  def macro?; end
2193
2193
 
2194
2194
  # The name of the dispatched method as a symbol.
@@ -2204,10 +2204,10 @@ module RuboCop::AST::MethodDispatchNode
2204
2204
  # @return [Boolean] whether the dispatched method is a non-bare
2205
2205
  # access modifier
2206
2206
  #
2207
- # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#71
2207
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#82
2208
2208
  def non_bare_access_modifier?; end
2209
2209
 
2210
- # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#272
2210
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#283
2211
2211
  def non_bare_access_modifier_declaration?(param0 = T.unsafe(nil)); end
2212
2212
 
2213
2213
  # The receiving node of the method dispatch.
@@ -2222,22 +2222,29 @@ module RuboCop::AST::MethodDispatchNode
2222
2222
  #
2223
2223
  # @return [Boolean] whether the method was called with a connecting dot
2224
2224
  #
2225
- # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#124
2225
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#135
2226
2226
  def safe_navigation?; end
2227
2227
 
2228
+ # The source range for the method name or keyword that dispatches this call.
2229
+ #
2230
+ # @return [Parser::Source::Range] the source range for the method name or keyword
2231
+ #
2232
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#34
2233
+ def selector; end
2234
+
2228
2235
  # Checks whether the *explicit* receiver of this method dispatch is
2229
2236
  # `self`.
2230
2237
  #
2231
2238
  # @return [Boolean] whether the receiver of this method dispatch is `self`
2232
2239
  #
2233
- # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#132
2240
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#143
2234
2241
  def self_receiver?; end
2235
2242
 
2236
2243
  # Checks whether the dispatched method is a setter method.
2237
2244
  #
2238
2245
  # @return [Boolean] whether the dispatched method is a setter
2239
2246
  #
2240
- # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#96
2247
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#107
2241
2248
  def setter_method?; end
2242
2249
 
2243
2250
  # Checks whether the dispatched method is a bare `private` or `protected`
@@ -2246,7 +2253,7 @@ module RuboCop::AST::MethodDispatchNode
2246
2253
  # @return [Boolean] whether the dispatched method is a bare
2247
2254
  # `private` or `protected` access modifier
2248
2255
  #
2249
- # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#80
2256
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#91
2250
2257
  def special_modifier?; end
2251
2258
 
2252
2259
  # Checks whether this is a unary operation.
@@ -2256,7 +2263,7 @@ module RuboCop::AST::MethodDispatchNode
2256
2263
  # -foo
2257
2264
  # @return [Boolean] whether this method is a unary operation
2258
2265
  #
2259
- # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#224
2266
+ # source://rubocop-ast//lib/rubocop/ast/node/mixin/method_dispatch_node.rb#235
2260
2267
  def unary_operation?; end
2261
2268
  end
2262
2269
 
@@ -5109,6 +5116,9 @@ RuboCop::AST::NodePattern::Sets::SET_ANY_ALL_NORETURN_ETC = T.let(T.unsafe(nil),
5109
5116
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5110
5117
  RuboCop::AST::NodePattern::Sets::SET_ANY_EMPTY = T.let(T.unsafe(nil), Set)
5111
5118
 
5119
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5120
+ RuboCop::AST::NodePattern::Sets::SET_ANY_EMPTY_NONE_ETC = T.let(T.unsafe(nil), Set)
5121
+
5112
5122
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5113
5123
  RuboCop::AST::NodePattern::Sets::SET_ATTR_READER_ATTR_WRITER_ATTR_ACCESSOR = T.let(T.unsafe(nil), Set)
5114
5124
 
@@ -5226,6 +5236,9 @@ RuboCop::AST::NodePattern::Sets::SET_MODULE_FUNCTION_RUBY2_KEYWORDS = T.let(T.un
5226
5236
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5227
5237
  RuboCop::AST::NodePattern::Sets::SET_NEW_ = T.let(T.unsafe(nil), Set)
5228
5238
 
5239
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5240
+ RuboCop::AST::NodePattern::Sets::SET_NEW_COMPILE = T.let(T.unsafe(nil), Set)
5241
+
5229
5242
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5230
5243
  RuboCop::AST::NodePattern::Sets::SET_NEW_OPEN = T.let(T.unsafe(nil), Set)
5231
5244
 
@@ -5271,6 +5284,9 @@ RuboCop::AST::NodePattern::Sets::SET_REJECT_DELETE_IF_REJECT = T.let(T.unsafe(ni
5271
5284
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5272
5285
  RuboCop::AST::NodePattern::Sets::SET_REQUIRE_REQUIRE_RELATIVE = T.let(T.unsafe(nil), Set)
5273
5286
 
5287
+ # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5288
+ RuboCop::AST::NodePattern::Sets::SET_SELECT_FILTER_FIND_ALL = T.let(T.unsafe(nil), Set)
5289
+
5274
5290
  # source://rubocop-ast//lib/rubocop/ast/node_pattern/sets.rb#10
5275
5291
  RuboCop::AST::NodePattern::Sets::SET_SELECT_SELECT = T.let(T.unsafe(nil), Set)
5276
5292