lunchmoney 1.4.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +7 -0
- data/.github/workflows/build_and_publish_yard_docs.yml +4 -4
- data/.github/workflows/ci.yml +9 -10
- data/.github/workflows/rbi-updater.yml +1 -1
- data/.github/workflows/release_pipeline.yml +1 -1
- data/.rubocop.yml +1 -1
- data/.ruby-version +1 -1
- data/.simplecov +1 -0
- data/.toys/.toys.rb +8 -0
- data/Gemfile +3 -3
- data/Gemfile.lock +102 -78
- data/README.md +0 -2
- data/SECURITY.md +151 -0
- data/bin/check_vcr_version +94 -0
- data/lib/lunchmoney/api.rb +26 -38
- data/lib/lunchmoney/calls/assets.rb +10 -13
- data/lib/lunchmoney/calls/base.rb +59 -7
- data/lib/lunchmoney/calls/budgets.rb +22 -25
- data/lib/lunchmoney/calls/categories.rb +28 -38
- data/lib/lunchmoney/calls/crypto.rb +7 -9
- data/lib/lunchmoney/calls/plaid_accounts.rb +7 -9
- data/lib/lunchmoney/calls/recurring_expenses.rb +4 -5
- data/lib/lunchmoney/calls/tags.rb +3 -4
- data/lib/lunchmoney/calls/transactions.rb +28 -37
- data/lib/lunchmoney/calls/users.rb +3 -4
- data/lib/lunchmoney/configuration.rb +20 -0
- data/lib/lunchmoney/deprecate.rb +35 -0
- data/lib/lunchmoney/objects/asset.rb +6 -1
- data/lib/lunchmoney/objects/object.rb +4 -9
- data/lib/lunchmoney/objects/plaid_account.rb +6 -1
- data/lib/lunchmoney/validators.rb +8 -6
- data/lib/lunchmoney/version.rb +1 -1
- data/lib/lunchmoney.rb +3 -3
- data/lunchmoney.gemspec +1 -1
- data/sorbet/rbi/annotations/activesupport.rbi +40 -0
- data/sorbet/rbi/dsl/active_support/callbacks.rbi +0 -2
- data/sorbet/rbi/gems/{activesupport@7.2.1.rbi → activesupport@8.0.2.1.rbi} +1431 -1028
- data/sorbet/rbi/gems/{ast@2.4.2.rbi → ast@2.4.3.rbi} +4 -3
- data/sorbet/rbi/gems/{base64@0.2.0.rbi → base64@0.3.0.rbi} +76 -39
- data/sorbet/rbi/gems/benchmark@0.4.1.rbi +619 -0
- data/sorbet/rbi/gems/bigdecimal@3.2.2.rbi +275 -0
- data/sorbet/rbi/gems/{concurrent-ruby@1.3.4.rbi → concurrent-ruby@1.3.5.rbi} +44 -32
- data/sorbet/rbi/gems/{connection_pool@2.4.1.rbi → connection_pool@2.5.3.rbi} +1 -0
- data/sorbet/rbi/gems/{dotenv@3.1.2.rbi → dotenv@3.1.8.rbi} +21 -29
- data/sorbet/rbi/gems/{drb@2.2.1.rbi → drb@2.2.3.rbi} +503 -188
- data/sorbet/rbi/gems/{erubi@1.13.0.rbi → erubi@1.13.1.rbi} +14 -9
- data/sorbet/rbi/gems/{faraday-net_http@3.1.1.rbi → faraday-net_http@3.4.1.rbi} +34 -34
- data/sorbet/rbi/gems/{faraday@2.10.1.rbi → faraday@2.13.4.rbi} +507 -171
- data/sorbet/rbi/gems/{hashdiff@1.1.1.rbi → hashdiff@1.2.0.rbi} +5 -3
- data/sorbet/rbi/gems/{i18n@1.14.5.rbi → i18n@1.14.7.rbi} +80 -80
- data/sorbet/rbi/gems/{json@2.7.2.rbi → json@2.13.2.rbi} +988 -226
- data/sorbet/rbi/gems/{kramdown@2.4.0.rbi → kramdown@2.5.1.rbi} +316 -234
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.5.rbi +9 -0
- data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +240 -0
- data/sorbet/rbi/gems/{logger@1.6.0.rbi → logger@1.7.0.rbi} +136 -76
- data/sorbet/rbi/gems/{minitest@5.25.1.rbi → minitest@5.25.5.rbi} +227 -220
- data/sorbet/rbi/gems/{mocha@2.4.5.rbi → mocha@2.7.1.rbi} +154 -118
- data/sorbet/rbi/gems/{net-http@0.4.1.rbi → net-http@0.6.0.rbi} +360 -181
- data/sorbet/rbi/gems/{parser@3.3.4.2.rbi → parser@3.3.9.0.rbi} +326 -308
- data/sorbet/rbi/gems/{prism@0.30.0.rbi → prism@1.4.0.rbi} +12440 -9920
- data/sorbet/rbi/gems/{rack@3.1.7.rbi → rack@3.2.1.rbi} +752 -579
- data/sorbet/rbi/gems/{rake@13.2.1.rbi → rake@13.3.0.rbi} +238 -227
- data/sorbet/rbi/gems/rbi@0.3.6.rbi +5162 -0
- data/sorbet/rbi/gems/rbs@4.0.0.dev.4.rbi +7895 -0
- data/sorbet/rbi/gems/{regexp_parser@2.9.2.rbi → regexp_parser@2.11.2.rbi} +1124 -1013
- data/sorbet/rbi/gems/require-hooks@0.2.2.rbi +110 -0
- data/sorbet/rbi/gems/{rexml@3.3.6.rbi → rexml@3.4.2.rbi} +755 -318
- data/sorbet/rbi/gems/{rubocop-ast@1.32.1.rbi → rubocop-ast@1.46.0.rbi} +1287 -899
- data/sorbet/rbi/gems/{rubocop-minitest@0.35.1.rbi → rubocop-minitest@0.38.2.rbi} +133 -97
- data/sorbet/rbi/gems/{rubocop-rails@2.26.0.rbi → rubocop-rails@2.33.3.rbi} +9874 -6597
- data/sorbet/rbi/gems/{rubocop-shopify@2.15.1.rbi → rubocop-shopify@2.17.1.rbi} +1 -0
- data/sorbet/rbi/gems/{rubocop-sorbet@0.8.5.rbi → rubocop-sorbet@0.10.5.rbi} +804 -83
- data/sorbet/rbi/gems/{rubocop@1.65.1.rbi → rubocop@1.80.1.rbi} +10688 -5103
- data/sorbet/rbi/gems/{securerandom@0.3.1.rbi → securerandom@0.4.1.rbi} +7 -5
- data/sorbet/rbi/gems/{spoom@1.4.2.rbi → spoom@1.7.6.rbi} +1939 -1039
- data/sorbet/rbi/gems/{tapioca@0.16.1.rbi → tapioca@0.17.7.rbi} +765 -821
- data/sorbet/rbi/gems/{thor@1.3.1.rbi → thor@1.4.0.rbi} +139 -91
- data/sorbet/rbi/gems/unicode-display_width@3.1.5.rbi +132 -0
- data/sorbet/rbi/gems/unicode-emoji@4.0.4.rbi +251 -0
- data/sorbet/rbi/gems/{uri@0.13.0.rbi → uri@1.0.3.rbi} +278 -256
- data/sorbet/rbi/gems/{vcr@6.3.1.rbi → vcr@6.3.1-ce35c236fe48899f02ddf780973b44cdb756c0ee.rbi} +140 -123
- data/sorbet/rbi/gems/{webmock@3.23.1.rbi → webmock@3.25.1.rbi} +101 -78
- data/sorbet/rbi/gems/{yard@0.9.36.rbi → yard@0.9.37.rbi} +394 -235
- metadata +55 -53
- data/sorbet/rbi/gems/bigdecimal@3.1.8.rbi +0 -78
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +0 -14237
- data/sorbet/rbi/gems/rbi@0.1.14.rbi +0 -3305
- data/sorbet/rbi/gems/strscan@3.1.0.rbi +0 -9
- data/sorbet/rbi/gems/unicode-display_width@2.5.0.rbi +0 -65
- /data/sorbet/rbi/gems/{parallel@1.26.3.rbi → parallel@1.27.0.rbi} +0 -0
@@ -38,7 +38,7 @@ class Parser::AST::Node < ::AST::Node
|
|
38
38
|
# @api public
|
39
39
|
# @return [Parser::Source::Map]
|
40
40
|
#
|
41
|
-
# source://parser//lib/parser/ast/node.rb#
|
41
|
+
# source://parser//lib/parser/ast/node.rb#20
|
42
42
|
def loc; end
|
43
43
|
|
44
44
|
# Source map for this Node.
|
@@ -58,33 +58,33 @@ class Parser::AST::Processor
|
|
58
58
|
|
59
59
|
# @api public
|
60
60
|
#
|
61
|
-
# source://parser//lib/parser/ast/processor.rb#
|
61
|
+
# source://parser//lib/parser/ast/processor.rb#179
|
62
62
|
def on_alias(node); end
|
63
63
|
|
64
64
|
# @api public
|
65
65
|
#
|
66
|
-
# source://parser//lib/parser/ast/processor.rb#
|
66
|
+
# source://parser//lib/parser/ast/processor.rb#222
|
67
67
|
def on_and(node); end
|
68
68
|
|
69
69
|
# @api public
|
70
70
|
#
|
71
|
-
# source://parser//lib/parser/ast/processor.rb#
|
71
|
+
# source://parser//lib/parser/ast/processor.rb#67
|
72
72
|
def on_and_asgn(node); end
|
73
73
|
|
74
74
|
# @api public
|
75
75
|
# @private
|
76
76
|
#
|
77
|
-
# source://parser//lib/parser/ast/processor.rb#
|
77
|
+
# source://parser//lib/parser/ast/processor.rb#122
|
78
78
|
def on_arg(node); end
|
79
79
|
|
80
80
|
# @api public
|
81
81
|
#
|
82
|
-
# source://parser//lib/parser/ast/processor.rb#
|
82
|
+
# source://parser//lib/parser/ast/processor.rb#148
|
83
83
|
def on_arg_expr(node); end
|
84
84
|
|
85
85
|
# @api public
|
86
86
|
#
|
87
|
-
# source://parser//lib/parser/ast/processor.rb#
|
87
|
+
# source://parser//lib/parser/ast/processor.rb#103
|
88
88
|
def on_args(node); end
|
89
89
|
|
90
90
|
# @api public
|
@@ -94,64 +94,64 @@ class Parser::AST::Processor
|
|
94
94
|
|
95
95
|
# @api public
|
96
96
|
#
|
97
|
-
# source://parser//lib/parser/ast/processor.rb#
|
97
|
+
# source://parser//lib/parser/ast/processor.rb#22
|
98
98
|
def on_array(node); end
|
99
99
|
|
100
100
|
# @api public
|
101
101
|
#
|
102
|
-
# source://parser//lib/parser/ast/processor.rb#
|
102
|
+
# source://parser//lib/parser/ast/processor.rb#258
|
103
103
|
def on_array_pattern(node); end
|
104
104
|
|
105
105
|
# @api public
|
106
106
|
#
|
107
|
-
# source://parser//lib/parser/ast/processor.rb#
|
107
|
+
# source://parser//lib/parser/ast/processor.rb#259
|
108
108
|
def on_array_pattern_with_tail(node); end
|
109
109
|
|
110
110
|
# @api public
|
111
111
|
# @private
|
112
112
|
#
|
113
|
-
# source://parser//lib/parser/ast/processor.rb#
|
113
|
+
# source://parser//lib/parser/ast/processor.rb#42
|
114
114
|
def on_back_ref(node); end
|
115
115
|
|
116
116
|
# @api public
|
117
117
|
#
|
118
|
-
# source://parser//lib/parser/ast/processor.rb#
|
118
|
+
# source://parser//lib/parser/ast/processor.rb#240
|
119
119
|
def on_begin(node); end
|
120
120
|
|
121
121
|
# @api public
|
122
122
|
#
|
123
|
-
# source://parser//lib/parser/ast/processor.rb#
|
123
|
+
# source://parser//lib/parser/ast/processor.rb#195
|
124
124
|
def on_block(node); end
|
125
125
|
|
126
126
|
# @api public
|
127
127
|
#
|
128
|
-
# source://parser//lib/parser/ast/processor.rb#
|
128
|
+
# source://parser//lib/parser/ast/processor.rb#151
|
129
129
|
def on_block_pass(node); end
|
130
130
|
|
131
131
|
# @api public
|
132
132
|
# @private
|
133
133
|
#
|
134
|
-
# source://parser//lib/parser/ast/processor.rb#
|
134
|
+
# source://parser//lib/parser/ast/processor.rb#125
|
135
135
|
def on_blockarg(node); end
|
136
136
|
|
137
137
|
# @api public
|
138
138
|
#
|
139
|
-
# source://parser//lib/parser/ast/processor.rb#
|
139
|
+
# source://parser//lib/parser/ast/processor.rb#150
|
140
140
|
def on_blockarg_expr(node); end
|
141
141
|
|
142
142
|
# @api public
|
143
143
|
#
|
144
|
-
# source://parser//lib/parser/ast/processor.rb#
|
144
|
+
# source://parser//lib/parser/ast/processor.rb#213
|
145
145
|
def on_break(node); end
|
146
146
|
|
147
147
|
# @api public
|
148
148
|
#
|
149
|
-
# source://parser//lib/parser/ast/processor.rb#
|
149
|
+
# source://parser//lib/parser/ast/processor.rb#228
|
150
150
|
def on_case(node); end
|
151
151
|
|
152
152
|
# @api public
|
153
153
|
#
|
154
|
-
# source://parser//lib/parser/ast/processor.rb#
|
154
|
+
# source://parser//lib/parser/ast/processor.rb#246
|
155
155
|
def on_case_match(node); end
|
156
156
|
|
157
157
|
# @api public
|
@@ -161,7 +161,7 @@ class Parser::AST::Processor
|
|
161
161
|
|
162
162
|
# @api public
|
163
163
|
#
|
164
|
-
# source://parser//lib/parser/ast/processor.rb#
|
164
|
+
# source://parser//lib/parser/ast/processor.rb#157
|
165
165
|
def on_class(node); end
|
166
166
|
|
167
167
|
# @api public
|
@@ -171,24 +171,24 @@ class Parser::AST::Processor
|
|
171
171
|
|
172
172
|
# @api public
|
173
173
|
#
|
174
|
-
# source://parser//lib/parser/ast/processor.rb#
|
174
|
+
# source://parser//lib/parser/ast/processor.rb#261
|
175
175
|
def on_const_pattern(node); end
|
176
176
|
|
177
177
|
# @api public
|
178
178
|
#
|
179
|
-
# source://parser//lib/parser/ast/processor.rb#
|
179
|
+
# source://parser//lib/parser/ast/processor.rb#190
|
180
180
|
def on_csend(node); end
|
181
181
|
|
182
182
|
# @api public
|
183
183
|
# @private
|
184
184
|
#
|
185
|
-
# source://parser//lib/parser/ast/processor.rb#
|
185
|
+
# source://parser//lib/parser/ast/processor.rb#41
|
186
186
|
def on_cvar(node); end
|
187
187
|
|
188
188
|
# @api public
|
189
189
|
# @private
|
190
190
|
#
|
191
|
-
# source://parser//lib/parser/ast/processor.rb#
|
191
|
+
# source://parser//lib/parser/ast/processor.rb#65
|
192
192
|
def on_cvasgn(node); end
|
193
193
|
|
194
194
|
# @api public
|
@@ -198,7 +198,7 @@ class Parser::AST::Processor
|
|
198
198
|
|
199
199
|
# @api public
|
200
200
|
#
|
201
|
-
# source://parser//lib/parser/ast/processor.rb#
|
201
|
+
# source://parser//lib/parser/ast/processor.rb#219
|
202
202
|
def on_defined?(node); end
|
203
203
|
|
204
204
|
# @api public
|
@@ -208,17 +208,17 @@ class Parser::AST::Processor
|
|
208
208
|
|
209
209
|
# @api public
|
210
210
|
#
|
211
|
-
# source://parser//lib/parser/ast/processor.rb#
|
211
|
+
# source://parser//lib/parser/ast/processor.rb#16
|
212
212
|
def on_dstr(node); end
|
213
213
|
|
214
214
|
# @api public
|
215
215
|
#
|
216
|
-
# source://parser//lib/parser/ast/processor.rb#
|
216
|
+
# source://parser//lib/parser/ast/processor.rb#17
|
217
217
|
def on_dsym(node); end
|
218
218
|
|
219
219
|
# @api public
|
220
220
|
#
|
221
|
-
# source://parser//lib/parser/ast/processor.rb#
|
221
|
+
# source://parser//lib/parser/ast/processor.rb#231
|
222
222
|
def on_eflipflop(node); end
|
223
223
|
|
224
224
|
# @api public
|
@@ -228,234 +228,234 @@ class Parser::AST::Processor
|
|
228
228
|
|
229
229
|
# @api public
|
230
230
|
#
|
231
|
-
# source://parser//lib/parser/ast/processor.rb#
|
231
|
+
# source://parser//lib/parser/ast/processor.rb#238
|
232
232
|
def on_ensure(node); end
|
233
233
|
|
234
234
|
# @api public
|
235
235
|
#
|
236
|
-
# source://parser//lib/parser/ast/processor.rb#
|
236
|
+
# source://parser//lib/parser/ast/processor.rb#27
|
237
237
|
def on_erange(node); end
|
238
238
|
|
239
239
|
# @api public
|
240
240
|
#
|
241
|
-
# source://parser//lib/parser/ast/processor.rb#
|
241
|
+
# source://parser//lib/parser/ast/processor.rb#262
|
242
242
|
def on_find_pattern(node); end
|
243
243
|
|
244
244
|
# @api public
|
245
245
|
#
|
246
|
-
# source://parser//lib/parser/ast/processor.rb#
|
246
|
+
# source://parser//lib/parser/ast/processor.rb#210
|
247
247
|
def on_for(node); end
|
248
248
|
|
249
249
|
# @api public
|
250
250
|
# @private
|
251
251
|
#
|
252
|
-
# source://parser//lib/parser/ast/processor.rb#
|
252
|
+
# source://parser//lib/parser/ast/processor.rb#130
|
253
253
|
def on_forward_arg(node); end
|
254
254
|
|
255
255
|
# @api public
|
256
256
|
#
|
257
|
-
# source://parser//lib/parser/ast/processor.rb#
|
257
|
+
# source://parser//lib/parser/ast/processor.rb#154
|
258
258
|
def on_forwarded_kwrestarg(node); end
|
259
259
|
|
260
260
|
# @api public
|
261
261
|
#
|
262
|
-
# source://parser//lib/parser/ast/processor.rb#
|
262
|
+
# source://parser//lib/parser/ast/processor.rb#153
|
263
263
|
def on_forwarded_restarg(node); end
|
264
264
|
|
265
265
|
# @api public
|
266
266
|
# @private
|
267
267
|
#
|
268
|
-
# source://parser//lib/parser/ast/processor.rb#
|
268
|
+
# source://parser//lib/parser/ast/processor.rb#40
|
269
269
|
def on_gvar(node); end
|
270
270
|
|
271
271
|
# @api public
|
272
272
|
# @private
|
273
273
|
#
|
274
|
-
# source://parser//lib/parser/ast/processor.rb#
|
274
|
+
# source://parser//lib/parser/ast/processor.rb#64
|
275
275
|
def on_gvasgn(node); end
|
276
276
|
|
277
277
|
# @api public
|
278
278
|
#
|
279
|
-
# source://parser//lib/parser/ast/processor.rb#
|
279
|
+
# source://parser//lib/parser/ast/processor.rb#24
|
280
280
|
def on_hash(node); end
|
281
281
|
|
282
282
|
# @api public
|
283
283
|
#
|
284
|
-
# source://parser//lib/parser/ast/processor.rb#
|
284
|
+
# source://parser//lib/parser/ast/processor.rb#260
|
285
285
|
def on_hash_pattern(node); end
|
286
286
|
|
287
287
|
# @api public
|
288
288
|
#
|
289
|
-
# source://parser//lib/parser/ast/processor.rb#
|
289
|
+
# source://parser//lib/parser/ast/processor.rb#225
|
290
290
|
def on_if(node); end
|
291
291
|
|
292
292
|
# @api public
|
293
293
|
#
|
294
|
-
# source://parser//lib/parser/ast/processor.rb#
|
294
|
+
# source://parser//lib/parser/ast/processor.rb#251
|
295
295
|
def on_if_guard(node); end
|
296
296
|
|
297
297
|
# @api public
|
298
298
|
#
|
299
|
-
# source://parser//lib/parser/ast/processor.rb#
|
299
|
+
# source://parser//lib/parser/ast/processor.rb#230
|
300
300
|
def on_iflipflop(node); end
|
301
301
|
|
302
302
|
# @api public
|
303
303
|
#
|
304
|
-
# source://parser//lib/parser/ast/processor.rb#
|
304
|
+
# source://parser//lib/parser/ast/processor.rb#247
|
305
305
|
def on_in_match(node); end
|
306
306
|
|
307
307
|
# @api public
|
308
308
|
#
|
309
|
-
# source://parser//lib/parser/ast/processor.rb#
|
309
|
+
# source://parser//lib/parser/ast/processor.rb#250
|
310
310
|
def on_in_pattern(node); end
|
311
311
|
|
312
312
|
# @api public
|
313
313
|
#
|
314
|
-
# source://parser//lib/parser/ast/processor.rb#
|
314
|
+
# source://parser//lib/parser/ast/processor.rb#192
|
315
315
|
def on_index(node); end
|
316
316
|
|
317
317
|
# @api public
|
318
318
|
#
|
319
|
-
# source://parser//lib/parser/ast/processor.rb#
|
319
|
+
# source://parser//lib/parser/ast/processor.rb#193
|
320
320
|
def on_indexasgn(node); end
|
321
321
|
|
322
322
|
# @api public
|
323
323
|
#
|
324
|
-
# source://parser//lib/parser/ast/processor.rb#
|
324
|
+
# source://parser//lib/parser/ast/processor.rb#26
|
325
325
|
def on_irange(node); end
|
326
326
|
|
327
327
|
# @api public
|
328
328
|
# @private
|
329
329
|
#
|
330
|
-
# source://parser//lib/parser/ast/processor.rb#
|
330
|
+
# source://parser//lib/parser/ast/processor.rb#39
|
331
331
|
def on_ivar(node); end
|
332
332
|
|
333
333
|
# @api public
|
334
334
|
# @private
|
335
335
|
#
|
336
|
-
# source://parser//lib/parser/ast/processor.rb#
|
336
|
+
# source://parser//lib/parser/ast/processor.rb#63
|
337
337
|
def on_ivasgn(node); end
|
338
338
|
|
339
339
|
# @api public
|
340
340
|
# @private
|
341
341
|
#
|
342
|
-
# source://parser//lib/parser/ast/processor.rb#
|
342
|
+
# source://parser//lib/parser/ast/processor.rb#127
|
343
343
|
def on_kwarg(node); end
|
344
344
|
|
345
345
|
# @api public
|
346
346
|
#
|
347
|
-
# source://parser//lib/parser/ast/processor.rb#
|
347
|
+
# source://parser//lib/parser/ast/processor.rb#25
|
348
348
|
def on_kwargs(node); end
|
349
349
|
|
350
350
|
# @api public
|
351
351
|
#
|
352
|
-
# source://parser//lib/parser/ast/processor.rb#
|
352
|
+
# source://parser//lib/parser/ast/processor.rb#241
|
353
353
|
def on_kwbegin(node); end
|
354
354
|
|
355
355
|
# @api public
|
356
356
|
# @private
|
357
357
|
#
|
358
|
-
# source://parser//lib/parser/ast/processor.rb#
|
358
|
+
# source://parser//lib/parser/ast/processor.rb#128
|
359
359
|
def on_kwoptarg(node); end
|
360
360
|
|
361
361
|
# @api public
|
362
362
|
# @private
|
363
363
|
#
|
364
|
-
# source://parser//lib/parser/ast/processor.rb#
|
364
|
+
# source://parser//lib/parser/ast/processor.rb#129
|
365
365
|
def on_kwrestarg(node); end
|
366
366
|
|
367
367
|
# @api public
|
368
368
|
#
|
369
|
-
# source://parser//lib/parser/ast/processor.rb#
|
369
|
+
# source://parser//lib/parser/ast/processor.rb#21
|
370
370
|
def on_kwsplat(node); end
|
371
371
|
|
372
372
|
# @api public
|
373
373
|
#
|
374
|
-
# source://parser//lib/parser/ast/processor.rb#
|
374
|
+
# source://parser//lib/parser/ast/processor.rb#196
|
375
375
|
def on_lambda(node); end
|
376
376
|
|
377
377
|
# @api public
|
378
378
|
# @private
|
379
379
|
#
|
380
|
-
# source://parser//lib/parser/ast/processor.rb#
|
380
|
+
# source://parser//lib/parser/ast/processor.rb#38
|
381
381
|
def on_lvar(node); end
|
382
382
|
|
383
383
|
# @api public
|
384
384
|
# @private
|
385
385
|
#
|
386
|
-
# source://parser//lib/parser/ast/processor.rb#
|
386
|
+
# source://parser//lib/parser/ast/processor.rb#62
|
387
387
|
def on_lvasgn(node); end
|
388
388
|
|
389
389
|
# @api public
|
390
390
|
#
|
391
|
-
# source://parser//lib/parser/ast/processor.rb#
|
391
|
+
# source://parser//lib/parser/ast/processor.rb#79
|
392
392
|
def on_masgn(node); end
|
393
393
|
|
394
394
|
# @api public
|
395
395
|
#
|
396
|
-
# source://parser//lib/parser/ast/processor.rb#
|
396
|
+
# source://parser//lib/parser/ast/processor.rb#256
|
397
397
|
def on_match_alt(node); end
|
398
398
|
|
399
399
|
# @api public
|
400
400
|
#
|
401
|
-
# source://parser//lib/parser/ast/processor.rb#
|
401
|
+
# source://parser//lib/parser/ast/processor.rb#257
|
402
402
|
def on_match_as(node); end
|
403
403
|
|
404
404
|
# @api public
|
405
405
|
#
|
406
|
-
# source://parser//lib/parser/ast/processor.rb#
|
406
|
+
# source://parser//lib/parser/ast/processor.rb#233
|
407
407
|
def on_match_current_line(node); end
|
408
408
|
|
409
409
|
# @api public
|
410
410
|
#
|
411
|
-
# source://parser//lib/parser/ast/processor.rb#
|
411
|
+
# source://parser//lib/parser/ast/processor.rb#248
|
412
412
|
def on_match_pattern(node); end
|
413
413
|
|
414
414
|
# @api public
|
415
415
|
#
|
416
|
-
# source://parser//lib/parser/ast/processor.rb#
|
416
|
+
# source://parser//lib/parser/ast/processor.rb#249
|
417
417
|
def on_match_pattern_p(node); end
|
418
418
|
|
419
419
|
# @api public
|
420
420
|
#
|
421
|
-
# source://parser//lib/parser/ast/processor.rb#
|
421
|
+
# source://parser//lib/parser/ast/processor.rb#254
|
422
422
|
def on_match_rest(node); end
|
423
423
|
|
424
424
|
# @api public
|
425
425
|
# @private
|
426
426
|
#
|
427
|
-
# source://parser//lib/parser/ast/processor.rb#
|
427
|
+
# source://parser//lib/parser/ast/processor.rb#253
|
428
428
|
def on_match_var(node); end
|
429
429
|
|
430
430
|
# @api public
|
431
431
|
#
|
432
|
-
# source://parser//lib/parser/ast/processor.rb#
|
432
|
+
# source://parser//lib/parser/ast/processor.rb#234
|
433
433
|
def on_match_with_lvasgn(node); end
|
434
434
|
|
435
435
|
# @api public
|
436
436
|
#
|
437
|
-
# source://parser//lib/parser/ast/processor.rb#
|
437
|
+
# source://parser//lib/parser/ast/processor.rb#78
|
438
438
|
def on_mlhs(node); end
|
439
439
|
|
440
440
|
# @api public
|
441
441
|
#
|
442
|
-
# source://parser//lib/parser/ast/processor.rb#
|
442
|
+
# source://parser//lib/parser/ast/processor.rb#156
|
443
443
|
def on_module(node); end
|
444
444
|
|
445
445
|
# @api public
|
446
446
|
#
|
447
|
-
# source://parser//lib/parser/ast/processor.rb#
|
447
|
+
# source://parser//lib/parser/ast/processor.rb#214
|
448
448
|
def on_next(node); end
|
449
449
|
|
450
450
|
# @api public
|
451
451
|
#
|
452
|
-
# source://parser//lib/parser/ast/processor.rb#
|
452
|
+
# source://parser//lib/parser/ast/processor.rb#221
|
453
453
|
def on_not(node); end
|
454
454
|
|
455
455
|
# @api public
|
456
456
|
# @private
|
457
457
|
#
|
458
|
-
# source://parser//lib/parser/ast/processor.rb#
|
458
|
+
# source://parser//lib/parser/ast/processor.rb#43
|
459
459
|
def on_nth_ref(node); end
|
460
460
|
|
461
461
|
# @api public
|
@@ -471,37 +471,37 @@ class Parser::AST::Processor
|
|
471
471
|
# @api public
|
472
472
|
# @private
|
473
473
|
#
|
474
|
-
# source://parser//lib/parser/ast/processor.rb#
|
474
|
+
# source://parser//lib/parser/ast/processor.rb#123
|
475
475
|
def on_optarg(node); end
|
476
476
|
|
477
477
|
# @api public
|
478
478
|
#
|
479
|
-
# source://parser//lib/parser/ast/processor.rb#
|
479
|
+
# source://parser//lib/parser/ast/processor.rb#223
|
480
480
|
def on_or(node); end
|
481
481
|
|
482
482
|
# @api public
|
483
483
|
#
|
484
|
-
# source://parser//lib/parser/ast/processor.rb#
|
484
|
+
# source://parser//lib/parser/ast/processor.rb#68
|
485
485
|
def on_or_asgn(node); end
|
486
486
|
|
487
487
|
# @api public
|
488
488
|
#
|
489
|
-
# source://parser//lib/parser/ast/processor.rb#
|
489
|
+
# source://parser//lib/parser/ast/processor.rb#23
|
490
490
|
def on_pair(node); end
|
491
491
|
|
492
492
|
# @api public
|
493
493
|
#
|
494
|
-
# source://parser//lib/parser/ast/processor.rb#
|
494
|
+
# source://parser//lib/parser/ast/processor.rb#255
|
495
495
|
def on_pin(node); end
|
496
496
|
|
497
497
|
# @api public
|
498
498
|
#
|
499
|
-
# source://parser//lib/parser/ast/processor.rb#
|
499
|
+
# source://parser//lib/parser/ast/processor.rb#244
|
500
500
|
def on_postexe(node); end
|
501
501
|
|
502
502
|
# @api public
|
503
503
|
#
|
504
|
-
# source://parser//lib/parser/ast/processor.rb#
|
504
|
+
# source://parser//lib/parser/ast/processor.rb#243
|
505
505
|
def on_preexe(node); end
|
506
506
|
|
507
507
|
# @api public
|
@@ -511,48 +511,48 @@ class Parser::AST::Processor
|
|
511
511
|
|
512
512
|
# @api public
|
513
513
|
#
|
514
|
-
# source://parser//lib/parser/ast/processor.rb#
|
514
|
+
# source://parser//lib/parser/ast/processor.rb#215
|
515
515
|
def on_redo(node); end
|
516
516
|
|
517
517
|
# @api public
|
518
518
|
#
|
519
|
-
# source://parser//lib/parser/ast/processor.rb#
|
519
|
+
# source://parser//lib/parser/ast/processor.rb#18
|
520
520
|
def on_regexp(node); end
|
521
521
|
|
522
522
|
# @api public
|
523
523
|
#
|
524
|
-
# source://parser//lib/parser/ast/processor.rb#
|
524
|
+
# source://parser//lib/parser/ast/processor.rb#236
|
525
525
|
def on_resbody(node); end
|
526
526
|
|
527
527
|
# @api public
|
528
528
|
#
|
529
|
-
# source://parser//lib/parser/ast/processor.rb#
|
529
|
+
# source://parser//lib/parser/ast/processor.rb#237
|
530
530
|
def on_rescue(node); end
|
531
531
|
|
532
532
|
# @api public
|
533
533
|
# @private
|
534
534
|
#
|
535
|
-
# source://parser//lib/parser/ast/processor.rb#
|
535
|
+
# source://parser//lib/parser/ast/processor.rb#124
|
536
536
|
def on_restarg(node); end
|
537
537
|
|
538
538
|
# @api public
|
539
539
|
#
|
540
|
-
# source://parser//lib/parser/ast/processor.rb#
|
540
|
+
# source://parser//lib/parser/ast/processor.rb#149
|
541
541
|
def on_restarg_expr(node); end
|
542
542
|
|
543
543
|
# @api public
|
544
544
|
#
|
545
|
-
# source://parser//lib/parser/ast/processor.rb#
|
545
|
+
# source://parser//lib/parser/ast/processor.rb#216
|
546
546
|
def on_retry(node); end
|
547
547
|
|
548
548
|
# @api public
|
549
549
|
#
|
550
|
-
# source://parser//lib/parser/ast/processor.rb#
|
550
|
+
# source://parser//lib/parser/ast/processor.rb#212
|
551
551
|
def on_return(node); end
|
552
552
|
|
553
553
|
# @api public
|
554
554
|
#
|
555
|
-
# source://parser//lib/parser/ast/processor.rb#
|
555
|
+
# source://parser//lib/parser/ast/processor.rb#158
|
556
556
|
def on_sclass(node); end
|
557
557
|
|
558
558
|
# @api public
|
@@ -563,37 +563,37 @@ class Parser::AST::Processor
|
|
563
563
|
# @api public
|
564
564
|
# @private
|
565
565
|
#
|
566
|
-
# source://parser//lib/parser/ast/processor.rb#
|
566
|
+
# source://parser//lib/parser/ast/processor.rb#126
|
567
567
|
def on_shadowarg(node); end
|
568
568
|
|
569
569
|
# @api public
|
570
570
|
#
|
571
|
-
# source://parser//lib/parser/ast/processor.rb#
|
571
|
+
# source://parser//lib/parser/ast/processor.rb#20
|
572
572
|
def on_splat(node); end
|
573
573
|
|
574
574
|
# @api public
|
575
575
|
#
|
576
|
-
# source://parser//lib/parser/ast/processor.rb#
|
576
|
+
# source://parser//lib/parser/ast/processor.rb#217
|
577
577
|
def on_super(node); end
|
578
578
|
|
579
579
|
# @api public
|
580
580
|
#
|
581
|
-
# source://parser//lib/parser/ast/processor.rb#
|
581
|
+
# source://parser//lib/parser/ast/processor.rb#178
|
582
582
|
def on_undef(node); end
|
583
583
|
|
584
584
|
# @api public
|
585
585
|
#
|
586
|
-
# source://parser//lib/parser/ast/processor.rb#
|
586
|
+
# source://parser//lib/parser/ast/processor.rb#252
|
587
587
|
def on_unless_guard(node); end
|
588
588
|
|
589
589
|
# @api public
|
590
590
|
#
|
591
|
-
# source://parser//lib/parser/ast/processor.rb#
|
591
|
+
# source://parser//lib/parser/ast/processor.rb#208
|
592
592
|
def on_until(node); end
|
593
593
|
|
594
594
|
# @api public
|
595
595
|
#
|
596
|
-
# source://parser//lib/parser/ast/processor.rb#
|
596
|
+
# source://parser//lib/parser/ast/processor.rb#209
|
597
597
|
def on_until_post(node); end
|
598
598
|
|
599
599
|
# @api public
|
@@ -608,33 +608,33 @@ class Parser::AST::Processor
|
|
608
608
|
|
609
609
|
# @api public
|
610
610
|
#
|
611
|
-
# source://parser//lib/parser/ast/processor.rb#
|
611
|
+
# source://parser//lib/parser/ast/processor.rb#227
|
612
612
|
def on_when(node); end
|
613
613
|
|
614
614
|
# @api public
|
615
615
|
#
|
616
|
-
# source://parser//lib/parser/ast/processor.rb#
|
616
|
+
# source://parser//lib/parser/ast/processor.rb#206
|
617
617
|
def on_while(node); end
|
618
618
|
|
619
619
|
# @api public
|
620
620
|
#
|
621
|
-
# source://parser//lib/parser/ast/processor.rb#
|
621
|
+
# source://parser//lib/parser/ast/processor.rb#207
|
622
622
|
def on_while_post(node); end
|
623
623
|
|
624
624
|
# @api public
|
625
625
|
#
|
626
|
-
# source://parser//lib/parser/ast/processor.rb#
|
626
|
+
# source://parser//lib/parser/ast/processor.rb#19
|
627
627
|
def on_xstr(node); end
|
628
628
|
|
629
629
|
# @api public
|
630
630
|
#
|
631
|
-
# source://parser//lib/parser/ast/processor.rb#
|
631
|
+
# source://parser//lib/parser/ast/processor.rb#218
|
632
632
|
def on_yield(node); end
|
633
633
|
|
634
634
|
# @api public
|
635
635
|
# @private
|
636
636
|
#
|
637
|
-
# source://parser//lib/parser/ast/processor.rb#
|
637
|
+
# source://parser//lib/parser/ast/processor.rb#118
|
638
638
|
def process_argument_node(node); end
|
639
639
|
|
640
640
|
# @api public
|
@@ -645,13 +645,13 @@ class Parser::AST::Processor
|
|
645
645
|
# @api public
|
646
646
|
# @private
|
647
647
|
#
|
648
|
-
# source://parser//lib/parser/ast/processor.rb#
|
648
|
+
# source://parser//lib/parser/ast/processor.rb#58
|
649
649
|
def process_var_asgn_node(node); end
|
650
650
|
|
651
651
|
# @api public
|
652
652
|
# @private
|
653
653
|
#
|
654
|
-
# source://parser//lib/parser/ast/processor.rb#
|
654
|
+
# source://parser//lib/parser/ast/processor.rb#34
|
655
655
|
def process_variable_node(node); end
|
656
656
|
end
|
657
657
|
|
@@ -659,44 +659,44 @@ end
|
|
659
659
|
#
|
660
660
|
# @api public
|
661
661
|
#
|
662
|
-
# source://parser//lib/parser/base.rb#
|
662
|
+
# source://parser//lib/parser/base.rb#19
|
663
663
|
class Parser::Base < ::Racc::Parser
|
664
664
|
# @api public
|
665
665
|
# @param builder [Parser::Builders::Default] The AST builder to use.
|
666
666
|
# @return [Base] a new instance of Base
|
667
667
|
#
|
668
|
-
# source://parser//lib/parser/base.rb#
|
668
|
+
# source://parser//lib/parser/base.rb#129
|
669
669
|
def initialize(builder = T.unsafe(nil)); end
|
670
670
|
|
671
671
|
# @api public
|
672
672
|
#
|
673
|
-
# source://parser//lib/parser/base.rb#
|
673
|
+
# source://parser//lib/parser/base.rb#117
|
674
674
|
def builder; end
|
675
675
|
|
676
676
|
# @api public
|
677
677
|
#
|
678
|
-
# source://parser//lib/parser/base.rb#
|
678
|
+
# source://parser//lib/parser/base.rb#120
|
679
679
|
def context; end
|
680
680
|
|
681
681
|
# @api public
|
682
682
|
#
|
683
|
-
# source://parser//lib/parser/base.rb#
|
683
|
+
# source://parser//lib/parser/base.rb#122
|
684
684
|
def current_arg_stack; end
|
685
685
|
|
686
686
|
# @api public
|
687
687
|
# @return [Parser::Diagnostic::Engine]
|
688
688
|
#
|
689
|
-
# source://parser//lib/parser/base.rb#
|
689
|
+
# source://parser//lib/parser/base.rb#116
|
690
690
|
def diagnostics; end
|
691
691
|
|
692
692
|
# @api public
|
693
693
|
#
|
694
|
-
# source://parser//lib/parser/base.rb#
|
694
|
+
# source://parser//lib/parser/base.rb#115
|
695
695
|
def lexer; end
|
696
696
|
|
697
697
|
# @api public
|
698
698
|
#
|
699
|
-
# source://parser//lib/parser/base.rb#
|
699
|
+
# source://parser//lib/parser/base.rb#121
|
700
700
|
def max_numparam_stack; end
|
701
701
|
|
702
702
|
# Parses a source buffer and returns the AST, or `nil` in case of a non fatal error.
|
@@ -705,7 +705,7 @@ class Parser::Base < ::Racc::Parser
|
|
705
705
|
# @param source_buffer [Parser::Source::Buffer] The source buffer to parse.
|
706
706
|
# @return [Parser::AST::Node, nil]
|
707
707
|
#
|
708
|
-
# source://parser//lib/parser/base.rb#
|
708
|
+
# source://parser//lib/parser/base.rb#189
|
709
709
|
def parse(source_buffer); end
|
710
710
|
|
711
711
|
# Parses a source buffer and returns the AST and the source code comments.
|
@@ -715,35 +715,35 @@ class Parser::Base < ::Racc::Parser
|
|
715
715
|
# @see #parse
|
716
716
|
# @see Parser::Source::Comment#associate
|
717
717
|
#
|
718
|
-
# source://parser//lib/parser/base.rb#
|
718
|
+
# source://parser//lib/parser/base.rb#207
|
719
719
|
def parse_with_comments(source_buffer); end
|
720
720
|
|
721
721
|
# @api public
|
722
722
|
#
|
723
|
-
# source://parser//lib/parser/base.rb#
|
723
|
+
# source://parser//lib/parser/base.rb#124
|
724
724
|
def pattern_hash_keys; end
|
725
725
|
|
726
726
|
# @api public
|
727
727
|
#
|
728
|
-
# source://parser//lib/parser/base.rb#
|
728
|
+
# source://parser//lib/parser/base.rb#123
|
729
729
|
def pattern_variables; end
|
730
730
|
|
731
731
|
# Resets the state of the parser.
|
732
732
|
#
|
733
733
|
# @api public
|
734
734
|
#
|
735
|
-
# source://parser//lib/parser/base.rb#
|
735
|
+
# source://parser//lib/parser/base.rb#170
|
736
736
|
def reset; end
|
737
737
|
|
738
738
|
# @api public
|
739
739
|
#
|
740
|
-
# source://parser//lib/parser/base.rb#
|
740
|
+
# source://parser//lib/parser/base.rb#119
|
741
741
|
def source_buffer; end
|
742
742
|
|
743
743
|
# @api public
|
744
744
|
# @return [Parser::StaticEnvironment]
|
745
745
|
#
|
746
|
-
# source://parser//lib/parser/base.rb#
|
746
|
+
# source://parser//lib/parser/base.rb#118
|
747
747
|
def static_env; end
|
748
748
|
|
749
749
|
# Parses a source buffer and returns the AST, the source code comments,
|
@@ -767,36 +767,36 @@ class Parser::Base < ::Racc::Parser
|
|
767
767
|
# @param recover [Boolean] If true, recover from syntax errors. False by default.
|
768
768
|
# @return [Array]
|
769
769
|
#
|
770
|
-
# source://parser//lib/parser/base.rb#
|
770
|
+
# source://parser//lib/parser/base.rb#236
|
771
771
|
def tokenize(source_buffer, recover = T.unsafe(nil)); end
|
772
772
|
|
773
773
|
private
|
774
774
|
|
775
775
|
# @api public
|
776
776
|
#
|
777
|
-
# source://parser//lib/parser/base.rb#
|
777
|
+
# source://parser//lib/parser/base.rb#260
|
778
778
|
def check_kwarg_name(name_t); end
|
779
779
|
|
780
780
|
# @api public
|
781
781
|
#
|
782
|
-
# source://parser//lib/parser/base.rb#
|
782
|
+
# source://parser//lib/parser/base.rb#269
|
783
783
|
def diagnostic(level, reason, arguments, location_t, highlights_ts = T.unsafe(nil)); end
|
784
784
|
|
785
785
|
# @api public
|
786
786
|
#
|
787
|
-
# source://parser//lib/parser/base.rb#
|
787
|
+
# source://parser//lib/parser/base.rb#254
|
788
788
|
def next_token; end
|
789
789
|
|
790
790
|
# @api public
|
791
791
|
#
|
792
|
-
# source://parser//lib/parser/base.rb#
|
792
|
+
# source://parser//lib/parser/base.rb#285
|
793
793
|
def on_error(error_token_id, error_value, value_stack); end
|
794
794
|
|
795
795
|
class << self
|
796
796
|
# @api public
|
797
797
|
# @return [Parser::Base] parser with the default options set.
|
798
798
|
#
|
799
|
-
# source://parser//lib/parser/base.rb#
|
799
|
+
# source://parser//lib/parser/base.rb#87
|
800
800
|
def default_parser; end
|
801
801
|
|
802
802
|
# Parses a string of Ruby code and returns the AST. If the source
|
@@ -811,7 +811,7 @@ class Parser::Base < ::Racc::Parser
|
|
811
811
|
# @param line [Numeric] The initial line number.
|
812
812
|
# @return [Parser::AST::Node]
|
813
813
|
#
|
814
|
-
# source://parser//lib/parser/base.rb#
|
814
|
+
# source://parser//lib/parser/base.rb#33
|
815
815
|
def parse(string, file = T.unsafe(nil), line = T.unsafe(nil)); end
|
816
816
|
|
817
817
|
# Parses Ruby source code by reading it from a file. If the source
|
@@ -823,7 +823,7 @@ class Parser::Base < ::Racc::Parser
|
|
823
823
|
# @return [Parser::AST::Node]
|
824
824
|
# @see #parse
|
825
825
|
#
|
826
|
-
# source://parser//lib/parser/base.rb#
|
826
|
+
# source://parser//lib/parser/base.rb#67
|
827
827
|
def parse_file(filename); end
|
828
828
|
|
829
829
|
# Parses Ruby source code by reading it from a file and returns the AST and
|
@@ -835,7 +835,7 @@ class Parser::Base < ::Racc::Parser
|
|
835
835
|
# @return [Array]
|
836
836
|
# @see #parse
|
837
837
|
#
|
838
|
-
# source://parser//lib/parser/base.rb#
|
838
|
+
# source://parser//lib/parser/base.rb#80
|
839
839
|
def parse_file_with_comments(filename); end
|
840
840
|
|
841
841
|
# Parses a string of Ruby code and returns the AST and comments. If the
|
@@ -850,14 +850,14 @@ class Parser::Base < ::Racc::Parser
|
|
850
850
|
# @param line [Numeric] The initial line number.
|
851
851
|
# @return [Array]
|
852
852
|
#
|
853
|
-
# source://parser//lib/parser/base.rb#
|
853
|
+
# source://parser//lib/parser/base.rb#52
|
854
854
|
def parse_with_comments(string, file = T.unsafe(nil), line = T.unsafe(nil)); end
|
855
855
|
|
856
856
|
private
|
857
857
|
|
858
858
|
# @api public
|
859
859
|
#
|
860
|
-
# source://parser//lib/parser/base.rb#
|
860
|
+
# source://parser//lib/parser/base.rb#100
|
861
861
|
def setup_source_buffer(file, line, string, encoding); end
|
862
862
|
end
|
863
863
|
end
|
@@ -899,7 +899,7 @@ class Parser::Builders::Default
|
|
899
899
|
# source://parser//lib/parser/builders/default.rb#440
|
900
900
|
def array(begin_t, elements, end_t); end
|
901
901
|
|
902
|
-
# source://parser//lib/parser/builders/default.rb#
|
902
|
+
# source://parser//lib/parser/builders/default.rb#1598
|
903
903
|
def array_pattern(lbrack_t, elements, rbrack_t); end
|
904
904
|
|
905
905
|
# source://parser//lib/parser/builders/default.rb#767
|
@@ -911,28 +911,28 @@ class Parser::Builders::Default
|
|
911
911
|
# source://parser//lib/parser/builders/default.rb#540
|
912
912
|
def associate(begin_t, pairs, end_t); end
|
913
913
|
|
914
|
-
# source://parser//lib/parser/builders/default.rb#
|
914
|
+
# source://parser//lib/parser/builders/default.rb#1175
|
915
915
|
def attr_asgn(receiver, dot_t, selector_t); end
|
916
916
|
|
917
917
|
# source://parser//lib/parser/builders/default.rb#612
|
918
918
|
def back_ref(token); end
|
919
919
|
|
920
|
-
# source://parser//lib/parser/builders/default.rb#
|
920
|
+
# source://parser//lib/parser/builders/default.rb#1443
|
921
921
|
def begin(begin_t, body, end_t); end
|
922
922
|
|
923
|
-
# source://parser//lib/parser/builders/default.rb#
|
923
|
+
# source://parser//lib/parser/builders/default.rb#1385
|
924
924
|
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
|
925
925
|
|
926
|
-
# source://parser//lib/parser/builders/default.rb#
|
926
|
+
# source://parser//lib/parser/builders/default.rb#1461
|
927
927
|
def begin_keyword(begin_t, body, end_t); end
|
928
928
|
|
929
|
-
# source://parser//lib/parser/builders/default.rb#
|
929
|
+
# source://parser//lib/parser/builders/default.rb#1213
|
930
930
|
def binary_op(receiver, operator_t, arg); end
|
931
931
|
|
932
932
|
# source://parser//lib/parser/builders/default.rb#1122
|
933
933
|
def block(method_call, begin_t, args, body, end_t); end
|
934
934
|
|
935
|
-
# source://parser//lib/parser/builders/default.rb#
|
935
|
+
# source://parser//lib/parser/builders/default.rb#1161
|
936
936
|
def block_pass(amper_t, arg); end
|
937
937
|
|
938
938
|
# source://parser//lib/parser/builders/default.rb#982
|
@@ -950,10 +950,10 @@ class Parser::Builders::Default
|
|
950
950
|
# source://parser//lib/parser/builders/default.rb#1068
|
951
951
|
def call_type_for_dot(dot_t); end
|
952
952
|
|
953
|
-
# source://parser//lib/parser/builders/default.rb#
|
953
|
+
# source://parser//lib/parser/builders/default.rb#1318
|
954
954
|
def case(case_t, expr, when_bodies, else_t, else_body, end_t); end
|
955
955
|
|
956
|
-
# source://parser//lib/parser/builders/default.rb#
|
956
|
+
# source://parser//lib/parser/builders/default.rb#1481
|
957
957
|
def case_match(case_t, expr, in_bodies, else_t, else_body, end_t); end
|
958
958
|
|
959
959
|
# source://parser//lib/parser/builders/default.rb#343
|
@@ -962,13 +962,13 @@ class Parser::Builders::Default
|
|
962
962
|
# source://parser//lib/parser/builders/default.rb#284
|
963
963
|
def complex(complex_t); end
|
964
964
|
|
965
|
-
# source://parser//lib/parser/builders/default.rb#
|
965
|
+
# source://parser//lib/parser/builders/default.rb#1431
|
966
966
|
def compstmt(statements); end
|
967
967
|
|
968
|
-
# source://parser//lib/parser/builders/default.rb#
|
968
|
+
# source://parser//lib/parser/builders/default.rb#1294
|
969
969
|
def condition(cond_t, cond, then_t, if_true, else_t, if_false, end_t); end
|
970
970
|
|
971
|
-
# source://parser//lib/parser/builders/default.rb#
|
971
|
+
# source://parser//lib/parser/builders/default.rb#1300
|
972
972
|
def condition_mod(if_true, if_false, cond_t, cond); end
|
973
973
|
|
974
974
|
# source://parser//lib/parser/builders/default.rb#686
|
@@ -983,7 +983,7 @@ class Parser::Builders::Default
|
|
983
983
|
# source://parser//lib/parser/builders/default.rb#763
|
984
984
|
def const_op_assignable(node); end
|
985
985
|
|
986
|
-
# source://parser//lib/parser/builders/default.rb#
|
986
|
+
# source://parser//lib/parser/builders/default.rb#1628
|
987
987
|
def const_pattern(const, ldelim_t, pattern, rdelim_t); end
|
988
988
|
|
989
989
|
# source://parser//lib/parser/builders/default.rb#607
|
@@ -1022,13 +1022,13 @@ class Parser::Builders::Default
|
|
1022
1022
|
# source://parser//lib/parser/builders/default.rb#265
|
1023
1023
|
def false(false_t); end
|
1024
1024
|
|
1025
|
-
# source://parser//lib/parser/builders/default.rb#
|
1025
|
+
# source://parser//lib/parser/builders/default.rb#1619
|
1026
1026
|
def find_pattern(lbrack_t, elements, rbrack_t); end
|
1027
1027
|
|
1028
1028
|
# source://parser//lib/parser/builders/default.rb#276
|
1029
1029
|
def float(float_t); end
|
1030
1030
|
|
1031
|
-
# source://parser//lib/parser/builders/default.rb#
|
1031
|
+
# source://parser//lib/parser/builders/default.rb#1339
|
1032
1032
|
def for(for_t, iterator, in_t, iteratee, do_t, body, end_t); end
|
1033
1033
|
|
1034
1034
|
# source://parser//lib/parser/builders/default.rb#913
|
@@ -1049,25 +1049,25 @@ class Parser::Builders::Default
|
|
1049
1049
|
# source://parser//lib/parser/builders/default.rb#596
|
1050
1050
|
def gvar(token); end
|
1051
1051
|
|
1052
|
-
# source://parser//lib/parser/builders/default.rb#
|
1052
|
+
# source://parser//lib/parser/builders/default.rb#1592
|
1053
1053
|
def hash_pattern(lbrace_t, kwargs, rbrace_t); end
|
1054
1054
|
|
1055
1055
|
# source://parser//lib/parser/builders/default.rb#586
|
1056
1056
|
def ident(token); end
|
1057
1057
|
|
1058
|
-
# source://parser//lib/parser/builders/default.rb#
|
1058
|
+
# source://parser//lib/parser/builders/default.rb#1508
|
1059
1059
|
def if_guard(if_t, if_body); end
|
1060
1060
|
|
1061
|
-
# source://parser//lib/parser/builders/default.rb#
|
1061
|
+
# source://parser//lib/parser/builders/default.rb#1487
|
1062
1062
|
def in_match(lhs, in_t, rhs); end
|
1063
1063
|
|
1064
|
-
# source://parser//lib/parser/builders/default.rb#
|
1064
|
+
# source://parser//lib/parser/builders/default.rb#1502
|
1065
1065
|
def in_pattern(in_t, pattern, guard, then_t, body); end
|
1066
1066
|
|
1067
|
-
# source://parser//lib/parser/builders/default.rb#
|
1067
|
+
# source://parser//lib/parser/builders/default.rb#1184
|
1068
1068
|
def index(receiver, lbrack_t, indexes, rbrack_t); end
|
1069
1069
|
|
1070
|
-
# source://parser//lib/parser/builders/default.rb#
|
1070
|
+
# source://parser//lib/parser/builders/default.rb#1198
|
1071
1071
|
def index_asgn(receiver, lbrack_t, indexes, rbrack_t); end
|
1072
1072
|
|
1073
1073
|
# source://parser//lib/parser/builders/default.rb#272
|
@@ -1076,7 +1076,7 @@ class Parser::Builders::Default
|
|
1076
1076
|
# source://parser//lib/parser/builders/default.rb#591
|
1077
1077
|
def ivar(token); end
|
1078
1078
|
|
1079
|
-
# source://parser//lib/parser/builders/default.rb#
|
1079
|
+
# source://parser//lib/parser/builders/default.rb#1347
|
1080
1080
|
def keyword_cmd(type, keyword_t, lparen_t = T.unsafe(nil), args = T.unsafe(nil), rparen_t = T.unsafe(nil)); end
|
1081
1081
|
|
1082
1082
|
# source://parser//lib/parser/builders/default.rb#944
|
@@ -1094,52 +1094,52 @@ class Parser::Builders::Default
|
|
1094
1094
|
# source://parser//lib/parser/builders/default.rb#535
|
1095
1095
|
def kwsplat(dstar_t, arg); end
|
1096
1096
|
|
1097
|
-
# source://parser//lib/parser/builders/default.rb#
|
1097
|
+
# source://parser//lib/parser/builders/default.rb#1287
|
1098
1098
|
def logical_op(type, lhs, op_t, rhs); end
|
1099
1099
|
|
1100
|
-
# source://parser//lib/parser/builders/default.rb#
|
1100
|
+
# source://parser//lib/parser/builders/default.rb#1325
|
1101
1101
|
def loop(type, keyword_t, cond, do_t, body, end_t); end
|
1102
1102
|
|
1103
|
-
# source://parser//lib/parser/builders/default.rb#
|
1103
|
+
# source://parser//lib/parser/builders/default.rb#1330
|
1104
1104
|
def loop_mod(type, body, keyword_t, cond); end
|
1105
1105
|
|
1106
|
-
# source://parser//lib/parser/builders/default.rb#
|
1106
|
+
# source://parser//lib/parser/builders/default.rb#1642
|
1107
1107
|
def match_alt(left, pipe_t, right); end
|
1108
1108
|
|
1109
|
-
# source://parser//lib/parser/builders/default.rb#
|
1109
|
+
# source://parser//lib/parser/builders/default.rb#1649
|
1110
1110
|
def match_as(value, assoc_t, as); end
|
1111
1111
|
|
1112
|
-
# source://parser//lib/parser/builders/default.rb#
|
1112
|
+
# source://parser//lib/parser/builders/default.rb#1528
|
1113
1113
|
def match_hash_var(name_t); end
|
1114
1114
|
|
1115
|
-
# source://parser//lib/parser/builders/default.rb#
|
1115
|
+
# source://parser//lib/parser/builders/default.rb#1542
|
1116
1116
|
def match_hash_var_from_str(begin_t, strings, end_t); end
|
1117
1117
|
|
1118
|
-
# source://parser//lib/parser/builders/default.rb#
|
1118
|
+
# source://parser//lib/parser/builders/default.rb#1680
|
1119
1119
|
def match_label(label_type, label); end
|
1120
1120
|
|
1121
|
-
# source://parser//lib/parser/builders/default.rb#
|
1121
|
+
# source://parser//lib/parser/builders/default.rb#1656
|
1122
1122
|
def match_nil_pattern(dstar_t, nil_t); end
|
1123
1123
|
|
1124
|
-
# source://parser//lib/parser/builders/default.rb#
|
1124
|
+
# source://parser//lib/parser/builders/default.rb#1235
|
1125
1125
|
def match_op(receiver, match_t, arg); end
|
1126
1126
|
|
1127
|
-
# source://parser//lib/parser/builders/default.rb#
|
1127
|
+
# source://parser//lib/parser/builders/default.rb#1661
|
1128
1128
|
def match_pair(label_type, label, value); end
|
1129
1129
|
|
1130
|
-
# source://parser//lib/parser/builders/default.rb#
|
1130
|
+
# source://parser//lib/parser/builders/default.rb#1492
|
1131
1131
|
def match_pattern(lhs, match_t, rhs); end
|
1132
1132
|
|
1133
|
-
# source://parser//lib/parser/builders/default.rb#
|
1133
|
+
# source://parser//lib/parser/builders/default.rb#1497
|
1134
1134
|
def match_pattern_p(lhs, match_t, rhs); end
|
1135
1135
|
|
1136
|
-
# source://parser//lib/parser/builders/default.rb#
|
1136
|
+
# source://parser//lib/parser/builders/default.rb#1581
|
1137
1137
|
def match_rest(star_t, name_t = T.unsafe(nil)); end
|
1138
1138
|
|
1139
|
-
# source://parser//lib/parser/builders/default.rb#
|
1139
|
+
# source://parser//lib/parser/builders/default.rb#1516
|
1140
1140
|
def match_var(name_t); end
|
1141
1141
|
|
1142
|
-
# source://parser//lib/parser/builders/default.rb#
|
1142
|
+
# source://parser//lib/parser/builders/default.rb#1624
|
1143
1143
|
def match_with_trailing_comma(match, comma_t); end
|
1144
1144
|
|
1145
1145
|
# source://parser//lib/parser/builders/default.rb#805
|
@@ -1151,7 +1151,7 @@ class Parser::Builders::Default
|
|
1151
1151
|
# source://parser//lib/parser/builders/default.rb#255
|
1152
1152
|
def nil(nil_t); end
|
1153
1153
|
|
1154
|
-
# source://parser//lib/parser/builders/default.rb#
|
1154
|
+
# source://parser//lib/parser/builders/default.rb#1263
|
1155
1155
|
def not_op(not_t, begin_t = T.unsafe(nil), receiver = T.unsafe(nil), end_t = T.unsafe(nil)); end
|
1156
1156
|
|
1157
1157
|
# source://parser//lib/parser/builders/default.rb#617
|
@@ -1166,7 +1166,7 @@ class Parser::Builders::Default
|
|
1166
1166
|
# source://parser//lib/parser/builders/default.rb#1052
|
1167
1167
|
def objc_restarg(star_t, name = T.unsafe(nil)); end
|
1168
1168
|
|
1169
|
-
# source://parser//lib/parser/builders/default.rb#
|
1169
|
+
# source://parser//lib/parser/builders/default.rb#1166
|
1170
1170
|
def objc_varargs(pair, rest_of_varargs); end
|
1171
1171
|
|
1172
1172
|
# source://parser//lib/parser/builders/default.rb#774
|
@@ -1196,13 +1196,13 @@ class Parser::Builders::Default
|
|
1196
1196
|
# source://parser//lib/parser/builders/default.rb#225
|
1197
1197
|
def parser=(_arg0); end
|
1198
1198
|
|
1199
|
-
# source://parser//lib/parser/builders/default.rb#
|
1199
|
+
# source://parser//lib/parser/builders/default.rb#1637
|
1200
1200
|
def pin(pin_t, var); end
|
1201
1201
|
|
1202
|
-
# source://parser//lib/parser/builders/default.rb#
|
1202
|
+
# source://parser//lib/parser/builders/default.rb#1370
|
1203
1203
|
def postexe(postexe_t, lbrace_t, compstmt, rbrace_t); end
|
1204
1204
|
|
1205
|
-
# source://parser//lib/parser/builders/default.rb#
|
1205
|
+
# source://parser//lib/parser/builders/default.rb#1365
|
1206
1206
|
def preexe(preexe_t, lbrace_t, compstmt, rbrace_t); end
|
1207
1207
|
|
1208
1208
|
# source://parser//lib/parser/builders/default.rb#992
|
@@ -1223,7 +1223,7 @@ class Parser::Builders::Default
|
|
1223
1223
|
# source://parser//lib/parser/builders/default.rb#417
|
1224
1224
|
def regexp_options(regopt_t); end
|
1225
1225
|
|
1226
|
-
# source://parser//lib/parser/builders/default.rb#
|
1226
|
+
# source://parser//lib/parser/builders/default.rb#1377
|
1227
1227
|
def rescue_body(rescue_t, exc_list, assoc_t, exc_var, then_t, compound_stmt); end
|
1228
1228
|
|
1229
1229
|
# source://parser//lib/parser/builders/default.rb#933
|
@@ -1262,7 +1262,7 @@ class Parser::Builders::Default
|
|
1262
1262
|
# source://parser//lib/parser/builders/default.rb#469
|
1263
1263
|
def symbols_compose(begin_t, parts, end_t); end
|
1264
1264
|
|
1265
|
-
# source://parser//lib/parser/builders/default.rb#
|
1265
|
+
# source://parser//lib/parser/builders/default.rb#1305
|
1266
1266
|
def ternary(cond, question_t, if_true, colon_t, if_false); end
|
1267
1267
|
|
1268
1268
|
# source://parser//lib/parser/builders/default.rb#260
|
@@ -1271,16 +1271,16 @@ class Parser::Builders::Default
|
|
1271
1271
|
# source://parser//lib/parser/builders/default.rb#294
|
1272
1272
|
def unary_num(unary_t, numeric); end
|
1273
1273
|
|
1274
|
-
# source://parser//lib/parser/builders/default.rb#
|
1274
|
+
# source://parser//lib/parser/builders/default.rb#1251
|
1275
1275
|
def unary_op(op_t, receiver); end
|
1276
1276
|
|
1277
1277
|
# source://parser//lib/parser/builders/default.rb#873
|
1278
1278
|
def undef_method(undef_t, names); end
|
1279
1279
|
|
1280
|
-
# source://parser//lib/parser/builders/default.rb#
|
1280
|
+
# source://parser//lib/parser/builders/default.rb#1512
|
1281
1281
|
def unless_guard(unless_t, unless_body); end
|
1282
1282
|
|
1283
|
-
# source://parser//lib/parser/builders/default.rb#
|
1283
|
+
# source://parser//lib/parser/builders/default.rb#1312
|
1284
1284
|
def when(when_t, patterns, then_t, body); end
|
1285
1285
|
|
1286
1286
|
# source://parser//lib/parser/builders/default.rb#455
|
@@ -1294,184 +1294,184 @@ class Parser::Builders::Default
|
|
1294
1294
|
|
1295
1295
|
private
|
1296
1296
|
|
1297
|
-
# source://parser//lib/parser/builders/default.rb#
|
1297
|
+
# source://parser//lib/parser/builders/default.rb#1829
|
1298
1298
|
def arg_name_collides?(this_name, that_name); end
|
1299
1299
|
|
1300
|
-
# source://parser//lib/parser/builders/default.rb#
|
1300
|
+
# source://parser//lib/parser/builders/default.rb#2025
|
1301
1301
|
def arg_prefix_map(op_t, name_t = T.unsafe(nil)); end
|
1302
1302
|
|
1303
|
-
# source://parser//lib/parser/builders/default.rb#
|
1303
|
+
# source://parser//lib/parser/builders/default.rb#1999
|
1304
1304
|
def binary_op_map(left_e, op_t, right_e); end
|
1305
1305
|
|
1306
|
-
# source://parser//lib/parser/builders/default.rb#
|
1306
|
+
# source://parser//lib/parser/builders/default.rb#2127
|
1307
1307
|
def block_map(receiver_l, begin_t, end_t); end
|
1308
1308
|
|
1309
|
-
# source://parser//lib/parser/builders/default.rb#
|
1309
|
+
# source://parser//lib/parser/builders/default.rb#1804
|
1310
1310
|
def check_assignment_to_numparam(name, loc); end
|
1311
1311
|
|
1312
|
-
# source://parser//lib/parser/builders/default.rb#
|
1312
|
+
# source://parser//lib/parser/builders/default.rb#1696
|
1313
1313
|
def check_condition(cond); end
|
1314
1314
|
|
1315
|
-
# source://parser//lib/parser/builders/default.rb#
|
1315
|
+
# source://parser//lib/parser/builders/default.rb#1775
|
1316
1316
|
def check_duplicate_arg(this_arg, map = T.unsafe(nil)); end
|
1317
1317
|
|
1318
|
-
# source://parser//lib/parser/builders/default.rb#
|
1318
|
+
# source://parser//lib/parser/builders/default.rb#1750
|
1319
1319
|
def check_duplicate_args(args, map = T.unsafe(nil)); end
|
1320
1320
|
|
1321
|
-
# source://parser//lib/parser/builders/default.rb#
|
1321
|
+
# source://parser//lib/parser/builders/default.rb#1862
|
1322
1322
|
def check_duplicate_pattern_key(name, loc); end
|
1323
1323
|
|
1324
|
-
# source://parser//lib/parser/builders/default.rb#
|
1324
|
+
# source://parser//lib/parser/builders/default.rb#1852
|
1325
1325
|
def check_duplicate_pattern_variable(name, loc); end
|
1326
1326
|
|
1327
|
-
# source://parser//lib/parser/builders/default.rb#
|
1327
|
+
# source://parser//lib/parser/builders/default.rb#1844
|
1328
1328
|
def check_lvar_name(name, loc); end
|
1329
1329
|
|
1330
|
-
# source://parser//lib/parser/builders/default.rb#
|
1330
|
+
# source://parser//lib/parser/builders/default.rb#1819
|
1331
1331
|
def check_reserved_for_numparam(name, loc); end
|
1332
1332
|
|
1333
|
-
# source://parser//lib/parser/builders/default.rb#
|
1333
|
+
# source://parser//lib/parser/builders/default.rb#2293
|
1334
1334
|
def collapse_string_parts?(parts); end
|
1335
1335
|
|
1336
|
-
# source://parser//lib/parser/builders/default.rb#
|
1336
|
+
# source://parser//lib/parser/builders/default.rb#1950
|
1337
1337
|
def collection_map(begin_t, parts, end_t); end
|
1338
1338
|
|
1339
|
-
# source://parser//lib/parser/builders/default.rb#
|
1339
|
+
# source://parser//lib/parser/builders/default.rb#2154
|
1340
1340
|
def condition_map(keyword_t, cond_e, begin_t, body_e, else_t, else_e, end_t); end
|
1341
1341
|
|
1342
|
-
# source://parser//lib/parser/builders/default.rb#
|
1342
|
+
# source://parser//lib/parser/builders/default.rb#1985
|
1343
1343
|
def constant_map(scope, colon2_t, name_t); end
|
1344
1344
|
|
1345
|
-
# source://parser//lib/parser/builders/default.rb#
|
1345
|
+
# source://parser//lib/parser/builders/default.rb#2058
|
1346
1346
|
def definition_map(keyword_t, operator_t, name_t, end_t); end
|
1347
1347
|
|
1348
|
-
# source://parser//lib/parser/builders/default.rb#
|
1348
|
+
# source://parser//lib/parser/builders/default.rb#1891
|
1349
1349
|
def delimited_string_map(string_t); end
|
1350
1350
|
|
1351
|
-
# source://parser//lib/parser/builders/default.rb#
|
1351
|
+
# source://parser//lib/parser/builders/default.rb#2315
|
1352
1352
|
def diagnostic(type, reason, arguments, location, highlights = T.unsafe(nil)); end
|
1353
1353
|
|
1354
|
-
# source://parser//lib/parser/builders/default.rb#
|
1354
|
+
# source://parser//lib/parser/builders/default.rb#2198
|
1355
1355
|
def eh_keyword_map(compstmt_e, keyword_t, body_es, else_t, else_e); end
|
1356
1356
|
|
1357
|
-
# source://parser//lib/parser/builders/default.rb#
|
1357
|
+
# source://parser//lib/parser/builders/default.rb#2064
|
1358
1358
|
def endless_definition_map(keyword_t, operator_t, name_t, assignment_t, body_e); end
|
1359
1359
|
|
1360
|
-
# source://parser//lib/parser/builders/default.rb#
|
1360
|
+
# source://parser//lib/parser/builders/default.rb#1946
|
1361
1361
|
def expr_map(loc); end
|
1362
1362
|
|
1363
|
-
# source://parser//lib/parser/builders/default.rb#
|
1363
|
+
# source://parser//lib/parser/builders/default.rb#2179
|
1364
1364
|
def for_map(keyword_t, in_t, begin_t, end_t); end
|
1365
1365
|
|
1366
|
-
# source://parser//lib/parser/builders/default.rb#
|
1366
|
+
# source://parser//lib/parser/builders/default.rb#2226
|
1367
1367
|
def guard_map(keyword_t, guard_body_e); end
|
1368
1368
|
|
1369
|
-
# source://parser//lib/parser/builders/default.rb#
|
1369
|
+
# source://parser//lib/parser/builders/default.rb#2116
|
1370
1370
|
def index_map(receiver_e, lbrack_t, rbrack_t); end
|
1371
1371
|
|
1372
|
-
# source://parser//lib/parser/builders/default.rb#
|
1372
|
+
# source://parser//lib/parser/builders/default.rb#1882
|
1373
1373
|
def join_exprs(left_expr, right_expr); end
|
1374
1374
|
|
1375
|
-
# source://parser//lib/parser/builders/default.rb#
|
1375
|
+
# source://parser//lib/parser/builders/default.rb#2132
|
1376
1376
|
def keyword_map(keyword_t, begin_t, args, end_t); end
|
1377
1377
|
|
1378
|
-
# source://parser//lib/parser/builders/default.rb#
|
1378
|
+
# source://parser//lib/parser/builders/default.rb#2149
|
1379
1379
|
def keyword_mod_map(pre_e, keyword_t, post_e); end
|
1380
1380
|
|
1381
|
-
# source://parser//lib/parser/builders/default.rb#
|
1381
|
+
# source://parser//lib/parser/builders/default.rb#2035
|
1382
1382
|
def kwarg_map(name_t, value_e = T.unsafe(nil)); end
|
1383
1383
|
|
1384
|
-
# source://parser//lib/parser/builders/default.rb#
|
1384
|
+
# source://parser//lib/parser/builders/default.rb#2346
|
1385
1385
|
def kwargs?(node); end
|
1386
1386
|
|
1387
|
-
# source://parser//lib/parser/builders/default.rb#
|
1387
|
+
# source://parser//lib/parser/builders/default.rb#2310
|
1388
1388
|
def loc(token); end
|
1389
1389
|
|
1390
|
-
# source://parser//lib/parser/builders/default.rb#
|
1390
|
+
# source://parser//lib/parser/builders/default.rb#2048
|
1391
1391
|
def module_definition_map(keyword_t, name_e, operator_t, end_t); end
|
1392
1392
|
|
1393
|
-
# source://parser//lib/parser/builders/default.rb#
|
1393
|
+
# source://parser//lib/parser/builders/default.rb#1874
|
1394
1394
|
def n(type, children, source_map); end
|
1395
1395
|
|
1396
|
-
# source://parser//lib/parser/builders/default.rb#
|
1396
|
+
# source://parser//lib/parser/builders/default.rb#1878
|
1397
1397
|
def n0(type, source_map); end
|
1398
1398
|
|
1399
1399
|
# source://parser//lib/parser/builders/default.rb#288
|
1400
1400
|
def numeric(kind, token); end
|
1401
1401
|
|
1402
|
-
# source://parser//lib/parser/builders/default.rb#
|
1402
|
+
# source://parser//lib/parser/builders/default.rb#1916
|
1403
1403
|
def pair_keyword_map(key_t, value_e); end
|
1404
1404
|
|
1405
|
-
# source://parser//lib/parser/builders/default.rb#
|
1405
|
+
# source://parser//lib/parser/builders/default.rb#1931
|
1406
1406
|
def pair_quoted_map(begin_t, end_t, value_e); end
|
1407
1407
|
|
1408
|
-
# source://parser//lib/parser/builders/default.rb#
|
1408
|
+
# source://parser//lib/parser/builders/default.rb#1902
|
1409
1409
|
def prefix_string_map(symbol); end
|
1410
1410
|
|
1411
|
-
# source://parser//lib/parser/builders/default.rb#
|
1411
|
+
# source://parser//lib/parser/builders/default.rb#2013
|
1412
1412
|
def range_map(start_e, op_t, end_e); end
|
1413
1413
|
|
1414
|
-
# source://parser//lib/parser/builders/default.rb#
|
1414
|
+
# source://parser//lib/parser/builders/default.rb#1980
|
1415
1415
|
def regexp_map(begin_t, end_t, options_e); end
|
1416
1416
|
|
1417
|
-
# source://parser//lib/parser/builders/default.rb#
|
1417
|
+
# source://parser//lib/parser/builders/default.rb#2185
|
1418
1418
|
def rescue_body_map(keyword_t, exc_list_e, assoc_t, exc_var_e, then_t, compstmt_e); end
|
1419
1419
|
|
1420
|
-
# source://parser//lib/parser/builders/default.rb#
|
1420
|
+
# source://parser//lib/parser/builders/default.rb#2336
|
1421
1421
|
def rewrite_hash_args_to_kwargs(args); end
|
1422
1422
|
|
1423
|
-
# source://parser//lib/parser/builders/default.rb#
|
1423
|
+
# source://parser//lib/parser/builders/default.rb#2098
|
1424
1424
|
def send_binary_op_map(lhs_e, selector_t, rhs_e); end
|
1425
1425
|
|
1426
|
-
# source://parser//lib/parser/builders/default.rb#
|
1426
|
+
# source://parser//lib/parser/builders/default.rb#2121
|
1427
1427
|
def send_index_map(receiver_e, lbrack_t, rbrack_t); end
|
1428
1428
|
|
1429
|
-
# source://parser//lib/parser/builders/default.rb#
|
1429
|
+
# source://parser//lib/parser/builders/default.rb#2072
|
1430
1430
|
def send_map(receiver_e, dot_t, selector_t, begin_t = T.unsafe(nil), args = T.unsafe(nil), end_t = T.unsafe(nil)); end
|
1431
1431
|
|
1432
|
-
# source://parser//lib/parser/builders/default.rb#
|
1432
|
+
# source://parser//lib/parser/builders/default.rb#2104
|
1433
1433
|
def send_unary_op_map(selector_t, arg_e); end
|
1434
1434
|
|
1435
|
-
# source://parser//lib/parser/builders/default.rb#
|
1435
|
+
# source://parser//lib/parser/builders/default.rb#2257
|
1436
1436
|
def static_regexp(parts, options); end
|
1437
1437
|
|
1438
|
-
# source://parser//lib/parser/builders/default.rb#
|
1438
|
+
# source://parser//lib/parser/builders/default.rb#2282
|
1439
1439
|
def static_regexp_node(node); end
|
1440
1440
|
|
1441
|
-
# source://parser//lib/parser/builders/default.rb#
|
1441
|
+
# source://parser//lib/parser/builders/default.rb#2240
|
1442
1442
|
def static_string(nodes); end
|
1443
1443
|
|
1444
|
-
# source://parser//lib/parser/builders/default.rb#
|
1444
|
+
# source://parser//lib/parser/builders/default.rb#1966
|
1445
1445
|
def string_map(begin_t, parts, end_t); end
|
1446
1446
|
|
1447
|
-
# source://parser//lib/parser/builders/default.rb#
|
1447
|
+
# source://parser//lib/parser/builders/default.rb#2302
|
1448
1448
|
def string_value(token); end
|
1449
1449
|
|
1450
|
-
# source://parser//lib/parser/builders/default.rb#
|
1450
|
+
# source://parser//lib/parser/builders/default.rb#2174
|
1451
1451
|
def ternary_map(begin_e, question_t, mid_e, colon_t, end_e); end
|
1452
1452
|
|
1453
|
-
# source://parser//lib/parser/builders/default.rb#
|
1453
|
+
# source://parser//lib/parser/builders/default.rb#1887
|
1454
1454
|
def token_map(token); end
|
1455
1455
|
|
1456
|
-
# source://parser//lib/parser/builders/default.rb#
|
1456
|
+
# source://parser//lib/parser/builders/default.rb#2003
|
1457
1457
|
def unary_op_map(op_t, arg_e = T.unsafe(nil)); end
|
1458
1458
|
|
1459
|
-
# source://parser//lib/parser/builders/default.rb#
|
1459
|
+
# source://parser//lib/parser/builders/default.rb#1911
|
1460
1460
|
def unquoted_map(token); end
|
1461
1461
|
|
1462
|
-
# source://parser//lib/parser/builders/default.rb#
|
1462
|
+
# source://parser//lib/parser/builders/default.rb#2324
|
1463
1463
|
def validate_definee(definee); end
|
1464
1464
|
|
1465
|
-
# source://parser//lib/parser/builders/default.rb#
|
1465
|
+
# source://parser//lib/parser/builders/default.rb#1789
|
1466
1466
|
def validate_no_forward_arg_after_restarg(args); end
|
1467
1467
|
|
1468
|
-
# source://parser//lib/parser/builders/default.rb#
|
1468
|
+
# source://parser//lib/parser/builders/default.rb#2298
|
1469
1469
|
def value(token); end
|
1470
1470
|
|
1471
|
-
# source://parser//lib/parser/builders/default.rb#
|
1471
|
+
# source://parser//lib/parser/builders/default.rb#2092
|
1472
1472
|
def var_send_map(variable_e); end
|
1473
1473
|
|
1474
|
-
# source://parser//lib/parser/builders/default.rb#
|
1474
|
+
# source://parser//lib/parser/builders/default.rb#1995
|
1475
1475
|
def variable_map(name_t); end
|
1476
1476
|
|
1477
1477
|
class << self
|
@@ -1555,57 +1555,63 @@ class Parser::ClobberingError < ::RuntimeError; end
|
|
1555
1555
|
class Parser::Context
|
1556
1556
|
# @return [Context] a new instance of Context
|
1557
1557
|
#
|
1558
|
-
# source://parser//lib/parser/context.rb#
|
1558
|
+
# source://parser//lib/parser/context.rb#30
|
1559
1559
|
def initialize; end
|
1560
1560
|
|
1561
|
-
# source://parser//lib/parser/context.rb#
|
1561
|
+
# source://parser//lib/parser/context.rb#45
|
1562
|
+
def cant_return; end
|
1563
|
+
|
1564
|
+
# source://parser//lib/parser/context.rb#45
|
1565
|
+
def cant_return=(_arg0); end
|
1566
|
+
|
1567
|
+
# source://parser//lib/parser/context.rb#45
|
1562
1568
|
def in_argdef; end
|
1563
1569
|
|
1564
|
-
# source://parser//lib/parser/context.rb#
|
1570
|
+
# source://parser//lib/parser/context.rb#45
|
1565
1571
|
def in_argdef=(_arg0); end
|
1566
1572
|
|
1567
|
-
# source://parser//lib/parser/context.rb#
|
1573
|
+
# source://parser//lib/parser/context.rb#45
|
1568
1574
|
def in_block; end
|
1569
1575
|
|
1570
|
-
# source://parser//lib/parser/context.rb#
|
1576
|
+
# source://parser//lib/parser/context.rb#45
|
1571
1577
|
def in_block=(_arg0); end
|
1572
1578
|
|
1573
|
-
# source://parser//lib/parser/context.rb#
|
1579
|
+
# source://parser//lib/parser/context.rb#45
|
1574
1580
|
def in_class; end
|
1575
1581
|
|
1576
|
-
# source://parser//lib/parser/context.rb#
|
1582
|
+
# source://parser//lib/parser/context.rb#45
|
1577
1583
|
def in_class=(_arg0); end
|
1578
1584
|
|
1579
|
-
# source://parser//lib/parser/context.rb#
|
1585
|
+
# source://parser//lib/parser/context.rb#45
|
1580
1586
|
def in_def; end
|
1581
1587
|
|
1582
|
-
# source://parser//lib/parser/context.rb#
|
1588
|
+
# source://parser//lib/parser/context.rb#45
|
1583
1589
|
def in_def=(_arg0); end
|
1584
1590
|
|
1585
|
-
# source://parser//lib/parser/context.rb#
|
1591
|
+
# source://parser//lib/parser/context.rb#45
|
1586
1592
|
def in_defined; end
|
1587
1593
|
|
1588
|
-
# source://parser//lib/parser/context.rb#
|
1594
|
+
# source://parser//lib/parser/context.rb#45
|
1589
1595
|
def in_defined=(_arg0); end
|
1590
1596
|
|
1591
1597
|
# @return [Boolean]
|
1592
1598
|
#
|
1593
|
-
# source://parser//lib/parser/context.rb#
|
1599
|
+
# source://parser//lib/parser/context.rb#47
|
1594
1600
|
def in_dynamic_block?; end
|
1595
1601
|
|
1596
|
-
# source://parser//lib/parser/context.rb#
|
1602
|
+
# source://parser//lib/parser/context.rb#45
|
1597
1603
|
def in_kwarg; end
|
1598
1604
|
|
1599
|
-
# source://parser//lib/parser/context.rb#
|
1605
|
+
# source://parser//lib/parser/context.rb#45
|
1600
1606
|
def in_kwarg=(_arg0); end
|
1601
1607
|
|
1602
|
-
# source://parser//lib/parser/context.rb#
|
1608
|
+
# source://parser//lib/parser/context.rb#45
|
1603
1609
|
def in_lambda; end
|
1604
1610
|
|
1605
|
-
# source://parser//lib/parser/context.rb#
|
1611
|
+
# source://parser//lib/parser/context.rb#45
|
1606
1612
|
def in_lambda=(_arg0); end
|
1607
1613
|
|
1608
|
-
# source://parser//lib/parser/context.rb#
|
1614
|
+
# source://parser//lib/parser/context.rb#34
|
1609
1615
|
def reset; end
|
1610
1616
|
end
|
1611
1617
|
|
@@ -1910,7 +1916,7 @@ class Parser::Lexer
|
|
1910
1916
|
|
1911
1917
|
# Return next token: [type, value].
|
1912
1918
|
#
|
1913
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
1919
|
+
# source://parser//lib/parser/lexer-F1.rb#8419
|
1914
1920
|
def advance; end
|
1915
1921
|
|
1916
1922
|
# Returns the value of attribute cmdarg.
|
@@ -1971,6 +1977,9 @@ class Parser::Lexer
|
|
1971
1977
|
# source://parser//lib/parser/lexer-F1.rb#8248
|
1972
1978
|
def cond_stack; end
|
1973
1979
|
|
1980
|
+
# source://parser//lib/parser/lexer-F1.rb#8281
|
1981
|
+
def construct_float(chars); end
|
1982
|
+
|
1974
1983
|
# Returns the value of attribute context.
|
1975
1984
|
#
|
1976
1985
|
# source://parser//lib/parser/lexer-F1.rb#8244
|
@@ -1983,7 +1992,7 @@ class Parser::Lexer
|
|
1983
1992
|
# source://parser//lib/parser/lexer-F1.rb#8244
|
1984
1993
|
def context=(_arg0); end
|
1985
1994
|
|
1986
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
1995
|
+
# source://parser//lib/parser/lexer-F1.rb#8414
|
1987
1996
|
def dedent_level; end
|
1988
1997
|
|
1989
1998
|
# Returns the value of attribute diagnostics.
|
@@ -1998,7 +2007,7 @@ class Parser::Lexer
|
|
1998
2007
|
# source://parser//lib/parser/lexer-F1.rb#8240
|
1999
2008
|
def diagnostics=(_arg0); end
|
2000
2009
|
|
2001
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2010
|
+
# source://parser//lib/parser/lexer-F1.rb#8367
|
2002
2011
|
def encoding; end
|
2003
2012
|
|
2004
2013
|
# Returns the value of attribute force_utf32.
|
@@ -2023,19 +2032,19 @@ class Parser::Lexer
|
|
2023
2032
|
# source://parser//lib/parser/lexer-F1.rb#8248
|
2024
2033
|
def paren_nest; end
|
2025
2034
|
|
2026
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2035
|
+
# source://parser//lib/parser/lexer-F1.rb#8401
|
2027
2036
|
def pop_cmdarg; end
|
2028
2037
|
|
2029
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2038
|
+
# source://parser//lib/parser/lexer-F1.rb#8410
|
2030
2039
|
def pop_cond; end
|
2031
2040
|
|
2032
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2041
|
+
# source://parser//lib/parser/lexer-F1.rb#8396
|
2033
2042
|
def push_cmdarg; end
|
2034
2043
|
|
2035
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2044
|
+
# source://parser//lib/parser/lexer-F1.rb#8405
|
2036
2045
|
def push_cond; end
|
2037
2046
|
|
2038
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2047
|
+
# source://parser//lib/parser/lexer-F1.rb#8290
|
2039
2048
|
def reset(reset_state = T.unsafe(nil)); end
|
2040
2049
|
|
2041
2050
|
# %
|
@@ -2043,13 +2052,13 @@ class Parser::Lexer
|
|
2043
2052
|
# source://parser//lib/parser/lexer-F1.rb#8238
|
2044
2053
|
def source_buffer; end
|
2045
2054
|
|
2046
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2055
|
+
# source://parser//lib/parser/lexer-F1.rb#8343
|
2047
2056
|
def source_buffer=(source_buffer); end
|
2048
2057
|
|
2049
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2058
|
+
# source://parser//lib/parser/lexer-F1.rb#8388
|
2050
2059
|
def state; end
|
2051
2060
|
|
2052
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2061
|
+
# source://parser//lib/parser/lexer-F1.rb#8392
|
2053
2062
|
def state=(state); end
|
2054
2063
|
|
2055
2064
|
# Returns the value of attribute static_env.
|
@@ -2083,69 +2092,69 @@ class Parser::Lexer
|
|
2083
2092
|
|
2084
2093
|
protected
|
2085
2094
|
|
2086
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2095
|
+
# source://parser//lib/parser/lexer-F1.rb#14701
|
2087
2096
|
def arg_or_cmdarg(cmd_state); end
|
2088
2097
|
|
2089
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2098
|
+
# source://parser//lib/parser/lexer-F1.rb#14763
|
2090
2099
|
def check_ambiguous_slash(tm); end
|
2091
2100
|
|
2092
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2101
|
+
# source://parser//lib/parser/lexer-F1.rb#14725
|
2093
2102
|
def diagnostic(type, reason, arguments = T.unsafe(nil), location = T.unsafe(nil), highlights = T.unsafe(nil)); end
|
2094
2103
|
|
2095
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2104
|
+
# source://parser//lib/parser/lexer-F1.rb#14731
|
2096
2105
|
def e_lbrace; end
|
2097
2106
|
|
2098
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2107
|
+
# source://parser//lib/parser/lexer-F1.rb#14675
|
2099
2108
|
def emit(type, value = T.unsafe(nil), s = T.unsafe(nil), e = T.unsafe(nil)); end
|
2100
2109
|
|
2101
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2110
|
+
# source://parser//lib/parser/lexer-F1.rb#14784
|
2102
2111
|
def emit_class_var(ts = T.unsafe(nil), te = T.unsafe(nil)); end
|
2103
2112
|
|
2104
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2113
|
+
# source://parser//lib/parser/lexer-F1.rb#14812
|
2105
2114
|
def emit_colon_with_digits(p, tm, diag_msg); end
|
2106
2115
|
|
2107
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2116
|
+
# source://parser//lib/parser/lexer-F1.rb#14709
|
2108
2117
|
def emit_comment(s = T.unsafe(nil), e = T.unsafe(nil)); end
|
2109
2118
|
|
2110
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2119
|
+
# source://parser//lib/parser/lexer-F1.rb#14721
|
2111
2120
|
def emit_comment_from_range(p, pe); end
|
2112
2121
|
|
2113
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2122
|
+
# source://parser//lib/parser/lexer-F1.rb#14691
|
2114
2123
|
def emit_do(do_block = T.unsafe(nil)); end
|
2115
2124
|
|
2116
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2125
|
+
# source://parser//lib/parser/lexer-F1.rb#14774
|
2117
2126
|
def emit_global_var(ts = T.unsafe(nil), te = T.unsafe(nil)); end
|
2118
2127
|
|
2119
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2128
|
+
# source://parser//lib/parser/lexer-F1.rb#14792
|
2120
2129
|
def emit_instance_var(ts = T.unsafe(nil), te = T.unsafe(nil)); end
|
2121
2130
|
|
2122
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2131
|
+
# source://parser//lib/parser/lexer-F1.rb#14800
|
2123
2132
|
def emit_rbrace_rparen_rbrack; end
|
2124
2133
|
|
2125
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2134
|
+
# source://parser//lib/parser/lexer-F1.rb#14822
|
2126
2135
|
def emit_singleton_class; end
|
2127
2136
|
|
2128
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2137
|
+
# source://parser//lib/parser/lexer-F1.rb#14685
|
2129
2138
|
def emit_table(table, s = T.unsafe(nil), e = T.unsafe(nil)); end
|
2130
2139
|
|
2131
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2140
|
+
# source://parser//lib/parser/lexer-F1.rb#14740
|
2132
2141
|
def numeric_literal_int; end
|
2133
2142
|
|
2134
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2143
|
+
# source://parser//lib/parser/lexer-F1.rb#14759
|
2135
2144
|
def on_newline(p); end
|
2136
2145
|
|
2137
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2146
|
+
# source://parser//lib/parser/lexer-F1.rb#14671
|
2138
2147
|
def range(s = T.unsafe(nil), e = T.unsafe(nil)); end
|
2139
2148
|
|
2140
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2149
|
+
# source://parser//lib/parser/lexer-F1.rb#14662
|
2141
2150
|
def stack_pop; end
|
2142
2151
|
|
2143
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2152
|
+
# source://parser//lib/parser/lexer-F1.rb#14667
|
2144
2153
|
def tok(s = T.unsafe(nil), e = T.unsafe(nil)); end
|
2145
2154
|
|
2146
2155
|
# @return [Boolean]
|
2147
2156
|
#
|
2148
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2157
|
+
# source://parser//lib/parser/lexer-F1.rb#14658
|
2149
2158
|
def version?(*versions); end
|
2150
2159
|
|
2151
2160
|
class << self
|
@@ -2492,16 +2501,16 @@ end
|
|
2492
2501
|
# source://parser//lib/parser/lexer/dedenter.rb#7
|
2493
2502
|
Parser::Lexer::Dedenter::TAB_WIDTH = T.let(T.unsafe(nil), Integer)
|
2494
2503
|
|
2495
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2504
|
+
# source://parser//lib/parser/lexer-F1.rb#14869
|
2496
2505
|
Parser::Lexer::ESCAPE_WHITESPACE = T.let(T.unsafe(nil), Hash)
|
2497
2506
|
|
2498
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2507
|
+
# source://parser//lib/parser/lexer-F1.rb#14855
|
2499
2508
|
Parser::Lexer::KEYWORDS = T.let(T.unsafe(nil), Hash)
|
2500
2509
|
|
2501
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2510
|
+
# source://parser//lib/parser/lexer-F1.rb#14862
|
2502
2511
|
Parser::Lexer::KEYWORDS_BEGIN = T.let(T.unsafe(nil), Hash)
|
2503
2512
|
|
2504
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2513
|
+
# source://parser//lib/parser/lexer-F1.rb#8371
|
2505
2514
|
Parser::Lexer::LEX_STATES = T.let(T.unsafe(nil), Hash)
|
2506
2515
|
|
2507
2516
|
# source://parser//lib/parser/lexer/literal.rb#6
|
@@ -2610,10 +2619,10 @@ Parser::Lexer::Literal::TYPES = T.let(T.unsafe(nil), Hash)
|
|
2610
2619
|
|
2611
2620
|
# Mapping of strings to parser tokens.
|
2612
2621
|
#
|
2613
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2622
|
+
# source://parser//lib/parser/lexer-F1.rb#14829
|
2614
2623
|
Parser::Lexer::PUNCTUATION = T.let(T.unsafe(nil), Hash)
|
2615
2624
|
|
2616
|
-
# source://parser//lib/parser/lexer-F1.rb#
|
2625
|
+
# source://parser//lib/parser/lexer-F1.rb#14849
|
2617
2626
|
Parser::Lexer::PUNCTUATION_BEGIN = T.let(T.unsafe(nil), Hash)
|
2618
2627
|
|
2619
2628
|
# source://parser//lib/parser/lexer/stack_state.rb#5
|
@@ -2630,7 +2639,7 @@ class Parser::Lexer::StackState
|
|
2630
2639
|
# source://parser//lib/parser/lexer/stack_state.rb#38
|
2631
2640
|
def empty?; end
|
2632
2641
|
|
2633
|
-
# source://parser//lib/parser/lexer/stack_state.rb#
|
2642
|
+
# source://parser//lib/parser/lexer/stack_state.rb#46
|
2634
2643
|
def inspect; end
|
2635
2644
|
|
2636
2645
|
# source://parser//lib/parser/lexer/stack_state.rb#29
|
@@ -2726,10 +2735,10 @@ class Parser::LexerStrings
|
|
2726
2735
|
|
2727
2736
|
protected
|
2728
2737
|
|
2729
|
-
# source://parser//lib/parser/lexer-strings.rb#
|
2738
|
+
# source://parser//lib/parser/lexer-strings.rb#5406
|
2730
2739
|
def check_ambiguous_slash(tm); end
|
2731
2740
|
|
2732
|
-
# source://parser//lib/parser/lexer-strings.rb#
|
2741
|
+
# source://parser//lib/parser/lexer-strings.rb#5417
|
2733
2742
|
def check_invalid_escapes(p); end
|
2734
2743
|
|
2735
2744
|
# source://parser//lib/parser/lexer-strings.rb#5136
|
@@ -2741,10 +2750,10 @@ class Parser::LexerStrings
|
|
2741
2750
|
# source://parser//lib/parser/lexer-strings.rb#5128
|
2742
2751
|
def emit(type, value = T.unsafe(nil), s = T.unsafe(nil), e = T.unsafe(nil)); end
|
2743
2752
|
|
2744
|
-
# source://parser//lib/parser/lexer-strings.rb#
|
2753
|
+
# source://parser//lib/parser/lexer-strings.rb#5396
|
2745
2754
|
def emit_character_constant; end
|
2746
2755
|
|
2747
|
-
# source://parser//lib/parser/lexer-strings.rb#
|
2756
|
+
# source://parser//lib/parser/lexer-strings.rb#5373
|
2748
2757
|
def emit_interp_var(interp_var_kind); end
|
2749
2758
|
|
2750
2759
|
# @return [Boolean]
|
@@ -2755,7 +2764,7 @@ class Parser::LexerStrings
|
|
2755
2764
|
# source://parser//lib/parser/lexer-strings.rb#5291
|
2756
2765
|
def encode_escape(ord); end
|
2757
2766
|
|
2758
|
-
# source://parser//lib/parser/lexer-strings.rb#
|
2767
|
+
# source://parser//lib/parser/lexer-strings.rb#5384
|
2759
2768
|
def encode_escaped_char(p); end
|
2760
2769
|
|
2761
2770
|
# @return [Boolean]
|
@@ -2769,7 +2778,7 @@ class Parser::LexerStrings
|
|
2769
2778
|
# source://parser//lib/parser/lexer-strings.rb#5225
|
2770
2779
|
def extend_interp_digit_var; end
|
2771
2780
|
|
2772
|
-
# source://parser//lib/parser/lexer-strings.rb#
|
2781
|
+
# source://parser//lib/parser/lexer-strings.rb#5364
|
2773
2782
|
def extend_interp_var(current_literal); end
|
2774
2783
|
|
2775
2784
|
# source://parser//lib/parser/lexer-strings.rb#5234
|
@@ -2798,13 +2807,13 @@ class Parser::LexerStrings
|
|
2798
2807
|
# source://parser//lib/parser/lexer-strings.rb#5124
|
2799
2808
|
def range(s = T.unsafe(nil), e = T.unsafe(nil)); end
|
2800
2809
|
|
2801
|
-
# source://parser//lib/parser/lexer-strings.rb#
|
2810
|
+
# source://parser//lib/parser/lexer-strings.rb#5356
|
2802
2811
|
def read_post_meta_or_ctrl_char(p); end
|
2803
2812
|
|
2804
|
-
# source://parser//lib/parser/lexer-strings.rb#
|
2813
|
+
# source://parser//lib/parser/lexer-strings.rb#5388
|
2805
2814
|
def slash_c_char; end
|
2806
2815
|
|
2807
|
-
# source://parser//lib/parser/lexer-strings.rb#
|
2816
|
+
# source://parser//lib/parser/lexer-strings.rb#5392
|
2808
2817
|
def slash_m_char; end
|
2809
2818
|
|
2810
2819
|
# source://parser//lib/parser/lexer-strings.rb#5120
|
@@ -3107,7 +3116,7 @@ end
|
|
3107
3116
|
# source://parser//lib/parser/lexer-strings.rb#3287
|
3108
3117
|
Parser::LexerStrings::ESCAPES = T.let(T.unsafe(nil), Hash)
|
3109
3118
|
|
3110
|
-
# source://parser//lib/parser/lexer-strings.rb#
|
3119
|
+
# source://parser//lib/parser/lexer-strings.rb#5423
|
3111
3120
|
Parser::LexerStrings::ESCAPE_WHITESPACE = T.let(T.unsafe(nil), Hash)
|
3112
3121
|
|
3113
3122
|
# source://parser//lib/parser/lexer-strings.rb#3332
|
@@ -3221,10 +3230,17 @@ module Parser::Meta; end
|
|
3221
3230
|
|
3222
3231
|
# All node types that parser can produce. Not all parser versions
|
3223
3232
|
# will be able to produce every possible node.
|
3233
|
+
# Includes node types that are only emitted by the prism parser translator.
|
3224
3234
|
#
|
3225
|
-
# source://parser//lib/parser/meta.rb#
|
3235
|
+
# source://parser//lib/parser/meta.rb#17
|
3226
3236
|
Parser::Meta::NODE_TYPES = T.let(T.unsafe(nil), Set)
|
3227
3237
|
|
3238
|
+
# These are node types required by `Prism::Translation::Parser`,
|
3239
|
+
# which has advanced syntax support ahead of the Parser gem.
|
3240
|
+
#
|
3241
|
+
# source://parser//lib/parser/meta.rb#9
|
3242
|
+
Parser::Meta::PRISM_TRANSLATION_PARSER_NODE_TYPES = T.let(T.unsafe(nil), Array)
|
3243
|
+
|
3228
3244
|
# {Parser::Rewriter} is deprecated. Use {Parser::TreeRewriter} instead.
|
3229
3245
|
# It has a backwards compatible API and uses {Parser::Source::TreeRewriter}
|
3230
3246
|
# instead of {Parser::Source::Rewriter}.
|
@@ -3578,7 +3594,7 @@ class Parser::Source::Comment
|
|
3578
3594
|
# @api public
|
3579
3595
|
# @return [Parser::Source::Range]
|
3580
3596
|
#
|
3581
|
-
# source://parser//lib/parser/source/comment.rb#
|
3597
|
+
# source://parser//lib/parser/source/comment.rb#21
|
3582
3598
|
def loc; end
|
3583
3599
|
|
3584
3600
|
# @api public
|
@@ -3802,7 +3818,7 @@ class Parser::Source::Map
|
|
3802
3818
|
# @api public
|
3803
3819
|
# @return [Integer]
|
3804
3820
|
#
|
3805
|
-
# source://parser//lib/parser/source/map.rb#
|
3821
|
+
# source://parser//lib/parser/source/map.rb#103
|
3806
3822
|
def first_line; end
|
3807
3823
|
|
3808
3824
|
# A shortcut for `self.expression.last_column`.
|
@@ -4278,6 +4294,8 @@ class Parser::Source::Range
|
|
4278
4294
|
def end_pos; end
|
4279
4295
|
|
4280
4296
|
# @api public
|
4297
|
+
#
|
4298
|
+
# source://parser//lib/parser/source/range.rb#308
|
4281
4299
|
def eql?(_arg0); end
|
4282
4300
|
|
4283
4301
|
# Line number of the beginning of this range. By default, the first line
|
@@ -4287,7 +4305,7 @@ class Parser::Source::Range
|
|
4287
4305
|
# @return [Integer] line number of the beginning of this range.
|
4288
4306
|
# @see Buffer
|
4289
4307
|
#
|
4290
|
-
# source://parser//lib/parser/source/range.rb#
|
4308
|
+
# source://parser//lib/parser/source/range.rb#87
|
4291
4309
|
def first_line; end
|
4292
4310
|
|
4293
4311
|
# Support for Ranges be used in as Hash indices and in Sets.
|
@@ -4343,7 +4361,7 @@ class Parser::Source::Range
|
|
4343
4361
|
# @api public
|
4344
4362
|
# @return [Integer] amount of characters included in this range.
|
4345
4363
|
#
|
4346
|
-
# source://parser//lib/parser/source/range.rb#
|
4364
|
+
# source://parser//lib/parser/source/range.rb#74
|
4347
4365
|
def length; end
|
4348
4366
|
|
4349
4367
|
# Line number of the beginning of this range. By default, the first line
|
@@ -4782,7 +4800,7 @@ class Parser::Source::Rewriter::Action
|
|
4782
4800
|
# source://parser//lib/parser/source/rewriter/action.rb#12
|
4783
4801
|
def allow_multiple_insertions; end
|
4784
4802
|
|
4785
|
-
# source://parser//lib/parser/source/rewriter/action.rb#
|
4803
|
+
# source://parser//lib/parser/source/rewriter/action.rb#13
|
4786
4804
|
def allow_multiple_insertions?; end
|
4787
4805
|
|
4788
4806
|
# source://parser//lib/parser/source/rewriter/action.rb#12
|