jruby-prism-parser 0.24.0-java → 1.4.0-java

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.
Files changed (148) hide show
  1. checksums.yaml +4 -4
  2. data/BSDmakefile +58 -0
  3. data/CHANGELOG.md +269 -1
  4. data/CONTRIBUTING.md +0 -4
  5. data/Makefile +25 -18
  6. data/README.md +57 -6
  7. data/config.yml +1724 -140
  8. data/docs/build_system.md +39 -11
  9. data/docs/configuration.md +4 -0
  10. data/docs/cruby_compilation.md +1 -1
  11. data/docs/fuzzing.md +1 -1
  12. data/docs/parser_translation.md +14 -9
  13. data/docs/parsing_rules.md +4 -1
  14. data/docs/releasing.md +8 -10
  15. data/docs/relocation.md +34 -0
  16. data/docs/ripper_translation.md +72 -0
  17. data/docs/ruby_api.md +2 -1
  18. data/docs/serialization.md +29 -5
  19. data/ext/prism/api_node.c +3395 -1999
  20. data/ext/prism/api_pack.c +9 -0
  21. data/ext/prism/extconf.rb +55 -34
  22. data/ext/prism/extension.c +597 -346
  23. data/ext/prism/extension.h +6 -5
  24. data/include/prism/ast.h +2612 -455
  25. data/include/prism/defines.h +160 -2
  26. data/include/prism/diagnostic.h +188 -76
  27. data/include/prism/encoding.h +22 -4
  28. data/include/prism/node.h +89 -17
  29. data/include/prism/options.h +224 -12
  30. data/include/prism/pack.h +11 -0
  31. data/include/prism/parser.h +267 -66
  32. data/include/prism/prettyprint.h +8 -0
  33. data/include/prism/regexp.h +18 -8
  34. data/include/prism/static_literals.h +121 -0
  35. data/include/prism/util/pm_buffer.h +75 -2
  36. data/include/prism/util/pm_char.h +1 -2
  37. data/include/prism/util/pm_constant_pool.h +18 -9
  38. data/include/prism/util/pm_integer.h +126 -0
  39. data/include/prism/util/pm_list.h +1 -1
  40. data/include/prism/util/pm_newline_list.h +19 -0
  41. data/include/prism/util/pm_string.h +48 -8
  42. data/include/prism/version.h +3 -3
  43. data/include/prism.h +99 -5
  44. data/jruby-prism.jar +0 -0
  45. data/lib/prism/compiler.rb +11 -1
  46. data/lib/prism/desugar_compiler.rb +113 -74
  47. data/lib/prism/dispatcher.rb +45 -1
  48. data/lib/prism/dot_visitor.rb +201 -77
  49. data/lib/prism/dsl.rb +673 -461
  50. data/lib/prism/ffi.rb +233 -45
  51. data/lib/prism/inspect_visitor.rb +2389 -0
  52. data/lib/prism/lex_compat.rb +35 -16
  53. data/lib/prism/mutation_compiler.rb +24 -8
  54. data/lib/prism/node.rb +7731 -8460
  55. data/lib/prism/node_ext.rb +328 -32
  56. data/lib/prism/pack.rb +4 -0
  57. data/lib/prism/parse_result/comments.rb +34 -24
  58. data/lib/prism/parse_result/errors.rb +65 -0
  59. data/lib/prism/parse_result/newlines.rb +102 -12
  60. data/lib/prism/parse_result.rb +448 -44
  61. data/lib/prism/pattern.rb +28 -10
  62. data/lib/prism/polyfill/append_as_bytes.rb +15 -0
  63. data/lib/prism/polyfill/byteindex.rb +13 -0
  64. data/lib/prism/polyfill/unpack1.rb +14 -0
  65. data/lib/prism/reflection.rb +413 -0
  66. data/lib/prism/relocation.rb +504 -0
  67. data/lib/prism/serialize.rb +1940 -1198
  68. data/lib/prism/string_query.rb +30 -0
  69. data/lib/prism/translation/parser/builder.rb +61 -0
  70. data/lib/prism/translation/parser/compiler.rb +569 -195
  71. data/lib/prism/translation/parser/lexer.rb +516 -39
  72. data/lib/prism/translation/parser.rb +177 -12
  73. data/lib/prism/translation/parser33.rb +1 -1
  74. data/lib/prism/translation/parser34.rb +1 -1
  75. data/lib/prism/translation/parser35.rb +12 -0
  76. data/lib/prism/translation/ripper/sexp.rb +125 -0
  77. data/lib/prism/translation/ripper/shim.rb +5 -0
  78. data/lib/prism/translation/ripper.rb +3224 -462
  79. data/lib/prism/translation/ruby_parser.rb +194 -69
  80. data/lib/prism/translation.rb +4 -1
  81. data/lib/prism/version.rb +1 -1
  82. data/lib/prism/visitor.rb +13 -0
  83. data/lib/prism.rb +17 -27
  84. data/prism.gemspec +57 -17
  85. data/rbi/prism/compiler.rbi +12 -0
  86. data/rbi/prism/dsl.rbi +524 -0
  87. data/rbi/prism/inspect_visitor.rbi +12 -0
  88. data/rbi/prism/node.rbi +8722 -0
  89. data/rbi/prism/node_ext.rbi +107 -0
  90. data/rbi/prism/parse_result.rbi +404 -0
  91. data/rbi/prism/reflection.rbi +58 -0
  92. data/rbi/prism/string_query.rbi +12 -0
  93. data/rbi/prism/translation/parser.rbi +11 -0
  94. data/rbi/prism/translation/parser33.rbi +6 -0
  95. data/rbi/prism/translation/parser34.rbi +6 -0
  96. data/rbi/prism/translation/parser35.rbi +6 -0
  97. data/rbi/prism/translation/ripper.rbi +15 -0
  98. data/rbi/prism/visitor.rbi +473 -0
  99. data/rbi/prism.rbi +44 -7745
  100. data/sig/prism/compiler.rbs +9 -0
  101. data/sig/prism/dispatcher.rbs +16 -0
  102. data/sig/prism/dot_visitor.rbs +6 -0
  103. data/sig/prism/dsl.rbs +351 -0
  104. data/sig/prism/inspect_visitor.rbs +22 -0
  105. data/sig/prism/lex_compat.rbs +10 -0
  106. data/sig/prism/mutation_compiler.rbs +159 -0
  107. data/sig/prism/node.rbs +3614 -0
  108. data/sig/prism/node_ext.rbs +82 -0
  109. data/sig/prism/pack.rbs +43 -0
  110. data/sig/prism/parse_result.rbs +192 -0
  111. data/sig/prism/pattern.rbs +13 -0
  112. data/sig/prism/reflection.rbs +50 -0
  113. data/sig/prism/relocation.rbs +185 -0
  114. data/sig/prism/serialize.rbs +8 -0
  115. data/sig/prism/string_query.rbs +11 -0
  116. data/sig/prism/visitor.rbs +169 -0
  117. data/sig/prism.rbs +248 -4767
  118. data/src/diagnostic.c +672 -230
  119. data/src/encoding.c +211 -108
  120. data/src/node.c +7541 -1653
  121. data/src/options.c +135 -20
  122. data/src/pack.c +33 -17
  123. data/src/prettyprint.c +1543 -1485
  124. data/src/prism.c +7813 -3050
  125. data/src/regexp.c +225 -73
  126. data/src/serialize.c +101 -77
  127. data/src/static_literals.c +617 -0
  128. data/src/token_type.c +14 -13
  129. data/src/util/pm_buffer.c +187 -20
  130. data/src/util/pm_char.c +5 -5
  131. data/src/util/pm_constant_pool.c +39 -19
  132. data/src/util/pm_integer.c +670 -0
  133. data/src/util/pm_list.c +1 -1
  134. data/src/util/pm_newline_list.c +43 -5
  135. data/src/util/pm_string.c +213 -33
  136. data/src/util/pm_strncasecmp.c +13 -1
  137. data/src/util/pm_strpbrk.c +32 -6
  138. metadata +55 -19
  139. data/docs/ripper.md +0 -36
  140. data/include/prism/util/pm_state_stack.h +0 -42
  141. data/include/prism/util/pm_string_list.h +0 -44
  142. data/lib/prism/debug.rb +0 -206
  143. data/lib/prism/node_inspector.rb +0 -68
  144. data/lib/prism/translation/parser/rubocop.rb +0 -45
  145. data/rbi/prism_static.rbi +0 -207
  146. data/sig/prism_static.rbs +0 -201
  147. data/src/util/pm_state_stack.c +0 -25
  148. data/src/util/pm_string_list.c +0 -28
@@ -0,0 +1,473 @@
1
+ # typed: strict
2
+
3
+ =begin
4
+ This file is generated by the templates/template.rb script and should not be
5
+ modified manually. See templates/rbi/prism/visitor.rbi.erb
6
+ if you are looking to modify the template
7
+ =end
8
+
9
+ class Prism::BasicVisitor
10
+ sig { params(node: T.nilable(Prism::Node)).void }
11
+ def visit(node); end
12
+
13
+ sig { params(nodes: T::Array[T.nilable(Prism::Node)]).void }
14
+ def visit_all(nodes); end
15
+
16
+ sig { params(node: Prism::Node).void }
17
+ def visit_child_nodes(node); end
18
+ end
19
+
20
+ class Prism::Visitor < Prism::BasicVisitor
21
+ sig { params(node: Prism::AliasGlobalVariableNode).void }
22
+ def visit_alias_global_variable_node(node); end
23
+
24
+ sig { params(node: Prism::AliasMethodNode).void }
25
+ def visit_alias_method_node(node); end
26
+
27
+ sig { params(node: Prism::AlternationPatternNode).void }
28
+ def visit_alternation_pattern_node(node); end
29
+
30
+ sig { params(node: Prism::AndNode).void }
31
+ def visit_and_node(node); end
32
+
33
+ sig { params(node: Prism::ArgumentsNode).void }
34
+ def visit_arguments_node(node); end
35
+
36
+ sig { params(node: Prism::ArrayNode).void }
37
+ def visit_array_node(node); end
38
+
39
+ sig { params(node: Prism::ArrayPatternNode).void }
40
+ def visit_array_pattern_node(node); end
41
+
42
+ sig { params(node: Prism::AssocNode).void }
43
+ def visit_assoc_node(node); end
44
+
45
+ sig { params(node: Prism::AssocSplatNode).void }
46
+ def visit_assoc_splat_node(node); end
47
+
48
+ sig { params(node: Prism::BackReferenceReadNode).void }
49
+ def visit_back_reference_read_node(node); end
50
+
51
+ sig { params(node: Prism::BeginNode).void }
52
+ def visit_begin_node(node); end
53
+
54
+ sig { params(node: Prism::BlockArgumentNode).void }
55
+ def visit_block_argument_node(node); end
56
+
57
+ sig { params(node: Prism::BlockLocalVariableNode).void }
58
+ def visit_block_local_variable_node(node); end
59
+
60
+ sig { params(node: Prism::BlockNode).void }
61
+ def visit_block_node(node); end
62
+
63
+ sig { params(node: Prism::BlockParameterNode).void }
64
+ def visit_block_parameter_node(node); end
65
+
66
+ sig { params(node: Prism::BlockParametersNode).void }
67
+ def visit_block_parameters_node(node); end
68
+
69
+ sig { params(node: Prism::BreakNode).void }
70
+ def visit_break_node(node); end
71
+
72
+ sig { params(node: Prism::CallAndWriteNode).void }
73
+ def visit_call_and_write_node(node); end
74
+
75
+ sig { params(node: Prism::CallNode).void }
76
+ def visit_call_node(node); end
77
+
78
+ sig { params(node: Prism::CallOperatorWriteNode).void }
79
+ def visit_call_operator_write_node(node); end
80
+
81
+ sig { params(node: Prism::CallOrWriteNode).void }
82
+ def visit_call_or_write_node(node); end
83
+
84
+ sig { params(node: Prism::CallTargetNode).void }
85
+ def visit_call_target_node(node); end
86
+
87
+ sig { params(node: Prism::CapturePatternNode).void }
88
+ def visit_capture_pattern_node(node); end
89
+
90
+ sig { params(node: Prism::CaseMatchNode).void }
91
+ def visit_case_match_node(node); end
92
+
93
+ sig { params(node: Prism::CaseNode).void }
94
+ def visit_case_node(node); end
95
+
96
+ sig { params(node: Prism::ClassNode).void }
97
+ def visit_class_node(node); end
98
+
99
+ sig { params(node: Prism::ClassVariableAndWriteNode).void }
100
+ def visit_class_variable_and_write_node(node); end
101
+
102
+ sig { params(node: Prism::ClassVariableOperatorWriteNode).void }
103
+ def visit_class_variable_operator_write_node(node); end
104
+
105
+ sig { params(node: Prism::ClassVariableOrWriteNode).void }
106
+ def visit_class_variable_or_write_node(node); end
107
+
108
+ sig { params(node: Prism::ClassVariableReadNode).void }
109
+ def visit_class_variable_read_node(node); end
110
+
111
+ sig { params(node: Prism::ClassVariableTargetNode).void }
112
+ def visit_class_variable_target_node(node); end
113
+
114
+ sig { params(node: Prism::ClassVariableWriteNode).void }
115
+ def visit_class_variable_write_node(node); end
116
+
117
+ sig { params(node: Prism::ConstantAndWriteNode).void }
118
+ def visit_constant_and_write_node(node); end
119
+
120
+ sig { params(node: Prism::ConstantOperatorWriteNode).void }
121
+ def visit_constant_operator_write_node(node); end
122
+
123
+ sig { params(node: Prism::ConstantOrWriteNode).void }
124
+ def visit_constant_or_write_node(node); end
125
+
126
+ sig { params(node: Prism::ConstantPathAndWriteNode).void }
127
+ def visit_constant_path_and_write_node(node); end
128
+
129
+ sig { params(node: Prism::ConstantPathNode).void }
130
+ def visit_constant_path_node(node); end
131
+
132
+ sig { params(node: Prism::ConstantPathOperatorWriteNode).void }
133
+ def visit_constant_path_operator_write_node(node); end
134
+
135
+ sig { params(node: Prism::ConstantPathOrWriteNode).void }
136
+ def visit_constant_path_or_write_node(node); end
137
+
138
+ sig { params(node: Prism::ConstantPathTargetNode).void }
139
+ def visit_constant_path_target_node(node); end
140
+
141
+ sig { params(node: Prism::ConstantPathWriteNode).void }
142
+ def visit_constant_path_write_node(node); end
143
+
144
+ sig { params(node: Prism::ConstantReadNode).void }
145
+ def visit_constant_read_node(node); end
146
+
147
+ sig { params(node: Prism::ConstantTargetNode).void }
148
+ def visit_constant_target_node(node); end
149
+
150
+ sig { params(node: Prism::ConstantWriteNode).void }
151
+ def visit_constant_write_node(node); end
152
+
153
+ sig { params(node: Prism::DefNode).void }
154
+ def visit_def_node(node); end
155
+
156
+ sig { params(node: Prism::DefinedNode).void }
157
+ def visit_defined_node(node); end
158
+
159
+ sig { params(node: Prism::ElseNode).void }
160
+ def visit_else_node(node); end
161
+
162
+ sig { params(node: Prism::EmbeddedStatementsNode).void }
163
+ def visit_embedded_statements_node(node); end
164
+
165
+ sig { params(node: Prism::EmbeddedVariableNode).void }
166
+ def visit_embedded_variable_node(node); end
167
+
168
+ sig { params(node: Prism::EnsureNode).void }
169
+ def visit_ensure_node(node); end
170
+
171
+ sig { params(node: Prism::FalseNode).void }
172
+ def visit_false_node(node); end
173
+
174
+ sig { params(node: Prism::FindPatternNode).void }
175
+ def visit_find_pattern_node(node); end
176
+
177
+ sig { params(node: Prism::FlipFlopNode).void }
178
+ def visit_flip_flop_node(node); end
179
+
180
+ sig { params(node: Prism::FloatNode).void }
181
+ def visit_float_node(node); end
182
+
183
+ sig { params(node: Prism::ForNode).void }
184
+ def visit_for_node(node); end
185
+
186
+ sig { params(node: Prism::ForwardingArgumentsNode).void }
187
+ def visit_forwarding_arguments_node(node); end
188
+
189
+ sig { params(node: Prism::ForwardingParameterNode).void }
190
+ def visit_forwarding_parameter_node(node); end
191
+
192
+ sig { params(node: Prism::ForwardingSuperNode).void }
193
+ def visit_forwarding_super_node(node); end
194
+
195
+ sig { params(node: Prism::GlobalVariableAndWriteNode).void }
196
+ def visit_global_variable_and_write_node(node); end
197
+
198
+ sig { params(node: Prism::GlobalVariableOperatorWriteNode).void }
199
+ def visit_global_variable_operator_write_node(node); end
200
+
201
+ sig { params(node: Prism::GlobalVariableOrWriteNode).void }
202
+ def visit_global_variable_or_write_node(node); end
203
+
204
+ sig { params(node: Prism::GlobalVariableReadNode).void }
205
+ def visit_global_variable_read_node(node); end
206
+
207
+ sig { params(node: Prism::GlobalVariableTargetNode).void }
208
+ def visit_global_variable_target_node(node); end
209
+
210
+ sig { params(node: Prism::GlobalVariableWriteNode).void }
211
+ def visit_global_variable_write_node(node); end
212
+
213
+ sig { params(node: Prism::HashNode).void }
214
+ def visit_hash_node(node); end
215
+
216
+ sig { params(node: Prism::HashPatternNode).void }
217
+ def visit_hash_pattern_node(node); end
218
+
219
+ sig { params(node: Prism::IfNode).void }
220
+ def visit_if_node(node); end
221
+
222
+ sig { params(node: Prism::ImaginaryNode).void }
223
+ def visit_imaginary_node(node); end
224
+
225
+ sig { params(node: Prism::ImplicitNode).void }
226
+ def visit_implicit_node(node); end
227
+
228
+ sig { params(node: Prism::ImplicitRestNode).void }
229
+ def visit_implicit_rest_node(node); end
230
+
231
+ sig { params(node: Prism::InNode).void }
232
+ def visit_in_node(node); end
233
+
234
+ sig { params(node: Prism::IndexAndWriteNode).void }
235
+ def visit_index_and_write_node(node); end
236
+
237
+ sig { params(node: Prism::IndexOperatorWriteNode).void }
238
+ def visit_index_operator_write_node(node); end
239
+
240
+ sig { params(node: Prism::IndexOrWriteNode).void }
241
+ def visit_index_or_write_node(node); end
242
+
243
+ sig { params(node: Prism::IndexTargetNode).void }
244
+ def visit_index_target_node(node); end
245
+
246
+ sig { params(node: Prism::InstanceVariableAndWriteNode).void }
247
+ def visit_instance_variable_and_write_node(node); end
248
+
249
+ sig { params(node: Prism::InstanceVariableOperatorWriteNode).void }
250
+ def visit_instance_variable_operator_write_node(node); end
251
+
252
+ sig { params(node: Prism::InstanceVariableOrWriteNode).void }
253
+ def visit_instance_variable_or_write_node(node); end
254
+
255
+ sig { params(node: Prism::InstanceVariableReadNode).void }
256
+ def visit_instance_variable_read_node(node); end
257
+
258
+ sig { params(node: Prism::InstanceVariableTargetNode).void }
259
+ def visit_instance_variable_target_node(node); end
260
+
261
+ sig { params(node: Prism::InstanceVariableWriteNode).void }
262
+ def visit_instance_variable_write_node(node); end
263
+
264
+ sig { params(node: Prism::IntegerNode).void }
265
+ def visit_integer_node(node); end
266
+
267
+ sig { params(node: Prism::InterpolatedMatchLastLineNode).void }
268
+ def visit_interpolated_match_last_line_node(node); end
269
+
270
+ sig { params(node: Prism::InterpolatedRegularExpressionNode).void }
271
+ def visit_interpolated_regular_expression_node(node); end
272
+
273
+ sig { params(node: Prism::InterpolatedStringNode).void }
274
+ def visit_interpolated_string_node(node); end
275
+
276
+ sig { params(node: Prism::InterpolatedSymbolNode).void }
277
+ def visit_interpolated_symbol_node(node); end
278
+
279
+ sig { params(node: Prism::InterpolatedXStringNode).void }
280
+ def visit_interpolated_x_string_node(node); end
281
+
282
+ sig { params(node: Prism::ItLocalVariableReadNode).void }
283
+ def visit_it_local_variable_read_node(node); end
284
+
285
+ sig { params(node: Prism::ItParametersNode).void }
286
+ def visit_it_parameters_node(node); end
287
+
288
+ sig { params(node: Prism::KeywordHashNode).void }
289
+ def visit_keyword_hash_node(node); end
290
+
291
+ sig { params(node: Prism::KeywordRestParameterNode).void }
292
+ def visit_keyword_rest_parameter_node(node); end
293
+
294
+ sig { params(node: Prism::LambdaNode).void }
295
+ def visit_lambda_node(node); end
296
+
297
+ sig { params(node: Prism::LocalVariableAndWriteNode).void }
298
+ def visit_local_variable_and_write_node(node); end
299
+
300
+ sig { params(node: Prism::LocalVariableOperatorWriteNode).void }
301
+ def visit_local_variable_operator_write_node(node); end
302
+
303
+ sig { params(node: Prism::LocalVariableOrWriteNode).void }
304
+ def visit_local_variable_or_write_node(node); end
305
+
306
+ sig { params(node: Prism::LocalVariableReadNode).void }
307
+ def visit_local_variable_read_node(node); end
308
+
309
+ sig { params(node: Prism::LocalVariableTargetNode).void }
310
+ def visit_local_variable_target_node(node); end
311
+
312
+ sig { params(node: Prism::LocalVariableWriteNode).void }
313
+ def visit_local_variable_write_node(node); end
314
+
315
+ sig { params(node: Prism::MatchLastLineNode).void }
316
+ def visit_match_last_line_node(node); end
317
+
318
+ sig { params(node: Prism::MatchPredicateNode).void }
319
+ def visit_match_predicate_node(node); end
320
+
321
+ sig { params(node: Prism::MatchRequiredNode).void }
322
+ def visit_match_required_node(node); end
323
+
324
+ sig { params(node: Prism::MatchWriteNode).void }
325
+ def visit_match_write_node(node); end
326
+
327
+ sig { params(node: Prism::MissingNode).void }
328
+ def visit_missing_node(node); end
329
+
330
+ sig { params(node: Prism::ModuleNode).void }
331
+ def visit_module_node(node); end
332
+
333
+ sig { params(node: Prism::MultiTargetNode).void }
334
+ def visit_multi_target_node(node); end
335
+
336
+ sig { params(node: Prism::MultiWriteNode).void }
337
+ def visit_multi_write_node(node); end
338
+
339
+ sig { params(node: Prism::NextNode).void }
340
+ def visit_next_node(node); end
341
+
342
+ sig { params(node: Prism::NilNode).void }
343
+ def visit_nil_node(node); end
344
+
345
+ sig { params(node: Prism::NoKeywordsParameterNode).void }
346
+ def visit_no_keywords_parameter_node(node); end
347
+
348
+ sig { params(node: Prism::NumberedParametersNode).void }
349
+ def visit_numbered_parameters_node(node); end
350
+
351
+ sig { params(node: Prism::NumberedReferenceReadNode).void }
352
+ def visit_numbered_reference_read_node(node); end
353
+
354
+ sig { params(node: Prism::OptionalKeywordParameterNode).void }
355
+ def visit_optional_keyword_parameter_node(node); end
356
+
357
+ sig { params(node: Prism::OptionalParameterNode).void }
358
+ def visit_optional_parameter_node(node); end
359
+
360
+ sig { params(node: Prism::OrNode).void }
361
+ def visit_or_node(node); end
362
+
363
+ sig { params(node: Prism::ParametersNode).void }
364
+ def visit_parameters_node(node); end
365
+
366
+ sig { params(node: Prism::ParenthesesNode).void }
367
+ def visit_parentheses_node(node); end
368
+
369
+ sig { params(node: Prism::PinnedExpressionNode).void }
370
+ def visit_pinned_expression_node(node); end
371
+
372
+ sig { params(node: Prism::PinnedVariableNode).void }
373
+ def visit_pinned_variable_node(node); end
374
+
375
+ sig { params(node: Prism::PostExecutionNode).void }
376
+ def visit_post_execution_node(node); end
377
+
378
+ sig { params(node: Prism::PreExecutionNode).void }
379
+ def visit_pre_execution_node(node); end
380
+
381
+ sig { params(node: Prism::ProgramNode).void }
382
+ def visit_program_node(node); end
383
+
384
+ sig { params(node: Prism::RangeNode).void }
385
+ def visit_range_node(node); end
386
+
387
+ sig { params(node: Prism::RationalNode).void }
388
+ def visit_rational_node(node); end
389
+
390
+ sig { params(node: Prism::RedoNode).void }
391
+ def visit_redo_node(node); end
392
+
393
+ sig { params(node: Prism::RegularExpressionNode).void }
394
+ def visit_regular_expression_node(node); end
395
+
396
+ sig { params(node: Prism::RequiredKeywordParameterNode).void }
397
+ def visit_required_keyword_parameter_node(node); end
398
+
399
+ sig { params(node: Prism::RequiredParameterNode).void }
400
+ def visit_required_parameter_node(node); end
401
+
402
+ sig { params(node: Prism::RescueModifierNode).void }
403
+ def visit_rescue_modifier_node(node); end
404
+
405
+ sig { params(node: Prism::RescueNode).void }
406
+ def visit_rescue_node(node); end
407
+
408
+ sig { params(node: Prism::RestParameterNode).void }
409
+ def visit_rest_parameter_node(node); end
410
+
411
+ sig { params(node: Prism::RetryNode).void }
412
+ def visit_retry_node(node); end
413
+
414
+ sig { params(node: Prism::ReturnNode).void }
415
+ def visit_return_node(node); end
416
+
417
+ sig { params(node: Prism::SelfNode).void }
418
+ def visit_self_node(node); end
419
+
420
+ sig { params(node: Prism::ShareableConstantNode).void }
421
+ def visit_shareable_constant_node(node); end
422
+
423
+ sig { params(node: Prism::SingletonClassNode).void }
424
+ def visit_singleton_class_node(node); end
425
+
426
+ sig { params(node: Prism::SourceEncodingNode).void }
427
+ def visit_source_encoding_node(node); end
428
+
429
+ sig { params(node: Prism::SourceFileNode).void }
430
+ def visit_source_file_node(node); end
431
+
432
+ sig { params(node: Prism::SourceLineNode).void }
433
+ def visit_source_line_node(node); end
434
+
435
+ sig { params(node: Prism::SplatNode).void }
436
+ def visit_splat_node(node); end
437
+
438
+ sig { params(node: Prism::StatementsNode).void }
439
+ def visit_statements_node(node); end
440
+
441
+ sig { params(node: Prism::StringNode).void }
442
+ def visit_string_node(node); end
443
+
444
+ sig { params(node: Prism::SuperNode).void }
445
+ def visit_super_node(node); end
446
+
447
+ sig { params(node: Prism::SymbolNode).void }
448
+ def visit_symbol_node(node); end
449
+
450
+ sig { params(node: Prism::TrueNode).void }
451
+ def visit_true_node(node); end
452
+
453
+ sig { params(node: Prism::UndefNode).void }
454
+ def visit_undef_node(node); end
455
+
456
+ sig { params(node: Prism::UnlessNode).void }
457
+ def visit_unless_node(node); end
458
+
459
+ sig { params(node: Prism::UntilNode).void }
460
+ def visit_until_node(node); end
461
+
462
+ sig { params(node: Prism::WhenNode).void }
463
+ def visit_when_node(node); end
464
+
465
+ sig { params(node: Prism::WhileNode).void }
466
+ def visit_while_node(node); end
467
+
468
+ sig { params(node: Prism::XStringNode).void }
469
+ def visit_x_string_node(node); end
470
+
471
+ sig { params(node: Prism::YieldNode).void }
472
+ def visit_yield_node(node); end
473
+ end