muina 0.2.8 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +25 -0
- data/README.md +0 -35
- data/lib/muina/maybe/none.rb +61 -0
- data/lib/muina/maybe/some.rb +62 -0
- data/lib/muina/maybe.rb +13 -0
- data/lib/muina/result/failure.rb +7 -18
- data/lib/muina/result/success.rb +7 -18
- data/lib/muina/result.rb +6 -8
- data/lib/muina/version.rb +1 -2
- data/lib/muina.rb +0 -32
- metadata +24 -225
- data/.github/workflows/main.yml +0 -16
- data/.gitignore +0 -5
- data/.mutant.yml +0 -38
- data/.rspec +0 -4
- data/.rubocop.yml +0 -181
- data/.ruby-version +0 -1
- data/.simplecov +0 -14
- data/CHANGELOG.md +0 -38
- data/Gemfile +0 -34
- data/Gemfile.lock +0 -265
- data/Guardfile +0 -24
- data/Rakefile +0 -13
- data/SECURITY.md +0 -14
- data/bin/bundle +0 -114
- data/bin/console +0 -15
- data/bin/flay +0 -29
- data/bin/flog +0 -29
- data/bin/guard +0 -29
- data/bin/irb +0 -29
- data/bin/lefthook +0 -29
- data/bin/mutant +0 -29
- data/bin/parlour +0 -29
- data/bin/rake +0 -29
- data/bin/rspec +0 -29
- data/bin/rubocop +0 -29
- data/bin/setup +0 -8
- data/bin/srb +0 -29
- data/bin/srb-rbi +0 -29
- data/bin/tapioca +0 -29
- data/exe/muina +0 -11
- data/lefthook.yml +0 -39
- data/lib/muina/action/params_factory.rb +0 -17
- data/lib/muina/action/step/command.rb +0 -33
- data/lib/muina/action/step/failure.rb +0 -18
- data/lib/muina/action/step/query.rb +0 -35
- data/lib/muina/action/step/result.rb +0 -56
- data/lib/muina/action/step.rb +0 -13
- data/lib/muina/action.rb +0 -73
- data/lib/muina/any.rb +0 -7
- data/lib/muina/classes.rb +0 -7
- data/lib/muina/deprecator.rb +0 -93
- data/lib/muina/entity.rb +0 -20
- data/lib/muina/module.rb +0 -6
- data/lib/muina/parameters.rb +0 -7
- data/lib/muina/params.rb +0 -19
- data/lib/muina/private_creation.rb +0 -12
- data/lib/muina/result/factory.rb +0 -37
- data/lib/muina/result/null.rb +0 -25
- data/lib/muina/service.rb +0 -25
- data/lib/muina/symbol_hash.rb +0 -7
- data/lib/muina/unit.rb +0 -10
- data/lib/muina/untyped_array.rb +0 -7
- data/lib/muina/untyped_hash.rb +0 -7
- data/lib/muina/value.rb +0 -24
- data/muina.gemspec +0 -35
- data/rbi/muina.rbi +0 -311
- data/sorbet/config +0 -2
- data/sorbet/rbi/gems/actionpack@6.1.4.rbi +0 -5045
- data/sorbet/rbi/gems/actionview@6.1.4.rbi +0 -2416
- data/sorbet/rbi/gems/activesupport@6.1.4.rbi +0 -3778
- data/sorbet/rbi/gems/ast@2.4.2.rbi +0 -54
- data/sorbet/rbi/gems/awesome_print@1.9.2.rbi +0 -322
- data/sorbet/rbi/gems/builder@3.2.4.rbi +0 -8
- data/sorbet/rbi/gems/byebug@11.1.3.rbi +0 -18
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +0 -8
- data/sorbet/rbi/gems/colorize@0.8.1.rbi +0 -39
- data/sorbet/rbi/gems/commander@4.6.0.rbi +0 -8
- data/sorbet/rbi/gems/concurrent-ruby@1.1.9.rbi +0 -2403
- data/sorbet/rbi/gems/crass@1.0.6.rbi +0 -123
- data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +0 -185
- data/sorbet/rbi/gems/docile@1.4.0.rbi +0 -54
- data/sorbet/rbi/gems/erubi@1.10.0.rbi +0 -36
- data/sorbet/rbi/gems/erubis@2.7.0.rbi +0 -8
- data/sorbet/rbi/gems/faker@2.18.0.rbi +0 -2469
- data/sorbet/rbi/gems/ffi@1.15.3.rbi +0 -8
- data/sorbet/rbi/gems/flay@2.12.1.rbi +0 -178
- data/sorbet/rbi/gems/flog@4.6.4.rbi +0 -70
- data/sorbet/rbi/gems/formatador@0.3.0.rbi +0 -8
- data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +0 -49
- data/sorbet/rbi/gems/guard-rspec@4.7.3.rbi +0 -233
- data/sorbet/rbi/gems/guard-rubocop@1.4.0.rbi +0 -66
- data/sorbet/rbi/gems/guard-shell@0.7.2.rbi +0 -69
- data/sorbet/rbi/gems/guard@2.18.0.rbi +0 -617
- data/sorbet/rbi/gems/highline@2.0.3.rbi +0 -8
- data/sorbet/rbi/gems/i18n@1.8.10.rbi +0 -616
- data/sorbet/rbi/gems/io-console@0.5.9.rbi +0 -8
- data/sorbet/rbi/gems/irb@1.3.6.rbi +0 -452
- data/sorbet/rbi/gems/lefthook@0.7.6.rbi +0 -8
- data/sorbet/rbi/gems/listen@3.6.0.rbi +0 -476
- data/sorbet/rbi/gems/loofah@2.10.0.rbi +0 -223
- data/sorbet/rbi/gems/lumberjack@1.2.8.rbi +0 -431
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +0 -8
- data/sorbet/rbi/gems/minitest@5.14.4.rbi +0 -344
- data/sorbet/rbi/gems/mutant-license@0.1.1.1.4043027289354708743625974235631451632228.0.rbi +0 -8
- data/sorbet/rbi/gems/mutant-rspec@0.10.32.rbi +0 -8
- data/sorbet/rbi/gems/mutant@0.10.32.rbi +0 -4154
- data/sorbet/rbi/gems/nenv@0.3.0.rbi +0 -88
- data/sorbet/rbi/gems/nokogiri@1.11.7.rbi +0 -1422
- data/sorbet/rbi/gems/notiffany@0.1.3.rbi +0 -331
- data/sorbet/rbi/gems/parallel@1.20.1.rbi +0 -113
- data/sorbet/rbi/gems/parlour@6.0.1.rbi +0 -1726
- data/sorbet/rbi/gems/parser@3.0.2.0.rbi +0 -1683
- data/sorbet/rbi/gems/path_expander@1.1.0.rbi +0 -24
- data/sorbet/rbi/gems/polyfill@1.9.0.rbi +0 -393
- data/sorbet/rbi/gems/pry@0.14.1.rbi +0 -8
- data/sorbet/rbi/gems/racc@1.5.2.rbi +0 -47
- data/sorbet/rbi/gems/rack-test@1.1.0.rbi +0 -272
- data/sorbet/rbi/gems/rack@2.2.3.rbi +0 -1618
- data/sorbet/rbi/gems/rails-dom-testing@2.0.3.rbi +0 -92
- data/sorbet/rbi/gems/rails-html-sanitizer@1.3.0.rbi +0 -183
- data/sorbet/rbi/gems/rainbow@3.0.0.rbi +0 -153
- data/sorbet/rbi/gems/rake@13.0.6.rbi +0 -808
- data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +0 -8
- data/sorbet/rbi/gems/rb-inotify@0.10.1.rbi +0 -8
- data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +0 -1120
- data/sorbet/rbi/gems/reline@0.2.6.rbi +0 -662
- data/sorbet/rbi/gems/rexml@3.2.5.rbi +0 -672
- data/sorbet/rbi/gems/rspec-core@3.10.1.rbi +0 -2509
- data/sorbet/rbi/gems/rspec-expectations@3.10.1.rbi +0 -1574
- data/sorbet/rbi/gems/rspec-mocks@3.10.2.rbi +0 -1462
- data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +0 -509
- data/sorbet/rbi/gems/rspec@3.10.0.rbi +0 -38
- data/sorbet/rbi/gems/rubocop-ast@1.8.0.rbi +0 -2194
- data/sorbet/rbi/gems/rubocop-performance@1.11.4.rbi +0 -899
- data/sorbet/rbi/gems/rubocop-rake@0.6.0.rbi +0 -118
- data/sorbet/rbi/gems/rubocop-rspec@2.4.0.rbi +0 -1805
- data/sorbet/rbi/gems/rubocop-sorbet@0.6.2.rbi +0 -288
- data/sorbet/rbi/gems/rubocop@1.18.4.rbi +0 -13197
- data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +0 -405
- data/sorbet/rbi/gems/ruby_parser@3.16.0.rbi +0 -4528
- data/sorbet/rbi/gems/safe_type@1.1.1.rbi +0 -157
- data/sorbet/rbi/gems/sexp_processor@4.15.3.rbi +0 -359
- data/sorbet/rbi/gems/shellany@0.0.1.rbi +0 -28
- data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +0 -89
- data/sorbet/rbi/gems/simplecov@0.21.2.rbi +0 -577
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.3.rbi +0 -8
- data/sorbet/rbi/gems/sorbet-coerce@0.5.0.rbi +0 -42
- data/sorbet/rbi/gems/sorbet-rails@0.7.4.rbi +0 -8
- data/sorbet/rbi/gems/sorbet-struct-comparable@1.1.0.rbi +0 -17
- data/sorbet/rbi/gems/spoom@1.1.1.rbi +0 -1193
- data/sorbet/rbi/gems/tapioca@0.4.23.rbi +0 -1826
- data/sorbet/rbi/gems/thor@1.1.0.rbi +0 -838
- data/sorbet/rbi/gems/tzinfo@2.0.4.rbi +0 -856
- data/sorbet/rbi/gems/unicode-display_width@2.0.0.rbi +0 -26
- data/sorbet/rbi/gems/unparser@0.6.0.rbi +0 -2037
- data/sorbet/rbi/gems/zeitwerk@2.4.2.rbi +0 -173
- data/sorbet/rbi/todo.rbi +0 -8
- data/sorbet/rbi/typed_params.rbi +0 -7
- data/sorbet/tapioca/require.rb +0 -16
@@ -1,1683 +0,0 @@
|
|
1
|
-
# DO NOT EDIT MANUALLY
|
2
|
-
# This is an autogenerated file for types exported from the `parser` gem.
|
3
|
-
# Please instead update this file by running `bin/tapioca sync`.
|
4
|
-
|
5
|
-
# typed: true
|
6
|
-
|
7
|
-
class AST::Node
|
8
|
-
def initialize(type, children = T.unsafe(nil), properties = T.unsafe(nil)); end
|
9
|
-
|
10
|
-
def +(array); end
|
11
|
-
def <<(element); end
|
12
|
-
def ==(other); end
|
13
|
-
def append(element); end
|
14
|
-
def children; end
|
15
|
-
def clone; end
|
16
|
-
def concat(array); end
|
17
|
-
def deconstruct; end
|
18
|
-
def dup; end
|
19
|
-
def eql?(other); end
|
20
|
-
def hash; end
|
21
|
-
def inspect(indent = T.unsafe(nil)); end
|
22
|
-
def to_a; end
|
23
|
-
def to_ast; end
|
24
|
-
def to_s(indent = T.unsafe(nil)); end
|
25
|
-
def to_sexp(indent = T.unsafe(nil)); end
|
26
|
-
def to_sexp_array; end
|
27
|
-
def type; end
|
28
|
-
def updated(type = T.unsafe(nil), children = T.unsafe(nil), properties = T.unsafe(nil)); end
|
29
|
-
|
30
|
-
protected
|
31
|
-
|
32
|
-
def assign_properties(properties); end
|
33
|
-
def fancy_type; end
|
34
|
-
|
35
|
-
private
|
36
|
-
|
37
|
-
def original_dup; end
|
38
|
-
end
|
39
|
-
|
40
|
-
class AST::Processor
|
41
|
-
include ::AST::Processor::Mixin
|
42
|
-
end
|
43
|
-
|
44
|
-
module AST::Processor::Mixin
|
45
|
-
def handler_missing(node); end
|
46
|
-
def process(node); end
|
47
|
-
def process_all(nodes); end
|
48
|
-
end
|
49
|
-
|
50
|
-
module Parser
|
51
|
-
class << self
|
52
|
-
private
|
53
|
-
|
54
|
-
def warn_syntax_deviation(feature, version); end
|
55
|
-
end
|
56
|
-
end
|
57
|
-
|
58
|
-
module Parser::AST; end
|
59
|
-
|
60
|
-
class Parser::AST::Node < ::AST::Node
|
61
|
-
def assign_properties(properties); end
|
62
|
-
def loc; end
|
63
|
-
def location; end
|
64
|
-
end
|
65
|
-
|
66
|
-
class Parser::AST::Processor < ::AST::Processor
|
67
|
-
def on_alias(node); end
|
68
|
-
def on_and(node); end
|
69
|
-
def on_and_asgn(node); end
|
70
|
-
def on_arg(node); end
|
71
|
-
def on_arg_expr(node); end
|
72
|
-
def on_args(node); end
|
73
|
-
def on_argument(node); end
|
74
|
-
def on_array(node); end
|
75
|
-
def on_array_pattern(node); end
|
76
|
-
def on_array_pattern_with_tail(node); end
|
77
|
-
def on_back_ref(node); end
|
78
|
-
def on_begin(node); end
|
79
|
-
def on_block(node); end
|
80
|
-
def on_block_pass(node); end
|
81
|
-
def on_blockarg(node); end
|
82
|
-
def on_blockarg_expr(node); end
|
83
|
-
def on_break(node); end
|
84
|
-
def on_case(node); end
|
85
|
-
def on_case_match(node); end
|
86
|
-
def on_casgn(node); end
|
87
|
-
def on_class(node); end
|
88
|
-
def on_const(node); end
|
89
|
-
def on_const_pattern(node); end
|
90
|
-
def on_csend(node); end
|
91
|
-
def on_cvar(node); end
|
92
|
-
def on_cvasgn(node); end
|
93
|
-
def on_def(node); end
|
94
|
-
def on_defined?(node); end
|
95
|
-
def on_defs(node); end
|
96
|
-
def on_dstr(node); end
|
97
|
-
def on_dsym(node); end
|
98
|
-
def on_eflipflop(node); end
|
99
|
-
def on_empty_else(node); end
|
100
|
-
def on_ensure(node); end
|
101
|
-
def on_erange(node); end
|
102
|
-
def on_find_pattern(node); end
|
103
|
-
def on_for(node); end
|
104
|
-
def on_forward_arg(node); end
|
105
|
-
def on_gvar(node); end
|
106
|
-
def on_gvasgn(node); end
|
107
|
-
def on_hash(node); end
|
108
|
-
def on_hash_pattern(node); end
|
109
|
-
def on_if(node); end
|
110
|
-
def on_if_guard(node); end
|
111
|
-
def on_iflipflop(node); end
|
112
|
-
def on_in_match(node); end
|
113
|
-
def on_in_pattern(node); end
|
114
|
-
def on_index(node); end
|
115
|
-
def on_indexasgn(node); end
|
116
|
-
def on_irange(node); end
|
117
|
-
def on_ivar(node); end
|
118
|
-
def on_ivasgn(node); end
|
119
|
-
def on_kwarg(node); end
|
120
|
-
def on_kwargs(node); end
|
121
|
-
def on_kwbegin(node); end
|
122
|
-
def on_kwoptarg(node); end
|
123
|
-
def on_kwrestarg(node); end
|
124
|
-
def on_kwsplat(node); end
|
125
|
-
def on_lambda(node); end
|
126
|
-
def on_lvar(node); end
|
127
|
-
def on_lvasgn(node); end
|
128
|
-
def on_masgn(node); end
|
129
|
-
def on_match_alt(node); end
|
130
|
-
def on_match_as(node); end
|
131
|
-
def on_match_current_line(node); end
|
132
|
-
def on_match_pattern(node); end
|
133
|
-
def on_match_pattern_p(node); end
|
134
|
-
def on_match_rest(node); end
|
135
|
-
def on_match_var(node); end
|
136
|
-
def on_match_with_lvasgn(node); end
|
137
|
-
def on_mlhs(node); end
|
138
|
-
def on_module(node); end
|
139
|
-
def on_next(node); end
|
140
|
-
def on_not(node); end
|
141
|
-
def on_nth_ref(node); end
|
142
|
-
def on_numblock(node); end
|
143
|
-
def on_op_asgn(node); end
|
144
|
-
def on_optarg(node); end
|
145
|
-
def on_or(node); end
|
146
|
-
def on_or_asgn(node); end
|
147
|
-
def on_pair(node); end
|
148
|
-
def on_pin(node); end
|
149
|
-
def on_postexe(node); end
|
150
|
-
def on_preexe(node); end
|
151
|
-
def on_procarg0(node); end
|
152
|
-
def on_redo(node); end
|
153
|
-
def on_regexp(node); end
|
154
|
-
def on_resbody(node); end
|
155
|
-
def on_rescue(node); end
|
156
|
-
def on_restarg(node); end
|
157
|
-
def on_restarg_expr(node); end
|
158
|
-
def on_retry(node); end
|
159
|
-
def on_return(node); end
|
160
|
-
def on_sclass(node); end
|
161
|
-
def on_send(node); end
|
162
|
-
def on_shadowarg(node); end
|
163
|
-
def on_splat(node); end
|
164
|
-
def on_super(node); end
|
165
|
-
def on_undef(node); end
|
166
|
-
def on_unless_guard(node); end
|
167
|
-
def on_until(node); end
|
168
|
-
def on_until_post(node); end
|
169
|
-
def on_var(node); end
|
170
|
-
def on_vasgn(node); end
|
171
|
-
def on_when(node); end
|
172
|
-
def on_while(node); end
|
173
|
-
def on_while_post(node); end
|
174
|
-
def on_xstr(node); end
|
175
|
-
def on_yield(node); end
|
176
|
-
def process_argument_node(node); end
|
177
|
-
def process_regular_node(node); end
|
178
|
-
def process_var_asgn_node(node); end
|
179
|
-
def process_variable_node(node); end
|
180
|
-
end
|
181
|
-
|
182
|
-
class Parser::Base < ::Racc::Parser
|
183
|
-
def initialize(builder = T.unsafe(nil)); end
|
184
|
-
|
185
|
-
def builder; end
|
186
|
-
def context; end
|
187
|
-
def current_arg_stack; end
|
188
|
-
def diagnostics; end
|
189
|
-
def lexer; end
|
190
|
-
def max_numparam_stack; end
|
191
|
-
def parse(source_buffer); end
|
192
|
-
def parse_with_comments(source_buffer); end
|
193
|
-
def pattern_hash_keys; end
|
194
|
-
def pattern_variables; end
|
195
|
-
def reset; end
|
196
|
-
def source_buffer; end
|
197
|
-
def static_env; end
|
198
|
-
def tokenize(source_buffer, recover = T.unsafe(nil)); end
|
199
|
-
|
200
|
-
private
|
201
|
-
|
202
|
-
def check_kwarg_name(name_t); end
|
203
|
-
def diagnostic(level, reason, arguments, location_t, highlights_ts = T.unsafe(nil)); end
|
204
|
-
def next_token; end
|
205
|
-
def on_error(error_token_id, error_value, value_stack); end
|
206
|
-
|
207
|
-
class << self
|
208
|
-
def default_parser; end
|
209
|
-
def parse(string, file = T.unsafe(nil), line = T.unsafe(nil)); end
|
210
|
-
def parse_file(filename); end
|
211
|
-
def parse_file_with_comments(filename); end
|
212
|
-
def parse_with_comments(string, file = T.unsafe(nil), line = T.unsafe(nil)); end
|
213
|
-
|
214
|
-
private
|
215
|
-
|
216
|
-
def setup_source_buffer(file, line, string, encoding); end
|
217
|
-
end
|
218
|
-
end
|
219
|
-
|
220
|
-
module Parser::Builders; end
|
221
|
-
|
222
|
-
class Parser::Builders::Default
|
223
|
-
def initialize; end
|
224
|
-
|
225
|
-
def __ENCODING__(__ENCODING__t); end
|
226
|
-
def __FILE__(__FILE__t); end
|
227
|
-
def __LINE__(__LINE__t); end
|
228
|
-
def accessible(node); end
|
229
|
-
def alias(alias_t, to, from); end
|
230
|
-
def arg(name_t); end
|
231
|
-
def arg_expr(expr); end
|
232
|
-
def args(begin_t, args, end_t, check_args = T.unsafe(nil)); end
|
233
|
-
def array(begin_t, elements, end_t); end
|
234
|
-
def array_pattern(lbrack_t, elements, rbrack_t); end
|
235
|
-
def assign(lhs, eql_t, rhs); end
|
236
|
-
def assignable(node); end
|
237
|
-
def associate(begin_t, pairs, end_t); end
|
238
|
-
def attr_asgn(receiver, dot_t, selector_t); end
|
239
|
-
def back_ref(token); end
|
240
|
-
def begin(begin_t, body, end_t); end
|
241
|
-
def begin_body(compound_stmt, rescue_bodies = T.unsafe(nil), else_t = T.unsafe(nil), else_ = T.unsafe(nil), ensure_t = T.unsafe(nil), ensure_ = T.unsafe(nil)); end
|
242
|
-
def begin_keyword(begin_t, body, end_t); end
|
243
|
-
def binary_op(receiver, operator_t, arg); end
|
244
|
-
def block(method_call, begin_t, args, body, end_t); end
|
245
|
-
def block_pass(amper_t, arg); end
|
246
|
-
def blockarg(amper_t, name_t); end
|
247
|
-
def blockarg_expr(amper_t, expr); end
|
248
|
-
def call_lambda(lambda_t); end
|
249
|
-
def call_method(receiver, dot_t, selector_t, lparen_t = T.unsafe(nil), args = T.unsafe(nil), rparen_t = T.unsafe(nil)); end
|
250
|
-
def call_type_for_dot(dot_t); end
|
251
|
-
def case(case_t, expr, when_bodies, else_t, else_body, end_t); end
|
252
|
-
def case_match(case_t, expr, in_bodies, else_t, else_body, end_t); end
|
253
|
-
def character(char_t); end
|
254
|
-
def complex(complex_t); end
|
255
|
-
def compstmt(statements); end
|
256
|
-
def condition(cond_t, cond, then_t, if_true, else_t, if_false, end_t); end
|
257
|
-
def condition_mod(if_true, if_false, cond_t, cond); end
|
258
|
-
def const(name_t); end
|
259
|
-
def const_fetch(scope, t_colon2, name_t); end
|
260
|
-
def const_global(t_colon3, name_t); end
|
261
|
-
def const_op_assignable(node); end
|
262
|
-
def const_pattern(const, ldelim_t, pattern, rdelim_t); end
|
263
|
-
def cvar(token); end
|
264
|
-
def dedent_string(node, dedent_level); end
|
265
|
-
def def_class(class_t, name, lt_t, superclass, body, end_t); end
|
266
|
-
def def_endless_method(def_t, name_t, args, assignment_t, body); end
|
267
|
-
def def_endless_singleton(def_t, definee, dot_t, name_t, args, assignment_t, body); end
|
268
|
-
def def_method(def_t, name_t, args, body, end_t); end
|
269
|
-
def def_module(module_t, name, body, end_t); end
|
270
|
-
def def_sclass(class_t, lshft_t, expr, body, end_t); end
|
271
|
-
def def_singleton(def_t, definee, dot_t, name_t, args, body, end_t); end
|
272
|
-
def emit_file_line_as_literals; end
|
273
|
-
def emit_file_line_as_literals=(_arg0); end
|
274
|
-
def false(false_t); end
|
275
|
-
def find_pattern(lbrack_t, elements, rbrack_t); end
|
276
|
-
def float(float_t); end
|
277
|
-
def for(for_t, iterator, in_t, iteratee, do_t, body, end_t); end
|
278
|
-
def forward_arg(dots_t); end
|
279
|
-
def forward_only_args(begin_t, dots_t, end_t); end
|
280
|
-
def forwarded_args(dots_t); end
|
281
|
-
def gvar(token); end
|
282
|
-
def hash_pattern(lbrace_t, kwargs, rbrace_t); end
|
283
|
-
def ident(token); end
|
284
|
-
def if_guard(if_t, if_body); end
|
285
|
-
def in_match(lhs, in_t, rhs); end
|
286
|
-
def in_pattern(in_t, pattern, guard, then_t, body); end
|
287
|
-
def index(receiver, lbrack_t, indexes, rbrack_t); end
|
288
|
-
def index_asgn(receiver, lbrack_t, indexes, rbrack_t); end
|
289
|
-
def integer(integer_t); end
|
290
|
-
def ivar(token); end
|
291
|
-
def keyword_cmd(type, keyword_t, lparen_t = T.unsafe(nil), args = T.unsafe(nil), rparen_t = T.unsafe(nil)); end
|
292
|
-
def kwarg(name_t); end
|
293
|
-
def kwnilarg(dstar_t, nil_t); end
|
294
|
-
def kwoptarg(name_t, value); end
|
295
|
-
def kwrestarg(dstar_t, name_t = T.unsafe(nil)); end
|
296
|
-
def kwsplat(dstar_t, arg); end
|
297
|
-
def logical_op(type, lhs, op_t, rhs); end
|
298
|
-
def loop(type, keyword_t, cond, do_t, body, end_t); end
|
299
|
-
def loop_mod(type, body, keyword_t, cond); end
|
300
|
-
def match_alt(left, pipe_t, right); end
|
301
|
-
def match_as(value, assoc_t, as); end
|
302
|
-
def match_hash_var(name_t); end
|
303
|
-
def match_hash_var_from_str(begin_t, strings, end_t); end
|
304
|
-
def match_label(label_type, label); end
|
305
|
-
def match_nil_pattern(dstar_t, nil_t); end
|
306
|
-
def match_op(receiver, match_t, arg); end
|
307
|
-
def match_pair(label_type, label, value); end
|
308
|
-
def match_pattern(lhs, match_t, rhs); end
|
309
|
-
def match_pattern_p(lhs, match_t, rhs); end
|
310
|
-
def match_rest(star_t, name_t = T.unsafe(nil)); end
|
311
|
-
def match_var(name_t); end
|
312
|
-
def match_with_trailing_comma(match, comma_t); end
|
313
|
-
def multi_assign(lhs, eql_t, rhs); end
|
314
|
-
def multi_lhs(begin_t, items, end_t); end
|
315
|
-
def nil(nil_t); end
|
316
|
-
def not_op(not_t, begin_t = T.unsafe(nil), receiver = T.unsafe(nil), end_t = T.unsafe(nil)); end
|
317
|
-
def nth_ref(token); end
|
318
|
-
def numargs(max_numparam); end
|
319
|
-
def objc_kwarg(kwname_t, assoc_t, name_t); end
|
320
|
-
def objc_restarg(star_t, name = T.unsafe(nil)); end
|
321
|
-
def objc_varargs(pair, rest_of_varargs); end
|
322
|
-
def op_assign(lhs, op_t, rhs); end
|
323
|
-
def optarg(name_t, eql_t, value); end
|
324
|
-
def pair(key, assoc_t, value); end
|
325
|
-
def pair_keyword(key_t, value); end
|
326
|
-
def pair_list_18(list); end
|
327
|
-
def pair_quoted(begin_t, parts, end_t, value); end
|
328
|
-
def parser; end
|
329
|
-
def parser=(_arg0); end
|
330
|
-
def pin(pin_t, var); end
|
331
|
-
def postexe(postexe_t, lbrace_t, compstmt, rbrace_t); end
|
332
|
-
def preexe(preexe_t, lbrace_t, compstmt, rbrace_t); end
|
333
|
-
def procarg0(arg); end
|
334
|
-
def range_exclusive(lhs, dot3_t, rhs); end
|
335
|
-
def range_inclusive(lhs, dot2_t, rhs); end
|
336
|
-
def rational(rational_t); end
|
337
|
-
def regexp_compose(begin_t, parts, end_t, options); end
|
338
|
-
def regexp_options(regopt_t); end
|
339
|
-
def rescue_body(rescue_t, exc_list, assoc_t, exc_var, then_t, compound_stmt); end
|
340
|
-
def restarg(star_t, name_t = T.unsafe(nil)); end
|
341
|
-
def restarg_expr(star_t, expr = T.unsafe(nil)); end
|
342
|
-
def self(token); end
|
343
|
-
def shadowarg(name_t); end
|
344
|
-
def splat(star_t, arg = T.unsafe(nil)); end
|
345
|
-
def string(string_t); end
|
346
|
-
def string_compose(begin_t, parts, end_t); end
|
347
|
-
def string_internal(string_t); end
|
348
|
-
def symbol(symbol_t); end
|
349
|
-
def symbol_compose(begin_t, parts, end_t); end
|
350
|
-
def symbol_internal(symbol_t); end
|
351
|
-
def symbols_compose(begin_t, parts, end_t); end
|
352
|
-
def ternary(cond, question_t, if_true, colon_t, if_false); end
|
353
|
-
def true(true_t); end
|
354
|
-
def unary_num(unary_t, numeric); end
|
355
|
-
def unary_op(op_t, receiver); end
|
356
|
-
def undef_method(undef_t, names); end
|
357
|
-
def unless_guard(unless_t, unless_body); end
|
358
|
-
def when(when_t, patterns, then_t, body); end
|
359
|
-
def word(parts); end
|
360
|
-
def words_compose(begin_t, parts, end_t); end
|
361
|
-
def xstring_compose(begin_t, parts, end_t); end
|
362
|
-
|
363
|
-
private
|
364
|
-
|
365
|
-
def arg_name_collides?(this_name, that_name); end
|
366
|
-
def arg_prefix_map(op_t, name_t = T.unsafe(nil)); end
|
367
|
-
def binary_op_map(left_e, op_t, right_e); end
|
368
|
-
def block_map(receiver_l, begin_t, end_t); end
|
369
|
-
def check_assignment_to_numparam(name, loc); end
|
370
|
-
def check_condition(cond); end
|
371
|
-
def check_duplicate_arg(this_arg, map = T.unsafe(nil)); end
|
372
|
-
def check_duplicate_args(args, map = T.unsafe(nil)); end
|
373
|
-
def check_duplicate_pattern_key(name, loc); end
|
374
|
-
def check_duplicate_pattern_variable(name, loc); end
|
375
|
-
def check_lvar_name(name, loc); end
|
376
|
-
def check_reserved_for_numparam(name, loc); end
|
377
|
-
def collapse_string_parts?(parts); end
|
378
|
-
def collection_map(begin_t, parts, end_t); end
|
379
|
-
def condition_map(keyword_t, cond_e, begin_t, body_e, else_t, else_e, end_t); end
|
380
|
-
def constant_map(scope, colon2_t, name_t); end
|
381
|
-
def definition_map(keyword_t, operator_t, name_t, end_t); end
|
382
|
-
def delimited_string_map(string_t); end
|
383
|
-
def diagnostic(type, reason, arguments, location, highlights = T.unsafe(nil)); end
|
384
|
-
def eh_keyword_map(compstmt_e, keyword_t, body_es, else_t, else_e); end
|
385
|
-
def endless_definition_map(keyword_t, operator_t, name_t, assignment_t, body_e); end
|
386
|
-
def expr_map(loc); end
|
387
|
-
def for_map(keyword_t, in_t, begin_t, end_t); end
|
388
|
-
def guard_map(keyword_t, guard_body_e); end
|
389
|
-
def index_map(receiver_e, lbrack_t, rbrack_t); end
|
390
|
-
def join_exprs(left_expr, right_expr); end
|
391
|
-
def keyword_map(keyword_t, begin_t, args, end_t); end
|
392
|
-
def keyword_mod_map(pre_e, keyword_t, post_e); end
|
393
|
-
def kwarg_map(name_t, value_e = T.unsafe(nil)); end
|
394
|
-
def kwargs?(node); end
|
395
|
-
def loc(token); end
|
396
|
-
def module_definition_map(keyword_t, name_e, operator_t, end_t); end
|
397
|
-
def n(type, children, source_map); end
|
398
|
-
def n0(type, source_map); end
|
399
|
-
def numeric(kind, token); end
|
400
|
-
def pair_keyword_map(key_t, value_e); end
|
401
|
-
def pair_quoted_map(begin_t, end_t, value_e); end
|
402
|
-
def prefix_string_map(symbol); end
|
403
|
-
def range_map(start_e, op_t, end_e); end
|
404
|
-
def regexp_map(begin_t, end_t, options_e); end
|
405
|
-
def rescue_body_map(keyword_t, exc_list_e, assoc_t, exc_var_e, then_t, compstmt_e); end
|
406
|
-
def rewrite_hash_args_to_kwargs(args); end
|
407
|
-
def send_binary_op_map(lhs_e, selector_t, rhs_e); end
|
408
|
-
def send_index_map(receiver_e, lbrack_t, rbrack_t); end
|
409
|
-
def send_map(receiver_e, dot_t, selector_t, begin_t = T.unsafe(nil), args = T.unsafe(nil), end_t = T.unsafe(nil)); end
|
410
|
-
def send_unary_op_map(selector_t, arg_e); end
|
411
|
-
def static_regexp(parts, options); end
|
412
|
-
def static_regexp_node(node); end
|
413
|
-
def static_string(nodes); end
|
414
|
-
def string_map(begin_t, parts, end_t); end
|
415
|
-
def string_value(token); end
|
416
|
-
def ternary_map(begin_e, question_t, mid_e, colon_t, end_e); end
|
417
|
-
def token_map(token); end
|
418
|
-
def unary_op_map(op_t, arg_e = T.unsafe(nil)); end
|
419
|
-
def unquoted_map(token); end
|
420
|
-
def validate_definee(definee); end
|
421
|
-
def value(token); end
|
422
|
-
def var_send_map(variable_e); end
|
423
|
-
def variable_map(name_t); end
|
424
|
-
|
425
|
-
class << self
|
426
|
-
def emit_arg_inside_procarg0; end
|
427
|
-
def emit_arg_inside_procarg0=(_arg0); end
|
428
|
-
def emit_encoding; end
|
429
|
-
def emit_encoding=(_arg0); end
|
430
|
-
def emit_forward_arg; end
|
431
|
-
def emit_forward_arg=(_arg0); end
|
432
|
-
def emit_index; end
|
433
|
-
def emit_index=(_arg0); end
|
434
|
-
def emit_kwargs; end
|
435
|
-
def emit_kwargs=(_arg0); end
|
436
|
-
def emit_lambda; end
|
437
|
-
def emit_lambda=(_arg0); end
|
438
|
-
def emit_match_pattern; end
|
439
|
-
def emit_match_pattern=(_arg0); end
|
440
|
-
def emit_procarg0; end
|
441
|
-
def emit_procarg0=(_arg0); end
|
442
|
-
def modernize; end
|
443
|
-
end
|
444
|
-
end
|
445
|
-
|
446
|
-
class Parser::ClobberingError < ::RuntimeError; end
|
447
|
-
|
448
|
-
class Parser::Context
|
449
|
-
def initialize; end
|
450
|
-
|
451
|
-
def class_definition_allowed?; end
|
452
|
-
def dynamic_const_definition_allowed?; end
|
453
|
-
def empty?; end
|
454
|
-
def in_block?; end
|
455
|
-
def in_class?; end
|
456
|
-
def in_dynamic_block?; end
|
457
|
-
def in_lambda?; end
|
458
|
-
def indirectly_in_def?; end
|
459
|
-
def module_definition_allowed?; end
|
460
|
-
def pop; end
|
461
|
-
def push(state); end
|
462
|
-
def reset; end
|
463
|
-
def stack; end
|
464
|
-
end
|
465
|
-
|
466
|
-
class Parser::CurrentArgStack
|
467
|
-
def initialize; end
|
468
|
-
|
469
|
-
def empty?; end
|
470
|
-
def pop; end
|
471
|
-
def push(value); end
|
472
|
-
def reset; end
|
473
|
-
def set(value); end
|
474
|
-
def stack; end
|
475
|
-
def top; end
|
476
|
-
end
|
477
|
-
|
478
|
-
Parser::CurrentRuby = Parser::Ruby26
|
479
|
-
|
480
|
-
module Parser::Deprecation
|
481
|
-
def warn_of_deprecation; end
|
482
|
-
def warned_of_deprecation=(_arg0); end
|
483
|
-
end
|
484
|
-
|
485
|
-
class Parser::Diagnostic
|
486
|
-
def initialize(level, reason, arguments, location, highlights = T.unsafe(nil)); end
|
487
|
-
|
488
|
-
def arguments; end
|
489
|
-
def highlights; end
|
490
|
-
def level; end
|
491
|
-
def location; end
|
492
|
-
def message; end
|
493
|
-
def reason; end
|
494
|
-
def render; end
|
495
|
-
|
496
|
-
private
|
497
|
-
|
498
|
-
def first_line_only(range); end
|
499
|
-
def last_line_only(range); end
|
500
|
-
def render_line(range, ellipsis = T.unsafe(nil), range_end = T.unsafe(nil)); end
|
501
|
-
end
|
502
|
-
|
503
|
-
class Parser::Diagnostic::Engine
|
504
|
-
def initialize(consumer = T.unsafe(nil)); end
|
505
|
-
|
506
|
-
def all_errors_are_fatal; end
|
507
|
-
def all_errors_are_fatal=(_arg0); end
|
508
|
-
def consumer; end
|
509
|
-
def consumer=(_arg0); end
|
510
|
-
def ignore_warnings; end
|
511
|
-
def ignore_warnings=(_arg0); end
|
512
|
-
def process(diagnostic); end
|
513
|
-
|
514
|
-
protected
|
515
|
-
|
516
|
-
def ignore?(diagnostic); end
|
517
|
-
def raise?(diagnostic); end
|
518
|
-
end
|
519
|
-
|
520
|
-
Parser::Diagnostic::LEVELS = T.let(T.unsafe(nil), Array)
|
521
|
-
|
522
|
-
class Parser::Lexer
|
523
|
-
def initialize(version); end
|
524
|
-
|
525
|
-
def advance; end
|
526
|
-
def cmdarg; end
|
527
|
-
def cmdarg=(_arg0); end
|
528
|
-
def cmdarg_stack; end
|
529
|
-
def command_start; end
|
530
|
-
def command_start=(_arg0); end
|
531
|
-
def comments; end
|
532
|
-
def comments=(_arg0); end
|
533
|
-
def cond; end
|
534
|
-
def cond=(_arg0); end
|
535
|
-
def cond_stack; end
|
536
|
-
def context; end
|
537
|
-
def context=(_arg0); end
|
538
|
-
def dedent_level; end
|
539
|
-
def diagnostics; end
|
540
|
-
def diagnostics=(_arg0); end
|
541
|
-
def encoding; end
|
542
|
-
def force_utf32; end
|
543
|
-
def force_utf32=(_arg0); end
|
544
|
-
def in_kwarg; end
|
545
|
-
def in_kwarg=(_arg0); end
|
546
|
-
def lambda_stack; end
|
547
|
-
def paren_nest; end
|
548
|
-
def pop_cmdarg; end
|
549
|
-
def pop_cond; end
|
550
|
-
def push_cmdarg; end
|
551
|
-
def push_cond; end
|
552
|
-
def reset(reset_state = T.unsafe(nil)); end
|
553
|
-
def source_buffer; end
|
554
|
-
def source_buffer=(source_buffer); end
|
555
|
-
def state; end
|
556
|
-
def state=(state); end
|
557
|
-
def static_env; end
|
558
|
-
def static_env=(_arg0); end
|
559
|
-
def tokens; end
|
560
|
-
def tokens=(_arg0); end
|
561
|
-
|
562
|
-
protected
|
563
|
-
|
564
|
-
def arg_or_cmdarg(cmd_state); end
|
565
|
-
def diagnostic(type, reason, arguments = T.unsafe(nil), location = T.unsafe(nil), highlights = T.unsafe(nil)); end
|
566
|
-
def emit(type, value = T.unsafe(nil), s = T.unsafe(nil), e = T.unsafe(nil)); end
|
567
|
-
def emit_comment(s = T.unsafe(nil), e = T.unsafe(nil)); end
|
568
|
-
def emit_do(do_block = T.unsafe(nil)); end
|
569
|
-
def emit_table(table, s = T.unsafe(nil), e = T.unsafe(nil)); end
|
570
|
-
def encode_escape(ord); end
|
571
|
-
def eof_codepoint?(point); end
|
572
|
-
def literal; end
|
573
|
-
def next_state_for_literal(literal); end
|
574
|
-
def pop_literal; end
|
575
|
-
def push_literal(*args); end
|
576
|
-
def range(s = T.unsafe(nil), e = T.unsafe(nil)); end
|
577
|
-
def stack_pop; end
|
578
|
-
def tok(s = T.unsafe(nil), e = T.unsafe(nil)); end
|
579
|
-
def version?(*versions); end
|
580
|
-
|
581
|
-
class << self
|
582
|
-
def lex_en_expr_arg; end
|
583
|
-
def lex_en_expr_arg=(_arg0); end
|
584
|
-
def lex_en_expr_beg; end
|
585
|
-
def lex_en_expr_beg=(_arg0); end
|
586
|
-
def lex_en_expr_cmdarg; end
|
587
|
-
def lex_en_expr_cmdarg=(_arg0); end
|
588
|
-
def lex_en_expr_dot; end
|
589
|
-
def lex_en_expr_dot=(_arg0); end
|
590
|
-
def lex_en_expr_end; end
|
591
|
-
def lex_en_expr_end=(_arg0); end
|
592
|
-
def lex_en_expr_endarg; end
|
593
|
-
def lex_en_expr_endarg=(_arg0); end
|
594
|
-
def lex_en_expr_endfn; end
|
595
|
-
def lex_en_expr_endfn=(_arg0); end
|
596
|
-
def lex_en_expr_fname; end
|
597
|
-
def lex_en_expr_fname=(_arg0); end
|
598
|
-
def lex_en_expr_labelarg; end
|
599
|
-
def lex_en_expr_labelarg=(_arg0); end
|
600
|
-
def lex_en_expr_mid; end
|
601
|
-
def lex_en_expr_mid=(_arg0); end
|
602
|
-
def lex_en_expr_value; end
|
603
|
-
def lex_en_expr_value=(_arg0); end
|
604
|
-
def lex_en_expr_variable; end
|
605
|
-
def lex_en_expr_variable=(_arg0); end
|
606
|
-
def lex_en_interp_backslash_delimited; end
|
607
|
-
def lex_en_interp_backslash_delimited=(_arg0); end
|
608
|
-
def lex_en_interp_backslash_delimited_words; end
|
609
|
-
def lex_en_interp_backslash_delimited_words=(_arg0); end
|
610
|
-
def lex_en_interp_string; end
|
611
|
-
def lex_en_interp_string=(_arg0); end
|
612
|
-
def lex_en_interp_words; end
|
613
|
-
def lex_en_interp_words=(_arg0); end
|
614
|
-
def lex_en_leading_dot; end
|
615
|
-
def lex_en_leading_dot=(_arg0); end
|
616
|
-
def lex_en_line_begin; end
|
617
|
-
def lex_en_line_begin=(_arg0); end
|
618
|
-
def lex_en_line_comment; end
|
619
|
-
def lex_en_line_comment=(_arg0); end
|
620
|
-
def lex_en_plain_backslash_delimited; end
|
621
|
-
def lex_en_plain_backslash_delimited=(_arg0); end
|
622
|
-
def lex_en_plain_backslash_delimited_words; end
|
623
|
-
def lex_en_plain_backslash_delimited_words=(_arg0); end
|
624
|
-
def lex_en_plain_string; end
|
625
|
-
def lex_en_plain_string=(_arg0); end
|
626
|
-
def lex_en_plain_words; end
|
627
|
-
def lex_en_plain_words=(_arg0); end
|
628
|
-
def lex_en_regexp_modifiers; end
|
629
|
-
def lex_en_regexp_modifiers=(_arg0); end
|
630
|
-
def lex_error; end
|
631
|
-
def lex_error=(_arg0); end
|
632
|
-
def lex_start; end
|
633
|
-
def lex_start=(_arg0); end
|
634
|
-
|
635
|
-
private
|
636
|
-
|
637
|
-
def _lex_eof_trans; end
|
638
|
-
def _lex_eof_trans=(_arg0); end
|
639
|
-
def _lex_from_state_actions; end
|
640
|
-
def _lex_from_state_actions=(_arg0); end
|
641
|
-
def _lex_index_offsets; end
|
642
|
-
def _lex_index_offsets=(_arg0); end
|
643
|
-
def _lex_indicies; end
|
644
|
-
def _lex_indicies=(_arg0); end
|
645
|
-
def _lex_key_spans; end
|
646
|
-
def _lex_key_spans=(_arg0); end
|
647
|
-
def _lex_to_state_actions; end
|
648
|
-
def _lex_to_state_actions=(_arg0); end
|
649
|
-
def _lex_trans_actions; end
|
650
|
-
def _lex_trans_actions=(_arg0); end
|
651
|
-
def _lex_trans_keys; end
|
652
|
-
def _lex_trans_keys=(_arg0); end
|
653
|
-
def _lex_trans_targs; end
|
654
|
-
def _lex_trans_targs=(_arg0); end
|
655
|
-
end
|
656
|
-
end
|
657
|
-
|
658
|
-
class Parser::Lexer::Dedenter
|
659
|
-
def initialize(dedent_level); end
|
660
|
-
|
661
|
-
def dedent(string); end
|
662
|
-
def interrupt; end
|
663
|
-
end
|
664
|
-
|
665
|
-
Parser::Lexer::Dedenter::TAB_WIDTH = T.let(T.unsafe(nil), Integer)
|
666
|
-
Parser::Lexer::ESCAPES = T.let(T.unsafe(nil), Hash)
|
667
|
-
Parser::Lexer::KEYWORDS = T.let(T.unsafe(nil), Hash)
|
668
|
-
Parser::Lexer::KEYWORDS_BEGIN = T.let(T.unsafe(nil), Hash)
|
669
|
-
Parser::Lexer::LEX_STATES = T.let(T.unsafe(nil), Hash)
|
670
|
-
|
671
|
-
class Parser::Lexer::Literal
|
672
|
-
def initialize(lexer, str_type, delimiter, str_s, heredoc_e = T.unsafe(nil), indent = T.unsafe(nil), dedent_body = T.unsafe(nil), label_allowed = T.unsafe(nil)); end
|
673
|
-
|
674
|
-
def backslash_delimited?; end
|
675
|
-
def dedent_level; end
|
676
|
-
def end_interp_brace_and_try_closing; end
|
677
|
-
def extend_content; end
|
678
|
-
def extend_space(ts, te); end
|
679
|
-
def extend_string(string, ts, te); end
|
680
|
-
def flush_string; end
|
681
|
-
def heredoc?; end
|
682
|
-
def heredoc_e; end
|
683
|
-
def infer_indent_level(line); end
|
684
|
-
def interpolate?; end
|
685
|
-
def munge_escape?(character); end
|
686
|
-
def nest_and_try_closing(delimiter, ts, te, lookahead = T.unsafe(nil)); end
|
687
|
-
def plain_heredoc?; end
|
688
|
-
def regexp?; end
|
689
|
-
def saved_herebody_s; end
|
690
|
-
def saved_herebody_s=(_arg0); end
|
691
|
-
def squiggly_heredoc?; end
|
692
|
-
def start_interp_brace; end
|
693
|
-
def str_s; end
|
694
|
-
def supports_line_continuation_via_slash?; end
|
695
|
-
def type; end
|
696
|
-
def words?; end
|
697
|
-
|
698
|
-
protected
|
699
|
-
|
700
|
-
def clear_buffer; end
|
701
|
-
def coerce_encoding(string); end
|
702
|
-
def delimiter?(delimiter); end
|
703
|
-
def emit(token, type, s, e); end
|
704
|
-
def emit_start_tok; end
|
705
|
-
end
|
706
|
-
|
707
|
-
Parser::Lexer::Literal::DELIMITERS = T.let(T.unsafe(nil), Hash)
|
708
|
-
Parser::Lexer::Literal::TYPES = T.let(T.unsafe(nil), Hash)
|
709
|
-
Parser::Lexer::PUNCTUATION = T.let(T.unsafe(nil), Hash)
|
710
|
-
Parser::Lexer::PUNCTUATION_BEGIN = T.let(T.unsafe(nil), Hash)
|
711
|
-
Parser::Lexer::REGEXP_META_CHARACTERS = T.let(T.unsafe(nil), Regexp)
|
712
|
-
|
713
|
-
class Parser::Lexer::StackState
|
714
|
-
def initialize(name); end
|
715
|
-
|
716
|
-
def active?; end
|
717
|
-
def clear; end
|
718
|
-
def empty?; end
|
719
|
-
def inspect; end
|
720
|
-
def lexpop; end
|
721
|
-
def pop; end
|
722
|
-
def push(bit); end
|
723
|
-
def to_s; end
|
724
|
-
end
|
725
|
-
|
726
|
-
Parser::MESSAGES = T.let(T.unsafe(nil), Hash)
|
727
|
-
|
728
|
-
class Parser::MaxNumparamStack
|
729
|
-
def initialize; end
|
730
|
-
|
731
|
-
def empty?; end
|
732
|
-
def has_numparams?; end
|
733
|
-
def has_ordinary_params!; end
|
734
|
-
def has_ordinary_params?; end
|
735
|
-
def pop; end
|
736
|
-
def push; end
|
737
|
-
def register(numparam); end
|
738
|
-
def stack; end
|
739
|
-
def top; end
|
740
|
-
|
741
|
-
private
|
742
|
-
|
743
|
-
def set(value); end
|
744
|
-
end
|
745
|
-
|
746
|
-
Parser::MaxNumparamStack::ORDINARY_PARAMS = T.let(T.unsafe(nil), Integer)
|
747
|
-
|
748
|
-
module Parser::Messages
|
749
|
-
class << self
|
750
|
-
def compile(reason, arguments); end
|
751
|
-
end
|
752
|
-
end
|
753
|
-
|
754
|
-
module Parser::Meta; end
|
755
|
-
Parser::Meta::NODE_TYPES = T.let(T.unsafe(nil), Set)
|
756
|
-
|
757
|
-
class Parser::Rewriter < ::Parser::AST::Processor
|
758
|
-
extend ::Parser::Deprecation
|
759
|
-
|
760
|
-
def initialize(*_arg0); end
|
761
|
-
|
762
|
-
def assignment?(node); end
|
763
|
-
def insert_after(range, content); end
|
764
|
-
def insert_before(range, content); end
|
765
|
-
def remove(range); end
|
766
|
-
def replace(range, content); end
|
767
|
-
def rewrite(source_buffer, ast); end
|
768
|
-
def wrap(range, before, after); end
|
769
|
-
end
|
770
|
-
|
771
|
-
Parser::Rewriter::DEPRECATION_WARNING = T.let(T.unsafe(nil), String)
|
772
|
-
|
773
|
-
class Parser::Ruby26 < ::Parser::Base
|
774
|
-
def _reduce_10(val, _values, result); end
|
775
|
-
def _reduce_100(val, _values, result); end
|
776
|
-
def _reduce_101(val, _values, result); end
|
777
|
-
def _reduce_102(val, _values, result); end
|
778
|
-
def _reduce_103(val, _values, result); end
|
779
|
-
def _reduce_104(val, _values, result); end
|
780
|
-
def _reduce_105(val, _values, result); end
|
781
|
-
def _reduce_106(val, _values, result); end
|
782
|
-
def _reduce_107(val, _values, result); end
|
783
|
-
def _reduce_108(val, _values, result); end
|
784
|
-
def _reduce_109(val, _values, result); end
|
785
|
-
def _reduce_11(val, _values, result); end
|
786
|
-
def _reduce_110(val, _values, result); end
|
787
|
-
def _reduce_111(val, _values, result); end
|
788
|
-
def _reduce_113(val, _values, result); end
|
789
|
-
def _reduce_114(val, _values, result); end
|
790
|
-
def _reduce_115(val, _values, result); end
|
791
|
-
def _reduce_12(val, _values, result); end
|
792
|
-
def _reduce_121(val, _values, result); end
|
793
|
-
def _reduce_125(val, _values, result); end
|
794
|
-
def _reduce_126(val, _values, result); end
|
795
|
-
def _reduce_127(val, _values, result); end
|
796
|
-
def _reduce_13(val, _values, result); end
|
797
|
-
def _reduce_14(val, _values, result); end
|
798
|
-
def _reduce_15(val, _values, result); end
|
799
|
-
def _reduce_17(val, _values, result); end
|
800
|
-
def _reduce_18(val, _values, result); end
|
801
|
-
def _reduce_19(val, _values, result); end
|
802
|
-
def _reduce_199(val, _values, result); end
|
803
|
-
def _reduce_2(val, _values, result); end
|
804
|
-
def _reduce_20(val, _values, result); end
|
805
|
-
def _reduce_200(val, _values, result); end
|
806
|
-
def _reduce_201(val, _values, result); end
|
807
|
-
def _reduce_202(val, _values, result); end
|
808
|
-
def _reduce_203(val, _values, result); end
|
809
|
-
def _reduce_204(val, _values, result); end
|
810
|
-
def _reduce_205(val, _values, result); end
|
811
|
-
def _reduce_206(val, _values, result); end
|
812
|
-
def _reduce_207(val, _values, result); end
|
813
|
-
def _reduce_208(val, _values, result); end
|
814
|
-
def _reduce_209(val, _values, result); end
|
815
|
-
def _reduce_21(val, _values, result); end
|
816
|
-
def _reduce_210(val, _values, result); end
|
817
|
-
def _reduce_211(val, _values, result); end
|
818
|
-
def _reduce_212(val, _values, result); end
|
819
|
-
def _reduce_213(val, _values, result); end
|
820
|
-
def _reduce_214(val, _values, result); end
|
821
|
-
def _reduce_215(val, _values, result); end
|
822
|
-
def _reduce_216(val, _values, result); end
|
823
|
-
def _reduce_217(val, _values, result); end
|
824
|
-
def _reduce_218(val, _values, result); end
|
825
|
-
def _reduce_219(val, _values, result); end
|
826
|
-
def _reduce_22(val, _values, result); end
|
827
|
-
def _reduce_220(val, _values, result); end
|
828
|
-
def _reduce_221(val, _values, result); end
|
829
|
-
def _reduce_222(val, _values, result); end
|
830
|
-
def _reduce_223(val, _values, result); end
|
831
|
-
def _reduce_224(val, _values, result); end
|
832
|
-
def _reduce_226(val, _values, result); end
|
833
|
-
def _reduce_227(val, _values, result); end
|
834
|
-
def _reduce_228(val, _values, result); end
|
835
|
-
def _reduce_229(val, _values, result); end
|
836
|
-
def _reduce_23(val, _values, result); end
|
837
|
-
def _reduce_230(val, _values, result); end
|
838
|
-
def _reduce_231(val, _values, result); end
|
839
|
-
def _reduce_232(val, _values, result); end
|
840
|
-
def _reduce_233(val, _values, result); end
|
841
|
-
def _reduce_234(val, _values, result); end
|
842
|
-
def _reduce_235(val, _values, result); end
|
843
|
-
def _reduce_236(val, _values, result); end
|
844
|
-
def _reduce_237(val, _values, result); end
|
845
|
-
def _reduce_238(val, _values, result); end
|
846
|
-
def _reduce_24(val, _values, result); end
|
847
|
-
def _reduce_244(val, _values, result); end
|
848
|
-
def _reduce_245(val, _values, result); end
|
849
|
-
def _reduce_249(val, _values, result); end
|
850
|
-
def _reduce_25(val, _values, result); end
|
851
|
-
def _reduce_250(val, _values, result); end
|
852
|
-
def _reduce_252(val, _values, result); end
|
853
|
-
def _reduce_253(val, _values, result); end
|
854
|
-
def _reduce_254(val, _values, result); end
|
855
|
-
def _reduce_256(val, _values, result); end
|
856
|
-
def _reduce_259(val, _values, result); end
|
857
|
-
def _reduce_26(val, _values, result); end
|
858
|
-
def _reduce_260(val, _values, result); end
|
859
|
-
def _reduce_261(val, _values, result); end
|
860
|
-
def _reduce_262(val, _values, result); end
|
861
|
-
def _reduce_263(val, _values, result); end
|
862
|
-
def _reduce_264(val, _values, result); end
|
863
|
-
def _reduce_265(val, _values, result); end
|
864
|
-
def _reduce_266(val, _values, result); end
|
865
|
-
def _reduce_267(val, _values, result); end
|
866
|
-
def _reduce_268(val, _values, result); end
|
867
|
-
def _reduce_269(val, _values, result); end
|
868
|
-
def _reduce_27(val, _values, result); end
|
869
|
-
def _reduce_270(val, _values, result); end
|
870
|
-
def _reduce_271(val, _values, result); end
|
871
|
-
def _reduce_272(val, _values, result); end
|
872
|
-
def _reduce_273(val, _values, result); end
|
873
|
-
def _reduce_274(val, _values, result); end
|
874
|
-
def _reduce_275(val, _values, result); end
|
875
|
-
def _reduce_277(val, _values, result); end
|
876
|
-
def _reduce_278(val, _values, result); end
|
877
|
-
def _reduce_279(val, _values, result); end
|
878
|
-
def _reduce_28(val, _values, result); end
|
879
|
-
def _reduce_29(val, _values, result); end
|
880
|
-
def _reduce_290(val, _values, result); end
|
881
|
-
def _reduce_291(val, _values, result); end
|
882
|
-
def _reduce_292(val, _values, result); end
|
883
|
-
def _reduce_293(val, _values, result); end
|
884
|
-
def _reduce_294(val, _values, result); end
|
885
|
-
def _reduce_295(val, _values, result); end
|
886
|
-
def _reduce_296(val, _values, result); end
|
887
|
-
def _reduce_297(val, _values, result); end
|
888
|
-
def _reduce_298(val, _values, result); end
|
889
|
-
def _reduce_299(val, _values, result); end
|
890
|
-
def _reduce_3(val, _values, result); end
|
891
|
-
def _reduce_300(val, _values, result); end
|
892
|
-
def _reduce_301(val, _values, result); end
|
893
|
-
def _reduce_302(val, _values, result); end
|
894
|
-
def _reduce_303(val, _values, result); end
|
895
|
-
def _reduce_304(val, _values, result); end
|
896
|
-
def _reduce_305(val, _values, result); end
|
897
|
-
def _reduce_306(val, _values, result); end
|
898
|
-
def _reduce_307(val, _values, result); end
|
899
|
-
def _reduce_308(val, _values, result); end
|
900
|
-
def _reduce_309(val, _values, result); end
|
901
|
-
def _reduce_31(val, _values, result); end
|
902
|
-
def _reduce_311(val, _values, result); end
|
903
|
-
def _reduce_312(val, _values, result); end
|
904
|
-
def _reduce_313(val, _values, result); end
|
905
|
-
def _reduce_314(val, _values, result); end
|
906
|
-
def _reduce_315(val, _values, result); end
|
907
|
-
def _reduce_316(val, _values, result); end
|
908
|
-
def _reduce_317(val, _values, result); end
|
909
|
-
def _reduce_318(val, _values, result); end
|
910
|
-
def _reduce_319(val, _values, result); end
|
911
|
-
def _reduce_32(val, _values, result); end
|
912
|
-
def _reduce_320(val, _values, result); end
|
913
|
-
def _reduce_321(val, _values, result); end
|
914
|
-
def _reduce_322(val, _values, result); end
|
915
|
-
def _reduce_323(val, _values, result); end
|
916
|
-
def _reduce_324(val, _values, result); end
|
917
|
-
def _reduce_325(val, _values, result); end
|
918
|
-
def _reduce_326(val, _values, result); end
|
919
|
-
def _reduce_327(val, _values, result); end
|
920
|
-
def _reduce_328(val, _values, result); end
|
921
|
-
def _reduce_329(val, _values, result); end
|
922
|
-
def _reduce_33(val, _values, result); end
|
923
|
-
def _reduce_330(val, _values, result); end
|
924
|
-
def _reduce_331(val, _values, result); end
|
925
|
-
def _reduce_332(val, _values, result); end
|
926
|
-
def _reduce_333(val, _values, result); end
|
927
|
-
def _reduce_334(val, _values, result); end
|
928
|
-
def _reduce_335(val, _values, result); end
|
929
|
-
def _reduce_337(val, _values, result); end
|
930
|
-
def _reduce_340(val, _values, result); end
|
931
|
-
def _reduce_344(val, _values, result); end
|
932
|
-
def _reduce_346(val, _values, result); end
|
933
|
-
def _reduce_349(val, _values, result); end
|
934
|
-
def _reduce_35(val, _values, result); end
|
935
|
-
def _reduce_350(val, _values, result); end
|
936
|
-
def _reduce_351(val, _values, result); end
|
937
|
-
def _reduce_352(val, _values, result); end
|
938
|
-
def _reduce_354(val, _values, result); end
|
939
|
-
def _reduce_355(val, _values, result); end
|
940
|
-
def _reduce_356(val, _values, result); end
|
941
|
-
def _reduce_357(val, _values, result); end
|
942
|
-
def _reduce_358(val, _values, result); end
|
943
|
-
def _reduce_359(val, _values, result); end
|
944
|
-
def _reduce_36(val, _values, result); end
|
945
|
-
def _reduce_360(val, _values, result); end
|
946
|
-
def _reduce_361(val, _values, result); end
|
947
|
-
def _reduce_362(val, _values, result); end
|
948
|
-
def _reduce_363(val, _values, result); end
|
949
|
-
def _reduce_364(val, _values, result); end
|
950
|
-
def _reduce_365(val, _values, result); end
|
951
|
-
def _reduce_366(val, _values, result); end
|
952
|
-
def _reduce_367(val, _values, result); end
|
953
|
-
def _reduce_368(val, _values, result); end
|
954
|
-
def _reduce_369(val, _values, result); end
|
955
|
-
def _reduce_37(val, _values, result); end
|
956
|
-
def _reduce_370(val, _values, result); end
|
957
|
-
def _reduce_371(val, _values, result); end
|
958
|
-
def _reduce_372(val, _values, result); end
|
959
|
-
def _reduce_374(val, _values, result); end
|
960
|
-
def _reduce_375(val, _values, result); end
|
961
|
-
def _reduce_376(val, _values, result); end
|
962
|
-
def _reduce_377(val, _values, result); end
|
963
|
-
def _reduce_378(val, _values, result); end
|
964
|
-
def _reduce_379(val, _values, result); end
|
965
|
-
def _reduce_38(val, _values, result); end
|
966
|
-
def _reduce_380(val, _values, result); end
|
967
|
-
def _reduce_381(val, _values, result); end
|
968
|
-
def _reduce_383(val, _values, result); end
|
969
|
-
def _reduce_384(val, _values, result); end
|
970
|
-
def _reduce_385(val, _values, result); end
|
971
|
-
def _reduce_386(val, _values, result); end
|
972
|
-
def _reduce_387(val, _values, result); end
|
973
|
-
def _reduce_388(val, _values, result); end
|
974
|
-
def _reduce_389(val, _values, result); end
|
975
|
-
def _reduce_39(val, _values, result); end
|
976
|
-
def _reduce_390(val, _values, result); end
|
977
|
-
def _reduce_391(val, _values, result); end
|
978
|
-
def _reduce_392(val, _values, result); end
|
979
|
-
def _reduce_394(val, _values, result); end
|
980
|
-
def _reduce_395(val, _values, result); end
|
981
|
-
def _reduce_396(val, _values, result); end
|
982
|
-
def _reduce_397(val, _values, result); end
|
983
|
-
def _reduce_398(val, _values, result); end
|
984
|
-
def _reduce_399(val, _values, result); end
|
985
|
-
def _reduce_4(val, _values, result); end
|
986
|
-
def _reduce_40(val, _values, result); end
|
987
|
-
def _reduce_400(val, _values, result); end
|
988
|
-
def _reduce_401(val, _values, result); end
|
989
|
-
def _reduce_402(val, _values, result); end
|
990
|
-
def _reduce_403(val, _values, result); end
|
991
|
-
def _reduce_404(val, _values, result); end
|
992
|
-
def _reduce_405(val, _values, result); end
|
993
|
-
def _reduce_406(val, _values, result); end
|
994
|
-
def _reduce_407(val, _values, result); end
|
995
|
-
def _reduce_408(val, _values, result); end
|
996
|
-
def _reduce_409(val, _values, result); end
|
997
|
-
def _reduce_41(val, _values, result); end
|
998
|
-
def _reduce_410(val, _values, result); end
|
999
|
-
def _reduce_411(val, _values, result); end
|
1000
|
-
def _reduce_412(val, _values, result); end
|
1001
|
-
def _reduce_413(val, _values, result); end
|
1002
|
-
def _reduce_414(val, _values, result); end
|
1003
|
-
def _reduce_415(val, _values, result); end
|
1004
|
-
def _reduce_416(val, _values, result); end
|
1005
|
-
def _reduce_417(val, _values, result); end
|
1006
|
-
def _reduce_418(val, _values, result); end
|
1007
|
-
def _reduce_419(val, _values, result); end
|
1008
|
-
def _reduce_42(val, _values, result); end
|
1009
|
-
def _reduce_420(val, _values, result); end
|
1010
|
-
def _reduce_421(val, _values, result); end
|
1011
|
-
def _reduce_422(val, _values, result); end
|
1012
|
-
def _reduce_423(val, _values, result); end
|
1013
|
-
def _reduce_424(val, _values, result); end
|
1014
|
-
def _reduce_425(val, _values, result); end
|
1015
|
-
def _reduce_426(val, _values, result); end
|
1016
|
-
def _reduce_427(val, _values, result); end
|
1017
|
-
def _reduce_428(val, _values, result); end
|
1018
|
-
def _reduce_430(val, _values, result); end
|
1019
|
-
def _reduce_431(val, _values, result); end
|
1020
|
-
def _reduce_432(val, _values, result); end
|
1021
|
-
def _reduce_435(val, _values, result); end
|
1022
|
-
def _reduce_437(val, _values, result); end
|
1023
|
-
def _reduce_44(val, _values, result); end
|
1024
|
-
def _reduce_442(val, _values, result); end
|
1025
|
-
def _reduce_443(val, _values, result); end
|
1026
|
-
def _reduce_444(val, _values, result); end
|
1027
|
-
def _reduce_445(val, _values, result); end
|
1028
|
-
def _reduce_446(val, _values, result); end
|
1029
|
-
def _reduce_447(val, _values, result); end
|
1030
|
-
def _reduce_448(val, _values, result); end
|
1031
|
-
def _reduce_449(val, _values, result); end
|
1032
|
-
def _reduce_450(val, _values, result); end
|
1033
|
-
def _reduce_451(val, _values, result); end
|
1034
|
-
def _reduce_452(val, _values, result); end
|
1035
|
-
def _reduce_453(val, _values, result); end
|
1036
|
-
def _reduce_454(val, _values, result); end
|
1037
|
-
def _reduce_455(val, _values, result); end
|
1038
|
-
def _reduce_456(val, _values, result); end
|
1039
|
-
def _reduce_457(val, _values, result); end
|
1040
|
-
def _reduce_458(val, _values, result); end
|
1041
|
-
def _reduce_459(val, _values, result); end
|
1042
|
-
def _reduce_460(val, _values, result); end
|
1043
|
-
def _reduce_461(val, _values, result); end
|
1044
|
-
def _reduce_462(val, _values, result); end
|
1045
|
-
def _reduce_463(val, _values, result); end
|
1046
|
-
def _reduce_464(val, _values, result); end
|
1047
|
-
def _reduce_465(val, _values, result); end
|
1048
|
-
def _reduce_466(val, _values, result); end
|
1049
|
-
def _reduce_467(val, _values, result); end
|
1050
|
-
def _reduce_468(val, _values, result); end
|
1051
|
-
def _reduce_469(val, _values, result); end
|
1052
|
-
def _reduce_47(val, _values, result); end
|
1053
|
-
def _reduce_470(val, _values, result); end
|
1054
|
-
def _reduce_471(val, _values, result); end
|
1055
|
-
def _reduce_472(val, _values, result); end
|
1056
|
-
def _reduce_473(val, _values, result); end
|
1057
|
-
def _reduce_474(val, _values, result); end
|
1058
|
-
def _reduce_475(val, _values, result); end
|
1059
|
-
def _reduce_476(val, _values, result); end
|
1060
|
-
def _reduce_478(val, _values, result); end
|
1061
|
-
def _reduce_479(val, _values, result); end
|
1062
|
-
def _reduce_48(val, _values, result); end
|
1063
|
-
def _reduce_480(val, _values, result); end
|
1064
|
-
def _reduce_481(val, _values, result); end
|
1065
|
-
def _reduce_482(val, _values, result); end
|
1066
|
-
def _reduce_483(val, _values, result); end
|
1067
|
-
def _reduce_484(val, _values, result); end
|
1068
|
-
def _reduce_485(val, _values, result); end
|
1069
|
-
def _reduce_486(val, _values, result); end
|
1070
|
-
def _reduce_487(val, _values, result); end
|
1071
|
-
def _reduce_488(val, _values, result); end
|
1072
|
-
def _reduce_489(val, _values, result); end
|
1073
|
-
def _reduce_49(val, _values, result); end
|
1074
|
-
def _reduce_490(val, _values, result); end
|
1075
|
-
def _reduce_491(val, _values, result); end
|
1076
|
-
def _reduce_492(val, _values, result); end
|
1077
|
-
def _reduce_493(val, _values, result); end
|
1078
|
-
def _reduce_494(val, _values, result); end
|
1079
|
-
def _reduce_495(val, _values, result); end
|
1080
|
-
def _reduce_496(val, _values, result); end
|
1081
|
-
def _reduce_497(val, _values, result); end
|
1082
|
-
def _reduce_498(val, _values, result); end
|
1083
|
-
def _reduce_499(val, _values, result); end
|
1084
|
-
def _reduce_5(val, _values, result); end
|
1085
|
-
def _reduce_50(val, _values, result); end
|
1086
|
-
def _reduce_500(val, _values, result); end
|
1087
|
-
def _reduce_501(val, _values, result); end
|
1088
|
-
def _reduce_502(val, _values, result); end
|
1089
|
-
def _reduce_503(val, _values, result); end
|
1090
|
-
def _reduce_504(val, _values, result); end
|
1091
|
-
def _reduce_505(val, _values, result); end
|
1092
|
-
def _reduce_506(val, _values, result); end
|
1093
|
-
def _reduce_507(val, _values, result); end
|
1094
|
-
def _reduce_508(val, _values, result); end
|
1095
|
-
def _reduce_509(val, _values, result); end
|
1096
|
-
def _reduce_510(val, _values, result); end
|
1097
|
-
def _reduce_511(val, _values, result); end
|
1098
|
-
def _reduce_512(val, _values, result); end
|
1099
|
-
def _reduce_513(val, _values, result); end
|
1100
|
-
def _reduce_514(val, _values, result); end
|
1101
|
-
def _reduce_515(val, _values, result); end
|
1102
|
-
def _reduce_516(val, _values, result); end
|
1103
|
-
def _reduce_517(val, _values, result); end
|
1104
|
-
def _reduce_518(val, _values, result); end
|
1105
|
-
def _reduce_519(val, _values, result); end
|
1106
|
-
def _reduce_520(val, _values, result); end
|
1107
|
-
def _reduce_521(val, _values, result); end
|
1108
|
-
def _reduce_522(val, _values, result); end
|
1109
|
-
def _reduce_523(val, _values, result); end
|
1110
|
-
def _reduce_524(val, _values, result); end
|
1111
|
-
def _reduce_525(val, _values, result); end
|
1112
|
-
def _reduce_526(val, _values, result); end
|
1113
|
-
def _reduce_527(val, _values, result); end
|
1114
|
-
def _reduce_528(val, _values, result); end
|
1115
|
-
def _reduce_529(val, _values, result); end
|
1116
|
-
def _reduce_53(val, _values, result); end
|
1117
|
-
def _reduce_530(val, _values, result); end
|
1118
|
-
def _reduce_531(val, _values, result); end
|
1119
|
-
def _reduce_532(val, _values, result); end
|
1120
|
-
def _reduce_533(val, _values, result); end
|
1121
|
-
def _reduce_534(val, _values, result); end
|
1122
|
-
def _reduce_536(val, _values, result); end
|
1123
|
-
def _reduce_537(val, _values, result); end
|
1124
|
-
def _reduce_538(val, _values, result); end
|
1125
|
-
def _reduce_539(val, _values, result); end
|
1126
|
-
def _reduce_54(val, _values, result); end
|
1127
|
-
def _reduce_540(val, _values, result); end
|
1128
|
-
def _reduce_541(val, _values, result); end
|
1129
|
-
def _reduce_542(val, _values, result); end
|
1130
|
-
def _reduce_543(val, _values, result); end
|
1131
|
-
def _reduce_544(val, _values, result); end
|
1132
|
-
def _reduce_545(val, _values, result); end
|
1133
|
-
def _reduce_546(val, _values, result); end
|
1134
|
-
def _reduce_547(val, _values, result); end
|
1135
|
-
def _reduce_548(val, _values, result); end
|
1136
|
-
def _reduce_549(val, _values, result); end
|
1137
|
-
def _reduce_550(val, _values, result); end
|
1138
|
-
def _reduce_553(val, _values, result); end
|
1139
|
-
def _reduce_554(val, _values, result); end
|
1140
|
-
def _reduce_555(val, _values, result); end
|
1141
|
-
def _reduce_556(val, _values, result); end
|
1142
|
-
def _reduce_557(val, _values, result); end
|
1143
|
-
def _reduce_558(val, _values, result); end
|
1144
|
-
def _reduce_559(val, _values, result); end
|
1145
|
-
def _reduce_560(val, _values, result); end
|
1146
|
-
def _reduce_563(val, _values, result); end
|
1147
|
-
def _reduce_564(val, _values, result); end
|
1148
|
-
def _reduce_567(val, _values, result); end
|
1149
|
-
def _reduce_568(val, _values, result); end
|
1150
|
-
def _reduce_569(val, _values, result); end
|
1151
|
-
def _reduce_571(val, _values, result); end
|
1152
|
-
def _reduce_572(val, _values, result); end
|
1153
|
-
def _reduce_574(val, _values, result); end
|
1154
|
-
def _reduce_575(val, _values, result); end
|
1155
|
-
def _reduce_576(val, _values, result); end
|
1156
|
-
def _reduce_577(val, _values, result); end
|
1157
|
-
def _reduce_578(val, _values, result); end
|
1158
|
-
def _reduce_579(val, _values, result); end
|
1159
|
-
def _reduce_58(val, _values, result); end
|
1160
|
-
def _reduce_59(val, _values, result); end
|
1161
|
-
def _reduce_592(val, _values, result); end
|
1162
|
-
def _reduce_593(val, _values, result); end
|
1163
|
-
def _reduce_598(val, _values, result); end
|
1164
|
-
def _reduce_599(val, _values, result); end
|
1165
|
-
def _reduce_6(val, _values, result); end
|
1166
|
-
def _reduce_60(val, _values, result); end
|
1167
|
-
def _reduce_603(val, _values, result); end
|
1168
|
-
def _reduce_607(val, _values, result); end
|
1169
|
-
def _reduce_62(val, _values, result); end
|
1170
|
-
def _reduce_63(val, _values, result); end
|
1171
|
-
def _reduce_64(val, _values, result); end
|
1172
|
-
def _reduce_65(val, _values, result); end
|
1173
|
-
def _reduce_66(val, _values, result); end
|
1174
|
-
def _reduce_67(val, _values, result); end
|
1175
|
-
def _reduce_68(val, _values, result); end
|
1176
|
-
def _reduce_69(val, _values, result); end
|
1177
|
-
def _reduce_70(val, _values, result); end
|
1178
|
-
def _reduce_71(val, _values, result); end
|
1179
|
-
def _reduce_72(val, _values, result); end
|
1180
|
-
def _reduce_73(val, _values, result); end
|
1181
|
-
def _reduce_74(val, _values, result); end
|
1182
|
-
def _reduce_75(val, _values, result); end
|
1183
|
-
def _reduce_76(val, _values, result); end
|
1184
|
-
def _reduce_78(val, _values, result); end
|
1185
|
-
def _reduce_79(val, _values, result); end
|
1186
|
-
def _reduce_8(val, _values, result); end
|
1187
|
-
def _reduce_80(val, _values, result); end
|
1188
|
-
def _reduce_81(val, _values, result); end
|
1189
|
-
def _reduce_82(val, _values, result); end
|
1190
|
-
def _reduce_83(val, _values, result); end
|
1191
|
-
def _reduce_84(val, _values, result); end
|
1192
|
-
def _reduce_85(val, _values, result); end
|
1193
|
-
def _reduce_86(val, _values, result); end
|
1194
|
-
def _reduce_88(val, _values, result); end
|
1195
|
-
def _reduce_89(val, _values, result); end
|
1196
|
-
def _reduce_9(val, _values, result); end
|
1197
|
-
def _reduce_90(val, _values, result); end
|
1198
|
-
def _reduce_91(val, _values, result); end
|
1199
|
-
def _reduce_92(val, _values, result); end
|
1200
|
-
def _reduce_93(val, _values, result); end
|
1201
|
-
def _reduce_94(val, _values, result); end
|
1202
|
-
def _reduce_95(val, _values, result); end
|
1203
|
-
def _reduce_96(val, _values, result); end
|
1204
|
-
def _reduce_97(val, _values, result); end
|
1205
|
-
def _reduce_98(val, _values, result); end
|
1206
|
-
def _reduce_99(val, _values, result); end
|
1207
|
-
def _reduce_none(val, _values, result); end
|
1208
|
-
def default_encoding; end
|
1209
|
-
def version; end
|
1210
|
-
end
|
1211
|
-
|
1212
|
-
Parser::Ruby26::Racc_arg = T.let(T.unsafe(nil), Array)
|
1213
|
-
Parser::Ruby26::Racc_token_to_s_table = T.let(T.unsafe(nil), Array)
|
1214
|
-
module Parser::Source; end
|
1215
|
-
|
1216
|
-
class Parser::Source::Buffer
|
1217
|
-
def initialize(name, first_line = T.unsafe(nil), source: T.unsafe(nil)); end
|
1218
|
-
|
1219
|
-
def column_for_position(position); end
|
1220
|
-
def decompose_position(position); end
|
1221
|
-
def first_line; end
|
1222
|
-
def freeze; end
|
1223
|
-
def inspect; end
|
1224
|
-
def last_line; end
|
1225
|
-
def line_for_position(position); end
|
1226
|
-
def line_range(lineno); end
|
1227
|
-
def name; end
|
1228
|
-
def raw_source=(input); end
|
1229
|
-
def read; end
|
1230
|
-
def slice(range); end
|
1231
|
-
def source; end
|
1232
|
-
def source=(input); end
|
1233
|
-
def source_line(lineno); end
|
1234
|
-
def source_lines; end
|
1235
|
-
def source_range; end
|
1236
|
-
|
1237
|
-
private
|
1238
|
-
|
1239
|
-
def bsearch(line_begins, position); end
|
1240
|
-
def line_begins; end
|
1241
|
-
def line_index_for_position(position); end
|
1242
|
-
|
1243
|
-
class << self
|
1244
|
-
def recognize_encoding(string); end
|
1245
|
-
def reencode_string(input); end
|
1246
|
-
end
|
1247
|
-
end
|
1248
|
-
|
1249
|
-
Parser::Source::Buffer::ENCODING_RE = T.let(T.unsafe(nil), Regexp)
|
1250
|
-
|
1251
|
-
class Parser::Source::Comment
|
1252
|
-
def initialize(range); end
|
1253
|
-
|
1254
|
-
def ==(other); end
|
1255
|
-
def document?; end
|
1256
|
-
def inline?; end
|
1257
|
-
def inspect; end
|
1258
|
-
def loc; end
|
1259
|
-
def location; end
|
1260
|
-
def text; end
|
1261
|
-
def type; end
|
1262
|
-
|
1263
|
-
class << self
|
1264
|
-
def associate(ast, comments); end
|
1265
|
-
def associate_by_identity(ast, comments); end
|
1266
|
-
def associate_locations(ast, comments); end
|
1267
|
-
end
|
1268
|
-
end
|
1269
|
-
|
1270
|
-
class Parser::Source::Comment::Associator
|
1271
|
-
def initialize(ast, comments); end
|
1272
|
-
|
1273
|
-
def associate; end
|
1274
|
-
def associate_by_identity; end
|
1275
|
-
def associate_locations; end
|
1276
|
-
def skip_directives; end
|
1277
|
-
def skip_directives=(_arg0); end
|
1278
|
-
|
1279
|
-
private
|
1280
|
-
|
1281
|
-
def advance_comment; end
|
1282
|
-
def advance_through_directives; end
|
1283
|
-
def associate_and_advance_comment(node); end
|
1284
|
-
def children_in_source_order(node); end
|
1285
|
-
def current_comment_before?(node); end
|
1286
|
-
def current_comment_before_end?(node); end
|
1287
|
-
def current_comment_decorates?(node); end
|
1288
|
-
def do_associate; end
|
1289
|
-
def process_leading_comments(node); end
|
1290
|
-
def process_trailing_comments(node); end
|
1291
|
-
def visit(node); end
|
1292
|
-
end
|
1293
|
-
|
1294
|
-
Parser::Source::Comment::Associator::MAGIC_COMMENT_RE = T.let(T.unsafe(nil), Regexp)
|
1295
|
-
Parser::Source::Comment::Associator::POSTFIX_TYPES = T.let(T.unsafe(nil), Set)
|
1296
|
-
|
1297
|
-
class Parser::Source::Map
|
1298
|
-
def initialize(expression); end
|
1299
|
-
|
1300
|
-
def ==(other); end
|
1301
|
-
def column; end
|
1302
|
-
def expression; end
|
1303
|
-
def first_line; end
|
1304
|
-
def last_column; end
|
1305
|
-
def last_line; end
|
1306
|
-
def line; end
|
1307
|
-
def node; end
|
1308
|
-
def node=(node); end
|
1309
|
-
def to_hash; end
|
1310
|
-
def with_expression(expression_l); end
|
1311
|
-
|
1312
|
-
protected
|
1313
|
-
|
1314
|
-
def update_expression(expression_l); end
|
1315
|
-
def with(&block); end
|
1316
|
-
|
1317
|
-
private
|
1318
|
-
|
1319
|
-
def initialize_copy(other); end
|
1320
|
-
end
|
1321
|
-
|
1322
|
-
class Parser::Source::Map::Collection < ::Parser::Source::Map
|
1323
|
-
def initialize(begin_l, end_l, expression_l); end
|
1324
|
-
|
1325
|
-
def begin; end
|
1326
|
-
def end; end
|
1327
|
-
end
|
1328
|
-
|
1329
|
-
class Parser::Source::Map::Condition < ::Parser::Source::Map
|
1330
|
-
def initialize(keyword_l, begin_l, else_l, end_l, expression_l); end
|
1331
|
-
|
1332
|
-
def begin; end
|
1333
|
-
def else; end
|
1334
|
-
def end; end
|
1335
|
-
def keyword; end
|
1336
|
-
end
|
1337
|
-
|
1338
|
-
class Parser::Source::Map::Constant < ::Parser::Source::Map
|
1339
|
-
def initialize(double_colon, name, expression); end
|
1340
|
-
|
1341
|
-
def double_colon; end
|
1342
|
-
def name; end
|
1343
|
-
def operator; end
|
1344
|
-
def with_operator(operator_l); end
|
1345
|
-
|
1346
|
-
protected
|
1347
|
-
|
1348
|
-
def update_operator(operator_l); end
|
1349
|
-
end
|
1350
|
-
|
1351
|
-
class Parser::Source::Map::Definition < ::Parser::Source::Map
|
1352
|
-
def initialize(keyword_l, operator_l, name_l, end_l); end
|
1353
|
-
|
1354
|
-
def end; end
|
1355
|
-
def keyword; end
|
1356
|
-
def name; end
|
1357
|
-
def operator; end
|
1358
|
-
end
|
1359
|
-
|
1360
|
-
class Parser::Source::Map::For < ::Parser::Source::Map
|
1361
|
-
def initialize(keyword_l, in_l, begin_l, end_l, expression_l); end
|
1362
|
-
|
1363
|
-
def begin; end
|
1364
|
-
def end; end
|
1365
|
-
def in; end
|
1366
|
-
def keyword; end
|
1367
|
-
end
|
1368
|
-
|
1369
|
-
class Parser::Source::Map::Heredoc < ::Parser::Source::Map
|
1370
|
-
def initialize(begin_l, body_l, end_l); end
|
1371
|
-
|
1372
|
-
def heredoc_body; end
|
1373
|
-
def heredoc_end; end
|
1374
|
-
end
|
1375
|
-
|
1376
|
-
class Parser::Source::Map::Index < ::Parser::Source::Map
|
1377
|
-
def initialize(begin_l, end_l, expression_l); end
|
1378
|
-
|
1379
|
-
def begin; end
|
1380
|
-
def end; end
|
1381
|
-
def operator; end
|
1382
|
-
def with_operator(operator_l); end
|
1383
|
-
|
1384
|
-
protected
|
1385
|
-
|
1386
|
-
def update_operator(operator_l); end
|
1387
|
-
end
|
1388
|
-
|
1389
|
-
class Parser::Source::Map::Keyword < ::Parser::Source::Map
|
1390
|
-
def initialize(keyword_l, begin_l, end_l, expression_l); end
|
1391
|
-
|
1392
|
-
def begin; end
|
1393
|
-
def end; end
|
1394
|
-
def keyword; end
|
1395
|
-
end
|
1396
|
-
|
1397
|
-
class Parser::Source::Map::MethodDefinition < ::Parser::Source::Map
|
1398
|
-
def initialize(keyword_l, operator_l, name_l, end_l, assignment_l, body_l); end
|
1399
|
-
|
1400
|
-
def assignment; end
|
1401
|
-
def end; end
|
1402
|
-
def keyword; end
|
1403
|
-
def name; end
|
1404
|
-
def operator; end
|
1405
|
-
end
|
1406
|
-
|
1407
|
-
class Parser::Source::Map::ObjcKwarg < ::Parser::Source::Map
|
1408
|
-
def initialize(keyword_l, operator_l, argument_l, expression_l); end
|
1409
|
-
|
1410
|
-
def argument; end
|
1411
|
-
def keyword; end
|
1412
|
-
def operator; end
|
1413
|
-
end
|
1414
|
-
|
1415
|
-
class Parser::Source::Map::Operator < ::Parser::Source::Map
|
1416
|
-
def initialize(operator, expression); end
|
1417
|
-
|
1418
|
-
def operator; end
|
1419
|
-
end
|
1420
|
-
|
1421
|
-
class Parser::Source::Map::RescueBody < ::Parser::Source::Map
|
1422
|
-
def initialize(keyword_l, assoc_l, begin_l, expression_l); end
|
1423
|
-
|
1424
|
-
def assoc; end
|
1425
|
-
def begin; end
|
1426
|
-
def keyword; end
|
1427
|
-
end
|
1428
|
-
|
1429
|
-
class Parser::Source::Map::Send < ::Parser::Source::Map
|
1430
|
-
def initialize(dot_l, selector_l, begin_l, end_l, expression_l); end
|
1431
|
-
|
1432
|
-
def begin; end
|
1433
|
-
def dot; end
|
1434
|
-
def end; end
|
1435
|
-
def operator; end
|
1436
|
-
def selector; end
|
1437
|
-
def with_operator(operator_l); end
|
1438
|
-
|
1439
|
-
protected
|
1440
|
-
|
1441
|
-
def update_operator(operator_l); end
|
1442
|
-
end
|
1443
|
-
|
1444
|
-
class Parser::Source::Map::Ternary < ::Parser::Source::Map
|
1445
|
-
def initialize(question_l, colon_l, expression_l); end
|
1446
|
-
|
1447
|
-
def colon; end
|
1448
|
-
def question; end
|
1449
|
-
end
|
1450
|
-
|
1451
|
-
class Parser::Source::Map::Variable < ::Parser::Source::Map
|
1452
|
-
def initialize(name_l, expression_l = T.unsafe(nil)); end
|
1453
|
-
|
1454
|
-
def name; end
|
1455
|
-
def operator; end
|
1456
|
-
def with_operator(operator_l); end
|
1457
|
-
|
1458
|
-
protected
|
1459
|
-
|
1460
|
-
def update_operator(operator_l); end
|
1461
|
-
end
|
1462
|
-
|
1463
|
-
class Parser::Source::Range
|
1464
|
-
include ::Comparable
|
1465
|
-
include ::RuboCop::AST::Ext::Range
|
1466
|
-
|
1467
|
-
def initialize(source_buffer, begin_pos, end_pos); end
|
1468
|
-
|
1469
|
-
def <=>(other); end
|
1470
|
-
def adjust(begin_pos: T.unsafe(nil), end_pos: T.unsafe(nil)); end
|
1471
|
-
def begin; end
|
1472
|
-
def begin_pos; end
|
1473
|
-
def column; end
|
1474
|
-
def column_range; end
|
1475
|
-
def contained?(other); end
|
1476
|
-
def contains?(other); end
|
1477
|
-
def crossing?(other); end
|
1478
|
-
def disjoint?(other); end
|
1479
|
-
def empty?; end
|
1480
|
-
def end; end
|
1481
|
-
def end_pos; end
|
1482
|
-
def eql?(_arg0); end
|
1483
|
-
def first_line; end
|
1484
|
-
def hash; end
|
1485
|
-
def inspect; end
|
1486
|
-
def intersect(other); end
|
1487
|
-
def is?(*what); end
|
1488
|
-
def join(other); end
|
1489
|
-
def last_column; end
|
1490
|
-
def last_line; end
|
1491
|
-
def length; end
|
1492
|
-
def line; end
|
1493
|
-
def overlaps?(other); end
|
1494
|
-
def resize(new_size); end
|
1495
|
-
def size; end
|
1496
|
-
def source; end
|
1497
|
-
def source_buffer; end
|
1498
|
-
def source_line; end
|
1499
|
-
def to_a; end
|
1500
|
-
def to_range; end
|
1501
|
-
def to_s; end
|
1502
|
-
def with(begin_pos: T.unsafe(nil), end_pos: T.unsafe(nil)); end
|
1503
|
-
end
|
1504
|
-
|
1505
|
-
class Parser::Source::Rewriter
|
1506
|
-
extend ::Parser::Deprecation
|
1507
|
-
|
1508
|
-
def initialize(source_buffer); end
|
1509
|
-
|
1510
|
-
def diagnostics; end
|
1511
|
-
def insert_after(range, content); end
|
1512
|
-
def insert_after_multi(range, content); end
|
1513
|
-
def insert_before(range, content); end
|
1514
|
-
def insert_before_multi(range, content); end
|
1515
|
-
def process; end
|
1516
|
-
def remove(range); end
|
1517
|
-
def replace(range, content); end
|
1518
|
-
def source_buffer; end
|
1519
|
-
def transaction; end
|
1520
|
-
def wrap(range, before, after); end
|
1521
|
-
|
1522
|
-
private
|
1523
|
-
|
1524
|
-
def active_clobber; end
|
1525
|
-
def active_clobber=(value); end
|
1526
|
-
def active_insertions; end
|
1527
|
-
def active_insertions=(value); end
|
1528
|
-
def active_queue; end
|
1529
|
-
def adjacent?(range1, range2); end
|
1530
|
-
def adjacent_insertion_mask(range); end
|
1531
|
-
def adjacent_insertions?(range); end
|
1532
|
-
def adjacent_position_mask(range); end
|
1533
|
-
def adjacent_updates?(range); end
|
1534
|
-
def append(action); end
|
1535
|
-
def can_merge?(action, existing); end
|
1536
|
-
def clobbered_insertion?(insertion); end
|
1537
|
-
def clobbered_position_mask(range); end
|
1538
|
-
def in_transaction?; end
|
1539
|
-
def merge_actions(action, existing); end
|
1540
|
-
def merge_actions!(action, existing); end
|
1541
|
-
def merge_replacements(actions); end
|
1542
|
-
def raise_clobber_error(action, existing); end
|
1543
|
-
def record_insertion(range); end
|
1544
|
-
def record_replace(range); end
|
1545
|
-
def replace_actions(old, updated); end
|
1546
|
-
def replace_compatible_with_insertion?(replace, insertion); end
|
1547
|
-
end
|
1548
|
-
|
1549
|
-
class Parser::Source::Rewriter::Action
|
1550
|
-
include ::Comparable
|
1551
|
-
|
1552
|
-
def initialize(range, replacement = T.unsafe(nil), allow_multiple_insertions = T.unsafe(nil), order = T.unsafe(nil)); end
|
1553
|
-
|
1554
|
-
def <=>(other); end
|
1555
|
-
def allow_multiple_insertions; end
|
1556
|
-
def allow_multiple_insertions?; end
|
1557
|
-
def order; end
|
1558
|
-
def range; end
|
1559
|
-
def replacement; end
|
1560
|
-
def to_s; end
|
1561
|
-
end
|
1562
|
-
|
1563
|
-
Parser::Source::Rewriter::DEPRECATION_WARNING = T.let(T.unsafe(nil), String)
|
1564
|
-
|
1565
|
-
class Parser::Source::TreeRewriter
|
1566
|
-
extend ::Parser::Deprecation
|
1567
|
-
|
1568
|
-
def initialize(source_buffer, crossing_deletions: T.unsafe(nil), different_replacements: T.unsafe(nil), swallowed_insertions: T.unsafe(nil)); end
|
1569
|
-
|
1570
|
-
def as_nested_actions; end
|
1571
|
-
def as_replacements; end
|
1572
|
-
def diagnostics; end
|
1573
|
-
def empty?; end
|
1574
|
-
def import!(foreign_rewriter, offset: T.unsafe(nil)); end
|
1575
|
-
def in_transaction?; end
|
1576
|
-
def insert_after(range, content); end
|
1577
|
-
def insert_after_multi(range, text); end
|
1578
|
-
def insert_before(range, content); end
|
1579
|
-
def insert_before_multi(range, text); end
|
1580
|
-
def inspect; end
|
1581
|
-
def merge(with); end
|
1582
|
-
def merge!(with); end
|
1583
|
-
def process; end
|
1584
|
-
def remove(range); end
|
1585
|
-
def replace(range, content); end
|
1586
|
-
def source_buffer; end
|
1587
|
-
def transaction; end
|
1588
|
-
def wrap(range, insert_before, insert_after); end
|
1589
|
-
|
1590
|
-
protected
|
1591
|
-
|
1592
|
-
def action_root; end
|
1593
|
-
|
1594
|
-
private
|
1595
|
-
|
1596
|
-
def action_summary; end
|
1597
|
-
def check_policy_validity; end
|
1598
|
-
def check_range_validity(range); end
|
1599
|
-
def combine(range, attributes); end
|
1600
|
-
def enforce_policy(event); end
|
1601
|
-
def trigger_policy(event, range: T.unsafe(nil), conflict: T.unsafe(nil), **arguments); end
|
1602
|
-
end
|
1603
|
-
|
1604
|
-
Parser::Source::TreeRewriter::ACTIONS = T.let(T.unsafe(nil), Array)
|
1605
|
-
|
1606
|
-
class Parser::Source::TreeRewriter::Action
|
1607
|
-
def initialize(range, enforcer, insert_before: T.unsafe(nil), replacement: T.unsafe(nil), insert_after: T.unsafe(nil), children: T.unsafe(nil)); end
|
1608
|
-
|
1609
|
-
def combine(action); end
|
1610
|
-
def contract; end
|
1611
|
-
def empty?; end
|
1612
|
-
def insert_after; end
|
1613
|
-
def insert_before; end
|
1614
|
-
def insertion?; end
|
1615
|
-
def moved(source_buffer, offset); end
|
1616
|
-
def nested_actions; end
|
1617
|
-
def ordered_replacements; end
|
1618
|
-
def range; end
|
1619
|
-
def replacement; end
|
1620
|
-
|
1621
|
-
protected
|
1622
|
-
|
1623
|
-
def analyse_hierarchy(action); end
|
1624
|
-
def bsearch_child_index(from = T.unsafe(nil)); end
|
1625
|
-
def call_enforcer_for_merge(action); end
|
1626
|
-
def check_fusible(action, *fusible); end
|
1627
|
-
def children; end
|
1628
|
-
def combine_children(more_children); end
|
1629
|
-
def do_combine(action); end
|
1630
|
-
def fuse_deletions(action, fusible, other_sibblings); end
|
1631
|
-
def merge(action); end
|
1632
|
-
def place_in_hierarchy(action); end
|
1633
|
-
def swallow(children); end
|
1634
|
-
def with(range: T.unsafe(nil), enforcer: T.unsafe(nil), children: T.unsafe(nil), insert_before: T.unsafe(nil), replacement: T.unsafe(nil), insert_after: T.unsafe(nil)); end
|
1635
|
-
end
|
1636
|
-
|
1637
|
-
Parser::Source::TreeRewriter::DEPRECATION_WARNING = T.let(T.unsafe(nil), String)
|
1638
|
-
Parser::Source::TreeRewriter::POLICY_TO_LEVEL = T.let(T.unsafe(nil), Hash)
|
1639
|
-
|
1640
|
-
class Parser::StaticEnvironment
|
1641
|
-
def initialize; end
|
1642
|
-
|
1643
|
-
def declare(name); end
|
1644
|
-
def declare_forward_args; end
|
1645
|
-
def declared?(name); end
|
1646
|
-
def declared_forward_args?; end
|
1647
|
-
def empty?; end
|
1648
|
-
def extend_dynamic; end
|
1649
|
-
def extend_static; end
|
1650
|
-
def reset; end
|
1651
|
-
def unextend; end
|
1652
|
-
end
|
1653
|
-
|
1654
|
-
Parser::StaticEnvironment::FORWARD_ARGS = T.let(T.unsafe(nil), Symbol)
|
1655
|
-
|
1656
|
-
class Parser::SyntaxError < ::StandardError
|
1657
|
-
def initialize(diagnostic); end
|
1658
|
-
|
1659
|
-
def diagnostic; end
|
1660
|
-
end
|
1661
|
-
|
1662
|
-
class Parser::TreeRewriter < ::Parser::AST::Processor
|
1663
|
-
def assignment?(node); end
|
1664
|
-
def insert_after(range, content); end
|
1665
|
-
def insert_before(range, content); end
|
1666
|
-
def remove(range); end
|
1667
|
-
def replace(range, content); end
|
1668
|
-
def rewrite(source_buffer, ast, **policy); end
|
1669
|
-
def wrap(range, before, after); end
|
1670
|
-
end
|
1671
|
-
|
1672
|
-
Parser::VERSION = T.let(T.unsafe(nil), String)
|
1673
|
-
|
1674
|
-
class Parser::VariablesStack
|
1675
|
-
def initialize; end
|
1676
|
-
|
1677
|
-
def declare(name); end
|
1678
|
-
def declared?(name); end
|
1679
|
-
def empty?; end
|
1680
|
-
def pop; end
|
1681
|
-
def push; end
|
1682
|
-
def reset; end
|
1683
|
-
end
|