sord 0.8.0 → 3.0.0.beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  3. data/.github/ISSUE_TEMPLATE/feature-request.md +0 -0
  4. data/.gitignore +0 -0
  5. data/.parlour +11 -0
  6. data/.rspec +0 -0
  7. data/.travis.yml +6 -0
  8. data/CHANGELOG.md +99 -0
  9. data/CODE_OF_CONDUCT.md +0 -0
  10. data/Gemfile +0 -0
  11. data/LICENSE.txt +0 -0
  12. data/README.md +17 -11
  13. data/Rakefile +87 -12
  14. data/exe/sord +50 -33
  15. data/lib/sord.rb +2 -1
  16. data/lib/sord/generator.rb +592 -0
  17. data/lib/sord/logging.rb +21 -30
  18. data/lib/sord/parlour_plugin.rb +84 -0
  19. data/lib/sord/resolver.rb +9 -2
  20. data/lib/sord/type_converter.rb +88 -42
  21. data/lib/sord/version.rb +1 -1
  22. data/rbi/sord.rbi +279 -68
  23. data/sord.gemspec +3 -3
  24. metadata +23 -38
  25. data/lib/sord/rbi_generator.rb +0 -334
  26. data/sorbet/config +0 -0
  27. data/sorbet/rbi/gems/colorize.rbi +0 -81
  28. data/sorbet/rbi/gems/docile.rbi +0 -31
  29. data/sorbet/rbi/gems/rake.rbi +0 -643
  30. data/sorbet/rbi/gems/rspec-core.rbi +0 -1658
  31. data/sorbet/rbi/gems/rspec-expectations.rbi +0 -389
  32. data/sorbet/rbi/gems/rspec-mocks.rbi +0 -823
  33. data/sorbet/rbi/gems/rspec-support.rbi +0 -268
  34. data/sorbet/rbi/gems/rspec.rbi +0 -14
  35. data/sorbet/rbi/gems/simplecov-html.rbi +0 -30
  36. data/sorbet/rbi/gems/simplecov.rbi +0 -223
  37. data/sorbet/rbi/gems/sorbet-runtime.rbi +0 -647
  38. data/sorbet/rbi/gems/yard.rbi +0 -310
  39. data/sorbet/rbi/hidden-definitions/errors.txt +0 -9353
  40. data/sorbet/rbi/hidden-definitions/hidden.rbi +0 -16640
  41. data/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +0 -8547
  42. data/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +0 -111
  43. data/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +0 -543
@@ -1,647 +0,0 @@
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/sorbet-runtime/all/sorbet-runtime.rbi
9
- #
10
- # sorbet-runtime-0.4.4358
11
- module T::Configuration
12
- def self.call_validation_error_handler(signature, opts); end
13
- def self.call_validation_error_handler=(value); end
14
- def self.call_validation_error_handler_default(signature, opts); end
15
- def self.default_checked_level=(default_checked_level); end
16
- def self.enable_checking_for_sigs_marked_checked_tests; end
17
- def self.hard_assert_handler(str, extra); end
18
- def self.hard_assert_handler=(value); end
19
- def self.hard_assert_handler_default(str, _); end
20
- def self.inline_type_error_handler(error); end
21
- def self.inline_type_error_handler=(value); end
22
- def self.inline_type_error_handler_default(error); end
23
- def self.log_info_handler(str, extra); end
24
- def self.log_info_handler=(value); end
25
- def self.log_info_handler_default(str, extra); end
26
- def self.scalar_types; end
27
- def self.scalar_types=(values); end
28
- def self.sig_builder_error_handler(error, location); end
29
- def self.sig_builder_error_handler=(value); end
30
- def self.sig_builder_error_handler_default(error, location); end
31
- def self.sig_validation_error_handler(error, opts); end
32
- def self.sig_validation_error_handler=(value); end
33
- def self.sig_validation_error_handler_default(error, opts); end
34
- def self.soft_assert_handler(str, extra); end
35
- def self.soft_assert_handler=(value); end
36
- def self.soft_assert_handler_default(str, extra); end
37
- def self.validate_lambda_given!(value); end
38
- end
39
- module T::Profile
40
- def self.reset; end
41
- def self.typecheck_count_estimate; end
42
- def self.typecheck_duration; end
43
- def self.typecheck_duration=(arg0); end
44
- def self.typecheck_duration_estimate; end
45
- def self.typecheck_sample_attempts; end
46
- def self.typecheck_sample_attempts=(arg0); end
47
- def self.typecheck_samples; end
48
- def self.typecheck_samples=(arg0); end
49
- end
50
- module T
51
- end
52
- module T::Array
53
- end
54
- module T::Hash
55
- end
56
- module T::Enumerable
57
- end
58
- module T::Enumerator
59
- def self.[](type); end
60
- end
61
- module T::Range
62
- end
63
- module T::Set
64
- end
65
- module T::CFGExport
66
- end
67
- class T::Private::DeclState
68
- def active_declaration; end
69
- def active_declaration=(arg0); end
70
- def reset!; end
71
- def self.current; end
72
- def self.current=(other); end
73
- end
74
- module T::Utils
75
- def self.arity(method); end
76
- def self.coerce(val); end
77
- def self.methods_excluding_object(mod); end
78
- def self.register_forwarder(from_method, to_method, remove_first_param: nil); end
79
- def self.run_all_sig_blocks; end
80
- def self.signature_for_instance_method(mod, method_name); end
81
- def self.string_truncate_middle(str, start_len, end_len, ellipsis = nil); end
82
- def self.unwrap_nilable(type); end
83
- def self.validate_sigs; end
84
- def self.wrap_method_with_call_validation_if_needed(mod, method_sig, original_method); end
85
- end
86
- class T::Utils::RuntimeProfiled
87
- end
88
- module T::Private::ClassUtils
89
- def self.replace_method(mod, name, &blk); end
90
- def self.visibility_method_name(mod, name); end
91
- end
92
- class T::Private::ClassUtils::ReplacedMethod
93
- def bind(obj); end
94
- def initialize(mod, old_method, new_method, overwritten, visibility); end
95
- def restore; end
96
- def to_s; end
97
- end
98
- module T::Private::ErrorHandler
99
- def self.handle_call_validation_error(signature, opts = nil); end
100
- def self.handle_inline_type_error(type_error); end
101
- def self.handle_sig_builder_error(error, location); end
102
- def self.handle_sig_validation_error(error, opts = nil); end
103
- end
104
- module T::Private::RuntimeLevels
105
- def self._toggle_checking_tests(checked); end
106
- def self.check_tests?; end
107
- def self.default_checked_level; end
108
- def self.default_checked_level=(default_checked_level); end
109
- def self.enable_checking_in_tests; end
110
- end
111
- module T::Private::Methods
112
- def self._on_method_added(hook_mod, method_name, is_singleton_method: nil); end
113
- def self.build_sig(hook_mod, method_name, original_method, current_declaration, loc); end
114
- def self.declare_sig(mod, &blk); end
115
- def self.finalize_proc(decl); end
116
- def self.has_sig_block_for_key(key); end
117
- def self.has_sig_block_for_method(method); end
118
- def self.install_hooks(mod); end
119
- def self.install_singleton_method_added_hook(singleton_klass); end
120
- def self.key_to_method(key); end
121
- def self.maybe_run_sig_block_for_key(key); end
122
- def self.maybe_run_sig_block_for_method(method); end
123
- def self.method_to_key(method); end
124
- def self.register_forwarder(from_method, to_method, mode: nil, remove_first_param: nil); end
125
- def self.run_all_sig_blocks; end
126
- def self.run_builder(declaration_block); end
127
- def self.run_sig(hook_mod, method_name, original_method, declaration_block); end
128
- def self.run_sig_block_for_key(key); end
129
- def self.run_sig_block_for_method(method); end
130
- def self.sig_error(loc, message); end
131
- def self.signature_for_key(key); end
132
- def self.signature_for_method(method); end
133
- def self.start_proc; end
134
- def self.unwrap_method(hook_mod, signature, original_method); end
135
- end
136
- class T::Private::Methods::DeclarationBlock < Struct
137
- def blk; end
138
- def blk=(_); end
139
- def loc; end
140
- def loc=(_); end
141
- def mod; end
142
- def mod=(_); end
143
- def self.[](*arg0); end
144
- def self.inspect; end
145
- def self.members; end
146
- def self.new(*arg0); end
147
- end
148
- module T::Sig
149
- def sig(&blk); end
150
- end
151
- module T::Sig::WithoutRuntime
152
- end
153
- module T::Helpers
154
- def abstract!; end
155
- def interface!; end
156
- def mixes_in_class_methods(mod); end
157
- end
158
- module T::Types
159
- end
160
- class T::Types::Base
161
- def self.method_added(method_name); end
162
- end
163
- class T::Types::TypedEnumerable < T::Types::Base
164
- end
165
- class T::Types::ClassOf < T::Types::Base
166
- end
167
- class T::Types::Enum < T::Types::Base
168
- def self.method_added(name); end
169
- def self.singleton_method_added(name); end
170
- extend T::Sig
171
- end
172
- class T::Types::FixedArray < T::Types::Base
173
- end
174
- class T::Types::FixedHash < T::Types::Base
175
- end
176
- class T::Types::Intersection < T::Types::Base
177
- end
178
- class T::Types::NoReturn < T::Types::Base
179
- end
180
- class T::Types::Proc < T::Types::Base
181
- end
182
- class T::Types::SelfType < T::Types::Base
183
- end
184
- class T::Types::Simple < T::Types::Base
185
- end
186
- class T::Types::TypeParameter < T::Types::Base
187
- end
188
- class T::Types::TypedArray < T::Types::TypedEnumerable
189
- end
190
- class T::Types::TypedEnumerator < T::Types::TypedEnumerable
191
- end
192
- class T::Types::TypedHash < T::Types::TypedEnumerable
193
- end
194
- class T::Types::TypedRange < T::Types::TypedEnumerable
195
- end
196
- class T::Types::TypedSet < T::Types::TypedEnumerable
197
- end
198
- class T::Types::Union < T::Types::Base
199
- end
200
- class T::Types::Untyped < T::Types::Base
201
- end
202
- class T::Private::Types::NotTyped < T::Types::Base
203
- end
204
- class T::Private::Types::Void < T::Types::Base
205
- end
206
- module T::Private::Types::Void::VOID
207
- end
208
- class T::Private::Types::StringHolder < T::Types::Base
209
- end
210
- class T::Types::TypeVariable < T::Types::Base
211
- end
212
- class T::Types::TypeMember < T::Types::TypeVariable
213
- end
214
- class T::Types::TypeTemplate < T::Types::TypeVariable
215
- end
216
- module T::Private::Methods::Modes
217
- def self.abstract; end
218
- def self.implementation; end
219
- def self.overridable; end
220
- def self.overridable_implementation; end
221
- def self.override; end
222
- def self.standard; end
223
- def self.untyped; end
224
- end
225
- module T::Private::Methods::CallValidation
226
- def self.create_validator_method(mod, original_method, method_sig, original_visibility); end
227
- def self.create_validator_method_fast(mod, original_method, method_sig); end
228
- def self.create_validator_method_fast0(mod, original_method, method_sig, return_type); end
229
- def self.create_validator_method_fast1(mod, original_method, method_sig, return_type, arg0_type); end
230
- def self.create_validator_method_fast2(mod, original_method, method_sig, return_type, arg0_type, arg1_type); end
231
- def self.create_validator_method_fast3(mod, original_method, method_sig, return_type, arg0_type, arg1_type, arg2_type); end
232
- def self.create_validator_method_fast4(mod, original_method, method_sig, return_type, arg0_type, arg1_type, arg2_type, arg3_type); end
233
- def self.create_validator_procedure_fast(mod, original_method, method_sig); end
234
- def self.create_validator_procedure_fast0(mod, original_method, method_sig); end
235
- def self.create_validator_procedure_fast1(mod, original_method, method_sig, arg0_type); end
236
- def self.create_validator_procedure_fast2(mod, original_method, method_sig, arg0_type, arg1_type); end
237
- def self.create_validator_procedure_fast3(mod, original_method, method_sig, arg0_type, arg1_type, arg2_type); end
238
- def self.create_validator_procedure_fast4(mod, original_method, method_sig, arg0_type, arg1_type, arg2_type, arg3_type); end
239
- def self.create_validator_slow(mod, original_method, method_sig); end
240
- def self.disable_fast_path; end
241
- def self.is_allowed_to_have_fast_path; end
242
- def self.report_error(method_sig, error_message, kind, name, type, value, caller_offset: nil); end
243
- def self.validate_call(instance, original_method, method_sig, args, blk); end
244
- def self.visibility_method_name(mod, name); end
245
- def self.wrap_method_if_needed(mod, method_sig, original_method); end
246
- end
247
- module T::Private::Methods::SignatureValidation
248
- def self.base_override_loc_str(signature, super_signature); end
249
- def self.method_loc_str(method); end
250
- def self.pretty_mode(signature); end
251
- def self.validate(signature); end
252
- def self.validate_non_override_mode(signature); end
253
- def self.validate_override_mode(signature, super_signature); end
254
- def self.validate_override_shape(signature, super_signature); end
255
- def self.validate_override_types(signature, super_signature); end
256
- end
257
- module T::AbstractUtils
258
- def self.abstract_method?(method); end
259
- def self.abstract_methods_for(mod); end
260
- def self.abstract_module?(mod); end
261
- def self.declared_abstract_methods_for(mod); end
262
- end
263
- module T::Private::Abstract::Validate
264
- def self.describe_method(method, show_owner: nil); end
265
- def self.validate_abstract_module(mod); end
266
- def self.validate_interface(mod); end
267
- def self.validate_interface_all_abstract(mod, method_names); end
268
- def self.validate_interface_all_public(mod, method_names); end
269
- def self.validate_subclass(mod); end
270
- end
271
- module T::Generic
272
- def [](*types); end
273
- def type_member(variance = nil, fixed: nil); end
274
- def type_template(variance = nil, fixed: nil); end
275
- include Kernel
276
- include T::Helpers
277
- end
278
- class T::InterfaceWrapper
279
- def __interface_mod_DO_NOT_USE; end
280
- def __target_obj_DO_NOT_USE; end
281
- def initialize(target_obj, interface_mod); end
282
- def is_a?(other); end
283
- def kind_of?(other); end
284
- def self.dynamic_cast(obj, mod); end
285
- def self.method_added(name); end
286
- def self.new(*arg0); end
287
- def self.self_methods; end
288
- def self.singleton_method_added(name); end
289
- def self.wrap_instance(obj, interface_mod); end
290
- def self.wrap_instances(*args, &blk); end
291
- def self.wrapped_dynamic_cast(obj, mod); end
292
- extend T::Sig
293
- end
294
- module T::InterfaceWrapper::Helpers
295
- def wrap_instance(obj); end
296
- def wrap_instances(arr); end
297
- end
298
- module T::Private::Abstract::Declare
299
- def self.declare_abstract(mod, type:); end
300
- end
301
- module T::Private::Abstract::Hooks
302
- def append_features(other); end
303
- def extend_object(other); end
304
- def inherited(other); end
305
- def prepended(other); end
306
- end
307
- module T::Private
308
- end
309
- module T::Private::Casts
310
- def self.cast(value, type, cast_method:); end
311
- end
312
- class T::Private::Methods::Declaration < Struct
313
- def bind; end
314
- def bind=(_); end
315
- def checked; end
316
- def checked=(_); end
317
- def finalized; end
318
- def finalized=(_); end
319
- def generated; end
320
- def generated=(_); end
321
- def mod; end
322
- def mod=(_); end
323
- def mode; end
324
- def mode=(_); end
325
- def override_allow_incompatible; end
326
- def override_allow_incompatible=(_); end
327
- def params; end
328
- def params=(_); end
329
- def returns; end
330
- def returns=(_); end
331
- def self.[](*arg0); end
332
- def self.inspect; end
333
- def self.members; end
334
- def self.new(*arg0); end
335
- def soft_notify; end
336
- def soft_notify=(_); end
337
- def type_parameters; end
338
- def type_parameters=(_); end
339
- end
340
- class T::Private::Methods::DeclBuilder
341
- def abstract; end
342
- def bind(type); end
343
- def check_live!; end
344
- def checked(level); end
345
- def decl; end
346
- def finalize!; end
347
- def generated; end
348
- def implementation; end
349
- def initialize(mod); end
350
- def overridable; end
351
- def override(allow_incompatible: nil); end
352
- def params(params); end
353
- def returns(type); end
354
- def soft(notify:); end
355
- def type_parameters(*names); end
356
- def void; end
357
- end
358
- class T::Private::Methods::DeclBuilder::BuilderError < StandardError
359
- end
360
- class T::Private::Methods::Signature
361
- def arg_count; end
362
- def arg_types; end
363
- def bind; end
364
- def block_name; end
365
- def block_type; end
366
- def check_level; end
367
- def dsl_method; end
368
- def each_args_value_type(args); end
369
- def ever_failed; end
370
- def generated; end
371
- def has_keyrest; end
372
- def has_rest; end
373
- def initialize(method:, method_name:, raw_arg_types:, raw_return_type:, bind:, mode:, check_level:, soft_notify:, parameters: nil, generated: nil, override_allow_incompatible: nil); end
374
- def keyrest_name; end
375
- def keyrest_type; end
376
- def kwarg_names; end
377
- def kwarg_types; end
378
- def mark_failed; end
379
- def method; end
380
- def method_desc; end
381
- def method_name; end
382
- def mode; end
383
- def override_allow_incompatible; end
384
- def owner; end
385
- def parameters; end
386
- def req_arg_count; end
387
- def req_kwarg_names; end
388
- def rest_name; end
389
- def rest_type; end
390
- def return_type; end
391
- def self.new_untyped(method:, mode: nil, parameters: nil); end
392
- def soft_notify; end
393
- end
394
- module T::Utils::Nilable
395
- def self.get_type_info(prop_type); end
396
- def self.get_underlying_type(prop_type); end
397
- def self.get_underlying_type_object(prop_type); end
398
- def self.is_union_with_nilclass(prop_type); end
399
- end
400
- class T::Utils::Nilable::TypeInfo < Struct
401
- def is_union_type; end
402
- def is_union_type=(_); end
403
- def non_nilable_type; end
404
- def non_nilable_type=(_); end
405
- def self.[](*arg0); end
406
- def self.inspect; end
407
- def self.members; end
408
- def self.new(*arg0); end
409
- end
410
- module T::Private::Abstract::Data
411
- def self.get(mod, key); end
412
- def self.key?(mod, key); end
413
- def self.set(mod, key, value); end
414
- def self.set_default(mod, key, default); end
415
- end
416
- module T::Private::MixesInClassMethods
417
- def included(other); end
418
- end
419
- module T::Private::Mixins
420
- def self.declare_mixes_in_class_methods(mixin, class_methods); end
421
- end
422
- module T::Props
423
- extend T::Helpers
424
- end
425
- module T::Props::ClassMethods
426
- def const(*args, &blk); end
427
- def decorator; end
428
- def decorator_class; end
429
- def extended(child); end
430
- def included(child); end
431
- def inherited(child); end
432
- def plugin(mod); end
433
- def plugins; end
434
- def prepended(child); end
435
- def prop(name, cls, rules = nil); end
436
- def props; end
437
- def reload_decorator!; end
438
- def self.method_added(name); end
439
- def self.singleton_method_added(name); end
440
- def validate_prop_value(prop, val); end
441
- extend T::Helpers
442
- extend T::Sig
443
- end
444
- module T::Props::CustomType
445
- def deserialize(_mongo_scalar); end
446
- def instance?(_value); end
447
- def self.included(_base); end
448
- def self.scalar_type?(val); end
449
- def self.valid_serialization?(val, type = nil); end
450
- def serialize(_instance); end
451
- def valid?(value); end
452
- include Kernel
453
- end
454
- class T::Props::Decorator
455
- def add_prop_definition(*args, &blk); end
456
- def all_props(*args, &blk); end
457
- def array_subdoc_type(*args, &blk); end
458
- def check_prop_type(*args, &blk); end
459
- def convert_type_to_class(*args, &blk); end
460
- def decorated_class; end
461
- def define_foreign_method(*args, &blk); end
462
- def define_getter_and_setter(*args, &blk); end
463
- def foreign_prop_get(*args, &blk); end
464
- def get(*args, &blk); end
465
- def handle_foreign_hint_only_option(*args, &blk); end
466
- def handle_foreign_option(*args, &blk); end
467
- def handle_redaction_option(*args, &blk); end
468
- def hash_key_custom_type(*args, &blk); end
469
- def hash_value_subdoc_type(*args, &blk); end
470
- def initialize(*args, &blk); end
471
- def is_nilable?(*args, &blk); end
472
- def model_inherited(*args, &blk); end
473
- def mutate_prop_backdoor!(*args, &blk); end
474
- def plugin(arg0, &blk); end
475
- def prop_defined(*args, &blk); end
476
- def prop_get(*args, &blk); end
477
- def prop_rules(*args, &blk); end
478
- def prop_set(*args, &blk); end
479
- def prop_validate_definition!(*args, &blk); end
480
- def props; end
481
- def self.method_added(name); end
482
- def self.singleton_method_added(name); end
483
- def set(*args, &blk); end
484
- def shallow_clone_ok(*args, &blk); end
485
- def smart_coerce(*args, &blk); end
486
- def valid_props(*args, &blk); end
487
- def validate_foreign_option(*args, &blk); end
488
- def validate_not_missing_sensitivity(*args, &blk); end
489
- def validate_prop_name(name); end
490
- def validate_prop_value(*args, &blk); end
491
- extend T::Sig
492
- end
493
- class T::Props::Decorator::NoRulesError < StandardError
494
- end
495
- module T::Props::Decorator::Private
496
- def self.apply_class_methods(plugin, target); end
497
- def self.apply_decorator_methods(plugin, target); end
498
- end
499
- class T::Props::Error < StandardError
500
- end
501
- class T::Props::InvalidValueError < T::Props::Error
502
- end
503
- class T::Props::ImmutableProp < T::Props::Error
504
- end
505
- module T::Props::Plugin
506
- extend T::Helpers
507
- extend T::Props::ClassMethods
508
- include T::Props
509
- end
510
- module T::Props::Plugin::ClassMethods
511
- def included(child); end
512
- end
513
- module T::Props::Utils
514
- def self.deep_clone_object(what, freeze: nil); end
515
- def self.merge_serialized_optional_rule(prop_rules); end
516
- def self.need_nil_read_check?(prop_rules); end
517
- def self.need_nil_write_check?(prop_rules); end
518
- def self.optional_prop?(prop_rules); end
519
- def self.required_prop?(prop_rules); end
520
- end
521
- module T::Props::Optional
522
- extend T::Props::ClassMethods
523
- extend T::Props::Plugin::ClassMethods
524
- include T::Props::Plugin
525
- end
526
- module T::Props::Optional::DecoratorMethods
527
- def add_prop_definition(prop, rules); end
528
- def compute_derived_rules(rules); end
529
- def get_default(rules, instance_class); end
530
- def has_default?(rules); end
531
- def mutate_prop_backdoor!(prop, key, value); end
532
- def prop_optional?(prop); end
533
- def prop_validate_definition!(name, cls, rules, type); end
534
- def valid_props; end
535
- end
536
- module T::Props::WeakConstructor
537
- def initialize(hash = nil); end
538
- extend T::Props::ClassMethods
539
- extend T::Props::Plugin::ClassMethods
540
- include T::Props::Optional
541
- end
542
- module T::Props::Constructor
543
- def initialize(hash = nil); end
544
- extend T::Props::ClassMethods
545
- extend T::Props::Plugin::ClassMethods
546
- extend T::Props::Plugin::ClassMethods
547
- include T::Props::WeakConstructor
548
- end
549
- module T::Props::PrettyPrintable
550
- def inspect; end
551
- def pretty_inspect; end
552
- extend T::Props::ClassMethods
553
- extend T::Props::Plugin::ClassMethods
554
- include T::Props::Plugin
555
- end
556
- module T::Props::PrettyPrintable::DecoratorMethods
557
- def inspect_instance(*args, &blk); end
558
- def inspect_instance_components(*args, &blk); end
559
- def inspect_prop_value(*args, &blk); end
560
- def join_props_with_pretty_values(*args, &blk); end
561
- def self.method_added(name); end
562
- def self.singleton_method_added(name); end
563
- def valid_props(*args, &blk); end
564
- extend T::Sig
565
- end
566
- module T::Props::Serializable
567
- def deserialize(hash, strict = nil); end
568
- def recursive_stringify_keys(obj); end
569
- def required_prop_missing_from_deserialize(prop); end
570
- def required_prop_missing_from_deserialize?(prop); end
571
- def serialize(strict = nil); end
572
- def with(changed_props); end
573
- def with_existing_hash(changed_props, existing_hash:); end
574
- extend T::Props::ClassMethods
575
- extend T::Props::ClassMethods
576
- extend T::Props::ClassMethods
577
- extend T::Props::Plugin::ClassMethods
578
- extend T::Props::Plugin::ClassMethods
579
- extend T::Props::Plugin::ClassMethods
580
- include T::Props::Optional
581
- include T::Props::Plugin
582
- include T::Props::PrettyPrintable
583
- end
584
- module T::Props::Serializable::DecoratorMethods
585
- def add_prop_definition(prop, rules); end
586
- def extra_props(instance); end
587
- def from_hash(hash, strict = nil); end
588
- def get_id(instance); end
589
- def inspect_instance_components(instance, multiline:, indent:); end
590
- def prop_by_serialized_forms; end
591
- def prop_dont_store?(prop); end
592
- def prop_serialized_form(prop); end
593
- def prop_validate_definition!(name, cls, rules, type); end
594
- def required_props; end
595
- def serialized_form_prop(serialized_form); end
596
- def valid_props; end
597
- end
598
- module T::Props::Serializable::ClassMethods
599
- def from_hash!(hash); end
600
- def from_hash(hash, strict = nil); end
601
- def prop_by_serialized_forms; end
602
- end
603
- module T::Props::TypeValidation
604
- extend T::Props::ClassMethods
605
- extend T::Props::Plugin::ClassMethods
606
- include T::Props::Plugin
607
- end
608
- class T::Props::TypeValidation::UnderspecifiedType < ArgumentError
609
- end
610
- module T::Props::TypeValidation::DecoratorMethods
611
- def find_invalid_subtype(*args, &blk); end
612
- def prop_validate_definition!(*args, &blk); end
613
- def self.method_added(name); end
614
- def self.singleton_method_added(name); end
615
- def type_error_message(*args, &blk); end
616
- def valid_props(*args, &blk); end
617
- def validate_type(*args, &blk); end
618
- extend T::Sig
619
- end
620
- class T::InexactStruct
621
- extend T::Props::ClassMethods
622
- extend T::Props::ClassMethods
623
- extend T::Props::ClassMethods
624
- extend T::Props::Plugin::ClassMethods
625
- extend T::Props::Plugin::ClassMethods
626
- extend T::Props::Plugin::ClassMethods
627
- extend T::Props::Plugin::ClassMethods
628
- extend T::Props::Plugin::ClassMethods
629
- extend T::Props::Serializable::ClassMethods
630
- include T::Props
631
- include T::Props::Constructor
632
- include T::Props::Serializable
633
- end
634
- class T::Struct < T::InexactStruct
635
- def self.inherited(subclass); end
636
- extend T::Props::ClassMethods
637
- extend T::Props::Plugin::ClassMethods
638
- extend T::Props::Plugin::ClassMethods
639
- extend T::Props::Plugin::ClassMethods
640
- extend T::Props::Plugin::ClassMethods
641
- extend T::Props::Plugin::ClassMethods
642
- extend T::Props::Serializable::ClassMethods
643
- end
644
- module T::Private::Abstract
645
- end
646
- module T::Private::Types
647
- end