web-author 0.1.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.
Files changed (101) hide show
  1. checksums.yaml +7 -0
  2. data/.ruby-version +1 -0
  3. data/CHANGELOG.md +5 -0
  4. data/LICENSE.txt +21 -0
  5. data/README.md +234 -0
  6. data/Rakefile +12 -0
  7. data/lib/web_author/author/strategies/author_from_ld_schema.rb +54 -0
  8. data/lib/web_author/author/strategies/author_from_meta.rb +16 -0
  9. data/lib/web_author/author/strategy.rb +25 -0
  10. data/lib/web_author/json_ld_schema_processor.rb +46 -0
  11. data/lib/web_author/ld_author.rb +30 -0
  12. data/lib/web_author/ld_schema.rb +74 -0
  13. data/lib/web_author/page.rb +54 -0
  14. data/lib/web_author/version.rb +5 -0
  15. data/lib/web_author.rb +14 -0
  16. data/sig/webauthor.rbs +4 -0
  17. data/sorbet/config +4 -0
  18. data/sorbet/rbi/annotations/.gitattributes +1 -0
  19. data/sorbet/rbi/annotations/minitest.rbi +119 -0
  20. data/sorbet/rbi/annotations/mocha.rbi +34 -0
  21. data/sorbet/rbi/annotations/rainbow.rbi +269 -0
  22. data/sorbet/rbi/annotations/webmock.rbi +9 -0
  23. data/sorbet/rbi/gems/.gitattributes +1 -0
  24. data/sorbet/rbi/gems/addressable.rbi +203 -0
  25. data/sorbet/rbi/gems/addressable@2.8.7.rbi +1994 -0
  26. data/sorbet/rbi/gems/ast.rbi +49 -0
  27. data/sorbet/rbi/gems/ast@2.4.3.rbi +585 -0
  28. data/sorbet/rbi/gems/benchmark@0.4.0.rbi +618 -0
  29. data/sorbet/rbi/gems/bigdecimal.rbi +86 -0
  30. data/sorbet/rbi/gems/bigdecimal@3.1.9.rbi +8 -0
  31. data/sorbet/rbi/gems/crack.rbi +62 -0
  32. data/sorbet/rbi/gems/crack@1.0.0.rbi +145 -0
  33. data/sorbet/rbi/gems/erubi@1.13.1.rbi +155 -0
  34. data/sorbet/rbi/gems/hashdiff.rbi +66 -0
  35. data/sorbet/rbi/gems/hashdiff@1.1.2.rbi +353 -0
  36. data/sorbet/rbi/gems/json@2.10.2.rbi +2112 -0
  37. data/sorbet/rbi/gems/language_server-protocol.rbi +2868 -0
  38. data/sorbet/rbi/gems/language_server-protocol@3.17.0.4.rbi +9 -0
  39. data/sorbet/rbi/gems/lint_roller.rbi +75 -0
  40. data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +240 -0
  41. data/sorbet/rbi/gems/logger@1.7.0.rbi +963 -0
  42. data/sorbet/rbi/gems/minitest.rbi +440 -0
  43. data/sorbet/rbi/gems/minitest@5.25.5.rbi +1547 -0
  44. data/sorbet/rbi/gems/mocha.rbi +653 -0
  45. data/sorbet/rbi/gems/mocha@2.7.1.rbi +12 -0
  46. data/sorbet/rbi/gems/netrc@0.11.0.rbi +159 -0
  47. data/sorbet/rbi/gems/nokogiri-1.18.6-arm64.rbi +1135 -0
  48. data/sorbet/rbi/gems/parallel.rbi +88 -0
  49. data/sorbet/rbi/gems/parallel@1.26.3.rbi +291 -0
  50. data/sorbet/rbi/gems/parser.rbi +1544 -0
  51. data/sorbet/rbi/gems/parser@3.3.7.3.rbi +5532 -0
  52. data/sorbet/rbi/gems/prism.rbi +4090 -0
  53. data/sorbet/rbi/gems/prism@1.4.0.rbi +41732 -0
  54. data/sorbet/rbi/gems/public_suffix.rbi +105 -0
  55. data/sorbet/rbi/gems/public_suffix@6.0.1.rbi +936 -0
  56. data/sorbet/rbi/gems/racc.rbi +15 -0
  57. data/sorbet/rbi/gems/racc@1.8.1.rbi +160 -0
  58. data/sorbet/rbi/gems/rainbow.rbi +122 -0
  59. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +403 -0
  60. data/sorbet/rbi/gems/rake.rbi +650 -0
  61. data/sorbet/rbi/gems/rake@13.2.1.rbi +3033 -0
  62. data/sorbet/rbi/gems/rbi@0.3.1.rbi +6599 -0
  63. data/sorbet/rbi/gems/rbs@3.9.2.rbi +6978 -0
  64. data/sorbet/rbi/gems/rdoc.rbi +555 -0
  65. data/sorbet/rbi/gems/regexp_parser.rbi +1039 -0
  66. data/sorbet/rbi/gems/regexp_parser@2.10.0.rbi +3795 -0
  67. data/sorbet/rbi/gems/rexml.rbi +637 -0
  68. data/sorbet/rbi/gems/rexml@3.4.1.rbi +5346 -0
  69. data/sorbet/rbi/gems/rubocop-ast.rbi +1470 -0
  70. data/sorbet/rbi/gems/rubocop-ast@1.43.0.rbi +7765 -0
  71. data/sorbet/rbi/gems/rubocop-minitest.rbi +450 -0
  72. data/sorbet/rbi/gems/rubocop-minitest@0.37.1.rbi +2609 -0
  73. data/sorbet/rbi/gems/rubocop-performance.rbi +593 -0
  74. data/sorbet/rbi/gems/rubocop-performance@1.24.0.rbi +3359 -0
  75. data/sorbet/rbi/gems/rubocop-rake.rbi +87 -0
  76. data/sorbet/rbi/gems/rubocop-rake@0.7.1.rbi +328 -0
  77. data/sorbet/rbi/gems/rubocop-rubycw.rbi +40 -0
  78. data/sorbet/rbi/gems/rubocop-rubycw@0.2.2.rbi +91 -0
  79. data/sorbet/rbi/gems/rubocop.rbi +10554 -0
  80. data/sorbet/rbi/gems/rubocop@1.75.1.rbi +61875 -0
  81. data/sorbet/rbi/gems/ruby-progressbar.rbi +321 -0
  82. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1318 -0
  83. data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +9 -0
  84. data/sorbet/rbi/gems/spoom@1.6.1.rbi +7274 -0
  85. data/sorbet/rbi/gems/tapioca@0.16.11.rbi +3628 -0
  86. data/sorbet/rbi/gems/thor@1.3.2.rbi +4378 -0
  87. data/sorbet/rbi/gems/unicode-display_width.rbi +28 -0
  88. data/sorbet/rbi/gems/unicode-display_width@3.1.4.rbi +132 -0
  89. data/sorbet/rbi/gems/unicode-emoji.rbi +18 -0
  90. data/sorbet/rbi/gems/unicode-emoji@4.0.4.rbi +251 -0
  91. data/sorbet/rbi/gems/web_author.rbi +20 -0
  92. data/sorbet/rbi/gems/webmock.rbi +512 -0
  93. data/sorbet/rbi/gems/webmock@3.25.1.rbi +1792 -0
  94. data/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi +435 -0
  95. data/sorbet/rbi/gems/yard.rbi +36 -0
  96. data/sorbet/rbi/gems/yard@0.9.37.rbi +18379 -0
  97. data/sorbet/rbi/gems/zeitwerk.rbi +240 -0
  98. data/sorbet/rbi/gems/zeitwerk@2.7.2.rbi +1141 -0
  99. data/sorbet/tapioca/config.yml +13 -0
  100. data/sorbet/tapioca/require.rb +4 -0
  101. metadata +188 -0
@@ -0,0 +1,1470 @@
1
+ # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
+ # srb rbi gems
3
+
4
+ # typed: true
5
+ #
6
+ # If you would like to make changes to this file, great! Please create the gem's shim here:
7
+ #
8
+ # https://github.com/sorbet/sorbet-typed/new/master?filename=lib/rubocop-ast/all/rubocop-ast.rbi
9
+ #
10
+ # rubocop-ast-1.43.0
11
+
12
+ module RuboCop
13
+ end
14
+ module RuboCop::AST
15
+ extend RuboCop::AST::RuboCopCompatibility
16
+ end
17
+ module RuboCop::AST::Ext
18
+ end
19
+ module RuboCop::AST::Ext::Range
20
+ def line_span(exclude_end: nil); end
21
+ end
22
+ class Parser::Source::Range
23
+ include RuboCop::AST::Ext::Range
24
+ end
25
+ module RuboCop::SimpleForwardable
26
+ def def_delegators(accessor, *methods); end
27
+ end
28
+ class RuboCop::AST::NodePattern
29
+ def ==(other); end
30
+ def as_json(_options = nil); end
31
+ def ast; end
32
+ def captures(*, **, &); end
33
+ def encode_with(coder); end
34
+ def eql?(other); end
35
+ def freeze; end
36
+ def init_with(coder); end
37
+ def initialize(str, compiler: nil); end
38
+ def marshal_dump; end
39
+ def marshal_load(pattern); end
40
+ def match(*args, **rest, &block); end
41
+ def match_code; end
42
+ def named_parameters(*, **, &); end
43
+ def pattern; end
44
+ def positional_parameters(*, **, &); end
45
+ def self.descend(element, &block); end
46
+ def to_s; end
47
+ extend RuboCop::SimpleForwardable
48
+ include RuboCop::AST::NodePattern::MethodDefiner
49
+ end
50
+ module RuboCop::AST::NodePattern::MethodDefiner
51
+ def as_lambda; end
52
+ def compile_as_lambda; end
53
+ def compile_init; end
54
+ def def_helper(base, method_name, **defaults); end
55
+ def def_node_matcher(base, method_name, **defaults); end
56
+ def def_node_search(base, method_name, **defaults); end
57
+ def emit_keyword_list(forwarding: nil); end
58
+ def emit_lambda_code; end
59
+ def emit_method_code; end
60
+ def emit_node_search(method_name); end
61
+ def emit_node_search_body(method_name, prelude:, on_match:); end
62
+ def emit_param_list; end
63
+ def emit_params(*first, forwarding: nil); end
64
+ def emit_retval; end
65
+ def emit_yield_capture(when_no_capture = nil, yield_with: nil); end
66
+ def wrapping_block(method_name, **defaults); end
67
+ end
68
+ module RuboCop::AST::NodePattern::Macros
69
+ def def_node_matcher(method_name, pattern_str, **keyword_defaults); end
70
+ def def_node_search(method_name, pattern_str, **keyword_defaults); end
71
+ end
72
+ class RuboCop::AST::NodePattern::Invalid < StandardError
73
+ end
74
+ module RuboCop::AST::Descendence
75
+ def child_nodes; end
76
+ def descendants; end
77
+ def each_child_node(*types); end
78
+ def each_descendant(*types, &block); end
79
+ def each_node(*types, &block); end
80
+ def visit_descendants(types, &block); end
81
+ end
82
+ class RuboCop::AST::NodePattern::Builder
83
+ def emit_atom(type, value); end
84
+ def emit_call(type, selector, args = nil); end
85
+ def emit_capture(capture_token, node); end
86
+ def emit_list(type, _begin, children, _end); end
87
+ def emit_subsequence(node_list); end
88
+ def emit_unary_op(type, _operator = nil, *children); end
89
+ def emit_union(begin_t, pattern_lists, end_t); end
90
+ def n(type, *args); end
91
+ def optimizable_as_set?(children); end
92
+ def union_children(pattern_lists); end
93
+ end
94
+ class RuboCop::AST::NodePattern::Comment
95
+ def ==(other); end
96
+ def initialize(range); end
97
+ def inspect; end
98
+ def loc; end
99
+ def location; end
100
+ def text; end
101
+ end
102
+ class RuboCop::AST::NodePattern::Compiler
103
+ def bind(*, **, &); end
104
+ def binding; end
105
+ def captures; end
106
+ def compile_as_atom(node); end
107
+ def compile_as_node_pattern(node, **options); end
108
+ def compile_sequence(sequence, var:); end
109
+ def each_union(enum, &block); end
110
+ def enforce_same_captures(enum); end
111
+ def freeze; end
112
+ def initialize; end
113
+ def named_parameter(name); end
114
+ def named_parameters; end
115
+ def new_capture; end
116
+ def next_capture; end
117
+ def parser; end
118
+ def positional_parameter(number); end
119
+ def positional_parameters; end
120
+ def with_temp_variables(*names, &block); end
121
+ extend RuboCop::SimpleForwardable
122
+ end
123
+ class RuboCop::AST::NodePattern::Compiler::Subcompiler
124
+ def compile(node); end
125
+ def compiler; end
126
+ def do_compile; end
127
+ def initialize(compiler); end
128
+ def node; end
129
+ def self.inherited(base); end
130
+ def self.method_added(method); end
131
+ def self.registry; end
132
+ end
133
+ class RuboCop::AST::NodePattern::Compiler::AtomSubcompiler < RuboCop::AST::NodePattern::Compiler::Subcompiler
134
+ def visit_const; end
135
+ def visit_named_parameter; end
136
+ def visit_number; end
137
+ def visit_other_type; end
138
+ def visit_positional_parameter; end
139
+ def visit_regexp; end
140
+ def visit_set; end
141
+ def visit_string; end
142
+ def visit_symbol; end
143
+ def visit_unify; end
144
+ end
145
+ class RuboCop::AST::NodePattern::Compiler::Binding
146
+ def bind(name); end
147
+ def forbid(names); end
148
+ def initialize; end
149
+ def union_bind(enum); end
150
+ end
151
+ class RuboCop::AST::NodePattern::Compiler::NodePatternSubcompiler < RuboCop::AST::NodePattern::Compiler::Subcompiler
152
+ def access; end
153
+ def access_element; end
154
+ def access_node; end
155
+ def compile_args(arg_list, first: nil); end
156
+ def compile_guard_clause; end
157
+ def compile_value_match(value); end
158
+ def initialize(compiler, var: nil, access: nil, seq_head: nil); end
159
+ def multiple_access(kind); end
160
+ def seq_head; end
161
+ def visit_ascend; end
162
+ def visit_capture; end
163
+ def visit_descend; end
164
+ def visit_function_call; end
165
+ def visit_intersection; end
166
+ def visit_negation; end
167
+ def visit_node_type; end
168
+ def visit_other_type; end
169
+ def visit_predicate; end
170
+ def visit_sequence; end
171
+ def visit_unify; end
172
+ def visit_union; end
173
+ def visit_wildcard; end
174
+ end
175
+ class RuboCop::AST::NodePattern::Compiler::SequenceSubcompiler < RuboCop::AST::NodePattern::Compiler::Subcompiler
176
+ def compile(node); end
177
+ def compile_and_advance(term); end
178
+ def compile_any_order_branches(matched_var); end
179
+ def compile_any_order_else; end
180
+ def compile_captured_repetition(child_code, child_captures); end
181
+ def compile_case(when_branches, else_code); end
182
+ def compile_child_nb_guard(arity_range); end
183
+ def compile_cur_index; end
184
+ def compile_index(cur = nil); end
185
+ def compile_loop(term); end
186
+ def compile_loop_advance(to = nil); end
187
+ def compile_matched(kind); end
188
+ def compile_max_matched; end
189
+ def compile_min_check; end
190
+ def compile_remaining; end
191
+ def compile_sequence; end
192
+ def compile_terms(children = nil, last_arity = nil); end
193
+ def compile_union_forks; end
194
+ def cur_index; end
195
+ def empty_loop; end
196
+ def handle_prev; end
197
+ def in_sync; end
198
+ def initialize(compiler, sequence:, var:); end
199
+ def merge_forks!(forks); end
200
+ def preserve_union_start(forks); end
201
+ def remaining_arities(children, last_arity); end
202
+ def sync; end
203
+ def use_index_from_end; end
204
+ def visit_any_order; end
205
+ def visit_capture; end
206
+ def visit_other_type; end
207
+ def visit_repetition; end
208
+ def visit_rest; end
209
+ def visit_union; end
210
+ def within_loop; end
211
+ end
212
+ class RuboCop::AST::NodePattern::LexerRex
213
+ def action; end
214
+ def filename; end
215
+ def filename=(arg0); end
216
+ def location; end
217
+ def match; end
218
+ def matches; end
219
+ def next_token; end
220
+ def parse(str); end
221
+ def parse_file(path); end
222
+ def scanner_class; end
223
+ def ss; end
224
+ def ss=(arg0); end
225
+ def state; end
226
+ def state=(arg0); end
227
+ end
228
+ class RuboCop::AST::NodePattern::LexerRex::LexerError < StandardError
229
+ end
230
+ class RuboCop::AST::NodePattern::LexerRex::ScanError < RuboCop::AST::NodePattern::LexerRex::LexerError
231
+ end
232
+ class RuboCop::AST::NodePattern::Lexer < RuboCop::AST::NodePattern::LexerRex
233
+ def comments; end
234
+ def do_parse; end
235
+ def emit(type); end
236
+ def emit_comment; end
237
+ def emit_regexp; end
238
+ def initialize(source); end
239
+ def source_buffer; end
240
+ def token(type, value); end
241
+ def tokens; end
242
+ end
243
+ class RuboCop::AST::NodePattern::Node < Parser::AST::Node
244
+ def arity; end
245
+ def arity_range; end
246
+ def capture?; end
247
+ def child; end
248
+ def children_nodes; end
249
+ def in_sequence_head; end
250
+ def matches_within_set?; end
251
+ def nb_captures; end
252
+ def rest?; end
253
+ def source_range; end
254
+ def variadic?; end
255
+ def with(type: nil, children: nil, location: nil); end
256
+ extend RuboCop::SimpleForwardable
257
+ include RuboCop::AST::Descendence
258
+ end
259
+ module RuboCop::AST::NodePattern::Node::ForbidInSeqHead
260
+ def in_sequence_head; end
261
+ end
262
+ class RuboCop::AST::NodePattern::Node::Capture < RuboCop::AST::NodePattern::Node
263
+ def arity(*, **, &); end
264
+ def capture?; end
265
+ def in_sequence_head; end
266
+ def nb_captures; end
267
+ def rest?(*, **, &); end
268
+ end
269
+ class RuboCop::AST::NodePattern::Node::Sequence < RuboCop::AST::NodePattern::Node
270
+ def initialize(type, children = nil, properties = nil); end
271
+ include RuboCop::AST::NodePattern::Node::ForbidInSeqHead
272
+ end
273
+ class RuboCop::AST::NodePattern::Node::Predicate < RuboCop::AST::NodePattern::Node
274
+ def arg_list; end
275
+ def method_name; end
276
+ end
277
+ class RuboCop::AST::NodePattern::Node::Repetition < RuboCop::AST::NodePattern::Node
278
+ def arity; end
279
+ def operator; end
280
+ include RuboCop::AST::NodePattern::Node::ForbidInSeqHead
281
+ end
282
+ class RuboCop::AST::NodePattern::Node::Rest < RuboCop::AST::NodePattern::Node
283
+ def arity; end
284
+ def in_sequence_head; end
285
+ def rest?; end
286
+ end
287
+ class RuboCop::AST::NodePattern::Node::AnyOrder < RuboCop::AST::NodePattern::Node
288
+ def arity; end
289
+ def ends_with_rest?; end
290
+ def rest_node; end
291
+ def term_nodes; end
292
+ include RuboCop::AST::NodePattern::Node::ForbidInSeqHead
293
+ end
294
+ class RuboCop::AST::NodePattern::Node::Subsequence < RuboCop::AST::NodePattern::Node
295
+ def arity; end
296
+ def in_sequence_head; end
297
+ include RuboCop::AST::NodePattern::Node::ForbidInSeqHead
298
+ end
299
+ class RuboCop::AST::NodePattern::Node::Union < RuboCop::AST::NodePattern::Node
300
+ def arity; end
301
+ def in_sequence_head; end
302
+ def nb_captures; end
303
+ end
304
+ class RuboCop::AST::NodePattern::Parser < Racc::Parser
305
+ def _reduce_10(val, _values); end
306
+ def _reduce_11(val, _values); end
307
+ def _reduce_13(val, _values); end
308
+ def _reduce_14(val, _values); end
309
+ def _reduce_15(val, _values); end
310
+ def _reduce_16(val, _values); end
311
+ def _reduce_17(val, _values); end
312
+ def _reduce_18(val, _values); end
313
+ def _reduce_19(val, _values); end
314
+ def _reduce_2(val, _values); end
315
+ def _reduce_20(val, _values); end
316
+ def _reduce_21(val, _values); end
317
+ def _reduce_22(val, _values); end
318
+ def _reduce_25(val, _values); end
319
+ def _reduce_26(val, _values); end
320
+ def _reduce_3(val, _values); end
321
+ def _reduce_33(val, _values); end
322
+ def _reduce_37(val, _values); end
323
+ def _reduce_38(val, _values); end
324
+ def _reduce_39(val, _values); end
325
+ def _reduce_4(val, _values); end
326
+ def _reduce_40(val, _values); end
327
+ def _reduce_41(val, _values); end
328
+ def _reduce_42(val, _values); end
329
+ def _reduce_43(val, _values); end
330
+ def _reduce_44(val, _values); end
331
+ def _reduce_45(val, _values); end
332
+ def _reduce_46(val, _values); end
333
+ def _reduce_5(val, _values); end
334
+ def _reduce_6(val, _values); end
335
+ def _reduce_7(val, _values); end
336
+ def _reduce_8(val, _values); end
337
+ def _reduce_9(val, _values); end
338
+ def _reduce_none(val, _values); end
339
+ def emit_atom(*, **, &); end
340
+ def emit_call(*, **, &); end
341
+ def emit_capture(*, **, &); end
342
+ def emit_list(*, **, &); end
343
+ def emit_unary_op(*, **, &); end
344
+ def emit_union(*, **, &); end
345
+ def enforce_unary(node); end
346
+ def initialize(builder = nil); end
347
+ def inspect; end
348
+ def next_token(*, **, &); end
349
+ def on_error(token, val, _vstack); end
350
+ def parse(source); end
351
+ extend RuboCop::SimpleForwardable
352
+ end
353
+ module RuboCop::AST::NodePattern::Sets
354
+ def self.[](set); end
355
+ def self.name(set); end
356
+ def self.uniq(name); end
357
+ end
358
+ module RuboCop::AST::Sexp
359
+ def s(type, *children); end
360
+ end
361
+ class RuboCop::AST::Node < Parser::AST::Node
362
+ def __ENCODING___type?; end
363
+ def __FILE___type?; end
364
+ def __LINE___type?; end
365
+ def alias_type?; end
366
+ def ancestors; end
367
+ def and_asgn_type?; end
368
+ def and_type?; end
369
+ def any_block_type?; end
370
+ def arg_expr_type?; end
371
+ def arg_type?; end
372
+ def args_type?; end
373
+ def argument?; end
374
+ def argument_type?; end
375
+ def array_pattern_type?; end
376
+ def array_pattern_with_tail_type?; end
377
+ def array_type?; end
378
+ def assignment?; end
379
+ def assignment_or_similar?(param0 = nil); end
380
+ def back_ref_type?; end
381
+ def basic_conditional?; end
382
+ def basic_literal?; end
383
+ def begin_type?; end
384
+ def begin_value_used?; end
385
+ def block_pass_type?; end
386
+ def block_type?; end
387
+ def blockarg_expr_type?; end
388
+ def blockarg_type?; end
389
+ def boolean_type?; end
390
+ def break_type?; end
391
+ def call_type?; end
392
+ def case_if_value_used?; end
393
+ def case_match_type?; end
394
+ def case_type?; end
395
+ def casgn_type?; end
396
+ def cbase_type?; end
397
+ def chained?; end
398
+ def class_constructor?(param0 = nil); end
399
+ def class_definition?(param0 = nil); end
400
+ def class_type?; end
401
+ def complete!; end
402
+ def complete?; end
403
+ def complex_type?; end
404
+ def conditional?; end
405
+ def const_name; end
406
+ def const_pattern_type?; end
407
+ def const_type?; end
408
+ def csend_type?; end
409
+ def cvar_type?; end
410
+ def cvasgn_type?; end
411
+ def def_type?; end
412
+ def defined_module0(param0 = nil); end
413
+ def defined_module; end
414
+ def defined_module_name; end
415
+ def defined_type?; end
416
+ def defs_type?; end
417
+ def dstr_type?; end
418
+ def dsym_type?; end
419
+ def each_ancestor(*types, &block); end
420
+ def eflipflop_type?; end
421
+ def empty_else_type?; end
422
+ def empty_source?; end
423
+ def ensure_type?; end
424
+ def equals_asgn?; end
425
+ def erange_type?; end
426
+ def false_type?; end
427
+ def falsey_literal?; end
428
+ def find_pattern_type?; end
429
+ def first_line; end
430
+ def float_type?; end
431
+ def for_type?; end
432
+ def for_value_used?; end
433
+ def forward_arg_type?; end
434
+ def forward_args_type?; end
435
+ def forwarded_args_type?; end
436
+ def forwarded_kwrestarg_type?; end
437
+ def forwarded_restarg_type?; end
438
+ def global_const?(param0 = nil, param1); end
439
+ def guard_clause?; end
440
+ def gvar_type?; end
441
+ def gvasgn_type?; end
442
+ def hash_pattern_type?; end
443
+ def hash_type?; end
444
+ def ident_type?; end
445
+ def if_guard_type?; end
446
+ def if_type?; end
447
+ def iflipflop_type?; end
448
+ def immutable_literal?; end
449
+ def in_match_type?; end
450
+ def in_pattern_type?; end
451
+ def index_type?; end
452
+ def indexasgn_type?; end
453
+ def initialize(type, children = nil, properties = nil); end
454
+ def int_type?; end
455
+ def irange_type?; end
456
+ def itarg_type?; end
457
+ def itblock_type?; end
458
+ def ivar_type?; end
459
+ def ivasgn_type?; end
460
+ def keyword?; end
461
+ def kwarg_type?; end
462
+ def kwargs_type?; end
463
+ def kwbegin_type?; end
464
+ def kwnilarg_type?; end
465
+ def kwoptarg_type?; end
466
+ def kwrestarg_type?; end
467
+ def kwsplat_type?; end
468
+ def lambda?(param0 = nil); end
469
+ def lambda_or_proc?(param0 = nil); end
470
+ def lambda_type?; end
471
+ def last_line; end
472
+ def left_sibling; end
473
+ def left_siblings; end
474
+ def line_count; end
475
+ def literal?; end
476
+ def loc?(which_loc); end
477
+ def loc_is?(which_loc, str); end
478
+ def loop_keyword?; end
479
+ def lvar_type?; end
480
+ def lvasgn_type?; end
481
+ def masgn_type?; end
482
+ def match_alt_type?; end
483
+ def match_as_type?; end
484
+ def match_current_line_type?; end
485
+ def match_guard_clause?(param0 = nil); end
486
+ def match_nil_pattern_type?; end
487
+ def match_pattern_p_type?; end
488
+ def match_pattern_type?; end
489
+ def match_rest_type?; end
490
+ def match_var_type?; end
491
+ def match_with_lvasgn_type?; end
492
+ def match_with_trailing_comma_type?; end
493
+ def mlhs_type?; end
494
+ def module_definition?(param0 = nil); end
495
+ def module_type?; end
496
+ def multiline?; end
497
+ def mutable_literal?; end
498
+ def new_class_or_module_block?(param0 = nil); end
499
+ def next_type?; end
500
+ def nil_type?; end
501
+ def node_parts; end
502
+ def nonempty_line_count; end
503
+ def not_type?; end
504
+ def nth_ref_type?; end
505
+ def numargs_type?; end
506
+ def numblock_type?; end
507
+ def numeric_type?; end
508
+ def objc_kwarg_type?; end
509
+ def objc_restarg_type?; end
510
+ def objc_varargs_type?; end
511
+ def op_asgn_type?; end
512
+ def operator_keyword?; end
513
+ def optarg_type?; end
514
+ def or_asgn_type?; end
515
+ def or_type?; end
516
+ def pair_type?; end
517
+ def parent; end
518
+ def parent=(node); end
519
+ def parent?; end
520
+ def parent_module_name; end
521
+ def parent_module_name_for_block(ancestor); end
522
+ def parent_module_name_for_sclass(sclass_node); end
523
+ def parent_module_name_part(node); end
524
+ def parenthesized_call?; end
525
+ def pin_type?; end
526
+ def post_condition_loop?; end
527
+ def postexe_type?; end
528
+ def preexe_type?; end
529
+ def proc?(param0 = nil); end
530
+ def procarg0_type?; end
531
+ def pure?; end
532
+ def range_type?; end
533
+ def rational_type?; end
534
+ def receiver(param0 = nil); end
535
+ def recursive_basic_literal?; end
536
+ def recursive_literal?; end
537
+ def redo_type?; end
538
+ def reference?; end
539
+ def regexp_type?; end
540
+ def regopt_type?; end
541
+ def resbody_type?; end
542
+ def rescue_type?; end
543
+ def restarg_expr_type?; end
544
+ def restarg_type?; end
545
+ def retry_type?; end
546
+ def return_type?; end
547
+ def right_sibling; end
548
+ def right_siblings; end
549
+ def root?; end
550
+ def sclass_type?; end
551
+ def self.def_recursive_literal_predicate(kind); end
552
+ def self_type?; end
553
+ def send_type?; end
554
+ def shadowarg_type?; end
555
+ def shorthand_asgn?; end
556
+ def sibling_index; end
557
+ def single_line?; end
558
+ def source; end
559
+ def source_length; end
560
+ def source_range; end
561
+ def special_keyword?; end
562
+ def splat_type?; end
563
+ def str_content(param0 = nil); end
564
+ def str_type?; end
565
+ def struct_constructor?(param0 = nil); end
566
+ def super_type?; end
567
+ def sym_type?; end
568
+ def true_type?; end
569
+ def truthy_literal?; end
570
+ def type?(*types); end
571
+ def undef_type?; end
572
+ def unless_guard_type?; end
573
+ def until_post_type?; end
574
+ def until_type?; end
575
+ def updated(type = nil, children = nil, properties = nil); end
576
+ def value_used?; end
577
+ def variable?; end
578
+ def visit_ancestors(types); end
579
+ def when_type?; end
580
+ def while_post_type?; end
581
+ def while_type?; end
582
+ def while_until_value_used?; end
583
+ def xstr_type?; end
584
+ def yield_type?; end
585
+ def zsuper_type?; end
586
+ extend RuboCop::AST::NodePattern::Macros
587
+ include RuboCop::AST::Descendence
588
+ include RuboCop::AST::Sexp
589
+ end
590
+ module RuboCop::AST::MethodIdentifierPredicates
591
+ def assignment_method?; end
592
+ def bang_method?; end
593
+ def camel_case_method?; end
594
+ def comparison_method?; end
595
+ def const_receiver?; end
596
+ def enumerable_method?; end
597
+ def enumerator_method?; end
598
+ def method?(name); end
599
+ def negation_method?; end
600
+ def nonmutating_array_method?; end
601
+ def nonmutating_binary_operator_method?; end
602
+ def nonmutating_hash_method?; end
603
+ def nonmutating_operator_method?; end
604
+ def nonmutating_string_method?; end
605
+ def nonmutating_unary_operator_method?; end
606
+ def operator_method?; end
607
+ def predicate_method?; end
608
+ def prefix_bang?; end
609
+ def prefix_not?; end
610
+ def self_receiver?; end
611
+ end
612
+ module RuboCop::AST::BinaryOperatorNode
613
+ def conditions; end
614
+ def lhs; end
615
+ def rhs; end
616
+ end
617
+ module RuboCop::AST::CollectionNode
618
+ def &(*, **, &); end
619
+ def *(*, **, &); end
620
+ def +(*, **, &); end
621
+ def -(*, **, &); end
622
+ def <<(*, **, &); end
623
+ def [](*, **, &); end
624
+ def []=(*, **, &); end
625
+ def all?(*, **, &); end
626
+ def any?(*, **, &); end
627
+ def append(*, **, &); end
628
+ def assoc(*, **, &); end
629
+ def at(*, **, &); end
630
+ def bsearch(*, **, &); end
631
+ def bsearch_index(*, **, &); end
632
+ def chain(*, **, &); end
633
+ def chunk(*, **, &); end
634
+ def chunk_while(*, **, &); end
635
+ def clear(*, **, &); end
636
+ def collect!(*, **, &); end
637
+ def collect(*, **, &); end
638
+ def collect_concat(*, **, &); end
639
+ def combination(*, **, &); end
640
+ def compact!(*, **, &); end
641
+ def compact(*, **, &); end
642
+ def concat(*, **, &); end
643
+ def count(*, **, &); end
644
+ def cycle(*, **, &); end
645
+ def deconstruct(*, **, &); end
646
+ def delete(*, **, &); end
647
+ def delete_at(*, **, &); end
648
+ def delete_if(*, **, &); end
649
+ def detect(*, **, &); end
650
+ def difference(*, **, &); end
651
+ def dig(*, **, &); end
652
+ def drop(*, **, &); end
653
+ def drop_while(*, **, &); end
654
+ def each(*, **, &); end
655
+ def each_cons(*, **, &); end
656
+ def each_entry(*, **, &); end
657
+ def each_index(*, **, &); end
658
+ def each_slice(*, **, &); end
659
+ def each_with_index(*, **, &); end
660
+ def each_with_object(*, **, &); end
661
+ def empty?(*, **, &); end
662
+ def entries(*, **, &); end
663
+ def fetch(*, **, &); end
664
+ def fetch_values(*, **, &); end
665
+ def fill(*, **, &); end
666
+ def filter!(*, **, &); end
667
+ def filter(*, **, &); end
668
+ def filter_map(*, **, &); end
669
+ def find(*, **, &); end
670
+ def find_all(*, **, &); end
671
+ def find_index(*, **, &); end
672
+ def first(*, **, &); end
673
+ def flat_map(*, **, &); end
674
+ def flatten!(*, **, &); end
675
+ def flatten(*, **, &); end
676
+ def grep(*, **, &); end
677
+ def grep_v(*, **, &); end
678
+ def group_by(*, **, &); end
679
+ def include?(*, **, &); end
680
+ def index(*, **, &); end
681
+ def inject(*, **, &); end
682
+ def insert(*, **, &); end
683
+ def intersect?(*, **, &); end
684
+ def intersection(*, **, &); end
685
+ def join(*, **, &); end
686
+ def keep_if(*, **, &); end
687
+ def last(*, **, &); end
688
+ def lazy(*, **, &); end
689
+ def length(*, **, &); end
690
+ def map!(*, **, &); end
691
+ def map(*, **, &); end
692
+ def max(*, **, &); end
693
+ def max_by(*, **, &); end
694
+ def member?(*, **, &); end
695
+ def min(*, **, &); end
696
+ def min_by(*, **, &); end
697
+ def minmax(*, **, &); end
698
+ def minmax_by(*, **, &); end
699
+ def none?(*, **, &); end
700
+ def one?(*, **, &); end
701
+ def pack(*, **, &); end
702
+ def partition(*, **, &); end
703
+ def permutation(*, **, &); end
704
+ def pop(*, **, &); end
705
+ def prepend(*, **, &); end
706
+ def product(*, **, &); end
707
+ def push(*, **, &); end
708
+ def rassoc(*, **, &); end
709
+ def reduce(*, **, &); end
710
+ def reject!(*, **, &); end
711
+ def reject(*, **, &); end
712
+ def repeated_combination(*, **, &); end
713
+ def repeated_permutation(*, **, &); end
714
+ def replace(*, **, &); end
715
+ def reverse!(*, **, &); end
716
+ def reverse(*, **, &); end
717
+ def reverse_each(*, **, &); end
718
+ def rindex(*, **, &); end
719
+ def rotate!(*, **, &); end
720
+ def rotate(*, **, &); end
721
+ def sample(*, **, &); end
722
+ def select!(*, **, &); end
723
+ def select(*, **, &); end
724
+ def shelljoin(*, **, &); end
725
+ def shift(*, **, &); end
726
+ def shuffle!(*, **, &); end
727
+ def shuffle(*, **, &); end
728
+ def size(*, **, &); end
729
+ def slice!(*, **, &); end
730
+ def slice(*, **, &); end
731
+ def slice_after(*, **, &); end
732
+ def slice_before(*, **, &); end
733
+ def slice_when(*, **, &); end
734
+ def sort!(*, **, &); end
735
+ def sort(*, **, &); end
736
+ def sort_by!(*, **, &); end
737
+ def sort_by(*, **, &); end
738
+ def sum(*, **, &); end
739
+ def take(*, **, &); end
740
+ def take_while(*, **, &); end
741
+ def tally(*, **, &); end
742
+ def to_ary(*, **, &); end
743
+ def to_h(*, **, &); end
744
+ def to_set(*, **, &); end
745
+ def transpose(*, **, &); end
746
+ def union(*, **, &); end
747
+ def uniq!(*, **, &); end
748
+ def uniq(*, **, &); end
749
+ def unshift(*, **, &); end
750
+ def values_at(*, **, &); end
751
+ def zip(*, **, &); end
752
+ def |(*, **, &); end
753
+ extend RuboCop::SimpleForwardable
754
+ end
755
+ module RuboCop::AST::ConditionalNode
756
+ def body; end
757
+ def condition; end
758
+ def multiline_condition?; end
759
+ def single_line_condition?; end
760
+ end
761
+ module RuboCop::AST::ConstantNode
762
+ def absolute?; end
763
+ def class_name?; end
764
+ def each_path(&block); end
765
+ def module_name?; end
766
+ def namespace; end
767
+ def relative?; end
768
+ def short_name; end
769
+ end
770
+ module RuboCop::AST::HashElementNode
771
+ def delimiter_delta(other); end
772
+ def key; end
773
+ def key_delta(other, alignment = nil); end
774
+ def same_line?(other); end
775
+ def value; end
776
+ def value_delta(other); end
777
+ end
778
+ class RuboCop::AST::HashElementNode::HashElementDelta
779
+ def delimiter_delta; end
780
+ def delta(first, second, alignment = nil); end
781
+ def first; end
782
+ def initialize(first, second); end
783
+ def key_delta(alignment = nil); end
784
+ def keyword_splat?; end
785
+ def second; end
786
+ def valid_argument_types?; end
787
+ def value_delta; end
788
+ end
789
+ module RuboCop::AST::MethodDispatchNode
790
+ def access_modifier?; end
791
+ def adjacent_def_modifier?(param0 = nil); end
792
+ def arithmetic_operation?; end
793
+ def assignment?; end
794
+ def bare_access_modifier?; end
795
+ def bare_access_modifier_declaration?(param0 = nil); end
796
+ def binary_operation?; end
797
+ def block_literal?; end
798
+ def block_node; end
799
+ def command?(name); end
800
+ def const_receiver?; end
801
+ def def_modifier(node = nil); end
802
+ def def_modifier?(node = nil); end
803
+ def dot?; end
804
+ def double_colon?; end
805
+ def implicit_call?; end
806
+ def in_macro_scope?(param0 = nil); end
807
+ def lambda?; end
808
+ def lambda_literal?; end
809
+ def macro?; end
810
+ def method_name; end
811
+ def non_bare_access_modifier?; end
812
+ def non_bare_access_modifier_declaration?(param0 = nil); end
813
+ def receiver; end
814
+ def safe_navigation?; end
815
+ def selector; end
816
+ def self_receiver?; end
817
+ def setter_method?; end
818
+ def special_modifier?; end
819
+ def unary_operation?; end
820
+ extend RuboCop::AST::NodePattern::Macros
821
+ include RuboCop::AST::MethodIdentifierPredicates
822
+ end
823
+ module RuboCop::AST::ModifierNode
824
+ def modifier_form?; end
825
+ end
826
+ module RuboCop::AST::NumericNode
827
+ def sign?; end
828
+ end
829
+ module RuboCop::AST::ParameterizedNode
830
+ def arguments?; end
831
+ def block_argument?; end
832
+ def first_argument; end
833
+ def last_argument; end
834
+ def parenthesized?; end
835
+ def rest_argument?; end
836
+ def splat_argument?; end
837
+ end
838
+ module RuboCop::AST::ParameterizedNode::WrappedArguments
839
+ def arguments; end
840
+ include RuboCop::AST::ParameterizedNode
841
+ end
842
+ module RuboCop::AST::ParameterizedNode::RestArguments
843
+ def arguments; end
844
+ def arguments?; end
845
+ def first_argument; end
846
+ def last_argument; end
847
+ include RuboCop::AST::ParameterizedNode
848
+ end
849
+ module RuboCop::AST::PredicateOperatorNode
850
+ def logical_operator?; end
851
+ def operator; end
852
+ def semantic_operator?; end
853
+ end
854
+ module RuboCop::AST::BasicLiteralNode
855
+ def value; end
856
+ end
857
+ class RuboCop::AST::AliasNode < RuboCop::AST::Node
858
+ def new_identifier; end
859
+ def old_identifier; end
860
+ end
861
+ class RuboCop::AST::AndNode < RuboCop::AST::Node
862
+ def alternate_operator; end
863
+ def inverse_operator; end
864
+ include RuboCop::AST::BinaryOperatorNode
865
+ include RuboCop::AST::PredicateOperatorNode
866
+ end
867
+ class RuboCop::AST::ArgNode < RuboCop::AST::Node
868
+ def default?; end
869
+ def default_value; end
870
+ def name; end
871
+ end
872
+ class RuboCop::AST::ArgsNode < RuboCop::AST::Node
873
+ def argument_list; end
874
+ def empty_and_without_delimiters?; end
875
+ include RuboCop::AST::CollectionNode
876
+ end
877
+ class RuboCop::AST::ArrayNode < RuboCop::AST::Node
878
+ def bracketed?; end
879
+ def each_value(&block); end
880
+ def percent_literal?(type = nil); end
881
+ def square_brackets?; end
882
+ def values; end
883
+ end
884
+ class RuboCop::AST::AsgnNode < RuboCop::AST::Node
885
+ def expression; end
886
+ def lhs; end
887
+ def name; end
888
+ def rhs; end
889
+ end
890
+ class RuboCop::AST::BlockNode < RuboCop::AST::Node
891
+ def argument_list; end
892
+ def arguments; end
893
+ def arguments?; end
894
+ def body; end
895
+ def braces?; end
896
+ def closing_delimiter; end
897
+ def delimiters; end
898
+ def first_argument; end
899
+ def keywords?; end
900
+ def lambda?; end
901
+ def last_argument; end
902
+ def method_name; end
903
+ def multiline?; end
904
+ def numbered_arguments; end
905
+ def opening_delimiter; end
906
+ def send_node; end
907
+ def single_line?; end
908
+ def void_context?; end
909
+ include RuboCop::AST::MethodIdentifierPredicates
910
+ end
911
+ class RuboCop::AST::BreakNode < RuboCop::AST::Node
912
+ include RuboCop::AST::ParameterizedNode::WrappedArguments
913
+ end
914
+ class RuboCop::AST::CaseMatchNode < RuboCop::AST::Node
915
+ def branches; end
916
+ def each_in_pattern(&block); end
917
+ def else?; end
918
+ def else_branch; end
919
+ def in_pattern_branches; end
920
+ def keyword; end
921
+ include RuboCop::AST::ConditionalNode
922
+ end
923
+ class RuboCop::AST::CaseNode < RuboCop::AST::Node
924
+ def branches; end
925
+ def each_when(&block); end
926
+ def else?; end
927
+ def else_branch; end
928
+ def keyword; end
929
+ def when_branches; end
930
+ include RuboCop::AST::ConditionalNode
931
+ end
932
+ class RuboCop::AST::CasgnNode < RuboCop::AST::Node
933
+ def expression; end
934
+ def lhs; end
935
+ def name; end
936
+ def rhs; end
937
+ include RuboCop::AST::ConstantNode
938
+ end
939
+ class RuboCop::AST::ClassNode < RuboCop::AST::Node
940
+ def body; end
941
+ def identifier; end
942
+ def parent_class; end
943
+ end
944
+ class RuboCop::AST::ConstNode < RuboCop::AST::Node
945
+ include RuboCop::AST::ConstantNode
946
+ end
947
+ class RuboCop::AST::DefNode < RuboCop::AST::Node
948
+ def argument_forwarding?; end
949
+ def arguments; end
950
+ def body; end
951
+ def endless?; end
952
+ def method_name; end
953
+ def receiver; end
954
+ def void_context?; end
955
+ include RuboCop::AST::MethodIdentifierPredicates
956
+ include RuboCop::AST::ParameterizedNode
957
+ end
958
+ class RuboCop::AST::DefinedNode < RuboCop::AST::Node
959
+ def arguments; end
960
+ def node_parts; end
961
+ include RuboCop::AST::MethodDispatchNode
962
+ include RuboCop::AST::ParameterizedNode
963
+ end
964
+ class RuboCop::AST::EnsureNode < RuboCop::AST::Node
965
+ def body; end
966
+ def branch; end
967
+ def rescue_node; end
968
+ def void_context?; end
969
+ end
970
+ class RuboCop::AST::ForNode < RuboCop::AST::Node
971
+ def body; end
972
+ def collection; end
973
+ def do?; end
974
+ def keyword; end
975
+ def variable; end
976
+ def void_context?; end
977
+ end
978
+ class RuboCop::AST::ForwardArgsNode < RuboCop::AST::Node
979
+ def to_a; end
980
+ include RuboCop::AST::CollectionNode
981
+ end
982
+ class RuboCop::AST::FloatNode < RuboCop::AST::Node
983
+ include RuboCop::AST::BasicLiteralNode
984
+ include RuboCop::AST::NumericNode
985
+ end
986
+ class RuboCop::AST::HashNode < RuboCop::AST::Node
987
+ def braces?; end
988
+ def each_key(&block); end
989
+ def each_pair; end
990
+ def each_value(&block); end
991
+ def empty?; end
992
+ def keys; end
993
+ def mixed_delimiters?; end
994
+ def pairs; end
995
+ def pairs_on_same_line?; end
996
+ def values; end
997
+ end
998
+ class RuboCop::AST::IfNode < RuboCop::AST::Node
999
+ def branches; end
1000
+ def each_branch(&block); end
1001
+ def else?; end
1002
+ def else_branch; end
1003
+ def elsif?; end
1004
+ def elsif_conditional?; end
1005
+ def if?; end
1006
+ def if_branch; end
1007
+ def inverse_keyword; end
1008
+ def keyword; end
1009
+ def modifier_form?; end
1010
+ def nested_conditional?; end
1011
+ def node_parts; end
1012
+ def ternary?; end
1013
+ def then?; end
1014
+ def unless?; end
1015
+ include RuboCop::AST::ConditionalNode
1016
+ include RuboCop::AST::ModifierNode
1017
+ end
1018
+ class RuboCop::AST::InPatternNode < RuboCop::AST::Node
1019
+ def body; end
1020
+ def branch_index; end
1021
+ def pattern; end
1022
+ def then?; end
1023
+ end
1024
+ class RuboCop::AST::IndexNode < RuboCop::AST::Node
1025
+ def assignment_method?; end
1026
+ def attribute_accessor?; end
1027
+ def first_argument_index; end
1028
+ def method_name; end
1029
+ include RuboCop::AST::MethodDispatchNode
1030
+ include RuboCop::AST::ParameterizedNode::RestArguments
1031
+ end
1032
+ class RuboCop::AST::IndexasgnNode < RuboCop::AST::Node
1033
+ def assignment_method?; end
1034
+ def attribute_accessor?; end
1035
+ def first_argument_index; end
1036
+ def method_name; end
1037
+ include RuboCop::AST::MethodDispatchNode
1038
+ include RuboCop::AST::ParameterizedNode::RestArguments
1039
+ end
1040
+ class RuboCop::AST::IntNode < RuboCop::AST::Node
1041
+ include RuboCop::AST::BasicLiteralNode
1042
+ include RuboCop::AST::NumericNode
1043
+ end
1044
+ class RuboCop::AST::KeywordBeginNode < RuboCop::AST::Node
1045
+ def body; end
1046
+ def ensure_node; end
1047
+ def rescue_node; end
1048
+ end
1049
+ class RuboCop::AST::KeywordSplatNode < RuboCop::AST::Node
1050
+ def colon?; end
1051
+ def hash_rocket?; end
1052
+ def kwsplat_type?; end
1053
+ def node_parts; end
1054
+ def operator; end
1055
+ include RuboCop::AST::HashElementNode
1056
+ end
1057
+ class RuboCop::AST::LambdaNode < RuboCop::AST::Node
1058
+ def assignment_method?; end
1059
+ def attribute_accessor?; end
1060
+ def first_argument_index; end
1061
+ def lambda?; end
1062
+ def lambda_literal?; end
1063
+ def method_name; end
1064
+ def receiver; end
1065
+ include RuboCop::AST::MethodDispatchNode
1066
+ include RuboCop::AST::ParameterizedNode::RestArguments
1067
+ end
1068
+ class RuboCop::AST::MasgnNode < RuboCop::AST::Node
1069
+ def assignments; end
1070
+ def expression; end
1071
+ def lhs; end
1072
+ def multiple_rhs?; end
1073
+ def names; end
1074
+ def rhs; end
1075
+ def values; end
1076
+ end
1077
+ class RuboCop::AST::MlhsNode < RuboCop::AST::Node
1078
+ def assignments; end
1079
+ end
1080
+ class RuboCop::AST::ModuleNode < RuboCop::AST::Node
1081
+ def body; end
1082
+ def identifier; end
1083
+ end
1084
+ class RuboCop::AST::NextNode < RuboCop::AST::Node
1085
+ include RuboCop::AST::ParameterizedNode::WrappedArguments
1086
+ end
1087
+ class RuboCop::AST::OpAsgnNode < RuboCop::AST::Node
1088
+ def assignment_node; end
1089
+ def expression; end
1090
+ def lhs; end
1091
+ def name; end
1092
+ def operator; end
1093
+ def rhs; end
1094
+ end
1095
+ class RuboCop::AST::AndAsgnNode < RuboCop::AST::OpAsgnNode
1096
+ def operator; end
1097
+ end
1098
+ class RuboCop::AST::OrAsgnNode < RuboCop::AST::OpAsgnNode
1099
+ def operator; end
1100
+ end
1101
+ class RuboCop::AST::OrNode < RuboCop::AST::Node
1102
+ def alternate_operator; end
1103
+ def inverse_operator; end
1104
+ include RuboCop::AST::BinaryOperatorNode
1105
+ include RuboCop::AST::PredicateOperatorNode
1106
+ end
1107
+ class RuboCop::AST::PairNode < RuboCop::AST::Node
1108
+ def colon?; end
1109
+ def delimiter(*deprecated, with_spacing: nil); end
1110
+ def hash_rocket?; end
1111
+ def inverse_delimiter(*deprecated, with_spacing: nil); end
1112
+ def value_omission?; end
1113
+ def value_on_new_line?; end
1114
+ include RuboCop::AST::HashElementNode
1115
+ end
1116
+ class RuboCop::AST::Procarg0Node < RuboCop::AST::ArgNode
1117
+ def name; end
1118
+ end
1119
+ class RuboCop::AST::RangeNode < RuboCop::AST::Node
1120
+ def begin; end
1121
+ def end; end
1122
+ end
1123
+ class RuboCop::AST::RationalNode < RuboCop::AST::Node
1124
+ include RuboCop::AST::BasicLiteralNode
1125
+ include RuboCop::AST::NumericNode
1126
+ end
1127
+ class RuboCop::AST::RegexpNode < RuboCop::AST::Node
1128
+ def content; end
1129
+ def delimiter?(char); end
1130
+ def delimiters; end
1131
+ def extended?; end
1132
+ def fixed_encoding?; end
1133
+ def ignore_case?; end
1134
+ def interpolation?; end
1135
+ def multiline_mode?; end
1136
+ def no_encoding?; end
1137
+ def options; end
1138
+ def percent_r_literal?; end
1139
+ def regopt; end
1140
+ def regopt_include?(option); end
1141
+ def single_interpolation?; end
1142
+ def slash_literal?; end
1143
+ def to_regexp; end
1144
+ end
1145
+ class RuboCop::AST::RescueNode < RuboCop::AST::Node
1146
+ def body; end
1147
+ def branches; end
1148
+ def else?; end
1149
+ def else_branch; end
1150
+ def resbody_branches; end
1151
+ end
1152
+ class RuboCop::AST::ResbodyNode < RuboCop::AST::Node
1153
+ def body; end
1154
+ def branch_index; end
1155
+ def exception_variable; end
1156
+ def exceptions; end
1157
+ end
1158
+ class RuboCop::AST::ReturnNode < RuboCop::AST::Node
1159
+ include RuboCop::AST::ParameterizedNode::WrappedArguments
1160
+ end
1161
+ class RuboCop::AST::SelfClassNode < RuboCop::AST::Node
1162
+ def body; end
1163
+ def identifier; end
1164
+ end
1165
+ class RuboCop::AST::SendNode < RuboCop::AST::Node
1166
+ def attribute_accessor?(param0 = nil); end
1167
+ def first_argument_index; end
1168
+ def send_type?; end
1169
+ include RuboCop::AST::MethodDispatchNode
1170
+ include RuboCop::AST::ParameterizedNode::RestArguments
1171
+ end
1172
+ class RuboCop::AST::CsendNode < RuboCop::AST::SendNode
1173
+ def send_type?; end
1174
+ end
1175
+ class RuboCop::AST::StrNode < RuboCop::AST::Node
1176
+ def character_literal?; end
1177
+ def double_quoted?; end
1178
+ def heredoc?; end
1179
+ def percent_literal?(type = nil); end
1180
+ def single_quoted?; end
1181
+ include RuboCop::AST::BasicLiteralNode
1182
+ end
1183
+ class RuboCop::AST::DstrNode < RuboCop::AST::StrNode
1184
+ def value; end
1185
+ end
1186
+ class RuboCop::AST::SuperNode < RuboCop::AST::Node
1187
+ def arguments; end
1188
+ def node_parts; end
1189
+ include RuboCop::AST::MethodDispatchNode
1190
+ include RuboCop::AST::ParameterizedNode
1191
+ end
1192
+ class RuboCop::AST::SymbolNode < RuboCop::AST::Node
1193
+ include RuboCop::AST::BasicLiteralNode
1194
+ end
1195
+ class RuboCop::AST::UntilNode < RuboCop::AST::Node
1196
+ def do?; end
1197
+ def inverse_keyword; end
1198
+ def keyword; end
1199
+ include RuboCop::AST::ConditionalNode
1200
+ include RuboCop::AST::ModifierNode
1201
+ end
1202
+ class RuboCop::AST::VarNode < RuboCop::AST::Node
1203
+ def name; end
1204
+ end
1205
+ class RuboCop::AST::WhenNode < RuboCop::AST::Node
1206
+ def body; end
1207
+ def branch_index; end
1208
+ def conditions; end
1209
+ def each_condition(&block); end
1210
+ def then?; end
1211
+ end
1212
+ class RuboCop::AST::WhileNode < RuboCop::AST::Node
1213
+ def do?; end
1214
+ def inverse_keyword; end
1215
+ def keyword; end
1216
+ include RuboCop::AST::ConditionalNode
1217
+ include RuboCop::AST::ModifierNode
1218
+ end
1219
+ class RuboCop::AST::YieldNode < RuboCop::AST::Node
1220
+ def arguments; end
1221
+ def node_parts; end
1222
+ include RuboCop::AST::MethodDispatchNode
1223
+ include RuboCop::AST::ParameterizedNode
1224
+ end
1225
+ module RuboCop::AST::BuilderExtensions
1226
+ def n(type, children, source_map); end
1227
+ def node_klass(type); end
1228
+ def self.included(base); end
1229
+ def string_value(token); end
1230
+ end
1231
+ class RuboCop::AST::Builder < Parser::Builders::Default
1232
+ include RuboCop::AST::BuilderExtensions
1233
+ end
1234
+ class RuboCop::AST::BuilderPrism < Prism::Translation::Parser::Builder
1235
+ include RuboCop::AST::BuilderExtensions
1236
+ end
1237
+ class RuboCop::AST::PrismPreparsed
1238
+ def initialize(prism_result); end
1239
+ def parse_lex(_source, **_prism_options); end
1240
+ end
1241
+ class RuboCop::AST::ProcessedSource
1242
+ def [](*args); end
1243
+ def ast; end
1244
+ def ast_with_comments; end
1245
+ def blank?; end
1246
+ def buffer; end
1247
+ def builder_class(parser_engine); end
1248
+ def checksum; end
1249
+ def comment_at_line(line); end
1250
+ def comment_index; end
1251
+ def commented?(source_range); end
1252
+ def comments; end
1253
+ def comments_before_line(line); end
1254
+ def contains_comment?(source_range); end
1255
+ def create_parser(ruby_version, parser_engine, prism_result); end
1256
+ def current_line(token); end
1257
+ def default_parser_engine(ruby_version); end
1258
+ def diagnostics; end
1259
+ def each_comment(&block); end
1260
+ def each_comment_in_lines(line_range); end
1261
+ def each_token(&block); end
1262
+ def file_path; end
1263
+ def find_comment(&block); end
1264
+ def find_token(&block); end
1265
+ def first_token_index(range_or_node); end
1266
+ def first_token_of(range_or_node); end
1267
+ def following_line(token); end
1268
+ def initialize(source, ruby_version, path = nil, parser_engine: nil, prism_result: nil); end
1269
+ def last_token_index(range_or_node); end
1270
+ def last_token_of(range_or_node); end
1271
+ def line_indentation(line_number); end
1272
+ def line_with_comment?(line); end
1273
+ def lines; end
1274
+ def normalize_parser_engine(parser_engine, ruby_version); end
1275
+ def parse(source, ruby_version, parser_engine, prism_result); end
1276
+ def parser_class(ruby_version, parser_engine); end
1277
+ def parser_engine; end
1278
+ def parser_error; end
1279
+ def path; end
1280
+ def preceding_line(token); end
1281
+ def raw_source; end
1282
+ def ruby_version; end
1283
+ def self.from_file(path, ruby_version, parser_engine: nil); end
1284
+ def sorted_tokens; end
1285
+ def source_range(range_or_node); end
1286
+ def start_with?(string); end
1287
+ def tokenize(parser); end
1288
+ def tokens; end
1289
+ def tokens_within(range_or_node); end
1290
+ def valid_syntax?; end
1291
+ end
1292
+ module RuboCop::AST::RuboCopCompatibility
1293
+ def rubocop_loaded; end
1294
+ end
1295
+ class RuboCop::AST::Token
1296
+ def begin_pos; end
1297
+ def column; end
1298
+ def comma?; end
1299
+ def comment?; end
1300
+ def dot?; end
1301
+ def end?; end
1302
+ def end_pos; end
1303
+ def equal_sign?; end
1304
+ def initialize(pos, type, text); end
1305
+ def left_array_bracket?; end
1306
+ def left_brace?; end
1307
+ def left_bracket?; end
1308
+ def left_curly_brace?; end
1309
+ def left_parens?; end
1310
+ def left_ref_bracket?; end
1311
+ def line; end
1312
+ def new_line?; end
1313
+ def pos; end
1314
+ def regexp_dots?; end
1315
+ def rescue_modifier?; end
1316
+ def right_bracket?; end
1317
+ def right_curly_brace?; end
1318
+ def right_parens?; end
1319
+ def self.from_parser_token(parser_token); end
1320
+ def semicolon?; end
1321
+ def space_after?; end
1322
+ def space_before?; end
1323
+ def text; end
1324
+ def to_s; end
1325
+ def type; end
1326
+ end
1327
+ module RuboCop::AST::Traversal
1328
+ def on_(node); end
1329
+ def on___ENCODING__(node); end
1330
+ def on___FILE__(node); end
1331
+ def on___LINE__(node); end
1332
+ def on_alias(node); end
1333
+ def on_and(node); end
1334
+ def on_and_asgn(node); end
1335
+ def on_arg(node); end
1336
+ def on_arg_expr(node); end
1337
+ def on_args(node); end
1338
+ def on_array(node); end
1339
+ def on_array_pattern(node); end
1340
+ def on_array_pattern_with_tail(node); end
1341
+ def on_back_ref(node); end
1342
+ def on_begin(node); end
1343
+ def on_block(node); end
1344
+ def on_block_pass(node); end
1345
+ def on_blockarg(node); end
1346
+ def on_break(node); end
1347
+ def on_case(node); end
1348
+ def on_case_match(node); end
1349
+ def on_casgn(node); end
1350
+ def on_cbase(node); end
1351
+ def on_class(node); end
1352
+ def on_complex(node); end
1353
+ def on_const(node); end
1354
+ def on_const_pattern(node); end
1355
+ def on_csend(node); end
1356
+ def on_cvar(node); end
1357
+ def on_cvasgn(node); end
1358
+ def on_def(node); end
1359
+ def on_defined?(node); end
1360
+ def on_defs(node); end
1361
+ def on_dstr(node); end
1362
+ def on_dsym(node); end
1363
+ def on_eflipflop(node); end
1364
+ def on_empty_else(node); end
1365
+ def on_ensure(node); end
1366
+ def on_erange(node); end
1367
+ def on_false(node); end
1368
+ def on_find_pattern(node); end
1369
+ def on_float(node); end
1370
+ def on_for(node); end
1371
+ def on_forward_arg(node); end
1372
+ def on_forward_args(node); end
1373
+ def on_forwarded_args(node); end
1374
+ def on_forwarded_kwrestarg(node); end
1375
+ def on_forwarded_restarg(node); end
1376
+ def on_gvar(node); end
1377
+ def on_gvasgn(node); end
1378
+ def on_hash(node); end
1379
+ def on_hash_pattern(node); end
1380
+ def on_if(node); end
1381
+ def on_if_guard(node); end
1382
+ def on_iflipflop(node); end
1383
+ def on_in_match(node); end
1384
+ def on_in_pattern(node); end
1385
+ def on_index(node); end
1386
+ def on_indexasgn(node); end
1387
+ def on_int(node); end
1388
+ def on_irange(node); end
1389
+ def on_itblock(node); end
1390
+ def on_ivar(node); end
1391
+ def on_ivasgn(node); end
1392
+ def on_kwarg(node); end
1393
+ def on_kwargs(node); end
1394
+ def on_kwbegin(node); end
1395
+ def on_kwnilarg(node); end
1396
+ def on_kwoptarg(node); end
1397
+ def on_kwrestarg(node); end
1398
+ def on_kwsplat(node); end
1399
+ def on_lambda(node); end
1400
+ def on_lvar(node); end
1401
+ def on_lvasgn(node); end
1402
+ def on_masgn(node); end
1403
+ def on_match_alt(node); end
1404
+ def on_match_as(node); end
1405
+ def on_match_current_line(node); end
1406
+ def on_match_nil_pattern(node); end
1407
+ def on_match_pattern(node); end
1408
+ def on_match_pattern_p(node); end
1409
+ def on_match_rest(node); end
1410
+ def on_match_var(node); end
1411
+ def on_match_with_lvasgn(node); end
1412
+ def on_match_with_trailing_comma(node); end
1413
+ def on_mlhs(node); end
1414
+ def on_module(node); end
1415
+ def on_mrasgn(node); end
1416
+ def on_next(node); end
1417
+ def on_nil(node); end
1418
+ def on_not(node); end
1419
+ def on_nth_ref(node); end
1420
+ def on_numblock(node); end
1421
+ def on_op_asgn(node); end
1422
+ def on_optarg(node); end
1423
+ def on_or(node); end
1424
+ def on_or_asgn(node); end
1425
+ def on_pair(node); end
1426
+ def on_pin(node); end
1427
+ def on_postexe(node); end
1428
+ def on_preexe(node); end
1429
+ def on_procarg0(node); end
1430
+ def on_rasgn(node); end
1431
+ def on_rational(node); end
1432
+ def on_redo(node); end
1433
+ def on_regexp(node); end
1434
+ def on_regopt(node); end
1435
+ def on_resbody(node); end
1436
+ def on_rescue(node); end
1437
+ def on_restarg(node); end
1438
+ def on_retry(node); end
1439
+ def on_return(node); end
1440
+ def on_sclass(node); end
1441
+ def on_self(node); end
1442
+ def on_send(node); end
1443
+ def on_shadowarg(node); end
1444
+ def on_splat(node); end
1445
+ def on_str(node); end
1446
+ def on_super(node); end
1447
+ def on_sym(node); end
1448
+ def on_true(node); end
1449
+ def on_undef(node); end
1450
+ def on_unless_guard(node); end
1451
+ def on_until(node); end
1452
+ def on_until_post(node); end
1453
+ def on_when(node); end
1454
+ def on_while(node); end
1455
+ def on_while_post(node); end
1456
+ def on_xstr(node); end
1457
+ def on_yield(node); end
1458
+ def on_zsuper(node); end
1459
+ def walk(node); end
1460
+ extend RuboCop::AST::Traversal::CallbackCompiler
1461
+ end
1462
+ class RuboCop::AST::Traversal::DebugError < RuntimeError
1463
+ end
1464
+ module RuboCop::AST::Traversal::CallbackCompiler
1465
+ def body(child_node_types, expected_children_count); end
1466
+ def children_count_check_code(range); end
1467
+ def def_callback(type, *child_node_types, expected_children_count: nil, body: nil); end
1468
+ end
1469
+ module RuboCop::AST::Version
1470
+ end