shotgrid_api_ruby 0.2.0.4 → 0.2.0.6

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 (190) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/test_and_publish.yml +3 -3
  3. data/.github/workflows/test_only.yml +7 -5
  4. data/.ruby-version +1 -1
  5. data/CHANGELOG.md +54 -2
  6. data/Gemfile +12 -0
  7. data/Gemfile.lock +108 -93
  8. data/bin/prettirun +1 -1
  9. data/docs/ShotgridApiRuby/Auth/Validator.html +4 -4
  10. data/docs/ShotgridApiRuby/Auth.html +4 -4
  11. data/docs/ShotgridApiRuby/Client.html +4 -4
  12. data/docs/ShotgridApiRuby/Entities/Params/TooComplexFiltersError.html +4 -4
  13. data/docs/ShotgridApiRuby/Entities/Params.html +41 -41
  14. data/docs/ShotgridApiRuby/Entities/Schema.html +4 -4
  15. data/docs/ShotgridApiRuby/Entities/Summarize/Summary.html +8 -8
  16. data/docs/ShotgridApiRuby/Entities/Summarize.html +9 -9
  17. data/docs/ShotgridApiRuby/Entities.html +27 -27
  18. data/docs/ShotgridApiRuby/Entity.html +12 -12
  19. data/docs/ShotgridApiRuby/Preferences.html +4 -4
  20. data/docs/ShotgridApiRuby/ServerInfo.html +4 -4
  21. data/docs/ShotgridApiRuby/ShotgridCallError.html +4 -4
  22. data/docs/ShotgridApiRuby/Types.html +4 -4
  23. data/docs/ShotgridApiRuby.html +5 -5
  24. data/docs/_index.html +5 -5
  25. data/docs/file.README.html +4 -4
  26. data/docs/frames.html +1 -1
  27. data/docs/index.html +4 -4
  28. data/docs/top-level-namespace.html +4 -4
  29. data/lib/shotgrid_api_ruby/entities/params.rb +15 -18
  30. data/lib/shotgrid_api_ruby/entities/summarize.rb +4 -4
  31. data/lib/shotgrid_api_ruby/entities.rb +23 -23
  32. data/lib/shotgrid_api_ruby/version.rb +1 -1
  33. data/shotgrid_api_ruby.gemspec +3 -12
  34. data/sorbet/rbi/gems/activesupport@7.0.4.2.rbi +18676 -0
  35. data/sorbet/rbi/gems/ast@2.4.2.rbi +533 -3
  36. data/sorbet/rbi/gems/backport@1.2.0.rbi +518 -4
  37. data/sorbet/rbi/gems/benchmark@0.2.1.rbi +588 -0
  38. data/sorbet/rbi/gems/bundler-audit@0.9.1.rbi +308 -0
  39. data/sorbet/rbi/gems/byebug@11.1.3.rbi +2065 -28
  40. data/sorbet/rbi/gems/childprocess@4.1.0.rbi +397 -4
  41. data/sorbet/rbi/gems/coderay@1.1.3.rbi +2425 -4
  42. data/sorbet/rbi/gems/concurrent-ruby@1.2.0.rbi +11570 -0
  43. data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +1083 -0
  44. data/sorbet/rbi/gems/docile@1.4.0.rbi +335 -13
  45. data/sorbet/rbi/gems/dotenv@2.8.1.rbi +234 -0
  46. data/sorbet/rbi/gems/e2mmap@0.1.0.rbi +4 -4
  47. data/sorbet/rbi/gems/faker@3.1.0.rbi +13380 -0
  48. data/sorbet/rbi/gems/faraday-em_http@1.0.0.rbi +167 -11
  49. data/sorbet/rbi/gems/faraday-em_synchrony@1.0.0.rbi +94 -11
  50. data/sorbet/rbi/gems/faraday-excon@1.1.0.rbi +105 -11
  51. data/sorbet/rbi/gems/faraday-httpclient@1.0.1.rbi +118 -11
  52. data/sorbet/rbi/gems/faraday-multipart@1.0.4.rbi +273 -0
  53. data/sorbet/rbi/gems/faraday-net_http@1.0.1.rbi +106 -11
  54. data/sorbet/rbi/gems/faraday-net_http_persistent@1.2.0.rbi +92 -11
  55. data/sorbet/rbi/gems/faraday-patron@1.0.0.rbi +97 -11
  56. data/sorbet/rbi/gems/faraday-rack@1.0.0.rbi +106 -11
  57. data/sorbet/rbi/gems/faraday-retry@1.0.3.rbi +227 -0
  58. data/sorbet/rbi/gems/faraday@1.10.3.rbi +2743 -0
  59. data/sorbet/rbi/gems/ffi@1.15.5.rbi +8 -0
  60. data/sorbet/rbi/gems/formatador@1.1.0.rbi +8 -0
  61. data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +62 -4
  62. data/sorbet/rbi/gems/guard-rspec@4.7.3.rbi +558 -4
  63. data/sorbet/rbi/gems/guard@2.18.0.rbi +4 -4
  64. data/sorbet/rbi/gems/haml@6.1.1.rbi +1588 -0
  65. data/sorbet/rbi/gems/i18n@1.12.0.rbi +2296 -0
  66. data/sorbet/rbi/gems/iniparse@1.5.0.rbi +893 -4
  67. data/sorbet/rbi/gems/jaro_winkler@1.5.4.rbi +15 -4
  68. data/sorbet/rbi/gems/json@2.6.3.rbi +1533 -0
  69. data/sorbet/rbi/gems/kramdown-parser-gfm@1.1.0.rbi +129 -4
  70. data/sorbet/rbi/gems/kramdown@2.4.0.rbi +3271 -0
  71. data/sorbet/rbi/gems/listen@3.8.0.rbi +1181 -0
  72. data/sorbet/rbi/gems/lumberjack@1.2.8.rbi +4 -4
  73. data/sorbet/rbi/gems/method_source@1.0.0.rbi +202 -2
  74. data/sorbet/rbi/gems/minitest@5.17.0.rbi +1457 -0
  75. data/sorbet/rbi/gems/multipart-post@2.3.0.rbi +233 -0
  76. data/sorbet/rbi/gems/nenv@0.3.0.rbi +4 -4
  77. data/sorbet/rbi/gems/netrc@0.11.0.rbi +158 -0
  78. data/sorbet/rbi/gems/nokogiri@1.14.0.rbi +7250 -0
  79. data/sorbet/rbi/gems/notiffany@0.1.3.rbi +4 -4
  80. data/sorbet/rbi/gems/overcommit@0.60.0.rbi +2399 -0
  81. data/sorbet/rbi/gems/parallel@1.22.1.rbi +277 -0
  82. data/sorbet/rbi/gems/parser@3.2.0.0.rbi +6964 -0
  83. data/sorbet/rbi/gems/prettier@3.2.2.rbi +22 -0
  84. data/sorbet/rbi/gems/prettier_print@1.2.0.rbi +8 -0
  85. data/sorbet/rbi/gems/pry-byebug@3.10.1.rbi +1171 -0
  86. data/sorbet/rbi/gems/pry@0.14.2.rbi +10081 -0
  87. data/sorbet/rbi/gems/racc@1.6.2.rbi +154 -0
  88. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +408 -0
  89. data/sorbet/rbi/gems/rake@13.0.6.rbi +2248 -13
  90. data/sorbet/rbi/gems/rb-fsevent@0.11.2.rbi +8 -0
  91. data/sorbet/rbi/gems/rb-inotify@0.10.1.rbi +4 -4
  92. data/sorbet/rbi/gems/rbi@0.0.16.rbi +3008 -0
  93. data/sorbet/rbi/gems/rbs@2.8.4.rbi +8 -0
  94. data/sorbet/rbi/gems/regexp_parser@2.6.2.rbi +3481 -0
  95. data/sorbet/rbi/gems/reverse_markdown@2.1.1.rbi +389 -0
  96. data/sorbet/rbi/gems/rexml@3.2.5.rbi +4048 -3
  97. data/sorbet/rbi/gems/rspec-core@3.12.0.rbi +10809 -0
  98. data/sorbet/rbi/gems/rspec-expectations@3.12.2.rbi +8109 -0
  99. data/sorbet/rbi/gems/rspec-mocks@3.12.3.rbi +5308 -0
  100. data/sorbet/rbi/gems/rspec-support@3.12.0.rbi +1620 -0
  101. data/sorbet/rbi/gems/rspec@3.12.0.rbi +91 -0
  102. data/sorbet/rbi/gems/rspec_in_context@1.1.0.3.rbi +387 -15
  103. data/sorbet/rbi/gems/rubocop-ast@1.24.1.rbi +7019 -0
  104. data/sorbet/rbi/gems/rubocop-faker@1.1.0.rbi +102 -4
  105. data/sorbet/rbi/gems/rubocop-performance@1.15.2.rbi +3021 -0
  106. data/sorbet/rbi/gems/rubocop-sorbet@0.6.11.rbi +990 -0
  107. data/sorbet/rbi/gems/rubocop@1.44.1.rbi +54394 -0
  108. data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +1235 -4
  109. data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +4 -4
  110. data/sorbet/rbi/gems/shellany@0.0.1.rbi +4 -4
  111. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +135 -5
  112. data/sorbet/rbi/gems/simplecov@0.22.0.rbi +2148 -0
  113. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +8 -0
  114. data/sorbet/rbi/gems/solargraph@0.48.0.rbi +9146 -0
  115. data/sorbet/rbi/gems/spoom@1.1.15.rbi +2383 -0
  116. data/sorbet/rbi/gems/syntax_tree-haml@3.0.0.rbi +8 -0
  117. data/sorbet/rbi/gems/syntax_tree-rbs@0.5.1.rbi +8 -0
  118. data/sorbet/rbi/gems/syntax_tree@5.2.0.rbi +8 -0
  119. data/sorbet/rbi/gems/tapioca@0.10.5.rbi +3226 -0
  120. data/sorbet/rbi/gems/temple@0.10.0.rbi +1722 -0
  121. data/sorbet/rbi/gems/thor@1.2.1.rbi +3956 -0
  122. data/sorbet/rbi/gems/tilt@2.0.11.rbi +745 -0
  123. data/sorbet/rbi/gems/timecop@0.9.6.rbi +368 -0
  124. data/sorbet/rbi/gems/tzinfo@2.0.5.rbi +5914 -0
  125. data/sorbet/rbi/gems/unicode-display_width@2.4.2.rbi +65 -0
  126. data/sorbet/rbi/gems/unparser@0.6.7.rbi +4524 -0
  127. data/sorbet/rbi/gems/vcr@6.1.0.rbi +3020 -0
  128. data/sorbet/rbi/gems/webrick@1.7.0.rbi +2555 -0
  129. data/sorbet/rbi/gems/yard-sorbet@0.8.0.rbi +441 -0
  130. data/sorbet/rbi/gems/yard@0.9.28.rbi +17863 -0
  131. data/sorbet/rbi/gems/zeitwerk@2.6.6.rbi +950 -0
  132. data/yarn.lock +3 -3
  133. metadata +71 -190
  134. data/sorbet/rbi/gems/activesupport@6.1.4.1.rbi +0 -3770
  135. data/sorbet/rbi/gems/benchmark@0.1.1.rbi +0 -65
  136. data/sorbet/rbi/gems/bundler-audit@0.8.0.rbi +0 -8
  137. data/sorbet/rbi/gems/colorize@0.8.1.rbi +0 -39
  138. data/sorbet/rbi/gems/commander@4.6.0.rbi +0 -8
  139. data/sorbet/rbi/gems/concurrent-ruby@1.1.9.rbi +0 -2403
  140. data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +0 -8
  141. data/sorbet/rbi/gems/dotenv@2.7.6.rbi +0 -88
  142. data/sorbet/rbi/gems/faker@2.19.0.rbi +0 -2513
  143. data/sorbet/rbi/gems/faraday@1.7.0.rbi +0 -783
  144. data/sorbet/rbi/gems/ffi@1.15.3.rbi +0 -8
  145. data/sorbet/rbi/gems/formatador@0.3.0.rbi +0 -8
  146. data/sorbet/rbi/gems/haml@5.2.2.rbi +0 -8
  147. data/sorbet/rbi/gems/highline@2.0.3.rbi +0 -8
  148. data/sorbet/rbi/gems/i18n@1.8.10.rbi +0 -584
  149. data/sorbet/rbi/gems/kramdown@2.3.1.rbi +0 -8
  150. data/sorbet/rbi/gems/listen@3.7.0.rbi +0 -476
  151. data/sorbet/rbi/gems/minitest@5.14.4.rbi +0 -344
  152. data/sorbet/rbi/gems/multipart-post@2.1.1.rbi +0 -69
  153. data/sorbet/rbi/gems/nokogiri@1.12.3.rbi +0 -8
  154. data/sorbet/rbi/gems/overcommit@0.58.0.rbi +0 -8
  155. data/sorbet/rbi/gems/parallel@1.20.1.rbi +0 -8
  156. data/sorbet/rbi/gems/parlour@6.0.1.rbi +0 -1610
  157. data/sorbet/rbi/gems/parser@3.0.2.0.rbi +0 -1731
  158. data/sorbet/rbi/gems/prettier@1.6.1.rbi +0 -8
  159. data/sorbet/rbi/gems/pry-byebug@3.9.0.rbi +0 -461
  160. data/sorbet/rbi/gems/pry@0.13.1.rbi +0 -2553
  161. data/sorbet/rbi/gems/racc@1.5.2.rbi +0 -47
  162. data/sorbet/rbi/gems/rainbow@3.0.0.rbi +0 -153
  163. data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +0 -8
  164. data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +0 -8
  165. data/sorbet/rbi/gems/reverse_markdown@2.0.0.rbi +0 -8
  166. data/sorbet/rbi/gems/rspec-core@3.10.1.rbi +0 -2500
  167. data/sorbet/rbi/gems/rspec-expectations@3.10.1.rbi +0 -1574
  168. data/sorbet/rbi/gems/rspec-mocks@3.10.2.rbi +0 -1462
  169. data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +0 -510
  170. data/sorbet/rbi/gems/rspec@3.10.0.rbi +0 -39
  171. data/sorbet/rbi/gems/rubocop-ast@1.11.0.rbi +0 -8
  172. data/sorbet/rbi/gems/rubocop-performance@1.11.5.rbi +0 -8
  173. data/sorbet/rbi/gems/rubocop-sorbet@0.6.2.rbi +0 -8
  174. data/sorbet/rbi/gems/rubocop@1.20.0.rbi +0 -8
  175. data/sorbet/rbi/gems/simplecov@0.21.2.rbi +0 -577
  176. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.3.rbi +0 -8
  177. data/sorbet/rbi/gems/solargraph@0.43.0.rbi +0 -8
  178. data/sorbet/rbi/gems/spoom@1.1.2.rbi +0 -1204
  179. data/sorbet/rbi/gems/tapioca@0.4.25.rbi +0 -1239
  180. data/sorbet/rbi/gems/temple@0.8.2.rbi +0 -8
  181. data/sorbet/rbi/gems/thor@1.1.0.rbi +0 -838
  182. data/sorbet/rbi/gems/tilt@2.0.10.rbi +0 -8
  183. data/sorbet/rbi/gems/timecop@0.9.4.rbi +0 -82
  184. data/sorbet/rbi/gems/tzinfo@2.0.4.rbi +0 -857
  185. data/sorbet/rbi/gems/unicode-display_width@2.0.0.rbi +0 -8
  186. data/sorbet/rbi/gems/unparser@0.6.0.rbi +0 -8
  187. data/sorbet/rbi/gems/vcr@6.0.0.rbi +0 -782
  188. data/sorbet/rbi/gems/yard-sorbet@0.5.3.rbi +0 -8
  189. data/sorbet/rbi/gems/yard@0.9.26.rbi +0 -8
  190. data/sorbet/rbi/gems/zeitwerk@2.4.2.rbi +0 -173
@@ -0,0 +1,3226 @@
1
+ # typed: false
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `tapioca` gem.
5
+ # Please instead update this file by running `bin/tapioca gem tapioca`.
6
+
7
+ class Bundler::Dependency < ::Gem::Dependency
8
+ include ::Tapioca::Gemfile::AutoRequireHook
9
+ end
10
+
11
+ # We need to do the alias-method-chain dance since Bootsnap does the same,
12
+ # and prepended modules and alias-method-chain don't play well together.
13
+ #
14
+ # So, why does Bootsnap do alias-method-chain and not prepend? Glad you asked!
15
+ # That's because RubyGems does alias-method-chain for Kernel#require and such,
16
+ # so, if Bootsnap were to do prepend, it might end up breaking RubyGems.
17
+ #
18
+ # source://tapioca//lib/tapioca/runtime/trackers/autoload.rb#68
19
+ class Module
20
+ # source://tapioca//lib/tapioca/runtime/trackers/mixin.rb#101
21
+ def append_features(constant); end
22
+
23
+ # source://tapioca//lib/tapioca/runtime/trackers/autoload.rb#71
24
+ def autoload(const_name, path); end
25
+
26
+ # source://tapioca//lib/tapioca/runtime/trackers/mixin.rb#111
27
+ def extend_object(obj); end
28
+
29
+ # source://tapioca//lib/tapioca/runtime/trackers/mixin.rb#91
30
+ def prepend_features(constant); end
31
+ end
32
+
33
+ # source://activesupport/7.0.4.2/lib/active_support/core_ext/module/delegation.rb#13
34
+ Module::DELEGATION_RESERVED_KEYWORDS = T.let(T.unsafe(nil), Array)
35
+
36
+ # source://activesupport/7.0.4.2/lib/active_support/core_ext/module/delegation.rb#14
37
+ Module::DELEGATION_RESERVED_METHOD_NAMES = T.let(T.unsafe(nil), Set)
38
+
39
+ # source://activesupport/7.0.4.2/lib/active_support/core_ext/module/delegation.rb#10
40
+ Module::RUBY_RESERVED_KEYWORDS = T.let(T.unsafe(nil), Array)
41
+
42
+ # source://tapioca//lib/tapioca/rbi_ext/model.rb#4
43
+ module RBI; end
44
+
45
+ # source://tapioca//lib/tapioca/rbi_ext/model.rb#5
46
+ class RBI::Tree < ::RBI::NodeWithComments
47
+ # source://rbi/0.0.16/lib/rbi/model.rb#115
48
+ sig do
49
+ params(
50
+ loc: T.nilable(::RBI::Loc),
51
+ comments: T::Array[::RBI::Comment],
52
+ block: T.nilable(T.proc.params(node: ::RBI::Tree).void)
53
+ ).void
54
+ end
55
+ def initialize(loc: T.unsafe(nil), comments: T.unsafe(nil), &block); end
56
+
57
+ # source://rbi/0.0.16/lib/rbi/model.rb#122
58
+ sig { params(node: ::RBI::Node).void }
59
+ def <<(node); end
60
+
61
+ # source://rbi/0.0.16/lib/rbi/printer.rb#224
62
+ sig { override.params(v: ::RBI::Printer).void }
63
+ def accept_printer(v); end
64
+
65
+ # source://rbi/0.0.16/lib/rbi/rewriters/add_sig_templates.rb#66
66
+ sig { params(with_todo_comment: T::Boolean).void }
67
+ def add_sig_templates!(with_todo_comment: T.unsafe(nil)); end
68
+
69
+ # source://rbi/0.0.16/lib/rbi/rewriters/annotate.rb#48
70
+ sig { params(annotation: ::String, annotate_scopes: T::Boolean, annotate_properties: T::Boolean).void }
71
+ def annotate!(annotation, annotate_scopes: T.unsafe(nil), annotate_properties: T.unsafe(nil)); end
72
+
73
+ # source://tapioca//lib/tapioca/rbi_ext/model.rb#38
74
+ sig do
75
+ params(
76
+ name: ::String,
77
+ superclass_name: T.nilable(::String),
78
+ block: T.nilable(T.proc.params(scope: ::RBI::Scope).void)
79
+ ).returns(::RBI::Scope)
80
+ end
81
+ def create_class(name, superclass_name: T.unsafe(nil), &block); end
82
+
83
+ # source://tapioca//lib/tapioca/rbi_ext/model.rb#45
84
+ sig { params(name: ::String, value: ::String).void }
85
+ def create_constant(name, value:); end
86
+
87
+ # source://tapioca//lib/tapioca/rbi_ext/model.rb#55
88
+ sig { params(name: ::String).void }
89
+ def create_extend(name); end
90
+
91
+ # source://tapioca//lib/tapioca/rbi_ext/model.rb#50
92
+ sig { params(name: ::String).void }
93
+ def create_include(name); end
94
+
95
+ # source://tapioca//lib/tapioca/rbi_ext/model.rb#89
96
+ sig do
97
+ params(
98
+ name: ::String,
99
+ parameters: T::Array[::RBI::TypedParam],
100
+ return_type: ::String,
101
+ class_method: T::Boolean,
102
+ visibility: ::RBI::Visibility,
103
+ comments: T::Array[::RBI::Comment]
104
+ ).void
105
+ end
106
+ def create_method(name, parameters: T.unsafe(nil), return_type: T.unsafe(nil), class_method: T.unsafe(nil), visibility: T.unsafe(nil), comments: T.unsafe(nil)); end
107
+
108
+ # source://tapioca//lib/tapioca/rbi_ext/model.rb#60
109
+ sig { params(name: ::String).void }
110
+ def create_mixes_in_class_methods(name); end
111
+
112
+ # source://tapioca//lib/tapioca/rbi_ext/model.rb#25
113
+ sig { params(name: ::String, block: T.nilable(T.proc.params(scope: ::RBI::Scope).void)).returns(::RBI::Scope) }
114
+ def create_module(name, &block); end
115
+
116
+ # source://tapioca//lib/tapioca/rbi_ext/model.rb#9
117
+ sig { params(constant: ::Module, block: T.nilable(T.proc.params(scope: ::RBI::Scope).void)).void }
118
+ def create_path(constant, &block); end
119
+
120
+ # source://tapioca//lib/tapioca/rbi_ext/model.rb#74
121
+ sig do
122
+ params(
123
+ name: ::String,
124
+ type: ::String,
125
+ variance: ::Symbol,
126
+ fixed: T.nilable(::String),
127
+ upper: T.nilable(::String),
128
+ lower: T.nilable(::String)
129
+ ).void
130
+ end
131
+ def create_type_variable(name, type:, variance: T.unsafe(nil), fixed: T.unsafe(nil), upper: T.unsafe(nil), lower: T.unsafe(nil)); end
132
+
133
+ # source://rbi/0.0.16/lib/rbi/rewriters/deannotate.rb#40
134
+ sig { params(annotation: ::String).void }
135
+ def deannotate!(annotation); end
136
+
137
+ # source://rbi/0.0.16/lib/rbi/model.rb#128
138
+ sig { returns(T::Boolean) }
139
+ def empty?; end
140
+
141
+ # source://rbi/0.0.16/lib/rbi/rewriters/group_nodes.rb#38
142
+ sig { void }
143
+ def group_nodes!; end
144
+
145
+ # source://rbi/0.0.16/lib/rbi/index.rb#64
146
+ sig { returns(::RBI::Index) }
147
+ def index; end
148
+
149
+ # source://rbi/0.0.16/lib/rbi/rewriters/merge_trees.rb#318
150
+ sig do
151
+ params(
152
+ other: ::RBI::Tree,
153
+ left_name: ::String,
154
+ right_name: ::String,
155
+ keep: ::RBI::Rewriters::Merge::Keep
156
+ ).returns(::RBI::MergeTree)
157
+ end
158
+ def merge(other, left_name: T.unsafe(nil), right_name: T.unsafe(nil), keep: T.unsafe(nil)); end
159
+
160
+ # source://rbi/0.0.16/lib/rbi/rewriters/nest_non_public_methods.rb#45
161
+ sig { void }
162
+ def nest_non_public_methods!; end
163
+
164
+ # source://rbi/0.0.16/lib/rbi/rewriters/nest_singleton_methods.rb#35
165
+ sig { void }
166
+ def nest_singleton_methods!; end
167
+
168
+ # source://rbi/0.0.16/lib/rbi/model.rb#106
169
+ sig { returns(T::Array[::RBI::Node]) }
170
+ def nodes; end
171
+
172
+ # source://rbi/0.0.16/lib/rbi/printer.rb#231
173
+ sig { override.returns(T::Boolean) }
174
+ def oneline?; end
175
+
176
+ # source://rbi/0.0.16/lib/rbi/rewriters/sort_nodes.rb#107
177
+ sig { void }
178
+ def sort_nodes!; end
179
+
180
+ private
181
+
182
+ # source://tapioca//lib/tapioca/rbi_ext/model.rb#116
183
+ sig { params(node: ::RBI::Node).returns(::RBI::Node) }
184
+ def create_node(node); end
185
+
186
+ # source://tapioca//lib/tapioca/rbi_ext/model.rb#111
187
+ sig { returns(T::Hash[::String, ::RBI::Node]) }
188
+ def nodes_cache; end
189
+ end
190
+
191
+ # source://tapioca//lib/tapioca/rbi_ext/model.rb#126
192
+ class RBI::TypedParam < ::T::Struct
193
+ const :param, ::RBI::Param
194
+ const :type, ::String
195
+
196
+ class << self
197
+ # source://sorbet-runtime/0.5.10634/lib/types/struct.rb#13
198
+ def inherited(s); end
199
+ end
200
+ end
201
+
202
+ # source://rbi/0.0.16/lib/rbi/version.rb#5
203
+ RBI::VERSION = T.let(T.unsafe(nil), String)
204
+
205
+ # source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#5
206
+ module T::Generic
207
+ # source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#13
208
+ def [](*types); end
209
+
210
+ # source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#21
211
+ def type_member(variance = T.unsafe(nil), fixed: T.unsafe(nil), lower: T.unsafe(nil), upper: T.unsafe(nil), &bounds_proc); end
212
+
213
+ # source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#37
214
+ def type_template(variance = T.unsafe(nil), fixed: T.unsafe(nil), lower: T.unsafe(nil), upper: T.unsafe(nil), &bounds_proc); end
215
+ end
216
+
217
+ # This module intercepts calls to generic type instantiations and type variable definitions.
218
+ # Tapioca stores the data from those calls in a `GenericTypeRegistry` which can then be used
219
+ # to look up the original call details when we are trying to do code generation.
220
+ #
221
+ # We are interested in the data of the `[]`, `type_member` and `type_template` calls which
222
+ # are all needed to generate good generic information at runtime.
223
+ #
224
+ # source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#12
225
+ module T::Generic::TypeStoragePatch
226
+ # source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#13
227
+ def [](*types); end
228
+
229
+ # source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#21
230
+ def type_member(variance = T.unsafe(nil), fixed: T.unsafe(nil), lower: T.unsafe(nil), upper: T.unsafe(nil), &bounds_proc); end
231
+
232
+ # source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#37
233
+ def type_template(variance = T.unsafe(nil), fixed: T.unsafe(nil), lower: T.unsafe(nil), upper: T.unsafe(nil), &bounds_proc); end
234
+ end
235
+
236
+ # source://tapioca//lib/tapioca/sorbet_ext/proc_bind_patch.rb#28
237
+ module T::Private::Methods
238
+ class << self
239
+ # source://tapioca//lib/tapioca/sorbet_ext/proc_bind_patch.rb#30
240
+ def finalize_proc(decl); end
241
+ end
242
+ end
243
+
244
+ # source://sorbet-runtime/0.5.10634/lib/types/private/methods/_methods.rb#29
245
+ T::Private::Methods::ARG_NOT_PROVIDED = T.let(T.unsafe(nil), Object)
246
+
247
+ class T::Private::Methods::Declaration < ::Struct
248
+ def bind; end
249
+ def bind=(_); end
250
+ def checked; end
251
+ def checked=(_); end
252
+ def finalized; end
253
+ def finalized=(_); end
254
+ def mod; end
255
+ def mod=(_); end
256
+ def mode; end
257
+ def mode=(_); end
258
+ def on_failure; end
259
+ def on_failure=(_); end
260
+ def override_allow_incompatible; end
261
+ def override_allow_incompatible=(_); end
262
+ def params; end
263
+ def params=(_); end
264
+ def raw; end
265
+ def raw=(_); end
266
+ def returns; end
267
+ def returns=(_); end
268
+ def type_parameters; end
269
+ def type_parameters=(_); end
270
+
271
+ class << self
272
+ def [](*_arg0); end
273
+ def inspect; end
274
+ def keyword_init?; end
275
+ def members; end
276
+ def new(*_arg0); end
277
+ end
278
+ end
279
+
280
+ class T::Private::Methods::DeclarationBlock < ::Struct
281
+ def blk; end
282
+ def blk=(_); end
283
+ def final; end
284
+ def final=(_); end
285
+ def loc; end
286
+ def loc=(_); end
287
+ def mod; end
288
+ def mod=(_); end
289
+ def raw; end
290
+ def raw=(_); end
291
+
292
+ class << self
293
+ def [](*_arg0); end
294
+ def inspect; end
295
+ def keyword_init?; end
296
+ def members; end
297
+ def new(*_arg0); end
298
+ end
299
+ end
300
+
301
+ # source://sorbet-runtime/0.5.10634/lib/types/private/methods/_methods.rb#30
302
+ T::Private::Methods::PROC_TYPE = T.let(T.unsafe(nil), Object)
303
+
304
+ # source://tapioca//lib/tapioca/sorbet_ext/proc_bind_patch.rb#29
305
+ module T::Private::Methods::ProcBindPatch
306
+ # source://tapioca//lib/tapioca/sorbet_ext/proc_bind_patch.rb#30
307
+ def finalize_proc(decl); end
308
+ end
309
+
310
+ # source://sorbet-runtime/0.5.10634/lib/types/private/methods/_methods.rb#586
311
+ T::Private::Methods::TOP_SELF = T.let(T.unsafe(nil), Object)
312
+
313
+ class T::Types::Proc < ::T::Types::Base; end
314
+
315
+ # source://tapioca//lib/tapioca/sorbet_ext/proc_bind_patch.rb#6
316
+ module T::Types::ProcBindPatch
317
+ # source://tapioca//lib/tapioca/sorbet_ext/proc_bind_patch.rb#7
318
+ def initialize(arg_types, returns, bind = T.unsafe(nil)); end
319
+
320
+ # source://tapioca//lib/tapioca/sorbet_ext/proc_bind_patch.rb#15
321
+ def name; end
322
+ end
323
+
324
+ # source://tapioca//lib/tapioca/sorbet_ext/name_patch.rb#6
325
+ class T::Types::Simple < ::T::Types::Base
326
+ # source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#64
327
+ def name; end
328
+ end
329
+
330
+ # source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#59
331
+ module T::Types::Simple::GenericPatch
332
+ # This method intercepts calls to the `name` method for simple types, so that
333
+ # it can ask the name to the type if the type is generic, since, by this point,
334
+ # we've created a clone of that type with the `name` method returning the
335
+ # appropriate name for that specific concrete type.
336
+ #
337
+ # source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#64
338
+ def name; end
339
+ end
340
+
341
+ # source://tapioca//lib/tapioca/sorbet_ext/name_patch.rb#7
342
+ module T::Types::Simple::NamePatch
343
+ # source://tapioca//lib/tapioca/sorbet_ext/name_patch.rb#10
344
+ def name; end
345
+
346
+ # source://tapioca//lib/tapioca/sorbet_ext/name_patch.rb#16
347
+ def qualified_name_of(constant); end
348
+ end
349
+
350
+ # source://tapioca//lib/tapioca/sorbet_ext/name_patch.rb#8
351
+ T::Types::Simple::NamePatch::NAME_METHOD = T.let(T.unsafe(nil), UnboundMethod)
352
+
353
+ # source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#84
354
+ module T::Utils::Private
355
+ class << self
356
+ # source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#86
357
+ def coerce_and_check_module_types(val, check_val, check_module_type); end
358
+ end
359
+ end
360
+
361
+ # source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#85
362
+ module T::Utils::Private::PrivateCoercePatch
363
+ # source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#86
364
+ def coerce_and_check_module_types(val, check_val, check_module_type); end
365
+ end
366
+
367
+ # source://tapioca//lib/tapioca/runtime/trackers/autoload.rb#4
368
+ module Tapioca
369
+ class << self
370
+ # source://tapioca//lib/tapioca.rb#19
371
+ sig do
372
+ type_parameters(:Result)
373
+ .params(
374
+ blk: T.proc.returns(T.type_parameter(:Result))
375
+ ).returns(T.type_parameter(:Result))
376
+ end
377
+ def silence_warnings(&blk); end
378
+ end
379
+ end
380
+
381
+ # source://tapioca//lib/tapioca.rb#37
382
+ Tapioca::BINARY_FILE = T.let(T.unsafe(nil), String)
383
+
384
+ # source://tapioca//lib/tapioca.rb#60
385
+ Tapioca::CENTRAL_REPO_ANNOTATIONS_DIR = T.let(T.unsafe(nil), String)
386
+
387
+ # source://tapioca//lib/tapioca.rb#59
388
+ Tapioca::CENTRAL_REPO_INDEX_PATH = T.let(T.unsafe(nil), String)
389
+
390
+ # source://tapioca//lib/tapioca.rb#58
391
+ Tapioca::CENTRAL_REPO_ROOT_URI = T.let(T.unsafe(nil), String)
392
+
393
+ # source://tapioca//lib/tapioca/cli.rb#5
394
+ class Tapioca::Cli < ::Thor
395
+ include ::Tapioca::CliHelper
396
+ include ::Tapioca::ConfigHelper
397
+ include ::Tapioca::EnvHelper
398
+
399
+ # source://tapioca//lib/tapioca/cli.rb#332
400
+ def __print_version; end
401
+
402
+ # source://tapioca//lib/tapioca/cli.rb#312
403
+ def annotations; end
404
+
405
+ # source://tapioca//lib/tapioca/cli.rb#282
406
+ def check_shims; end
407
+
408
+ # source://tapioca//lib/tapioca/cli.rb#41
409
+ def configure; end
410
+
411
+ # source://tapioca//lib/tapioca/cli.rb#133
412
+ def dsl(*constants); end
413
+
414
+ # source://tapioca//lib/tapioca/cli.rb#234
415
+ def gem(*gems); end
416
+
417
+ # source://tapioca//lib/tapioca/cli.rb#27
418
+ def init; end
419
+
420
+ # source://tapioca//lib/tapioca/cli.rb#52
421
+ def require; end
422
+
423
+ # source://tapioca//lib/tapioca/cli.rb#71
424
+ def todo; end
425
+
426
+ private
427
+
428
+ # source://tapioca//lib/tapioca/cli.rb#346
429
+ def print_init_next_steps; end
430
+
431
+ class << self
432
+ # source://tapioca//lib/tapioca/cli.rb#338
433
+ def exit_on_failure?; end
434
+ end
435
+ end
436
+
437
+ # source://tapioca//lib/tapioca/cli.rb#10
438
+ Tapioca::Cli::FILE_HEADER_OPTION_DESC = T.let(T.unsafe(nil), String)
439
+
440
+ # source://tapioca//lib/tapioca/helpers/cli_helper.rb#5
441
+ module Tapioca::CliHelper
442
+ requires_ancestor { Thor::Shell }
443
+
444
+ # source://tapioca//lib/tapioca/helpers/cli_helper.rb#33
445
+ sig { params(options: T::Hash[::Symbol, T.untyped]).returns(T.nilable(::String)) }
446
+ def netrc_file(options); end
447
+
448
+ # source://tapioca//lib/tapioca/helpers/cli_helper.rb#26
449
+ sig { params(options: T::Hash[::Symbol, T.untyped]).returns(::Tapioca::RBIFormatter) }
450
+ def rbi_formatter(options); end
451
+
452
+ # source://tapioca//lib/tapioca/helpers/cli_helper.rb#12
453
+ sig { params(message: ::String, color: T.any(::Symbol, T::Array[::Symbol])).void }
454
+ def say_error(message = T.unsafe(nil), *color); end
455
+ end
456
+
457
+ # source://tapioca//lib/tapioca/commands.rb#5
458
+ module Tapioca::Commands; end
459
+
460
+ # source://tapioca//lib/tapioca/commands/annotations.rb#6
461
+ class Tapioca::Commands::Annotations < ::Tapioca::Commands::CommandWithoutTracker
462
+ # source://tapioca//lib/tapioca/commands/annotations.rb#18
463
+ sig do
464
+ params(
465
+ central_repo_root_uris: T::Array[::String],
466
+ auth: T.nilable(::String),
467
+ netrc_file: T.nilable(::String),
468
+ central_repo_index_path: ::String,
469
+ typed_overrides: T::Hash[::String, ::String]
470
+ ).void
471
+ end
472
+ def initialize(central_repo_root_uris:, auth: T.unsafe(nil), netrc_file: T.unsafe(nil), central_repo_index_path: T.unsafe(nil), typed_overrides: T.unsafe(nil)); end
473
+
474
+ # source://tapioca//lib/tapioca/commands/annotations.rb#36
475
+ sig { override.void }
476
+ def execute; end
477
+
478
+ private
479
+
480
+ # source://tapioca//lib/tapioca/commands/annotations.rb#191
481
+ sig { params(name: ::String, content: ::String).returns(::String) }
482
+ def add_header(name, content); end
483
+
484
+ # source://tapioca//lib/tapioca/commands/annotations.rb#209
485
+ sig { params(name: ::String, content: ::String).returns(::String) }
486
+ def apply_typed_override(name, content); end
487
+
488
+ # source://tapioca//lib/tapioca/commands/annotations.rb#132
489
+ sig { params(repo_uris: T::Array[::String], gem_name: ::String).void }
490
+ def fetch_annotation(repo_uris, gem_name); end
491
+
492
+ # source://tapioca//lib/tapioca/commands/annotations.rb#109
493
+ sig { params(gem_names: T::Array[::String]).returns(T::Array[::String]) }
494
+ def fetch_annotations(gem_names); end
495
+
496
+ # source://tapioca//lib/tapioca/commands/annotations.rb#150
497
+ sig { params(repo_uri: ::String, path: ::String).returns(T.nilable(::String)) }
498
+ def fetch_file(repo_uri, path); end
499
+
500
+ # source://tapioca//lib/tapioca/commands/annotations.rb#167
501
+ sig { params(repo_uri: ::String, path: ::String).returns(T.nilable(::String)) }
502
+ def fetch_http_file(repo_uri, path); end
503
+
504
+ # source://tapioca//lib/tapioca/commands/annotations.rb#98
505
+ sig { params(repo_uri: ::String, repo_number: T.nilable(::Integer)).returns(T.nilable(Tapioca::RepoIndex)) }
506
+ def fetch_index(repo_uri, repo_number:); end
507
+
508
+ # source://tapioca//lib/tapioca/commands/annotations.rb#77
509
+ sig { returns(T::Hash[::String, Tapioca::RepoIndex]) }
510
+ def fetch_indexes; end
511
+
512
+ # source://tapioca//lib/tapioca/commands/annotations.rb#159
513
+ sig { params(repo_uri: ::String, path: ::String).returns(T.nilable(::String)) }
514
+ def fetch_local_file(repo_uri, path); end
515
+
516
+ # source://tapioca//lib/tapioca/commands/annotations.rb#46
517
+ sig { returns(T::Array[::String]) }
518
+ def list_gemfile_gems; end
519
+
520
+ # source://tapioca//lib/tapioca/commands/annotations.rb#221
521
+ sig { params(gem_name: ::String, contents: T::Array[::String]).returns(T.nilable(::String)) }
522
+ def merge_files(gem_name, contents); end
523
+
524
+ # source://tapioca//lib/tapioca/commands/annotations.rb#56
525
+ sig { params(project_gems: T::Array[::String]).void }
526
+ def remove_expired_annotations(project_gems); end
527
+
528
+ # source://tapioca//lib/tapioca/commands/annotations.rb#248
529
+ sig { returns(T::Hash[::String, T.nilable(::String)]) }
530
+ def repo_tokens; end
531
+
532
+ # source://tapioca//lib/tapioca/commands/annotations.rb#276
533
+ sig { params(path: ::String, repo_uri: ::String, message: ::String).void }
534
+ def say_http_error(path, repo_uri, message:); end
535
+
536
+ # source://tapioca//lib/tapioca/commands/annotations.rb#260
537
+ sig { params(repo_uri: ::String).returns(T.nilable(::String)) }
538
+ def token_for(repo_uri); end
539
+ end
540
+
541
+ # source://tapioca//lib/tapioca/commands/check_shims.rb#6
542
+ class Tapioca::Commands::CheckShims < ::Tapioca::Commands::CommandWithoutTracker
543
+ include ::Tapioca::SorbetHelper
544
+ include ::Tapioca::RBIFilesHelper
545
+
546
+ # source://tapioca//lib/tapioca/commands/check_shims.rb#22
547
+ sig do
548
+ params(
549
+ gem_rbi_dir: ::String,
550
+ dsl_rbi_dir: ::String,
551
+ annotations_rbi_dir: ::String,
552
+ shim_rbi_dir: ::String,
553
+ todo_rbi_file: ::String,
554
+ payload: T::Boolean,
555
+ number_of_workers: T.nilable(::Integer)
556
+ ).void
557
+ end
558
+ def initialize(gem_rbi_dir:, dsl_rbi_dir:, annotations_rbi_dir:, shim_rbi_dir:, todo_rbi_file:, payload:, number_of_workers:); end
559
+
560
+ # source://tapioca//lib/tapioca/commands/check_shims.rb#42
561
+ sig { override.void }
562
+ def execute; end
563
+ end
564
+
565
+ # @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below.
566
+ #
567
+ # source://tapioca//lib/tapioca/commands/command.rb#6
568
+ class Tapioca::Commands::Command
569
+ include ::Thor::Base
570
+ include ::Thor::Invocation
571
+ include ::Thor::Shell
572
+ include ::Tapioca::CliHelper
573
+ extend ::Thor::Base::ClassMethods
574
+ extend ::Thor::Invocation::ClassMethods
575
+
576
+ abstract!
577
+
578
+ # source://tapioca//lib/tapioca/commands/command.rb#20
579
+ sig { void }
580
+ def initialize; end
581
+
582
+ # @abstract
583
+ #
584
+ # source://tapioca//lib/tapioca/commands/command.rb#25
585
+ sig { abstract.void }
586
+ def execute; end
587
+
588
+ # source://thor/1.2.1/lib/thor/base.rb#139
589
+ sig { returns(::Thor::Actions) }
590
+ def file_writer; end
591
+
592
+ private
593
+
594
+ # source://tapioca//lib/tapioca/commands/command.rb#46
595
+ sig do
596
+ params(
597
+ path: T.any(::Pathname, ::String),
598
+ content: ::String,
599
+ force: T::Boolean,
600
+ skip: T::Boolean,
601
+ verbose: T::Boolean
602
+ ).void
603
+ end
604
+ def create_file(path, content, force: T.unsafe(nil), skip: T.unsafe(nil), verbose: T.unsafe(nil)); end
605
+
606
+ # source://tapioca//lib/tapioca/commands/command.rb#30
607
+ sig { params(command: ::Symbol, args: ::String).returns(::String) }
608
+ def default_command(command, *args); end
609
+
610
+ # source://tapioca//lib/tapioca/commands/command.rb#56
611
+ sig { params(path: T.any(::Pathname, ::String), verbose: T::Boolean).void }
612
+ def remove_file(path, verbose: T.unsafe(nil)); end
613
+ end
614
+
615
+ # source://tapioca//lib/tapioca/commands/command.rb#10
616
+ class Tapioca::Commands::Command::FileWriter < ::Thor
617
+ include ::Thor::Actions
618
+ extend ::Thor::Actions::ClassMethods
619
+ end
620
+
621
+ # @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below.
622
+ #
623
+ # source://tapioca//lib/tapioca/commands/command_without_tracker.rb#6
624
+ class Tapioca::Commands::CommandWithoutTracker < ::Tapioca::Commands::Command
625
+ abstract!
626
+
627
+ # source://tapioca//lib/tapioca/commands/command_without_tracker.rb#12
628
+ sig { void }
629
+ def initialize; end
630
+ end
631
+
632
+ # source://tapioca//lib/tapioca/commands/configure.rb#6
633
+ class Tapioca::Commands::Configure < ::Tapioca::Commands::CommandWithoutTracker
634
+ # source://tapioca//lib/tapioca/commands/configure.rb#14
635
+ sig { params(sorbet_config: ::String, tapioca_config: ::String, default_postrequire: ::String).void }
636
+ def initialize(sorbet_config:, tapioca_config:, default_postrequire:); end
637
+
638
+ # source://tapioca//lib/tapioca/commands/configure.rb#30
639
+ sig { override.void }
640
+ def execute; end
641
+
642
+ private
643
+
644
+ # source://tapioca//lib/tapioca/commands/configure.rb#78
645
+ sig { void }
646
+ def create_binstub; end
647
+
648
+ # source://tapioca//lib/tapioca/commands/configure.rb#68
649
+ sig { void }
650
+ def create_post_require; end
651
+
652
+ # source://tapioca//lib/tapioca/commands/configure.rb#40
653
+ sig { void }
654
+ def create_sorbet_config; end
655
+
656
+ # source://tapioca//lib/tapioca/commands/configure.rb#49
657
+ sig { void }
658
+ def create_tapioca_config; end
659
+
660
+ # source://tapioca//lib/tapioca/commands/configure.rb#91
661
+ sig { returns(::Bundler::Installer) }
662
+ def installer; end
663
+
664
+ # source://tapioca//lib/tapioca/commands/configure.rb#96
665
+ sig { returns(T.any(::Bundler::StubSpecification, ::Gem::Specification)) }
666
+ def spec; end
667
+ end
668
+
669
+ # source://tapioca//lib/tapioca/commands/dsl.rb#6
670
+ class Tapioca::Commands::Dsl < ::Tapioca::Commands::CommandWithoutTracker
671
+ include ::Tapioca::SorbetHelper
672
+ include ::Tapioca::RBIFilesHelper
673
+
674
+ # source://tapioca//lib/tapioca/commands/dsl.rb#28
675
+ sig do
676
+ params(
677
+ requested_constants: T::Array[::String],
678
+ outpath: ::Pathname,
679
+ only: T::Array[::String],
680
+ exclude: T::Array[::String],
681
+ file_header: T::Boolean,
682
+ tapioca_path: ::String,
683
+ should_verify: T::Boolean,
684
+ quiet: T::Boolean,
685
+ verbose: T::Boolean,
686
+ number_of_workers: T.nilable(::Integer),
687
+ auto_strictness: T::Boolean,
688
+ gem_dir: ::String,
689
+ rbi_formatter: ::Tapioca::RBIFormatter,
690
+ app_root: ::String
691
+ ).void
692
+ end
693
+ def initialize(requested_constants:, outpath:, only:, exclude:, file_header:, tapioca_path:, should_verify: T.unsafe(nil), quiet: T.unsafe(nil), verbose: T.unsafe(nil), number_of_workers: T.unsafe(nil), auto_strictness: T.unsafe(nil), gem_dir: T.unsafe(nil), rbi_formatter: T.unsafe(nil), app_root: T.unsafe(nil)); end
694
+
695
+ # source://tapioca//lib/tapioca/commands/dsl.rb#90
696
+ sig { override.void }
697
+ def execute; end
698
+
699
+ # source://tapioca//lib/tapioca/commands/dsl.rb#63
700
+ sig { void }
701
+ def list_compilers; end
702
+
703
+ private
704
+
705
+ # source://tapioca//lib/tapioca/commands/dsl.rb#317
706
+ sig { params(cause: ::Symbol, files: T::Array[::String]).returns(::String) }
707
+ def build_error_for_files(cause, files); end
708
+
709
+ # source://tapioca//lib/tapioca/commands/dsl.rb#241
710
+ sig do
711
+ params(
712
+ constant_name: ::String,
713
+ rbi: ::RBI::File,
714
+ outpath: ::Pathname,
715
+ quiet: T::Boolean
716
+ ).returns(T.nilable(::Pathname))
717
+ end
718
+ def compile_dsl_rbi(constant_name, rbi, outpath: T.unsafe(nil), quiet: T.unsafe(nil)); end
719
+
720
+ # source://tapioca//lib/tapioca/commands/dsl.rb#179
721
+ sig { params(constant_names: T::Array[::String]).returns(T::Array[::Module]) }
722
+ def constantize(constant_names); end
723
+
724
+ # source://tapioca//lib/tapioca/commands/dsl.rb#202
725
+ sig { params(compiler_names: T::Array[::String]).returns(T::Array[T.class_of(Tapioca::Dsl::Compiler)]) }
726
+ def constantize_compilers(compiler_names); end
727
+
728
+ # source://tapioca//lib/tapioca/commands/dsl.rb#153
729
+ sig { returns(::Tapioca::Dsl::Pipeline) }
730
+ def create_pipeline; end
731
+
732
+ # source://tapioca//lib/tapioca/commands/dsl.rb#280
733
+ sig { params(constant_name: ::String).returns(::Pathname) }
734
+ def dsl_rbi_filename(constant_name); end
735
+
736
+ # source://tapioca//lib/tapioca/commands/dsl.rb#166
737
+ sig { params(requested_constants: T::Array[::String], path: ::Pathname).returns(T::Set[::Pathname]) }
738
+ def existing_rbi_filenames(requested_constants, path: T.unsafe(nil)); end
739
+
740
+ # source://tapioca//lib/tapioca/commands/dsl.rb#370
741
+ sig { params(constant: ::String).returns(::String) }
742
+ def generate_command_for(constant); end
743
+
744
+ # source://tapioca//lib/tapioca/commands/dsl.rb#259
745
+ sig { params(dir: ::Pathname).void }
746
+ def perform_dsl_verification(dir); end
747
+
748
+ # source://tapioca//lib/tapioca/commands/dsl.rb#268
749
+ sig { params(files: T::Set[::Pathname]).void }
750
+ def purge_stale_dsl_rbi_files(files); end
751
+
752
+ # source://tapioca//lib/tapioca/commands/dsl.rb#365
753
+ sig { params(constant: ::String).returns(::String) }
754
+ def rbi_filename_for(constant); end
755
+
756
+ # source://tapioca//lib/tapioca/commands/dsl.rb#346
757
+ sig { params(path: ::Pathname).returns(T::Array[::Pathname]) }
758
+ def rbi_files_in(path); end
759
+
760
+ # source://tapioca//lib/tapioca/commands/dsl.rb#326
761
+ sig { params(diff: T::Hash[::String, ::Symbol], command: ::Symbol).void }
762
+ def report_diff_and_exit_if_out_of_date(diff, command); end
763
+
764
+ # source://tapioca//lib/tapioca/commands/dsl.rb#221
765
+ sig { params(name: ::String).returns(T.nilable(T.class_of(Tapioca::Dsl::Compiler))) }
766
+ def resolve(name); end
767
+
768
+ # source://tapioca//lib/tapioca/commands/dsl.rb#353
769
+ sig { params(class_name: ::String).returns(::String) }
770
+ def underscore(class_name); end
771
+
772
+ # source://tapioca//lib/tapioca/commands/dsl.rb#285
773
+ sig { params(tmp_dir: ::Pathname).returns(T::Hash[::String, ::Symbol]) }
774
+ def verify_dsl_rbi(tmp_dir:); end
775
+ end
776
+
777
+ # source://tapioca//lib/tapioca/commands/gem.rb#6
778
+ class Tapioca::Commands::Gem < ::Tapioca::Commands::Command
779
+ include ::Tapioca::SorbetHelper
780
+ include ::Tapioca::RBIFilesHelper
781
+
782
+ # source://tapioca//lib/tapioca/commands/gem.rb#28
783
+ sig do
784
+ params(
785
+ gem_names: T::Array[::String],
786
+ exclude: T::Array[::String],
787
+ prerequire: T.nilable(::String),
788
+ postrequire: ::String,
789
+ typed_overrides: T::Hash[::String, ::String],
790
+ outpath: ::Pathname,
791
+ file_header: T::Boolean,
792
+ include_doc: T::Boolean,
793
+ include_loc: T::Boolean,
794
+ include_exported_rbis: T::Boolean,
795
+ number_of_workers: T.nilable(::Integer),
796
+ auto_strictness: T::Boolean,
797
+ dsl_dir: ::String,
798
+ rbi_formatter: ::Tapioca::RBIFormatter
799
+ ).void
800
+ end
801
+ def initialize(gem_names:, exclude:, prerequire:, postrequire:, typed_overrides:, outpath:, file_header:, include_doc:, include_loc:, include_exported_rbis:, number_of_workers: T.unsafe(nil), auto_strictness: T.unsafe(nil), dsl_dir: T.unsafe(nil), rbi_formatter: T.unsafe(nil)); end
802
+
803
+ # source://tapioca//lib/tapioca/commands/gem.rb#67
804
+ sig { override.void }
805
+ def execute; end
806
+
807
+ # source://tapioca//lib/tapioca/commands/gem.rb#105
808
+ sig { params(should_verify: T::Boolean, exclude: T::Array[::String]).void }
809
+ def sync(should_verify: T.unsafe(nil), exclude: T.unsafe(nil)); end
810
+
811
+ private
812
+
813
+ # source://tapioca//lib/tapioca/commands/gem.rb#283
814
+ sig { returns(T::Array[::String]) }
815
+ def added_rbis; end
816
+
817
+ # source://tapioca//lib/tapioca/commands/gem.rb#344
818
+ sig { params(cause: ::Symbol, files: T::Array[::String]).returns(::String) }
819
+ def build_error_for_files(cause, files); end
820
+
821
+ # source://tapioca//lib/tapioca/commands/gem.rb#154
822
+ sig { params(gem: ::Tapioca::Gemfile::GemSpec).void }
823
+ def compile_gem_rbi(gem); end
824
+
825
+ # source://tapioca//lib/tapioca/commands/gem.rb#278
826
+ sig { params(gem_name: ::String).returns(::Pathname) }
827
+ def existing_rbi(gem_name); end
828
+
829
+ # source://tapioca//lib/tapioca/commands/gem.rb#326
830
+ sig { returns(T::Hash[::String, ::String]) }
831
+ def existing_rbis; end
832
+
833
+ # source://tapioca//lib/tapioca/commands/gem.rb#290
834
+ sig { params(gem_name: ::String).returns(::Pathname) }
835
+ def expected_rbi(gem_name); end
836
+
837
+ # source://tapioca//lib/tapioca/commands/gem.rb#332
838
+ sig { returns(T::Hash[::String, ::String]) }
839
+ def expected_rbis; end
840
+
841
+ # source://tapioca//lib/tapioca/commands/gem.rb#295
842
+ sig { params(gem_name: ::String).returns(T::Boolean) }
843
+ def gem_rbi_exists?(gem_name); end
844
+
845
+ # source://tapioca//lib/tapioca/commands/gem.rb#339
846
+ sig { params(gem_name: ::String, version: ::String).returns(::Pathname) }
847
+ def gem_rbi_filename(gem_name, version); end
848
+
849
+ # source://tapioca//lib/tapioca/commands/gem.rb#139
850
+ sig { params(gem_names: T::Array[::String]).returns(T::Array[::Tapioca::Gemfile::GemSpec]) }
851
+ def gems_to_generate(gem_names); end
852
+
853
+ # source://tapioca//lib/tapioca/commands/gem.rb#349
854
+ sig { params(gem: ::Tapioca::Gemfile::GemSpec, file: ::RBI::File).void }
855
+ def merge_with_exported_rbi(gem, file); end
856
+
857
+ # source://tapioca//lib/tapioca/commands/gem.rb#320
858
+ sig { params(old_filename: ::Pathname, new_filename: ::Pathname).void }
859
+ def move(old_filename, new_filename); end
860
+
861
+ # source://tapioca//lib/tapioca/commands/gem.rb#231
862
+ sig { void }
863
+ def perform_additions; end
864
+
865
+ # source://tapioca//lib/tapioca/commands/gem.rb#204
866
+ sig { void }
867
+ def perform_removals; end
868
+
869
+ # source://tapioca//lib/tapioca/commands/gem.rb#185
870
+ sig { params(exclude: T::Array[::String]).void }
871
+ def perform_sync_verification(exclude: T.unsafe(nil)); end
872
+
873
+ # source://tapioca//lib/tapioca/commands/gem.rb#273
874
+ sig { returns(T::Array[::String]) }
875
+ def removed_rbis; end
876
+
877
+ # source://tapioca//lib/tapioca/commands/gem.rb#300
878
+ sig { params(diff: T::Hash[::String, ::Symbol], command: ::Symbol).void }
879
+ def report_diff_and_exit_if_out_of_date(diff, command); end
880
+ end
881
+
882
+ # source://tapioca//lib/tapioca/commands/require.rb#6
883
+ class Tapioca::Commands::Require < ::Tapioca::Commands::CommandWithoutTracker
884
+ # source://tapioca//lib/tapioca/commands/require.rb#13
885
+ sig { params(requires_path: ::String, sorbet_config_path: ::String).void }
886
+ def initialize(requires_path:, sorbet_config_path:); end
887
+
888
+ # source://tapioca//lib/tapioca/commands/require.rb#21
889
+ sig { override.void }
890
+ def execute; end
891
+ end
892
+
893
+ # source://tapioca//lib/tapioca/commands/todo.rb#6
894
+ class Tapioca::Commands::Todo < ::Tapioca::Commands::CommandWithoutTracker
895
+ include ::Tapioca::SorbetHelper
896
+
897
+ # source://tapioca//lib/tapioca/commands/todo.rb#15
898
+ sig { params(todo_file: ::String, file_header: T::Boolean).void }
899
+ def initialize(todo_file:, file_header:); end
900
+
901
+ # source://tapioca//lib/tapioca/commands/todo.rb#23
902
+ sig { override.void }
903
+ def execute; end
904
+
905
+ private
906
+
907
+ # source://tapioca//lib/tapioca/commands/todo.rb#49
908
+ sig { params(constants: T::Array[::String], command: ::String).returns(::RBI::File) }
909
+ def rbi(constants, command:); end
910
+
911
+ # source://tapioca//lib/tapioca/commands/todo.rb#69
912
+ sig { returns(T::Array[::String]) }
913
+ def unresolved_constants; end
914
+ end
915
+
916
+ # source://tapioca//lib/tapioca/helpers/config_helper.rb#5
917
+ module Tapioca::ConfigHelper
918
+ requires_ancestor { Thor }
919
+
920
+ # source://tapioca//lib/tapioca/helpers/config_helper.rb#18
921
+ sig { params(args: T.untyped, local_options: T.untyped, config: T.untyped).void }
922
+ def initialize(args = T.unsafe(nil), local_options = T.unsafe(nil), config = T.unsafe(nil)); end
923
+
924
+ # source://tapioca//lib/tapioca/helpers/config_helper.rb#12
925
+ sig { returns(::String) }
926
+ def command_name; end
927
+
928
+ # source://tapioca//lib/tapioca/helpers/config_helper.rb#15
929
+ sig { returns(::Thor::CoreExt::HashWithIndifferentAccess) }
930
+ def defaults; end
931
+
932
+ # source://tapioca//lib/tapioca/helpers/config_helper.rb#34
933
+ sig { returns(::Thor::CoreExt::HashWithIndifferentAccess) }
934
+ def options; end
935
+
936
+ private
937
+
938
+ # source://tapioca//lib/tapioca/helpers/config_helper.rb#151
939
+ sig { params(msg: ::String).returns(::Tapioca::ConfigHelper::ConfigError) }
940
+ def build_error(msg); end
941
+
942
+ # source://tapioca//lib/tapioca/helpers/config_helper.rb#176
943
+ sig { params(config_file: ::String, errors: T::Array[::Tapioca::ConfigHelper::ConfigError]).returns(::String) }
944
+ def build_error_message(config_file, errors); end
945
+
946
+ # source://tapioca//lib/tapioca/helpers/config_helper.rb#56
947
+ sig do
948
+ params(
949
+ options: ::Thor::CoreExt::HashWithIndifferentAccess
950
+ ).returns(::Thor::CoreExt::HashWithIndifferentAccess)
951
+ end
952
+ def config_options(options); end
953
+
954
+ # source://tapioca//lib/tapioca/helpers/config_helper.rb#46
955
+ sig { params(options: T::Hash[::Symbol, ::Thor::Option]).void }
956
+ def filter_defaults(options); end
957
+
958
+ # source://tapioca//lib/tapioca/helpers/config_helper.rb#194
959
+ sig do
960
+ params(
961
+ options: T.nilable(::Thor::CoreExt::HashWithIndifferentAccess)
962
+ ).returns(::Thor::CoreExt::HashWithIndifferentAccess)
963
+ end
964
+ def merge_options(*options); end
965
+
966
+ # source://tapioca//lib/tapioca/helpers/config_helper.rb#70
967
+ sig { params(config_file: ::String, config: T::Hash[T.untyped, T.untyped]).void }
968
+ def validate_config!(config_file, config); end
969
+
970
+ # source://tapioca//lib/tapioca/helpers/config_helper.rb#102
971
+ sig do
972
+ params(
973
+ command_options: T::Hash[::Symbol, ::Thor::Option],
974
+ config_key: ::String,
975
+ config_options: T::Hash[T.untyped, T.untyped]
976
+ ).returns(T::Array[::Tapioca::ConfigHelper::ConfigError])
977
+ end
978
+ def validate_config_options(command_options, config_key, config_options); end
979
+ end
980
+
981
+ # source://tapioca//lib/tapioca/helpers/config_helper.rb#146
982
+ class Tapioca::ConfigHelper::ConfigError < ::T::Struct
983
+ const :message_parts, T::Array[::Tapioca::ConfigHelper::ConfigErrorMessagePart]
984
+
985
+ class << self
986
+ # source://sorbet-runtime/0.5.10634/lib/types/struct.rb#13
987
+ def inherited(s); end
988
+ end
989
+ end
990
+
991
+ # source://tapioca//lib/tapioca/helpers/config_helper.rb#141
992
+ class Tapioca::ConfigHelper::ConfigErrorMessagePart < ::T::Struct
993
+ const :message, ::String
994
+ const :colors, T::Array[::Symbol]
995
+
996
+ class << self
997
+ # source://sorbet-runtime/0.5.10634/lib/types/struct.rb#13
998
+ def inherited(s); end
999
+ end
1000
+ end
1001
+
1002
+ # source://tapioca//lib/tapioca.rb#44
1003
+ Tapioca::DEFAULT_ANNOTATIONS_DIR = T.let(T.unsafe(nil), String)
1004
+
1005
+ # source://tapioca//lib/tapioca.rb#40
1006
+ Tapioca::DEFAULT_DSL_DIR = T.let(T.unsafe(nil), String)
1007
+
1008
+ # source://tapioca//lib/tapioca.rb#56
1009
+ Tapioca::DEFAULT_ENVIRONMENT = T.let(T.unsafe(nil), String)
1010
+
1011
+ # source://tapioca//lib/tapioca.rb#41
1012
+ Tapioca::DEFAULT_GEM_DIR = T.let(T.unsafe(nil), String)
1013
+
1014
+ # source://tapioca//lib/tapioca.rb#46
1015
+ Tapioca::DEFAULT_OVERRIDES = T.let(T.unsafe(nil), Hash)
1016
+
1017
+ # source://tapioca//lib/tapioca.rb#38
1018
+ Tapioca::DEFAULT_POSTREQUIRE_FILE = T.let(T.unsafe(nil), String)
1019
+
1020
+ # source://tapioca//lib/tapioca.rb#39
1021
+ Tapioca::DEFAULT_RBI_DIR = T.let(T.unsafe(nil), String)
1022
+
1023
+ # source://tapioca//lib/tapioca/rbi_formatter.rb#29
1024
+ Tapioca::DEFAULT_RBI_FORMATTER = T.let(T.unsafe(nil), Tapioca::RBIFormatter)
1025
+
1026
+ # source://tapioca//lib/tapioca.rb#55
1027
+ Tapioca::DEFAULT_RBI_MAX_LINE_LENGTH = T.let(T.unsafe(nil), Integer)
1028
+
1029
+ # source://tapioca//lib/tapioca.rb#42
1030
+ Tapioca::DEFAULT_SHIM_DIR = T.let(T.unsafe(nil), String)
1031
+
1032
+ # source://tapioca//lib/tapioca.rb#43
1033
+ Tapioca::DEFAULT_TODO_FILE = T.let(T.unsafe(nil), String)
1034
+
1035
+ # source://tapioca//lib/tapioca/dsl/compilers.rb#5
1036
+ module Tapioca::Dsl; end
1037
+
1038
+ # @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below.
1039
+ #
1040
+ # source://tapioca//lib/tapioca/dsl/compiler.rb#6
1041
+ class Tapioca::Dsl::Compiler
1042
+ extend T::Generic
1043
+ include ::Tapioca::SorbetHelper
1044
+ include ::Tapioca::RBIHelper
1045
+ include ::Tapioca::Runtime::Reflection
1046
+ extend ::Tapioca::Runtime::Reflection
1047
+
1048
+ abstract!
1049
+
1050
+ ConstantType = type_member { { upper: Module } }
1051
+
1052
+ # source://tapioca//lib/tapioca/dsl/compiler.rb#60
1053
+ sig { params(pipeline: ::Tapioca::Dsl::Pipeline, root: ::RBI::Tree, constant: ConstantType).void }
1054
+ def initialize(pipeline, root, constant); end
1055
+
1056
+ # NOTE: This should eventually accept an `Error` object or `Exception` rather than simply a `String`.
1057
+ #
1058
+ # source://tapioca//lib/tapioca/dsl/compiler.rb#77
1059
+ sig { params(error: ::String).void }
1060
+ def add_error(error); end
1061
+
1062
+ # source://tapioca//lib/tapioca/dsl/compiler.rb#68
1063
+ sig { params(compiler_name: ::String).returns(T::Boolean) }
1064
+ def compiler_enabled?(compiler_name); end
1065
+
1066
+ # source://tapioca//lib/tapioca/dsl/compiler.rb#20
1067
+ sig { returns(ConstantType) }
1068
+ def constant; end
1069
+
1070
+ # @abstract
1071
+ #
1072
+ # source://tapioca//lib/tapioca/dsl/compiler.rb#73
1073
+ sig { abstract.void }
1074
+ def decorate; end
1075
+
1076
+ # source://tapioca//lib/tapioca/dsl/compiler.rb#23
1077
+ sig { returns(::RBI::Tree) }
1078
+ def root; end
1079
+
1080
+ private
1081
+
1082
+ # source://tapioca//lib/tapioca/dsl/compiler.rb#126
1083
+ sig { params(method_def: T.any(::Method, ::UnboundMethod)).returns(T::Array[::RBI::TypedParam]) }
1084
+ def compile_method_parameters_to_rbi(method_def); end
1085
+
1086
+ # source://tapioca//lib/tapioca/dsl/compiler.rb#162
1087
+ sig { params(method_def: T.any(::Method, ::UnboundMethod)).returns(::String) }
1088
+ def compile_method_return_type_to_rbi(method_def); end
1089
+
1090
+ # source://tapioca//lib/tapioca/dsl/compiler.rb#116
1091
+ sig { params(scope: ::RBI::Scope, method_def: T.any(::Method, ::UnboundMethod), class_method: T::Boolean).void }
1092
+ def create_method_from_def(scope, method_def, class_method: T.unsafe(nil)); end
1093
+
1094
+ # Get the types of each parameter from a method signature
1095
+ #
1096
+ # source://tapioca//lib/tapioca/dsl/compiler.rb#90
1097
+ sig { params(method_def: T.any(::Method, ::UnboundMethod), signature: T.untyped).returns(T::Array[::String]) }
1098
+ def parameters_types_from_signature(method_def, signature); end
1099
+
1100
+ class << self
1101
+ # @abstract
1102
+ #
1103
+ # source://tapioca//lib/tapioca/dsl/compiler.rb#34
1104
+ sig { abstract.returns(T::Enumerable[::Module]) }
1105
+ def gather_constants; end
1106
+
1107
+ # source://tapioca//lib/tapioca/dsl/compiler.rb#29
1108
+ sig { params(constant: ::Module).returns(T::Boolean) }
1109
+ def handles?(constant); end
1110
+
1111
+ # source://tapioca//lib/tapioca/dsl/compiler.rb#37
1112
+ sig { returns(T::Set[::Module]) }
1113
+ def processable_constants; end
1114
+
1115
+ private
1116
+
1117
+ # source://tapioca//lib/tapioca/dsl/compiler.rb#47
1118
+ sig { returns(T::Enumerable[::Class]) }
1119
+ def all_classes; end
1120
+
1121
+ # source://tapioca//lib/tapioca/dsl/compiler.rb#53
1122
+ sig { returns(T::Enumerable[::Module]) }
1123
+ def all_modules; end
1124
+ end
1125
+ end
1126
+
1127
+ # source://tapioca//lib/tapioca/dsl/compilers.rb#6
1128
+ module Tapioca::Dsl::Compilers; end
1129
+
1130
+ # DSL compilers are either built-in to Tapioca and live under the
1131
+ # `Tapioca::Dsl::Compilers` namespace (i.e. this namespace), and
1132
+ # can be referred to by just using the class name, or they live in
1133
+ # a different namespace and can only be referred to using their fully
1134
+ # qualified name. This constant encapsulates that dual lookup when
1135
+ # a compiler needs to be resolved by name.
1136
+ #
1137
+ # source://tapioca//lib/tapioca/dsl/compilers.rb#13
1138
+ Tapioca::Dsl::Compilers::NAMESPACES = T.let(T.unsafe(nil), Array)
1139
+
1140
+ # source://tapioca//lib/tapioca/dsl/pipeline.rb#6
1141
+ class Tapioca::Dsl::Pipeline
1142
+ # source://tapioca//lib/tapioca/dsl/pipeline.rb#30
1143
+ sig do
1144
+ params(
1145
+ requested_constants: T::Array[::Module],
1146
+ requested_compilers: T::Array[T.class_of(Tapioca::Dsl::Compiler)],
1147
+ excluded_compilers: T::Array[T.class_of(Tapioca::Dsl::Compiler)],
1148
+ error_handler: T.proc.params(error: ::String).void,
1149
+ number_of_workers: T.nilable(::Integer)
1150
+ ).void
1151
+ end
1152
+ def initialize(requested_constants:, requested_compilers: T.unsafe(nil), excluded_compilers: T.unsafe(nil), error_handler: T.unsafe(nil), number_of_workers: T.unsafe(nil)); end
1153
+
1154
+ # source://tapioca//lib/tapioca/dsl/pipeline.rb#10
1155
+ sig { returns(T::Enumerable[T.class_of(Tapioca::Dsl::Compiler)]) }
1156
+ def active_compilers; end
1157
+
1158
+ # source://tapioca//lib/tapioca/dsl/pipeline.rb#82
1159
+ sig { params(error: ::String).void }
1160
+ def add_error(error); end
1161
+
1162
+ # source://tapioca//lib/tapioca/dsl/pipeline.rb#87
1163
+ sig { params(compiler_name: ::String).returns(T::Boolean) }
1164
+ def compiler_enabled?(compiler_name); end
1165
+
1166
+ # source://tapioca//lib/tapioca/dsl/pipeline.rb#96
1167
+ sig { returns(T::Array[T.class_of(Tapioca::Dsl::Compiler)]) }
1168
+ def compilers; end
1169
+
1170
+ # source://tapioca//lib/tapioca/dsl/pipeline.rb#16
1171
+ sig { returns(T.proc.params(error: ::String).void) }
1172
+ def error_handler; end
1173
+
1174
+ # source://tapioca//lib/tapioca/dsl/pipeline.rb#19
1175
+ sig { returns(T::Array[::String]) }
1176
+ def errors; end
1177
+
1178
+ # source://tapioca//lib/tapioca/dsl/pipeline.rb#13
1179
+ sig { returns(T::Array[::Module]) }
1180
+ def requested_constants; end
1181
+
1182
+ # source://tapioca//lib/tapioca/dsl/pipeline.rb#52
1183
+ sig do
1184
+ type_parameters(:T)
1185
+ .params(
1186
+ blk: T.proc.params(constant: ::Module, rbi: ::RBI::File).returns(T.type_parameter(:T))
1187
+ ).returns(T::Array[T.type_parameter(:T)])
1188
+ end
1189
+ def run(&blk); end
1190
+
1191
+ private
1192
+
1193
+ # source://tapioca//lib/tapioca/dsl/pipeline.rb#128
1194
+ sig { params(constants: T::Set[::Module]).returns(T::Set[::Module]) }
1195
+ def filter_anonymous_and_reloaded_constants(constants); end
1196
+
1197
+ # source://tapioca//lib/tapioca/dsl/pipeline.rb#111
1198
+ sig do
1199
+ params(
1200
+ requested_compilers: T::Array[T.class_of(Tapioca::Dsl::Compiler)],
1201
+ excluded_compilers: T::Array[T.class_of(Tapioca::Dsl::Compiler)]
1202
+ ).returns(T::Enumerable[T.class_of(Tapioca::Dsl::Compiler)])
1203
+ end
1204
+ def gather_active_compilers(requested_compilers, excluded_compilers); end
1205
+
1206
+ # source://tapioca//lib/tapioca/dsl/pipeline.rb#119
1207
+ sig { params(requested_constants: T::Array[::Module]).returns(T::Set[::Module]) }
1208
+ def gather_constants(requested_constants); end
1209
+
1210
+ # source://tapioca//lib/tapioca/dsl/pipeline.rb#156
1211
+ sig { params(constant: ::Module).returns(T.nilable(::RBI::File)) }
1212
+ def rbi_for_constant(constant); end
1213
+
1214
+ # source://tapioca//lib/tapioca/dsl/pipeline.rb#175
1215
+ sig { params(error: ::String).returns(T.noreturn) }
1216
+ def report_error(error); end
1217
+ end
1218
+
1219
+ # source://tapioca//lib/tapioca/helpers/env_helper.rb#5
1220
+ module Tapioca::EnvHelper
1221
+ requires_ancestor { Thor }
1222
+
1223
+ # source://tapioca//lib/tapioca/helpers/env_helper.rb#12
1224
+ sig { params(options: T::Hash[::Symbol, T.untyped]).void }
1225
+ def set_environment(options); end
1226
+ end
1227
+
1228
+ class Tapioca::Error < ::StandardError; end
1229
+
1230
+ # source://tapioca//lib/tapioca/executor.rb#5
1231
+ class Tapioca::Executor
1232
+ # source://tapioca//lib/tapioca/executor.rb#11
1233
+ sig { params(queue: T::Array[T.untyped], number_of_workers: T.nilable(::Integer)).void }
1234
+ def initialize(queue, number_of_workers: T.unsafe(nil)); end
1235
+
1236
+ # source://tapioca//lib/tapioca/executor.rb#28
1237
+ sig do
1238
+ type_parameters(:T)
1239
+ .params(
1240
+ block: T.proc.params(item: T.untyped).returns(T.type_parameter(:T))
1241
+ ).returns(T::Array[T.type_parameter(:T)])
1242
+ end
1243
+ def run_in_parallel(&block); end
1244
+ end
1245
+
1246
+ # source://tapioca//lib/tapioca/executor.rb#8
1247
+ Tapioca::Executor::MINIMUM_ITEMS_PER_WORKER = T.let(T.unsafe(nil), Integer)
1248
+
1249
+ # source://tapioca//lib/tapioca/gem/events.rb#5
1250
+ module Tapioca::Gem; end
1251
+
1252
+ # source://tapioca//lib/tapioca/gem/events.rb#77
1253
+ class Tapioca::Gem::ConstNodeAdded < ::Tapioca::Gem::NodeAdded
1254
+ # source://tapioca//lib/tapioca/gem/events.rb#84
1255
+ sig { params(symbol: ::String, constant: ::Module, node: ::RBI::Const).void }
1256
+ def initialize(symbol, constant, node); end
1257
+
1258
+ # source://tapioca//lib/tapioca/gem/events.rb#81
1259
+ sig { returns(::RBI::Const) }
1260
+ def node; end
1261
+ end
1262
+
1263
+ # source://tapioca//lib/tapioca/gem/events.rb#26
1264
+ class Tapioca::Gem::ConstantFound < ::Tapioca::Gem::Event
1265
+ # source://tapioca//lib/tapioca/gem/events.rb#36
1266
+ sig { params(symbol: ::String, constant: ::BasicObject).void }
1267
+ def initialize(symbol, constant); end
1268
+
1269
+ # source://tapioca//lib/tapioca/gem/events.rb#33
1270
+ sig { returns(::BasicObject) }
1271
+ def constant; end
1272
+
1273
+ # source://tapioca//lib/tapioca/gem/events.rb#30
1274
+ sig { returns(::String) }
1275
+ def symbol; end
1276
+ end
1277
+
1278
+ # @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below.
1279
+ #
1280
+ # source://tapioca//lib/tapioca/gem/events.rb#6
1281
+ class Tapioca::Gem::Event
1282
+ abstract!
1283
+
1284
+ # source://sorbet-runtime/0.5.10634/lib/types/private/abstract/declare.rb#37
1285
+ def initialize(*args, **_arg1, &blk); end
1286
+ end
1287
+
1288
+ # source://tapioca//lib/tapioca/gem/events.rb#43
1289
+ class Tapioca::Gem::ForeignConstantFound < ::Tapioca::Gem::ConstantFound
1290
+ # source://tapioca//lib/tapioca/gem/events.rb#52
1291
+ sig { params(symbol: ::String, constant: ::Module).void }
1292
+ def initialize(symbol, constant); end
1293
+
1294
+ # source://tapioca//lib/tapioca/gem/events.rb#47
1295
+ sig { override.returns(::Module) }
1296
+ def constant; end
1297
+ end
1298
+
1299
+ # source://tapioca//lib/tapioca/gem/events.rb#103
1300
+ class Tapioca::Gem::ForeignScopeNodeAdded < ::Tapioca::Gem::ScopeNodeAdded; end
1301
+
1302
+ # source://tapioca//lib/tapioca/gem/listeners/base.rb#6
1303
+ module Tapioca::Gem::Listeners; end
1304
+
1305
+ # @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below.
1306
+ #
1307
+ # source://tapioca//lib/tapioca/gem/listeners/base.rb#7
1308
+ class Tapioca::Gem::Listeners::Base
1309
+ abstract!
1310
+
1311
+ # source://tapioca//lib/tapioca/gem/listeners/base.rb#14
1312
+ sig { params(pipeline: ::Tapioca::Gem::Pipeline).void }
1313
+ def initialize(pipeline); end
1314
+
1315
+ # source://tapioca//lib/tapioca/gem/listeners/base.rb#19
1316
+ sig { params(event: ::Tapioca::Gem::NodeAdded).void }
1317
+ def dispatch(event); end
1318
+
1319
+ private
1320
+
1321
+ # source://tapioca//lib/tapioca/gem/listeners/base.rb#49
1322
+ sig { params(event: ::Tapioca::Gem::NodeAdded).returns(T::Boolean) }
1323
+ def ignore?(event); end
1324
+
1325
+ # source://tapioca//lib/tapioca/gem/listeners/base.rb#37
1326
+ sig { params(event: ::Tapioca::Gem::ConstNodeAdded).void }
1327
+ def on_const(event); end
1328
+
1329
+ # source://tapioca//lib/tapioca/gem/listeners/base.rb#45
1330
+ sig { params(event: ::Tapioca::Gem::MethodNodeAdded).void }
1331
+ def on_method(event); end
1332
+
1333
+ # source://tapioca//lib/tapioca/gem/listeners/base.rb#41
1334
+ sig { params(event: ::Tapioca::Gem::ScopeNodeAdded).void }
1335
+ def on_scope(event); end
1336
+ end
1337
+
1338
+ # source://tapioca//lib/tapioca/gem/listeners/dynamic_mixins.rb#7
1339
+ class Tapioca::Gem::Listeners::DynamicMixins < ::Tapioca::Gem::Listeners::Base
1340
+ include ::Tapioca::Runtime::Reflection
1341
+
1342
+ private
1343
+
1344
+ # source://tapioca//lib/tapioca/gem/listeners/dynamic_mixins.rb#31
1345
+ sig { override.params(event: ::Tapioca::Gem::NodeAdded).returns(T::Boolean) }
1346
+ def ignore?(event); end
1347
+
1348
+ # source://tapioca//lib/tapioca/gem/listeners/dynamic_mixins.rb#15
1349
+ sig { override.params(event: ::Tapioca::Gem::ScopeNodeAdded).void }
1350
+ def on_scope(event); end
1351
+ end
1352
+
1353
+ # source://tapioca//lib/tapioca/gem/listeners/foreign_constants.rb#7
1354
+ class Tapioca::Gem::Listeners::ForeignConstants < ::Tapioca::Gem::Listeners::Base
1355
+ include ::Tapioca::Runtime::Reflection
1356
+
1357
+ private
1358
+
1359
+ # source://tapioca//lib/tapioca/gem/listeners/foreign_constants.rb#60
1360
+ sig { override.params(event: ::Tapioca::Gem::NodeAdded).returns(T::Boolean) }
1361
+ def ignore?(event); end
1362
+
1363
+ # source://tapioca//lib/tapioca/gem/listeners/foreign_constants.rb#55
1364
+ sig { params(location: ::String).returns(T::Boolean) }
1365
+ def mixed_in_by_gem?(location); end
1366
+
1367
+ # source://tapioca//lib/tapioca/gem/listeners/foreign_constants.rb#15
1368
+ sig { override.params(event: ::Tapioca::Gem::ScopeNodeAdded).void }
1369
+ def on_scope(event); end
1370
+ end
1371
+
1372
+ # source://tapioca//lib/tapioca/gem/listeners/methods.rb#7
1373
+ class Tapioca::Gem::Listeners::Methods < ::Tapioca::Gem::Listeners::Base
1374
+ include ::Tapioca::SorbetHelper
1375
+ include ::Tapioca::RBIHelper
1376
+ include ::Tapioca::Runtime::Reflection
1377
+
1378
+ private
1379
+
1380
+ # source://tapioca//lib/tapioca/gem/listeners/methods.rb#34
1381
+ sig { params(tree: ::RBI::Tree, module_name: ::String, mod: ::Module, for_visibility: T::Array[::Symbol]).void }
1382
+ def compile_directly_owned_methods(tree, module_name, mod, for_visibility = T.unsafe(nil)); end
1383
+
1384
+ # source://tapioca//lib/tapioca/gem/listeners/methods.rb#63
1385
+ sig do
1386
+ params(
1387
+ tree: ::RBI::Tree,
1388
+ symbol_name: ::String,
1389
+ constant: ::Module,
1390
+ method: T.nilable(::UnboundMethod),
1391
+ visibility: ::RBI::Visibility
1392
+ ).void
1393
+ end
1394
+ def compile_method(tree, symbol_name, constant, method, visibility = T.unsafe(nil)); end
1395
+
1396
+ # source://tapioca//lib/tapioca/gem/listeners/methods.rb#191
1397
+ sig { override.params(event: ::Tapioca::Gem::NodeAdded).returns(T::Boolean) }
1398
+ def ignore?(event); end
1399
+
1400
+ # source://tapioca//lib/tapioca/gem/listeners/methods.rb#184
1401
+ sig { params(constant: ::Module).returns(T.nilable(::UnboundMethod)) }
1402
+ def initialize_method_for(constant); end
1403
+
1404
+ # source://tapioca//lib/tapioca/gem/listeners/methods.rb#165
1405
+ sig { params(mod: ::Module).returns(T::Hash[::Symbol, T::Array[::Symbol]]) }
1406
+ def method_names_by_visibility(mod); end
1407
+
1408
+ # Check whether the method is defined by the constant.
1409
+ #
1410
+ # In most cases, it works to check that the constant is the method owner. However,
1411
+ # in the case that a method is also defined in a module prepended to the constant, it
1412
+ # will be owned by the prepended module, not the constant.
1413
+ #
1414
+ # This method implements a better way of checking whether a constant defines a method.
1415
+ # It walks up the ancestor tree via the `super_method` method; if any of the super
1416
+ # methods are owned by the constant, it means that the constant declares the method.
1417
+ #
1418
+ # source://tapioca//lib/tapioca/gem/listeners/methods.rb#151
1419
+ sig { params(method: ::UnboundMethod, constant: ::Module).returns(T::Boolean) }
1420
+ def method_owned_by_constant?(method, constant); end
1421
+
1422
+ # source://tapioca//lib/tapioca/gem/listeners/methods.rb#16
1423
+ sig { override.params(event: ::Tapioca::Gem::ScopeNodeAdded).void }
1424
+ def on_scope(event); end
1425
+
1426
+ # source://tapioca//lib/tapioca/gem/listeners/methods.rb#174
1427
+ sig { params(constant: ::Module, method_name: ::String).returns(T::Boolean) }
1428
+ def struct_method?(constant, method_name); end
1429
+ end
1430
+
1431
+ # source://tapioca//lib/tapioca/gem/listeners/mixins.rb#7
1432
+ class Tapioca::Gem::Listeners::Mixins < ::Tapioca::Gem::Listeners::Base
1433
+ include ::Tapioca::Runtime::Reflection
1434
+
1435
+ private
1436
+
1437
+ # source://tapioca//lib/tapioca/gem/listeners/mixins.rb#42
1438
+ sig do
1439
+ params(
1440
+ tree: ::RBI::Tree,
1441
+ constant: ::Module,
1442
+ mods: T::Array[::Module],
1443
+ mixin_type: ::Tapioca::Runtime::Trackers::Mixin::Type
1444
+ ).void
1445
+ end
1446
+ def add_mixins(tree, constant, mods, mixin_type); end
1447
+
1448
+ # source://tapioca//lib/tapioca/gem/listeners/mixins.rb#84
1449
+ sig { params(mixin_name: ::String).returns(T::Boolean) }
1450
+ def filtered_mixin?(mixin_name); end
1451
+
1452
+ # source://tapioca//lib/tapioca/gem/listeners/mixins.rb#91
1453
+ sig { params(constant: ::Module).returns(T::Array[::Module]) }
1454
+ def interesting_ancestors_of(constant); end
1455
+
1456
+ # source://tapioca//lib/tapioca/gem/listeners/mixins.rb#75
1457
+ sig do
1458
+ params(
1459
+ constant: ::Module,
1460
+ mixin: ::Module,
1461
+ mixin_type: ::Tapioca::Runtime::Trackers::Mixin::Type
1462
+ ).returns(T::Boolean)
1463
+ end
1464
+ def mixed_in_by_gem?(constant, mixin, mixin_type); end
1465
+
1466
+ # source://tapioca//lib/tapioca/gem/listeners/mixins.rb#15
1467
+ sig { override.params(event: ::Tapioca::Gem::ScopeNodeAdded).void }
1468
+ def on_scope(event); end
1469
+ end
1470
+
1471
+ # source://tapioca//lib/tapioca/gem/listeners/remove_empty_payload_scopes.rb#7
1472
+ class Tapioca::Gem::Listeners::RemoveEmptyPayloadScopes < ::Tapioca::Gem::Listeners::Base
1473
+ include ::Tapioca::Runtime::Reflection
1474
+
1475
+ private
1476
+
1477
+ # source://tapioca//lib/tapioca/gem/listeners/remove_empty_payload_scopes.rb#20
1478
+ sig { override.params(event: ::Tapioca::Gem::NodeAdded).returns(T::Boolean) }
1479
+ def ignore?(event); end
1480
+
1481
+ # source://tapioca//lib/tapioca/gem/listeners/remove_empty_payload_scopes.rb#15
1482
+ sig { override.params(event: ::Tapioca::Gem::ScopeNodeAdded).void }
1483
+ def on_scope(event); end
1484
+ end
1485
+
1486
+ # source://tapioca//lib/tapioca/gem/listeners/sorbet_enums.rb#7
1487
+ class Tapioca::Gem::Listeners::SorbetEnums < ::Tapioca::Gem::Listeners::Base
1488
+ private
1489
+
1490
+ # source://tapioca//lib/tapioca/gem/listeners/sorbet_enums.rb#25
1491
+ sig { override.params(event: ::Tapioca::Gem::NodeAdded).returns(T::Boolean) }
1492
+ def ignore?(event); end
1493
+
1494
+ # source://tapioca//lib/tapioca/gem/listeners/sorbet_enums.rb#13
1495
+ sig { override.params(event: ::Tapioca::Gem::ScopeNodeAdded).void }
1496
+ def on_scope(event); end
1497
+ end
1498
+
1499
+ # source://tapioca//lib/tapioca/gem/listeners/sorbet_helpers.rb#7
1500
+ class Tapioca::Gem::Listeners::SorbetHelpers < ::Tapioca::Gem::Listeners::Base
1501
+ include ::Tapioca::Runtime::Reflection
1502
+
1503
+ private
1504
+
1505
+ # source://tapioca//lib/tapioca/gem/listeners/sorbet_helpers.rb#28
1506
+ sig { override.params(event: ::Tapioca::Gem::NodeAdded).returns(T::Boolean) }
1507
+ def ignore?(event); end
1508
+
1509
+ # source://tapioca//lib/tapioca/gem/listeners/sorbet_helpers.rb#15
1510
+ sig { override.params(event: ::Tapioca::Gem::ScopeNodeAdded).void }
1511
+ def on_scope(event); end
1512
+ end
1513
+
1514
+ # source://tapioca//lib/tapioca/gem/listeners/sorbet_props.rb#7
1515
+ class Tapioca::Gem::Listeners::SorbetProps < ::Tapioca::Gem::Listeners::Base
1516
+ private
1517
+
1518
+ # source://tapioca//lib/tapioca/gem/listeners/sorbet_props.rb#32
1519
+ sig { override.params(event: ::Tapioca::Gem::NodeAdded).returns(T::Boolean) }
1520
+ def ignore?(event); end
1521
+
1522
+ # source://tapioca//lib/tapioca/gem/listeners/sorbet_props.rb#13
1523
+ sig { override.params(event: ::Tapioca::Gem::ScopeNodeAdded).void }
1524
+ def on_scope(event); end
1525
+ end
1526
+
1527
+ # source://tapioca//lib/tapioca/gem/listeners/sorbet_required_ancestors.rb#7
1528
+ class Tapioca::Gem::Listeners::SorbetRequiredAncestors < ::Tapioca::Gem::Listeners::Base
1529
+ private
1530
+
1531
+ # source://tapioca//lib/tapioca/gem/listeners/sorbet_required_ancestors.rb#23
1532
+ sig { override.params(event: ::Tapioca::Gem::NodeAdded).returns(T::Boolean) }
1533
+ def ignore?(event); end
1534
+
1535
+ # source://tapioca//lib/tapioca/gem/listeners/sorbet_required_ancestors.rb#13
1536
+ sig { override.params(event: ::Tapioca::Gem::ScopeNodeAdded).void }
1537
+ def on_scope(event); end
1538
+ end
1539
+
1540
+ # source://tapioca//lib/tapioca/gem/listeners/sorbet_signatures.rb#7
1541
+ class Tapioca::Gem::Listeners::SorbetSignatures < ::Tapioca::Gem::Listeners::Base
1542
+ include ::Tapioca::Runtime::Reflection
1543
+ include ::Tapioca::SorbetHelper
1544
+ include ::Tapioca::RBIHelper
1545
+
1546
+ private
1547
+
1548
+ # source://tapioca//lib/tapioca/gem/listeners/sorbet_signatures.rb#26
1549
+ sig { params(signature: T.untyped, parameters: T::Array[[::Symbol, ::String]]).returns(::RBI::Sig) }
1550
+ def compile_signature(signature, parameters); end
1551
+
1552
+ # source://tapioca//lib/tapioca/gem/listeners/sorbet_signatures.rb#78
1553
+ sig { override.params(event: ::Tapioca::Gem::NodeAdded).returns(T::Boolean) }
1554
+ def ignore?(event); end
1555
+
1556
+ # source://tapioca//lib/tapioca/gem/listeners/sorbet_signatures.rb#18
1557
+ sig { override.params(event: ::Tapioca::Gem::MethodNodeAdded).void }
1558
+ def on_method(event); end
1559
+
1560
+ # source://tapioca//lib/tapioca/gem/listeners/sorbet_signatures.rb#68
1561
+ sig { params(signature: T.untyped).returns(T::Boolean) }
1562
+ def signature_final?(signature); end
1563
+ end
1564
+
1565
+ # source://tapioca//lib/tapioca/gem/listeners/sorbet_signatures.rb#13
1566
+ Tapioca::Gem::Listeners::SorbetSignatures::TYPE_PARAMETER_MATCHER = T.let(T.unsafe(nil), Regexp)
1567
+
1568
+ # source://tapioca//lib/tapioca/gem/listeners/sorbet_type_variables.rb#7
1569
+ class Tapioca::Gem::Listeners::SorbetTypeVariables < ::Tapioca::Gem::Listeners::Base
1570
+ include ::Tapioca::Runtime::Reflection
1571
+
1572
+ private
1573
+
1574
+ # source://tapioca//lib/tapioca/gem/listeners/sorbet_type_variables.rb#27
1575
+ sig { params(tree: ::RBI::Tree, constant: ::Module).void }
1576
+ def compile_type_variable_declarations(tree, constant); end
1577
+
1578
+ # source://tapioca//lib/tapioca/gem/listeners/sorbet_type_variables.rb#50
1579
+ sig { override.params(event: ::Tapioca::Gem::NodeAdded).returns(T::Boolean) }
1580
+ def ignore?(event); end
1581
+
1582
+ # source://tapioca//lib/tapioca/gem/listeners/sorbet_type_variables.rb#15
1583
+ sig { override.params(event: ::Tapioca::Gem::ScopeNodeAdded).void }
1584
+ def on_scope(event); end
1585
+ end
1586
+
1587
+ # source://tapioca//lib/tapioca/gem/listeners/source_location.rb#7
1588
+ class Tapioca::Gem::Listeners::SourceLocation < ::Tapioca::Gem::Listeners::Base
1589
+ private
1590
+
1591
+ # source://tapioca//lib/tapioca/gem/listeners/source_location.rb#41
1592
+ sig { params(node: ::RBI::NodeWithComments, file: T.nilable(::String), line: T.nilable(::Integer)).void }
1593
+ def add_source_location_comment(node, file, line); end
1594
+
1595
+ # source://tapioca//lib/tapioca/gem/listeners/source_location.rb#13
1596
+ sig { override.params(event: ::Tapioca::Gem::ConstNodeAdded).void }
1597
+ def on_const(event); end
1598
+
1599
+ # source://tapioca//lib/tapioca/gem/listeners/source_location.rb#35
1600
+ sig { override.params(event: ::Tapioca::Gem::MethodNodeAdded).void }
1601
+ def on_method(event); end
1602
+
1603
+ # source://tapioca//lib/tapioca/gem/listeners/source_location.rb#19
1604
+ sig { override.params(event: ::Tapioca::Gem::ScopeNodeAdded).void }
1605
+ def on_scope(event); end
1606
+ end
1607
+
1608
+ # source://tapioca//lib/tapioca/gem/listeners/subconstants.rb#7
1609
+ class Tapioca::Gem::Listeners::Subconstants < ::Tapioca::Gem::Listeners::Base
1610
+ include ::Tapioca::Runtime::Reflection
1611
+
1612
+ private
1613
+
1614
+ # source://tapioca//lib/tapioca/gem/listeners/subconstants.rb#36
1615
+ sig { override.params(event: ::Tapioca::Gem::NodeAdded).returns(T::Boolean) }
1616
+ def ignore?(event); end
1617
+
1618
+ # source://tapioca//lib/tapioca/gem/listeners/subconstants.rb#15
1619
+ sig { override.params(event: ::Tapioca::Gem::ScopeNodeAdded).void }
1620
+ def on_scope(event); end
1621
+ end
1622
+
1623
+ # source://tapioca//lib/tapioca/gem/listeners/yard_doc.rb#7
1624
+ class Tapioca::Gem::Listeners::YardDoc < ::Tapioca::Gem::Listeners::Base
1625
+ # source://tapioca//lib/tapioca/gem/listeners/yard_doc.rb#27
1626
+ sig { params(pipeline: ::Tapioca::Gem::Pipeline).void }
1627
+ def initialize(pipeline); end
1628
+
1629
+ private
1630
+
1631
+ # source://tapioca//lib/tapioca/gem/listeners/yard_doc.rb#54
1632
+ sig { params(name: ::String, sigs: T::Array[::RBI::Sig]).returns(T::Array[::RBI::Comment]) }
1633
+ def documentation_comments(name, sigs: T.unsafe(nil)); end
1634
+
1635
+ # source://tapioca//lib/tapioca/gem/listeners/yard_doc.rb#98
1636
+ sig { override.params(event: ::Tapioca::Gem::NodeAdded).returns(T::Boolean) }
1637
+ def ignore?(event); end
1638
+
1639
+ # source://tapioca//lib/tapioca/gem/listeners/yard_doc.rb#35
1640
+ sig { override.params(event: ::Tapioca::Gem::ConstNodeAdded).void }
1641
+ def on_const(event); end
1642
+
1643
+ # source://tapioca//lib/tapioca/gem/listeners/yard_doc.rb#45
1644
+ sig { override.params(event: ::Tapioca::Gem::MethodNodeAdded).void }
1645
+ def on_method(event); end
1646
+
1647
+ # source://tapioca//lib/tapioca/gem/listeners/yard_doc.rb#40
1648
+ sig { override.params(event: ::Tapioca::Gem::ScopeNodeAdded).void }
1649
+ def on_scope(event); end
1650
+ end
1651
+
1652
+ # source://tapioca//lib/tapioca/gem/listeners/yard_doc.rb#10
1653
+ Tapioca::Gem::Listeners::YardDoc::IGNORED_COMMENTS = T.let(T.unsafe(nil), Array)
1654
+
1655
+ # source://tapioca//lib/tapioca/gem/listeners/yard_doc.rb#24
1656
+ Tapioca::Gem::Listeners::YardDoc::IGNORED_SIG_TAGS = T.let(T.unsafe(nil), Array)
1657
+
1658
+ # source://tapioca//lib/tapioca/gem/events.rb#105
1659
+ class Tapioca::Gem::MethodNodeAdded < ::Tapioca::Gem::NodeAdded
1660
+ # source://tapioca//lib/tapioca/gem/events.rb#130
1661
+ sig do
1662
+ params(
1663
+ symbol: ::String,
1664
+ constant: ::Module,
1665
+ method: ::UnboundMethod,
1666
+ node: ::RBI::Method,
1667
+ signature: T.untyped,
1668
+ parameters: T::Array[[::Symbol, ::String]]
1669
+ ).void
1670
+ end
1671
+ def initialize(symbol, constant, method, node, signature, parameters); end
1672
+
1673
+ # source://tapioca//lib/tapioca/gem/events.rb#109
1674
+ sig { returns(::UnboundMethod) }
1675
+ def method; end
1676
+
1677
+ # source://tapioca//lib/tapioca/gem/events.rb#112
1678
+ sig { returns(::RBI::Method) }
1679
+ def node; end
1680
+
1681
+ # source://tapioca//lib/tapioca/gem/events.rb#118
1682
+ sig { returns(T::Array[[::Symbol, ::String]]) }
1683
+ def parameters; end
1684
+
1685
+ # source://tapioca//lib/tapioca/gem/events.rb#115
1686
+ sig { returns(T.untyped) }
1687
+ def signature; end
1688
+ end
1689
+
1690
+ # @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below.
1691
+ #
1692
+ # source://tapioca//lib/tapioca/gem/events.rb#57
1693
+ class Tapioca::Gem::NodeAdded < ::Tapioca::Gem::Event
1694
+ abstract!
1695
+
1696
+ # source://tapioca//lib/tapioca/gem/events.rb#70
1697
+ sig { params(symbol: ::String, constant: ::Module).void }
1698
+ def initialize(symbol, constant); end
1699
+
1700
+ # source://tapioca//lib/tapioca/gem/events.rb#67
1701
+ sig { returns(::Module) }
1702
+ def constant; end
1703
+
1704
+ # source://tapioca//lib/tapioca/gem/events.rb#64
1705
+ sig { returns(::String) }
1706
+ def symbol; end
1707
+ end
1708
+
1709
+ # source://tapioca//lib/tapioca/gem/pipeline.rb#6
1710
+ class Tapioca::Gem::Pipeline
1711
+ include ::Tapioca::Runtime::Reflection
1712
+ include ::Tapioca::SorbetHelper
1713
+ include ::Tapioca::RBIHelper
1714
+
1715
+ # source://tapioca//lib/tapioca/gem/pipeline.rb#17
1716
+ sig { params(gem: ::Tapioca::Gemfile::GemSpec, include_doc: T::Boolean, include_loc: T::Boolean).void }
1717
+ def initialize(gem, include_doc: T.unsafe(nil), include_loc: T.unsafe(nil)); end
1718
+
1719
+ # source://tapioca//lib/tapioca/gem/pipeline.rb#48
1720
+ sig { returns(::RBI::Tree) }
1721
+ def compile; end
1722
+
1723
+ # source://tapioca//lib/tapioca/gem/pipeline.rb#14
1724
+ sig { returns(::Tapioca::Gemfile::GemSpec) }
1725
+ def gem; end
1726
+
1727
+ # source://tapioca//lib/tapioca/gem/pipeline.rb#110
1728
+ sig { params(method: ::UnboundMethod).returns(T::Boolean) }
1729
+ def method_in_gem?(method); end
1730
+
1731
+ # source://tapioca//lib/tapioca/gem/pipeline.rb#118
1732
+ sig { params(constant: ::Module).returns(T.nilable(::String)) }
1733
+ def name_of(constant); end
1734
+
1735
+ # source://tapioca//lib/tapioca/gem/pipeline.rb#69
1736
+ sig { params(symbol: ::String, constant: ::Module, node: ::RBI::Const).void }
1737
+ def push_const(symbol, constant, node); end
1738
+
1739
+ # source://tapioca//lib/tapioca/gem/pipeline.rb#59
1740
+ sig { params(symbol: ::String, constant: ::BasicObject).void }
1741
+ def push_constant(symbol, constant); end
1742
+
1743
+ # source://tapioca//lib/tapioca/gem/pipeline.rb#64
1744
+ sig { params(symbol: ::String, constant: ::Module).void }
1745
+ def push_foreign_constant(symbol, constant); end
1746
+
1747
+ # source://tapioca//lib/tapioca/gem/pipeline.rb#83
1748
+ sig { params(symbol: ::String, constant: ::Module, node: ::RBI::Scope).void }
1749
+ def push_foreign_scope(symbol, constant, node); end
1750
+
1751
+ # source://tapioca//lib/tapioca/gem/pipeline.rb#97
1752
+ sig do
1753
+ params(
1754
+ symbol: ::String,
1755
+ constant: ::Module,
1756
+ method: ::UnboundMethod,
1757
+ node: ::RBI::Method,
1758
+ signature: T.untyped,
1759
+ parameters: T::Array[[::Symbol, ::String]]
1760
+ ).void
1761
+ end
1762
+ def push_method(symbol, constant, method, node, signature, parameters); end
1763
+
1764
+ # source://tapioca//lib/tapioca/gem/pipeline.rb#76
1765
+ sig { params(symbol: ::String, constant: ::Module, node: ::RBI::Scope).void }
1766
+ def push_scope(symbol, constant, node); end
1767
+
1768
+ # source://tapioca//lib/tapioca/gem/pipeline.rb#54
1769
+ sig { params(symbol: ::String).void }
1770
+ def push_symbol(symbol); end
1771
+
1772
+ # source://tapioca//lib/tapioca/gem/pipeline.rb#102
1773
+ sig { params(symbol_name: ::String).returns(T::Boolean) }
1774
+ def symbol_in_payload?(symbol_name); end
1775
+
1776
+ private
1777
+
1778
+ # source://tapioca//lib/tapioca/gem/pipeline.rb#362
1779
+ sig { params(name: ::String).void }
1780
+ def add_to_alias_namespace(name); end
1781
+
1782
+ # source://tapioca//lib/tapioca/gem/pipeline.rb#367
1783
+ sig { params(name: ::String).returns(T::Boolean) }
1784
+ def alias_namespaced?(name); end
1785
+
1786
+ # source://tapioca//lib/tapioca/gem/pipeline.rb#213
1787
+ sig { params(name: ::String, constant: ::Module).void }
1788
+ def compile_alias(name, constant); end
1789
+
1790
+ # source://tapioca//lib/tapioca/gem/pipeline.rb#199
1791
+ sig { params(symbol: ::String, constant: ::BasicObject).void }
1792
+ def compile_constant(symbol, constant); end
1793
+
1794
+ # Compile
1795
+ #
1796
+ # source://tapioca//lib/tapioca/gem/pipeline.rb#194
1797
+ sig { params(symbol: ::String, constant: ::Module).void }
1798
+ def compile_foreign_constant(symbol, constant); end
1799
+
1800
+ # source://tapioca//lib/tapioca/gem/pipeline.rb#269
1801
+ sig { params(name: ::String, constant: ::Module, foreign_constant: T::Boolean).void }
1802
+ def compile_module(name, constant, foreign_constant: T.unsafe(nil)); end
1803
+
1804
+ # source://tapioca//lib/tapioca/gem/pipeline.rb#234
1805
+ sig { params(name: ::String, value: ::BasicObject).void }
1806
+ def compile_object(name, value); end
1807
+
1808
+ # source://tapioca//lib/tapioca/gem/pipeline.rb#294
1809
+ sig { params(constant: ::Class).returns(T.nilable(::String)) }
1810
+ def compile_superclass(constant); end
1811
+
1812
+ # source://tapioca//lib/tapioca/gem/pipeline.rb#343
1813
+ sig { params(constant: ::Module, strict: T::Boolean).returns(T::Boolean) }
1814
+ def defined_in_gem?(constant, strict: T.unsafe(nil)); end
1815
+
1816
+ # source://tapioca//lib/tapioca/gem/pipeline.rb#146
1817
+ sig { params(event: ::Tapioca::Gem::Event).void }
1818
+ def dispatch(event); end
1819
+
1820
+ # source://tapioca//lib/tapioca/gem/pipeline.rb#384
1821
+ sig { params(constant: T.all(::Module, ::T::Generic)).returns(::String) }
1822
+ def generic_name_of(constant); end
1823
+
1824
+ # source://tapioca//lib/tapioca/gem/pipeline.rb#355
1825
+ sig { params(constant: ::Module).returns(T::Set[::String]) }
1826
+ def get_file_candidates(constant); end
1827
+
1828
+ # source://tapioca//lib/tapioca/gem/pipeline.rb#133
1829
+ sig { params(gem: ::Tapioca::Gemfile::GemSpec).returns(T::Set[::String]) }
1830
+ def load_bootstrap_symbols(gem); end
1831
+
1832
+ # source://tapioca//lib/tapioca/gem/pipeline.rb#374
1833
+ sig { params(name: ::String).void }
1834
+ def mark_seen(name); end
1835
+
1836
+ # source://tapioca//lib/tapioca/gem/pipeline.rb#400
1837
+ sig { params(constant: ::Module, class_name: T.nilable(::String)).returns(T.nilable(::String)) }
1838
+ def name_of_proxy_target(constant, class_name); end
1839
+
1840
+ # source://tapioca//lib/tapioca/gem/pipeline.rb#141
1841
+ sig { returns(::Tapioca::Gem::Event) }
1842
+ def next_event; end
1843
+
1844
+ # source://tapioca//lib/tapioca/gem/pipeline.rb#169
1845
+ sig { params(event: ::Tapioca::Gem::ConstantFound).void }
1846
+ def on_constant(event); end
1847
+
1848
+ # source://tapioca//lib/tapioca/gem/pipeline.rb#187
1849
+ sig { params(event: ::Tapioca::Gem::NodeAdded).void }
1850
+ def on_node(event); end
1851
+
1852
+ # source://tapioca//lib/tapioca/gem/pipeline.rb#160
1853
+ sig { params(event: ::Tapioca::Gem::SymbolFound).void }
1854
+ def on_symbol(event); end
1855
+
1856
+ # source://tapioca//lib/tapioca/gem/pipeline.rb#379
1857
+ sig { params(name: ::String).returns(T::Boolean) }
1858
+ def seen?(name); end
1859
+ end
1860
+
1861
+ # source://tapioca//lib/tapioca/gem/pipeline.rb#11
1862
+ Tapioca::Gem::Pipeline::IGNORED_SYMBOLS = T.let(T.unsafe(nil), Array)
1863
+
1864
+ # source://tapioca//lib/tapioca/gem/events.rb#90
1865
+ class Tapioca::Gem::ScopeNodeAdded < ::Tapioca::Gem::NodeAdded
1866
+ # source://tapioca//lib/tapioca/gem/events.rb#97
1867
+ sig { params(symbol: ::String, constant: ::Module, node: ::RBI::Scope).void }
1868
+ def initialize(symbol, constant, node); end
1869
+
1870
+ # source://tapioca//lib/tapioca/gem/events.rb#94
1871
+ sig { returns(::RBI::Scope) }
1872
+ def node; end
1873
+ end
1874
+
1875
+ # source://tapioca//lib/tapioca/gem/events.rb#13
1876
+ class Tapioca::Gem::SymbolFound < ::Tapioca::Gem::Event
1877
+ # source://tapioca//lib/tapioca/gem/events.rb#20
1878
+ sig { params(symbol: ::String).void }
1879
+ def initialize(symbol); end
1880
+
1881
+ # source://tapioca//lib/tapioca/gem/events.rb#17
1882
+ sig { returns(::String) }
1883
+ def symbol; end
1884
+ end
1885
+
1886
+ # source://tapioca//lib/tapioca/helpers/gem_helper.rb#5
1887
+ module Tapioca::GemHelper
1888
+ # source://tapioca//lib/tapioca/helpers/gem_helper.rb#9
1889
+ sig { params(app_dir: T.any(::Pathname, ::String), full_gem_path: ::String).returns(T::Boolean) }
1890
+ def gem_in_app_dir?(app_dir, full_gem_path); end
1891
+
1892
+ # source://tapioca//lib/tapioca/helpers/gem_helper.rb#17
1893
+ sig { params(full_gem_path: ::String).returns(T::Boolean) }
1894
+ def gem_in_bundle_path?(full_gem_path); end
1895
+
1896
+ # source://tapioca//lib/tapioca/helpers/gem_helper.rb#22
1897
+ sig { params(path: T.any(::Pathname, ::String)).returns(::String) }
1898
+ def to_realpath(path); end
1899
+
1900
+ private
1901
+
1902
+ # source://tapioca//lib/tapioca/helpers/gem_helper.rb#31
1903
+ sig { params(path: T.any(::Pathname, ::String), dir: T.any(::Pathname, ::String)).returns(T::Boolean) }
1904
+ def path_in_dir?(path, dir); end
1905
+ end
1906
+
1907
+ # source://tapioca//lib/tapioca/gemfile.rb#5
1908
+ class Tapioca::Gemfile
1909
+ # source://tapioca//lib/tapioca/gemfile.rb#69
1910
+ sig { params(exclude: T::Array[::String]).void }
1911
+ def initialize(exclude); end
1912
+
1913
+ # source://tapioca//lib/tapioca/gemfile.rb#60
1914
+ sig { returns(::Bundler::Definition) }
1915
+ def definition; end
1916
+
1917
+ # source://tapioca//lib/tapioca/gemfile.rb#63
1918
+ sig { returns(T::Array[::Tapioca::Gemfile::GemSpec]) }
1919
+ def dependencies; end
1920
+
1921
+ # source://tapioca//lib/tapioca/gemfile.rb#80
1922
+ sig { params(gem_name: ::String).returns(T.nilable(::Tapioca::Gemfile::GemSpec)) }
1923
+ def gem(gem_name); end
1924
+
1925
+ # source://tapioca//lib/tapioca/gemfile.rb#66
1926
+ sig { returns(T::Array[::String]) }
1927
+ def missing_specs; end
1928
+
1929
+ # source://tapioca//lib/tapioca/gemfile.rb#85
1930
+ sig { void }
1931
+ def require_bundle; end
1932
+
1933
+ private
1934
+
1935
+ # source://tapioca//lib/tapioca/gemfile.rb#131
1936
+ sig { returns(::String) }
1937
+ def dir; end
1938
+
1939
+ # source://tapioca//lib/tapioca/gemfile.rb#92
1940
+ sig { returns(::File) }
1941
+ def gemfile; end
1942
+
1943
+ # source://tapioca//lib/tapioca/gemfile.rb#126
1944
+ sig { returns(T::Array[::Symbol]) }
1945
+ def groups; end
1946
+
1947
+ # source://tapioca//lib/tapioca/gemfile.rb#95
1948
+ sig { returns([T::Array[::Tapioca::Gemfile::GemSpec], T::Array[::String]]) }
1949
+ def load_dependencies; end
1950
+
1951
+ # @return [File]
1952
+ #
1953
+ # source://tapioca//lib/tapioca/gemfile.rb#92
1954
+ def lockfile; end
1955
+
1956
+ # source://tapioca//lib/tapioca/gemfile.rb#106
1957
+ sig { returns([T::Enumerable[T.any(::Bundler::StubSpecification, ::Gem::Specification)], T::Array[::String]]) }
1958
+ def materialize_deps; end
1959
+
1960
+ # source://tapioca//lib/tapioca/gemfile.rb#121
1961
+ sig { returns(::Bundler::Runtime) }
1962
+ def runtime; end
1963
+ end
1964
+
1965
+ # This is a module that gets prepended to `Bundler::Dependency` and
1966
+ # makes sure even gems marked as `require: false` are required during
1967
+ # `Bundler.require`.
1968
+ #
1969
+ # source://tapioca//lib/tapioca/gemfile.rb#18
1970
+ module Tapioca::Gemfile::AutoRequireHook
1971
+ requires_ancestor { Bundler::Dependency }
1972
+
1973
+ # source://tapioca//lib/tapioca/gemfile.rb#39
1974
+ sig { returns(T.untyped) }
1975
+ def autorequire; end
1976
+
1977
+ class << self
1978
+ # source://tapioca//lib/tapioca/gemfile.rb#30
1979
+ sig { params(exclude: T::Array[::String]).returns(T::Array[::String]) }
1980
+ def exclude=(exclude); end
1981
+
1982
+ # source://tapioca//lib/tapioca/gemfile.rb#33
1983
+ sig { params(name: T.untyped).returns(T::Boolean) }
1984
+ def excluded?(name); end
1985
+ end
1986
+ end
1987
+
1988
+ # source://tapioca//lib/tapioca/gemfile.rb#135
1989
+ class Tapioca::Gemfile::GemSpec
1990
+ include ::Tapioca::GemHelper
1991
+
1992
+ # source://tapioca//lib/tapioca/gemfile.rb#174
1993
+ sig { params(spec: T.any(::Bundler::StubSpecification, ::Gem::Specification)).void }
1994
+ def initialize(spec); end
1995
+
1996
+ # source://tapioca//lib/tapioca/gemfile.rb#184
1997
+ sig { params(other: ::BasicObject).returns(T::Boolean) }
1998
+ def ==(other); end
1999
+
2000
+ # source://tapioca//lib/tapioca/gemfile.rb#204
2001
+ sig { params(path: ::String).returns(T::Boolean) }
2002
+ def contains_path?(path); end
2003
+
2004
+ # source://tapioca//lib/tapioca/gemfile.rb#223
2005
+ sig { returns(T::Boolean) }
2006
+ def export_rbi_files?; end
2007
+
2008
+ # source://tapioca//lib/tapioca/gemfile.rb#218
2009
+ sig { returns(T::Array[::String]) }
2010
+ def exported_rbi_files; end
2011
+
2012
+ # source://tapioca//lib/tapioca/gemfile.rb#228
2013
+ sig { returns(::RBI::MergeTree) }
2014
+ def exported_rbi_tree; end
2015
+
2016
+ # source://tapioca//lib/tapioca/gemfile.rb#171
2017
+ sig { returns(T::Array[::Pathname]) }
2018
+ def files; end
2019
+
2020
+ # source://tapioca//lib/tapioca/gemfile.rb#168
2021
+ sig { returns(::String) }
2022
+ def full_gem_path; end
2023
+
2024
+ # source://tapioca//lib/tapioca/gemfile.rb#189
2025
+ sig { params(gemfile_dir: ::String).returns(T::Boolean) }
2026
+ def ignore?(gemfile_dir); end
2027
+
2028
+ # source://tapioca//lib/tapioca/gemfile.rb#194
2029
+ sig { returns(::String) }
2030
+ def name; end
2031
+
2032
+ # source://tapioca//lib/tapioca/gemfile.rb#213
2033
+ sig { void }
2034
+ def parse_yard_docs; end
2035
+
2036
+ # source://tapioca//lib/tapioca/gemfile.rb#199
2037
+ sig { returns(::String) }
2038
+ def rbi_file_name; end
2039
+
2040
+ # source://tapioca//lib/tapioca/gemfile.rb#240
2041
+ sig { params(file: ::Pathname).returns(::Pathname) }
2042
+ def relative_path_for(file); end
2043
+
2044
+ # @return [String]
2045
+ #
2046
+ # source://tapioca//lib/tapioca/gemfile.rb#168
2047
+ def version; end
2048
+
2049
+ private
2050
+
2051
+ # source://tapioca//lib/tapioca/gemfile.rb#251
2052
+ sig { returns(T::Array[::Pathname]) }
2053
+ def collect_files; end
2054
+
2055
+ # source://tapioca//lib/tapioca/gemfile.rb#266
2056
+ sig { returns(T.nilable(T::Boolean)) }
2057
+ def default_gem?; end
2058
+
2059
+ # source://tapioca//lib/tapioca/gemfile.rb#324
2060
+ sig { returns(T::Boolean) }
2061
+ def gem_ignored?; end
2062
+
2063
+ # source://tapioca//lib/tapioca/gemfile.rb#303
2064
+ sig { params(path: ::String).returns(T::Boolean) }
2065
+ def has_parent_gemspec?(path); end
2066
+
2067
+ # source://tapioca//lib/tapioca/gemfile.rb#271
2068
+ sig { returns(::Regexp) }
2069
+ def require_paths_prefix_matcher; end
2070
+
2071
+ # source://tapioca//lib/tapioca/gemfile.rb#282
2072
+ sig { params(file: ::String).returns(::Pathname) }
2073
+ def resolve_to_ruby_lib_dir(file); end
2074
+
2075
+ # source://tapioca//lib/tapioca/gemfile.rb#296
2076
+ sig { returns(::String) }
2077
+ def version_string; end
2078
+
2079
+ class << self
2080
+ # source://tapioca//lib/tapioca/gemfile.rb#143
2081
+ sig { returns(T::Hash[::String, ::Tapioca::Gemfile::GemSpec]) }
2082
+ def spec_lookup_by_file_path; end
2083
+ end
2084
+ end
2085
+
2086
+ # source://tapioca//lib/tapioca/gemfile.rb#155
2087
+ Tapioca::Gemfile::GemSpec::IGNORED_GEMS = T.let(T.unsafe(nil), Array)
2088
+
2089
+ # source://tapioca//lib/tapioca/gemfile.rb#8
2090
+ Tapioca::Gemfile::Spec = T.type_alias { T.any(::Bundler::StubSpecification, ::Gem::Specification) }
2091
+
2092
+ # source://tapioca//lib/tapioca/loaders/loader.rb#5
2093
+ module Tapioca::Loaders; end
2094
+
2095
+ # source://tapioca//lib/tapioca/loaders/dsl.rb#6
2096
+ class Tapioca::Loaders::Dsl < ::Tapioca::Loaders::Loader
2097
+ # source://tapioca//lib/tapioca/loaders/dsl.rb#30
2098
+ sig { params(tapioca_path: ::String, eager_load: T::Boolean, app_root: ::String).void }
2099
+ def initialize(tapioca_path:, eager_load: T.unsafe(nil), app_root: T.unsafe(nil)); end
2100
+
2101
+ # source://tapioca//lib/tapioca/loaders/dsl.rb#20
2102
+ sig { override.void }
2103
+ def load; end
2104
+
2105
+ protected
2106
+
2107
+ # source://tapioca//lib/tapioca/loaders/dsl.rb#75
2108
+ sig { void }
2109
+ def abort_if_pending_migrations!; end
2110
+
2111
+ # source://tapioca//lib/tapioca/loaders/dsl.rb#62
2112
+ sig { void }
2113
+ def load_application; end
2114
+
2115
+ # source://tapioca//lib/tapioca/loaders/dsl.rb#44
2116
+ sig { void }
2117
+ def load_dsl_compilers; end
2118
+
2119
+ # source://tapioca//lib/tapioca/loaders/dsl.rb#39
2120
+ sig { void }
2121
+ def load_dsl_extensions; end
2122
+
2123
+ class << self
2124
+ # source://tapioca//lib/tapioca/loaders/dsl.rb#13
2125
+ sig { params(tapioca_path: ::String, eager_load: T::Boolean, app_root: ::String).void }
2126
+ def load_application(tapioca_path:, eager_load: T.unsafe(nil), app_root: T.unsafe(nil)); end
2127
+ end
2128
+ end
2129
+
2130
+ # source://tapioca//lib/tapioca/loaders/gem.rb#6
2131
+ class Tapioca::Loaders::Gem < ::Tapioca::Loaders::Loader
2132
+ # source://tapioca//lib/tapioca/loaders/gem.rb#46
2133
+ sig do
2134
+ params(
2135
+ bundle: ::Tapioca::Gemfile,
2136
+ prerequire: T.nilable(::String),
2137
+ postrequire: ::String,
2138
+ default_command: ::String
2139
+ ).void
2140
+ end
2141
+ def initialize(bundle:, prerequire:, postrequire:, default_command:); end
2142
+
2143
+ # source://tapioca//lib/tapioca/loaders/gem.rb#32
2144
+ sig { override.void }
2145
+ def load; end
2146
+
2147
+ protected
2148
+
2149
+ # source://tapioca//lib/tapioca/loaders/gem.rb#76
2150
+ sig { params(file: ::String, error: ::LoadError).void }
2151
+ def explain_failed_require(file, error); end
2152
+
2153
+ # source://tapioca//lib/tapioca/loaders/gem.rb#56
2154
+ sig { void }
2155
+ def require_gem_file; end
2156
+
2157
+ class << self
2158
+ # source://tapioca//lib/tapioca/loaders/gem.rb#20
2159
+ sig do
2160
+ params(
2161
+ bundle: ::Tapioca::Gemfile,
2162
+ prerequire: T.nilable(::String),
2163
+ postrequire: ::String,
2164
+ default_command: ::String
2165
+ ).void
2166
+ end
2167
+ def load_application(bundle:, prerequire:, postrequire:, default_command:); end
2168
+ end
2169
+ end
2170
+
2171
+ # @abstract It cannot be directly instantiated. Subclasses must implement the `abstract` methods below.
2172
+ #
2173
+ # source://tapioca//lib/tapioca/loaders/loader.rb#6
2174
+ class Tapioca::Loaders::Loader
2175
+ include ::Thor::Base
2176
+ include ::Thor::Invocation
2177
+ include ::Thor::Shell
2178
+ include ::Tapioca::CliHelper
2179
+ include ::Tapioca::GemHelper
2180
+ extend ::Thor::Base::ClassMethods
2181
+ extend ::Thor::Invocation::ClassMethods
2182
+
2183
+ abstract!
2184
+
2185
+ # source://sorbet-runtime/0.5.10634/lib/types/private/abstract/declare.rb#37
2186
+ def initialize(*args, **_arg1, &blk); end
2187
+
2188
+ # @abstract
2189
+ #
2190
+ # source://tapioca//lib/tapioca/loaders/loader.rb#17
2191
+ sig { abstract.void }
2192
+ def load; end
2193
+
2194
+ private
2195
+
2196
+ # source://tapioca//lib/tapioca/loaders/loader.rb#112
2197
+ sig { void }
2198
+ def eager_load_rails_app; end
2199
+
2200
+ # source://tapioca//lib/tapioca/loaders/loader.rb#24
2201
+ sig do
2202
+ params(
2203
+ gemfile: ::Tapioca::Gemfile,
2204
+ initialize_file: T.nilable(::String),
2205
+ require_file: T.nilable(::String)
2206
+ ).void
2207
+ end
2208
+ def load_bundle(gemfile, initialize_file, require_file); end
2209
+
2210
+ # source://tapioca//lib/tapioca/loaders/loader.rb#37
2211
+ sig { params(environment_load: T::Boolean, eager_load: T::Boolean, app_root: ::String).void }
2212
+ def load_rails_application(environment_load: T.unsafe(nil), eager_load: T.unsafe(nil), app_root: T.unsafe(nil)); end
2213
+
2214
+ # source://tapioca//lib/tapioca/loaders/loader.rb#60
2215
+ sig { void }
2216
+ def load_rails_engines; end
2217
+
2218
+ # source://tapioca//lib/tapioca/loaders/loader.rb#83
2219
+ sig { returns(T::Array[T.untyped]) }
2220
+ def rails_engines; end
2221
+
2222
+ # source://tapioca//lib/tapioca/loaders/loader.rb#138
2223
+ sig { params(file: T.nilable(::String)).void }
2224
+ def require_helper(file); end
2225
+
2226
+ # source://tapioca//lib/tapioca/loaders/loader.rb#97
2227
+ sig { params(path: ::String).void }
2228
+ def safe_require(path); end
2229
+
2230
+ # source://tapioca//lib/tapioca/loaders/loader.rb#104
2231
+ sig { void }
2232
+ def silence_deprecations; end
2233
+ end
2234
+
2235
+ # source://tapioca//lib/tapioca/helpers/rbi_files_helper.rb#5
2236
+ module Tapioca::RBIFilesHelper
2237
+ requires_ancestor { Tapioca::SorbetHelper }
2238
+ requires_ancestor { Thor::Shell }
2239
+
2240
+ # source://tapioca//lib/tapioca/helpers/rbi_files_helper.rb#48
2241
+ sig do
2242
+ params(
2243
+ index: ::RBI::Index,
2244
+ shim_rbi_dir: ::String,
2245
+ todo_rbi_file: ::String
2246
+ ).returns(T::Hash[::String, T::Array[::RBI::Node]])
2247
+ end
2248
+ def duplicated_nodes_from_index(index, shim_rbi_dir:, todo_rbi_file:); end
2249
+
2250
+ # source://tapioca//lib/tapioca/helpers/rbi_files_helper.rb#13
2251
+ sig { params(index: ::RBI::Index, kind: ::String, file: ::String).void }
2252
+ def index_rbi(index, kind, file); end
2253
+
2254
+ # source://tapioca//lib/tapioca/helpers/rbi_files_helper.rb#25
2255
+ sig { params(index: ::RBI::Index, kind: ::String, dir: ::String, number_of_workers: T.nilable(::Integer)).void }
2256
+ def index_rbis(index, kind, dir, number_of_workers:); end
2257
+
2258
+ # source://tapioca//lib/tapioca/helpers/rbi_files_helper.rb#65
2259
+ sig { params(loc: ::RBI::Loc, path_prefix: T.nilable(::String)).returns(::String) }
2260
+ def location_to_payload_url(loc, path_prefix:); end
2261
+
2262
+ # source://tapioca//lib/tapioca/helpers/rbi_files_helper.rb#86
2263
+ sig do
2264
+ params(
2265
+ command: ::String,
2266
+ gem_dir: ::String,
2267
+ dsl_dir: ::String,
2268
+ auto_strictness: T::Boolean,
2269
+ gems: T::Array[::Tapioca::Gemfile::GemSpec],
2270
+ compilers: T::Enumerable[::Class]
2271
+ ).void
2272
+ end
2273
+ def validate_rbi_files(command:, gem_dir:, dsl_dir:, auto_strictness:, gems: T.unsafe(nil), compilers: T.unsafe(nil)); end
2274
+
2275
+ private
2276
+
2277
+ # source://tapioca//lib/tapioca/helpers/rbi_files_helper.rb#209
2278
+ sig { params(nodes: T::Array[::RBI::Node]).returns(T::Array[::RBI::Scope]) }
2279
+ def extract_empty_scopes(nodes); end
2280
+
2281
+ # source://tapioca//lib/tapioca/helpers/rbi_files_helper.rb#214
2282
+ sig { params(nodes: T::Array[::RBI::Node]).returns(T::Array[T.any(::RBI::Attr, ::RBI::Method)]) }
2283
+ def extract_methods_and_attrs(nodes); end
2284
+
2285
+ # source://tapioca//lib/tapioca/helpers/rbi_files_helper.rb#224
2286
+ sig { params(nodes: T::Array[::RBI::Node]).returns(T::Array[T.any(::RBI::Mixin, ::RBI::RequiresAncestor)]) }
2287
+ def extract_mixins(nodes); end
2288
+
2289
+ # source://tapioca//lib/tapioca/helpers/rbi_files_helper.rb#234
2290
+ sig do
2291
+ params(
2292
+ nodes: T::Array[T.any(::RBI::Attr, ::RBI::Method)]
2293
+ ).returns(T::Array[T.any(::RBI::Attr, ::RBI::Method)])
2294
+ end
2295
+ def extract_nodes_with_sigs(nodes); end
2296
+
2297
+ # source://tapioca//lib/tapioca/helpers/rbi_files_helper.rb#202
2298
+ sig do
2299
+ params(
2300
+ nodes: T::Array[::RBI::Node],
2301
+ shim_rbi_dir: ::String,
2302
+ todo_rbi_file: ::String
2303
+ ).returns(T::Array[::RBI::Node])
2304
+ end
2305
+ def extract_shims_and_todos(nodes, shim_rbi_dir:, todo_rbi_file:); end
2306
+
2307
+ # source://tapioca//lib/tapioca/helpers/rbi_files_helper.rb#266
2308
+ sig { params(path: ::String).returns(::String) }
2309
+ def gem_name_from_rbi_path(path); end
2310
+
2311
+ # source://tapioca//lib/tapioca/helpers/rbi_files_helper.rb#155
2312
+ sig { params(index: ::RBI::Index, files: T::Array[::String], number_of_workers: T.nilable(::Integer)).void }
2313
+ def parse_and_index_files(index, files, number_of_workers:); end
2314
+
2315
+ # source://tapioca//lib/tapioca/helpers/rbi_files_helper.rb#171
2316
+ sig { params(nodes: T::Array[::RBI::Node], shim_rbi_dir: ::String, todo_rbi_file: ::String).returns(T::Boolean) }
2317
+ def shims_or_todos_have_duplicates?(nodes, shim_rbi_dir:, todo_rbi_file:); end
2318
+
2319
+ # source://tapioca//lib/tapioca/helpers/rbi_files_helper.rb#239
2320
+ sig { params(errors: T::Array[::Spoom::Sorbet::Errors::Error], gem_dir: ::String).void }
2321
+ def update_gem_rbis_strictnesses(errors, gem_dir); end
2322
+ end
2323
+
2324
+ # source://tapioca//lib/tapioca/rbi_formatter.rb#5
2325
+ class Tapioca::RBIFormatter < ::RBI::Formatter
2326
+ # source://tapioca//lib/tapioca/rbi_formatter.rb#22
2327
+ sig { params(file: ::RBI::File).void }
2328
+ def write_empty_body_comment!(file); end
2329
+
2330
+ # source://tapioca//lib/tapioca/rbi_formatter.rb#15
2331
+ sig { params(file: ::RBI::File, command: ::String, reason: T.nilable(::String)).void }
2332
+ def write_header!(file, command, reason: T.unsafe(nil)); end
2333
+ end
2334
+
2335
+ # source://tapioca//lib/tapioca/helpers/rbi_helper.rb#5
2336
+ module Tapioca::RBIHelper
2337
+ include ::Tapioca::SorbetHelper
2338
+ extend ::Tapioca::SorbetHelper
2339
+ extend ::Tapioca::RBIHelper
2340
+
2341
+ # source://tapioca//lib/tapioca/helpers/rbi_helper.rb#91
2342
+ sig { params(type: ::String).returns(::String) }
2343
+ def as_nilable_type(type); end
2344
+
2345
+ # source://tapioca//lib/tapioca/helpers/rbi_helper.rb#72
2346
+ sig { params(name: ::String, type: ::String).returns(::RBI::TypedParam) }
2347
+ def create_block_param(name, type:); end
2348
+
2349
+ # source://tapioca//lib/tapioca/helpers/rbi_helper.rb#62
2350
+ sig { params(name: ::String, type: ::String, default: ::String).returns(::RBI::TypedParam) }
2351
+ def create_kw_opt_param(name, type:, default:); end
2352
+
2353
+ # source://tapioca//lib/tapioca/helpers/rbi_helper.rb#57
2354
+ sig { params(name: ::String, type: ::String).returns(::RBI::TypedParam) }
2355
+ def create_kw_param(name, type:); end
2356
+
2357
+ # source://tapioca//lib/tapioca/helpers/rbi_helper.rb#67
2358
+ sig { params(name: ::String, type: ::String).returns(::RBI::TypedParam) }
2359
+ def create_kw_rest_param(name, type:); end
2360
+
2361
+ # source://tapioca//lib/tapioca/helpers/rbi_helper.rb#47
2362
+ sig { params(name: ::String, type: ::String, default: ::String).returns(::RBI::TypedParam) }
2363
+ def create_opt_param(name, type:, default:); end
2364
+
2365
+ # source://tapioca//lib/tapioca/helpers/rbi_helper.rb#42
2366
+ sig { params(name: ::String, type: ::String).returns(::RBI::TypedParam) }
2367
+ def create_param(name, type:); end
2368
+
2369
+ # source://tapioca//lib/tapioca/helpers/rbi_helper.rb#52
2370
+ sig { params(name: ::String, type: ::String).returns(::RBI::TypedParam) }
2371
+ def create_rest_param(name, type:); end
2372
+
2373
+ # source://tapioca//lib/tapioca/helpers/rbi_helper.rb#77
2374
+ sig { params(param: ::RBI::Param, type: ::String).returns(::RBI::TypedParam) }
2375
+ def create_typed_param(param, type); end
2376
+
2377
+ # source://tapioca//lib/tapioca/helpers/rbi_helper.rb#82
2378
+ sig { params(sig_string: ::String).returns(::String) }
2379
+ def sanitize_signature_types(sig_string); end
2380
+
2381
+ # source://tapioca//lib/tapioca/helpers/rbi_helper.rb#100
2382
+ sig { params(name: ::String).returns(T::Boolean) }
2383
+ def valid_method_name?(name); end
2384
+
2385
+ # source://tapioca//lib/tapioca/helpers/rbi_helper.rb#114
2386
+ sig { params(name: ::String).returns(T::Boolean) }
2387
+ def valid_parameter_name?(name); end
2388
+
2389
+ class << self
2390
+ # source://tapioca//lib/tapioca/helpers/rbi_helper.rb#23
2391
+ sig do
2392
+ params(
2393
+ type: ::String,
2394
+ variance: ::Symbol,
2395
+ fixed: T.nilable(::String),
2396
+ upper: T.nilable(::String),
2397
+ lower: T.nilable(::String)
2398
+ ).returns(::String)
2399
+ end
2400
+ def serialize_type_variable(type, variance, fixed, upper, lower); end
2401
+ end
2402
+ end
2403
+
2404
+ # source://tapioca//lib/tapioca/repo_index.rb#5
2405
+ class Tapioca::RepoIndex
2406
+ # source://tapioca//lib/tapioca/repo_index.rb#26
2407
+ sig { void }
2408
+ def initialize; end
2409
+
2410
+ # source://tapioca//lib/tapioca/repo_index.rb#31
2411
+ sig { params(gem_name: ::String).void }
2412
+ def <<(gem_name); end
2413
+
2414
+ # source://tapioca//lib/tapioca/repo_index.rb#36
2415
+ sig { returns(T::Enumerable[::String]) }
2416
+ def gems; end
2417
+
2418
+ # source://tapioca//lib/tapioca/repo_index.rb#41
2419
+ sig { params(gem_name: ::String).returns(T::Boolean) }
2420
+ def has_gem?(gem_name); end
2421
+
2422
+ class << self
2423
+ # source://tapioca//lib/tapioca/repo_index.rb#18
2424
+ sig { params(hash: T::Hash[::String, T::Hash[T.untyped, T.untyped]]).returns(Tapioca::RepoIndex) }
2425
+ def from_hash(hash); end
2426
+
2427
+ # source://tapioca//lib/tapioca/repo_index.rb#13
2428
+ sig { params(json: ::String).returns(Tapioca::RepoIndex) }
2429
+ def from_json(json); end
2430
+ end
2431
+ end
2432
+
2433
+ # source://tapioca//lib/tapioca/runtime/trackers/autoload.rb#5
2434
+ module Tapioca::Runtime; end
2435
+
2436
+ # source://tapioca//lib/tapioca/runtime/dynamic_mixin_compiler.rb#6
2437
+ class Tapioca::Runtime::DynamicMixinCompiler
2438
+ include ::Tapioca::Runtime::Reflection
2439
+
2440
+ # source://tapioca//lib/tapioca/runtime/dynamic_mixin_compiler.rb#20
2441
+ sig { params(constant: ::Module).void }
2442
+ def initialize(constant); end
2443
+
2444
+ # @return [Array<Symbol>]
2445
+ #
2446
+ # source://tapioca//lib/tapioca/runtime/dynamic_mixin_compiler.rb#14
2447
+ def class_attribute_predicates; end
2448
+
2449
+ # source://tapioca//lib/tapioca/runtime/dynamic_mixin_compiler.rb#14
2450
+ sig { returns(T::Array[::Symbol]) }
2451
+ def class_attribute_readers; end
2452
+
2453
+ # @return [Array<Symbol>]
2454
+ #
2455
+ # source://tapioca//lib/tapioca/runtime/dynamic_mixin_compiler.rb#14
2456
+ def class_attribute_writers; end
2457
+
2458
+ # source://tapioca//lib/tapioca/runtime/dynamic_mixin_compiler.rb#137
2459
+ sig { params(tree: ::RBI::Tree).void }
2460
+ def compile_class_attributes(tree); end
2461
+
2462
+ # source://tapioca//lib/tapioca/runtime/dynamic_mixin_compiler.rb#180
2463
+ sig { params(tree: ::RBI::Tree).returns([T::Array[::Module], T::Array[::Module]]) }
2464
+ def compile_mixes_in_class_methods(tree); end
2465
+
2466
+ # source://tapioca//lib/tapioca/runtime/dynamic_mixin_compiler.rb#11
2467
+ sig { returns(T::Array[::Module]) }
2468
+ def dynamic_extends; end
2469
+
2470
+ # @return [Array<Module>]
2471
+ #
2472
+ # source://tapioca//lib/tapioca/runtime/dynamic_mixin_compiler.rb#11
2473
+ def dynamic_includes; end
2474
+
2475
+ # source://tapioca//lib/tapioca/runtime/dynamic_mixin_compiler.rb#132
2476
+ sig { returns(T::Boolean) }
2477
+ def empty_attributes?; end
2478
+
2479
+ # source://tapioca//lib/tapioca/runtime/dynamic_mixin_compiler.rb#222
2480
+ sig { params(qualified_mixin_name: ::String).returns(T::Boolean) }
2481
+ def filtered_mixin?(qualified_mixin_name); end
2482
+
2483
+ # @return [Array<Symbol>]
2484
+ #
2485
+ # source://tapioca//lib/tapioca/runtime/dynamic_mixin_compiler.rb#17
2486
+ def instance_attribute_predicates; end
2487
+
2488
+ # source://tapioca//lib/tapioca/runtime/dynamic_mixin_compiler.rb#17
2489
+ sig { returns(T::Array[::Symbol]) }
2490
+ def instance_attribute_readers; end
2491
+
2492
+ # @return [Array<Symbol>]
2493
+ #
2494
+ # source://tapioca//lib/tapioca/runtime/dynamic_mixin_compiler.rb#17
2495
+ def instance_attribute_writers; end
2496
+
2497
+ # source://tapioca//lib/tapioca/runtime/dynamic_mixin_compiler.rb#215
2498
+ sig { params(mod: ::Module, dynamic_extends: T::Array[::Module]).returns(T::Boolean) }
2499
+ def module_included_by_another_dynamic_extend?(mod, dynamic_extends); end
2500
+ end
2501
+
2502
+ # This class is responsible for storing and looking up information related to generic types.
2503
+ #
2504
+ # The class stores 2 different kinds of data, in two separate lookup tables:
2505
+ # 1. a lookup of generic type instances by name: `@generic_instances`
2506
+ # 2. a lookup of type variable serializer by constant and type variable
2507
+ # instance: `@type_variables`
2508
+ #
2509
+ # By storing the above data, we can cheaply query each constant against this registry
2510
+ # to see if it declares any generic type variables. This becomes a simple lookup in the
2511
+ # `@type_variables` hash table with the given constant.
2512
+ #
2513
+ # If there is no entry, then we can cheaply know that we can skip generic type
2514
+ # information generation for this type.
2515
+ #
2516
+ # On the other hand, if we get a result, then the result will be a hash of type
2517
+ # variable to type variable serializers. This allows us to associate type variables
2518
+ # to the constant names that represent them, easily.
2519
+ #
2520
+ # source://tapioca//lib/tapioca/runtime/generic_type_registry.rb#23
2521
+ module Tapioca::Runtime::GenericTypeRegistry
2522
+ class << self
2523
+ # source://tapioca//lib/tapioca/runtime/generic_type_registry.rb#80
2524
+ sig { params(instance: ::Object).returns(T::Boolean) }
2525
+ def generic_type_instance?(instance); end
2526
+
2527
+ # source://tapioca//lib/tapioca/runtime/generic_type_registry.rb#85
2528
+ sig { params(constant: ::Module).returns(T.nilable(T::Array[::Tapioca::TypeVariableModule])) }
2529
+ def lookup_type_variables(constant); end
2530
+
2531
+ # This method is responsible for building the name of the instantiated concrete type
2532
+ # and cloning the given constant so that we can return a type that is the same
2533
+ # as the current type but is a different instance and has a different name method.
2534
+ #
2535
+ # We cache those cloned instances by their name in `@generic_instances`, so that
2536
+ # we don't keep instantiating a new type every single time it is referenced.
2537
+ # For example, `[Foo[Integer], Foo[Integer], Foo[Integer], Foo[String]]` will only
2538
+ # result in 2 clones (1 for `Foo[Integer]` and another for `Foo[String]`) and
2539
+ # 2 hash lookups (for the other two `Foo[Integer]`s).
2540
+ #
2541
+ # This method returns the created or cached clone of the constant.
2542
+ #
2543
+ # source://tapioca//lib/tapioca/runtime/generic_type_registry.rb#65
2544
+ sig { params(constant: T.untyped, types: T.untyped).returns(::Module) }
2545
+ def register_type(constant, types); end
2546
+
2547
+ # This method is called from intercepted calls to `type_member` and `type_template`.
2548
+ # We get passed all the arguments to those methods, as well as the `T::Types::TypeVariable`
2549
+ # instance generated by the Sorbet defined `type_member`/`type_template` call on `T::Generic`.
2550
+ #
2551
+ # This method creates a `String` with that data and stores it in the
2552
+ # `@type_variables` lookup table, keyed by the `constant` and `type_variable`.
2553
+ #
2554
+ # Finally, the original `type_variable` is returned from this method, so that the caller
2555
+ # can return it from the original methods as well.
2556
+ #
2557
+ # source://tapioca//lib/tapioca/runtime/generic_type_registry.rb#104
2558
+ sig { params(constant: T.untyped, type_variable: ::Tapioca::TypeVariableModule).void }
2559
+ def register_type_variable(constant, type_variable); end
2560
+
2561
+ private
2562
+
2563
+ # source://tapioca//lib/tapioca/runtime/generic_type_registry.rb#113
2564
+ sig { params(constant: ::Module, name: ::String).returns(::Module) }
2565
+ def create_generic_type(constant, name); end
2566
+
2567
+ # source://tapioca//lib/tapioca/runtime/generic_type_registry.rb#155
2568
+ sig { params(constant: ::Class).returns(::Class) }
2569
+ def create_safe_subclass(constant); end
2570
+
2571
+ # source://tapioca//lib/tapioca/runtime/generic_type_registry.rb#182
2572
+ sig { params(constant: ::Module).returns(T::Array[::Tapioca::TypeVariableModule]) }
2573
+ def lookup_or_initialize_type_variables(constant); end
2574
+ end
2575
+ end
2576
+
2577
+ # source://tapioca//lib/tapioca/runtime/generic_type_registry.rb#34
2578
+ class Tapioca::Runtime::GenericTypeRegistry::GenericType < ::T::Types::Simple
2579
+ # source://tapioca//lib/tapioca/runtime/generic_type_registry.rb#38
2580
+ sig { params(raw_type: ::Module, underlying_type: ::Module).void }
2581
+ def initialize(raw_type, underlying_type); end
2582
+
2583
+ # source://tapioca//lib/tapioca/runtime/generic_type_registry.rb#45
2584
+ sig { params(obj: T.untyped).returns(T::Boolean) }
2585
+ def valid?(obj); end
2586
+ end
2587
+
2588
+ module Tapioca::Runtime::Reflection
2589
+ extend ::Tapioca::Runtime::Reflection
2590
+
2591
+ # source://tapioca//lib/tapioca/runtime/reflection.rb#66
2592
+ sig { params(constant: ::Module).returns(T::Array[::Module]) }
2593
+ def ancestors_of(constant); end
2594
+
2595
+ # source://tapioca//lib/tapioca/runtime/reflection.rb#81
2596
+ sig { params(object: ::BasicObject, other: ::BasicObject).returns(T::Boolean) }
2597
+ def are_equal?(object, other); end
2598
+
2599
+ # source://tapioca//lib/tapioca/runtime/reflection.rb#178
2600
+ sig { params(singleton_class: ::Module).returns(T.nilable(::Module)) }
2601
+ def attached_class_of(singleton_class); end
2602
+
2603
+ # source://tapioca//lib/tapioca/runtime/reflection.rb#45
2604
+ sig { params(object: ::BasicObject).returns(::Class) }
2605
+ def class_of(object); end
2606
+
2607
+ # @param constant [BasicObject]
2608
+ # @return [Boolean]
2609
+ #
2610
+ # source://tapioca//lib/tapioca/runtime/reflection.rb#27
2611
+ def constant_defined?(constant); end
2612
+
2613
+ # source://tapioca//lib/tapioca/runtime/reflection.rb#38
2614
+ sig { params(symbol: ::String, inherit: T::Boolean, namespace: ::Module).returns(::BasicObject) }
2615
+ def constantize(symbol, inherit: T.unsafe(nil), namespace: T.unsafe(nil)); end
2616
+
2617
+ # source://tapioca//lib/tapioca/runtime/reflection.rb#50
2618
+ sig { params(constant: ::Module).returns(T::Array[::Symbol]) }
2619
+ def constants_of(constant); end
2620
+
2621
+ # Returns an array with all classes that are < than the supplied class.
2622
+ #
2623
+ # class C; end
2624
+ # descendants_of(C) # => []
2625
+ #
2626
+ # class B < C; end
2627
+ # descendants_of(C) # => [B]
2628
+ #
2629
+ # class A < B; end
2630
+ # descendants_of(C) # => [B, A]
2631
+ #
2632
+ # class D < C; end
2633
+ # descendants_of(C) # => [B, A, D]
2634
+ #
2635
+ # source://tapioca//lib/tapioca/runtime/reflection.rb#156
2636
+ sig do
2637
+ type_parameters(:U)
2638
+ .params(
2639
+ klass: T.all(::Class, T.type_parameter(:U))
2640
+ ).returns(T::Array[T.type_parameter(:U)])
2641
+ end
2642
+ def descendants_of(klass); end
2643
+
2644
+ # source://tapioca//lib/tapioca/runtime/reflection.rb#188
2645
+ sig { params(constant: ::Module).returns(T::Set[::String]) }
2646
+ def file_candidates_for(constant); end
2647
+
2648
+ # source://tapioca//lib/tapioca/runtime/reflection.rb#101
2649
+ sig { params(constant: ::Module).returns(T::Array[::Module]) }
2650
+ def inherited_ancestors_of(constant); end
2651
+
2652
+ # source://tapioca//lib/tapioca/runtime/reflection.rb#134
2653
+ sig { params(constant: ::Module, method: ::Symbol).returns(::Method) }
2654
+ def method_of(constant, method); end
2655
+
2656
+ # source://tapioca//lib/tapioca/runtime/reflection.rb#55
2657
+ sig { params(constant: ::Module).returns(T.nilable(::String)) }
2658
+ def name_of(constant); end
2659
+
2660
+ # source://tapioca//lib/tapioca/runtime/reflection.rb#129
2661
+ sig { params(type: ::T::Types::Base).returns(::String) }
2662
+ def name_of_type(type); end
2663
+
2664
+ # source://tapioca//lib/tapioca/runtime/reflection.rb#76
2665
+ sig { params(object: ::BasicObject).returns(::Integer) }
2666
+ def object_id_of(object); end
2667
+
2668
+ # source://tapioca//lib/tapioca/runtime/reflection.rb#96
2669
+ sig { params(constant: ::Module).returns(T::Array[::Symbol]) }
2670
+ def private_instance_methods_of(constant); end
2671
+
2672
+ # source://tapioca//lib/tapioca/runtime/reflection.rb#91
2673
+ sig { params(constant: ::Module).returns(T::Array[::Symbol]) }
2674
+ def protected_instance_methods_of(constant); end
2675
+
2676
+ # source://tapioca//lib/tapioca/runtime/reflection.rb#86
2677
+ sig { params(constant: ::Module).returns(T::Array[::Symbol]) }
2678
+ def public_instance_methods_of(constant); end
2679
+
2680
+ # source://tapioca//lib/tapioca/runtime/reflection.rb#110
2681
+ sig { params(constant: ::Module).returns(T.nilable(::String)) }
2682
+ def qualified_name_of(constant); end
2683
+
2684
+ # Examines the call stack to identify the closest location where a "require" is performed
2685
+ # by searching for the label "<top (required)>". If none is found, it returns the location
2686
+ # labeled "<main>", which is the original call site.
2687
+ #
2688
+ # source://tapioca//lib/tapioca/runtime/reflection.rb#168
2689
+ sig { params(locations: T.nilable(T::Array[::Thread::Backtrace::Location])).returns(::String) }
2690
+ def resolve_loc(locations); end
2691
+
2692
+ # source://tapioca//lib/tapioca/runtime/reflection.rb#122
2693
+ sig { params(method: T.any(::Method, ::UnboundMethod)).returns(T.untyped) }
2694
+ def signature_of(method); end
2695
+
2696
+ # source://tapioca//lib/tapioca/runtime/reflection.rb#61
2697
+ sig { params(constant: ::Module).returns(::Class) }
2698
+ def singleton_class_of(constant); end
2699
+
2700
+ # source://tapioca//lib/tapioca/runtime/reflection.rb#71
2701
+ sig { params(constant: ::Class).returns(T.nilable(::Class)) }
2702
+ def superclass_of(constant); end
2703
+
2704
+ private
2705
+
2706
+ # source://tapioca//lib/tapioca/runtime/reflection.rb#227
2707
+ sig { params(parent: ::Module, name: ::String).returns(T.nilable(::Module)) }
2708
+ def child_module_for_parent_with_name(parent, name); end
2709
+
2710
+ # source://tapioca//lib/tapioca/runtime/reflection.rb#238
2711
+ sig { params(method: ::UnboundMethod).returns(T::Boolean) }
2712
+ def method_defined_by_forwardable_module?(method); end
2713
+
2714
+ # source://tapioca//lib/tapioca/runtime/reflection.rb#213
2715
+ sig { params(constant: ::Module).returns(T::Array[::UnboundMethod]) }
2716
+ def methods_for(constant); end
2717
+
2718
+ # source://tapioca//lib/tapioca/runtime/reflection.rb#197
2719
+ sig { params(constant: ::Module).returns(T::Array[::UnboundMethod]) }
2720
+ def relevant_methods_for(constant); end
2721
+ end
2722
+
2723
+ # source://tapioca//lib/tapioca/runtime/reflection.rb#14
2724
+ Tapioca::Runtime::Reflection::ANCESTORS_METHOD = T.let(T.unsafe(nil), UnboundMethod)
2725
+
2726
+ # source://tapioca//lib/tapioca/runtime/reflection.rb#10
2727
+ Tapioca::Runtime::Reflection::CLASS_METHOD = T.let(T.unsafe(nil), UnboundMethod)
2728
+
2729
+ # source://tapioca//lib/tapioca/runtime/reflection.rb#11
2730
+ Tapioca::Runtime::Reflection::CONSTANTS_METHOD = T.let(T.unsafe(nil), UnboundMethod)
2731
+
2732
+ # source://tapioca//lib/tapioca/runtime/reflection.rb#17
2733
+ Tapioca::Runtime::Reflection::EQUAL_METHOD = T.let(T.unsafe(nil), UnboundMethod)
2734
+
2735
+ # source://tapioca//lib/tapioca/runtime/reflection.rb#21
2736
+ Tapioca::Runtime::Reflection::METHOD_METHOD = T.let(T.unsafe(nil), UnboundMethod)
2737
+
2738
+ # source://tapioca//lib/tapioca/runtime/reflection.rb#12
2739
+ Tapioca::Runtime::Reflection::NAME_METHOD = T.let(T.unsafe(nil), UnboundMethod)
2740
+
2741
+ # source://tapioca//lib/tapioca/runtime/reflection.rb#16
2742
+ Tapioca::Runtime::Reflection::OBJECT_ID_METHOD = T.let(T.unsafe(nil), UnboundMethod)
2743
+
2744
+ # source://tapioca//lib/tapioca/runtime/reflection.rb#20
2745
+ Tapioca::Runtime::Reflection::PRIVATE_INSTANCE_METHODS_METHOD = T.let(T.unsafe(nil), UnboundMethod)
2746
+
2747
+ # source://tapioca//lib/tapioca/runtime/reflection.rb#19
2748
+ Tapioca::Runtime::Reflection::PROTECTED_INSTANCE_METHODS_METHOD = T.let(T.unsafe(nil), UnboundMethod)
2749
+
2750
+ # source://tapioca//lib/tapioca/runtime/reflection.rb#18
2751
+ Tapioca::Runtime::Reflection::PUBLIC_INSTANCE_METHODS_METHOD = T.let(T.unsafe(nil), UnboundMethod)
2752
+
2753
+ # source://tapioca//lib/tapioca/runtime/reflection.rb#24
2754
+ Tapioca::Runtime::Reflection::REQUIRED_FROM_LABELS = T.let(T.unsafe(nil), Array)
2755
+
2756
+ # source://tapioca//lib/tapioca/runtime/reflection.rb#13
2757
+ Tapioca::Runtime::Reflection::SINGLETON_CLASS_METHOD = T.let(T.unsafe(nil), UnboundMethod)
2758
+
2759
+ # source://tapioca//lib/tapioca/runtime/reflection.rb#15
2760
+ Tapioca::Runtime::Reflection::SUPERCLASS_METHOD = T.let(T.unsafe(nil), UnboundMethod)
2761
+
2762
+ # source://tapioca//lib/tapioca/runtime/trackers/autoload.rb#6
2763
+ module Tapioca::Runtime::Trackers
2764
+ class << self
2765
+ # source://tapioca//lib/tapioca/runtime/trackers.rb#34
2766
+ sig { void }
2767
+ def disable_all!; end
2768
+
2769
+ # source://tapioca//lib/tapioca/runtime/trackers.rb#39
2770
+ sig { params(tracker: ::Tapioca::Runtime::Trackers::Tracker).void }
2771
+ def register_tracker(tracker); end
2772
+
2773
+ # source://tapioca//lib/tapioca/runtime/trackers.rb#21
2774
+ sig do
2775
+ type_parameters(:Return)
2776
+ .params(
2777
+ blk: T.proc.returns(T.type_parameter(:Return))
2778
+ ).returns(T.type_parameter(:Return))
2779
+ end
2780
+ def with_trackers_enabled(&blk); end
2781
+ end
2782
+ end
2783
+
2784
+ # source://tapioca//lib/tapioca/runtime/trackers/autoload.rb#7
2785
+ module Tapioca::Runtime::Trackers::Autoload
2786
+ extend ::Tapioca::Runtime::Trackers::Tracker
2787
+
2788
+ class << self
2789
+ # source://tapioca//lib/tapioca/runtime/trackers/autoload.rb#19
2790
+ sig { void }
2791
+ def eager_load_all!; end
2792
+
2793
+ # source://tapioca//lib/tapioca/runtime/trackers/autoload.rb#31
2794
+ sig { params(constant_name: ::String).void }
2795
+ def register(constant_name); end
2796
+
2797
+ # source://tapioca//lib/tapioca/runtime/trackers/autoload.rb#42
2798
+ sig do
2799
+ type_parameters(:Result)
2800
+ .params(
2801
+ block: T.proc.returns(T.type_parameter(:Result))
2802
+ ).returns(T.type_parameter(:Result))
2803
+ end
2804
+ def with_disabled_exits(&block); end
2805
+ end
2806
+ end
2807
+
2808
+ # source://tapioca//lib/tapioca/runtime/trackers/autoload.rb#11
2809
+ Tapioca::Runtime::Trackers::Autoload::NOOP_METHOD = T.let(T.unsafe(nil), Proc)
2810
+
2811
+ # Registers a TracePoint immediately upon load to track points at which
2812
+ # classes and modules are opened for definition. This is used to track
2813
+ # correspondence between classes/modules and files, as this information isn't
2814
+ # available in the ruby runtime without extra accounting.
2815
+ module Tapioca::Runtime::Trackers::ConstantDefinition
2816
+ extend ::Tapioca::Runtime::Trackers::Tracker
2817
+ extend ::Tapioca::Runtime::Reflection
2818
+
2819
+ class << self
2820
+ # source://tapioca//lib/tapioca/runtime/trackers/constant_definition.rb#61
2821
+ def build_constant_location(tp, locations); end
2822
+
2823
+ # source://tapioca//lib/tapioca/runtime/trackers/constant_definition.rb#55
2824
+ def disable!; end
2825
+
2826
+ # Returns the files in which this class or module was opened. Doesn't know
2827
+ # about situations where the class was opened prior to +require+ing,
2828
+ # or where metaprogramming was used via +eval+, etc.
2829
+ #
2830
+ # source://tapioca//lib/tapioca/runtime/trackers/constant_definition.rb#71
2831
+ def files_for(klass); end
2832
+
2833
+ # source://tapioca//lib/tapioca/runtime/trackers/constant_definition.rb#75
2834
+ def locations_for(klass); end
2835
+ end
2836
+ end
2837
+
2838
+ module Tapioca::Runtime::Trackers::Mixin
2839
+ extend ::Tapioca::Runtime::Trackers::Tracker
2840
+
2841
+ class << self
2842
+ # source://tapioca//lib/tapioca/runtime/trackers/mixin.rb#56
2843
+ sig do
2844
+ params(
2845
+ mixin: ::Module
2846
+ ).returns(T::Hash[::Tapioca::Runtime::Trackers::Mixin::Type, T::Hash[::Module, ::String]])
2847
+ end
2848
+ def constants_with_mixin(mixin); end
2849
+
2850
+ # source://tapioca//lib/tapioca/runtime/trackers/mixin.rb#61
2851
+ sig do
2852
+ params(
2853
+ mixin: ::Module,
2854
+ mixin_type: ::Tapioca::Runtime::Trackers::Mixin::Type,
2855
+ constant: ::Module
2856
+ ).returns(T.nilable(::String))
2857
+ end
2858
+ def mixin_location(mixin, mixin_type, constant); end
2859
+
2860
+ # source://tapioca//lib/tapioca/runtime/trackers/mixin.rb#35
2861
+ sig { params(constant: ::Module, mixin: ::Module, mixin_type: ::Tapioca::Runtime::Trackers::Mixin::Type).void }
2862
+ def register(constant, mixin, mixin_type); end
2863
+
2864
+ # source://tapioca//lib/tapioca/runtime/trackers/mixin.rb#43
2865
+ def resolve_to_attached_class(constant, mixin, mixin_type); end
2866
+
2867
+ # source://tapioca//lib/tapioca/runtime/trackers/mixin.rb#30
2868
+ sig do
2869
+ type_parameters(:Result)
2870
+ .params(
2871
+ block: T.proc.returns(T.type_parameter(:Result))
2872
+ ).returns(T.type_parameter(:Result))
2873
+ end
2874
+ def with_disabled_registration(&block); end
2875
+
2876
+ private
2877
+
2878
+ # source://tapioca//lib/tapioca/runtime/trackers/mixin.rb#76
2879
+ sig do
2880
+ params(
2881
+ mixin: ::Module
2882
+ ).returns(T::Hash[::Tapioca::Runtime::Trackers::Mixin::Type, T::Hash[::Module, ::String]])
2883
+ end
2884
+ def find_or_initialize_mixin_lookup(mixin); end
2885
+
2886
+ # source://tapioca//lib/tapioca/runtime/trackers/mixin.rb#68
2887
+ sig do
2888
+ params(
2889
+ constant: ::Module,
2890
+ mixin: ::Module,
2891
+ mixin_type: ::Tapioca::Runtime::Trackers::Mixin::Type,
2892
+ location: ::String
2893
+ ).void
2894
+ end
2895
+ def register_with_location(constant, mixin, mixin_type, location); end
2896
+ end
2897
+ end
2898
+
2899
+ class Tapioca::Runtime::Trackers::Mixin::Type < ::T::Enum
2900
+ enums do
2901
+ Prepend = new
2902
+ Include = new
2903
+ Extend = new
2904
+ end
2905
+ end
2906
+
2907
+ # source://tapioca//lib/tapioca/runtime/trackers/required_ancestor.rb#7
2908
+ module Tapioca::Runtime::Trackers::RequiredAncestor
2909
+ extend ::Tapioca::Runtime::Trackers::Tracker
2910
+
2911
+ class << self
2912
+ # source://tapioca//lib/tapioca/runtime/trackers/required_ancestor.rb#15
2913
+ sig { params(requiring: ::T::Helpers, block: T.proc.void).void }
2914
+ def register(requiring, block); end
2915
+
2916
+ # source://tapioca//lib/tapioca/runtime/trackers/required_ancestor.rb#23
2917
+ sig { params(mod: ::Module).returns(T::Array[T.proc.void]) }
2918
+ def required_ancestors_blocks_by(mod); end
2919
+
2920
+ # source://tapioca//lib/tapioca/runtime/trackers/required_ancestor.rb#28
2921
+ sig { params(mod: ::Module).returns(T::Array[T.untyped]) }
2922
+ def required_ancestors_by(mod); end
2923
+ end
2924
+ end
2925
+
2926
+ # @abstract Subclasses must implement the `abstract` methods below.
2927
+ module Tapioca::Runtime::Trackers::Tracker
2928
+ abstract!
2929
+
2930
+ # source://tapioca//lib/tapioca/runtime/trackers/tracker.rb#26
2931
+ sig { void }
2932
+ def disable!; end
2933
+
2934
+ # @return [Boolean]
2935
+ #
2936
+ # source://tapioca//lib/tapioca/runtime/trackers/tracker.rb#30
2937
+ def enabled?; end
2938
+
2939
+ # source://tapioca//lib/tapioca/runtime/trackers/tracker.rb#34
2940
+ def with_disabled_tracker(&block); end
2941
+
2942
+ class << self
2943
+ # source://tapioca//lib/tapioca/runtime/trackers/tracker.rb#17
2944
+ sig { params(base: T.all(::Module, ::Tapioca::Runtime::Trackers::Tracker)).void }
2945
+ def extended(base); end
2946
+ end
2947
+ end
2948
+
2949
+ # source://tapioca//lib/tapioca.rb#33
2950
+ Tapioca::SORBET_CONFIG_FILE = T.let(T.unsafe(nil), String)
2951
+
2952
+ # source://tapioca//lib/tapioca.rb#32
2953
+ Tapioca::SORBET_DIR = T.let(T.unsafe(nil), String)
2954
+
2955
+ # source://tapioca//lib/tapioca/helpers/sorbet_helper.rb#5
2956
+ module Tapioca::SorbetHelper
2957
+ # source://tapioca//lib/tapioca/helpers/sorbet_helper.rb#31
2958
+ sig { params(sorbet_args: ::String).returns(::Spoom::ExecResult) }
2959
+ def sorbet(*sorbet_args); end
2960
+
2961
+ # source://tapioca//lib/tapioca/helpers/sorbet_helper.rb#36
2962
+ sig { returns(::String) }
2963
+ def sorbet_path; end
2964
+
2965
+ # source://tapioca//lib/tapioca/helpers/sorbet_helper.rb#43
2966
+ sig { params(feature: ::Symbol, version: T.nilable(::Gem::Version)).returns(T::Boolean) }
2967
+ def sorbet_supports?(feature, version: T.unsafe(nil)); end
2968
+ end
2969
+
2970
+ # source://tapioca//lib/tapioca/helpers/sorbet_helper.rb#22
2971
+ Tapioca::SorbetHelper::FEATURE_REQUIREMENTS = T.let(T.unsafe(nil), Hash)
2972
+
2973
+ # source://tapioca//lib/tapioca/helpers/sorbet_helper.rb#13
2974
+ Tapioca::SorbetHelper::SORBET_BIN = T.let(T.unsafe(nil), Pathname)
2975
+
2976
+ # source://tapioca//lib/tapioca/helpers/sorbet_helper.rb#18
2977
+ Tapioca::SorbetHelper::SORBET_EXE_PATH_ENV_VAR = T.let(T.unsafe(nil), String)
2978
+
2979
+ # source://tapioca//lib/tapioca/helpers/sorbet_helper.rb#8
2980
+ Tapioca::SorbetHelper::SORBET_GEM_SPEC = T.let(T.unsafe(nil), Gem::Specification)
2981
+
2982
+ # source://tapioca//lib/tapioca/helpers/sorbet_helper.rb#20
2983
+ Tapioca::SorbetHelper::SORBET_PAYLOAD_URL = T.let(T.unsafe(nil), String)
2984
+
2985
+ # source://tapioca//lib/tapioca/static/symbol_table_parser.rb#5
2986
+ module Tapioca::Static; end
2987
+
2988
+ # source://tapioca//lib/tapioca/static/requires_compiler.rb#6
2989
+ class Tapioca::Static::RequiresCompiler
2990
+ # source://tapioca//lib/tapioca/static/requires_compiler.rb#10
2991
+ sig { params(sorbet_path: ::String).void }
2992
+ def initialize(sorbet_path); end
2993
+
2994
+ # source://tapioca//lib/tapioca/static/requires_compiler.rb#15
2995
+ sig { returns(::String) }
2996
+ def compile; end
2997
+
2998
+ private
2999
+
3000
+ # source://tapioca//lib/tapioca/static/requires_compiler.rb#29
3001
+ sig { params(config: ::Spoom::Sorbet::Config).returns(T::Array[::String]) }
3002
+ def collect_files(config); end
3003
+
3004
+ # source://tapioca//lib/tapioca/static/requires_compiler.rb#44
3005
+ sig { params(file_path: ::String).returns(T::Enumerable[::String]) }
3006
+ def collect_requires(file_path); end
3007
+
3008
+ # source://tapioca//lib/tapioca/static/requires_compiler.rb#51
3009
+ sig { params(config: ::Spoom::Sorbet::Config, file_path: ::Pathname).returns(T::Boolean) }
3010
+ def file_ignored_by_sorbet?(config, file_path); end
3011
+
3012
+ # source://tapioca//lib/tapioca/static/requires_compiler.rb#80
3013
+ sig { params(path: ::Pathname).returns(T::Array[::String]) }
3014
+ def path_parts(path); end
3015
+ end
3016
+
3017
+ # source://tapioca//lib/tapioca/static/symbol_loader.rb#6
3018
+ module Tapioca::Static::SymbolLoader
3019
+ extend ::Tapioca::SorbetHelper
3020
+ extend ::Tapioca::Runtime::Reflection
3021
+
3022
+ class << self
3023
+ # source://tapioca//lib/tapioca/static/symbol_loader.rb#23
3024
+ sig { params(gem: ::Tapioca::Gemfile::GemSpec).returns(T::Set[::String]) }
3025
+ def engine_symbols(gem); end
3026
+
3027
+ # source://tapioca//lib/tapioca/static/symbol_loader.rb#40
3028
+ sig { params(gem: ::Tapioca::Gemfile::GemSpec).returns(T::Set[::String]) }
3029
+ def gem_symbols(gem); end
3030
+
3031
+ # source://tapioca//lib/tapioca/static/symbol_loader.rb#13
3032
+ sig { returns(T::Set[::String]) }
3033
+ def payload_symbols; end
3034
+
3035
+ private
3036
+
3037
+ # @return [Array<T.class_of(Rails::Engine)>]
3038
+ #
3039
+ # source://sorbet-runtime/0.5.10634/lib/types/private/methods/_methods.rb#255
3040
+ def engines(*args, **_arg1, &blk); end
3041
+
3042
+ # source://tapioca//lib/tapioca/static/symbol_loader.rb#59
3043
+ sig { params(input: ::String, table_type: ::String).returns(::String) }
3044
+ def symbol_table_json_from(input, table_type: T.unsafe(nil)); end
3045
+
3046
+ # source://tapioca//lib/tapioca/static/symbol_loader.rb#64
3047
+ sig { params(paths: T::Array[::Pathname]).returns(T::Set[::String]) }
3048
+ def symbols_from_paths(paths); end
3049
+ end
3050
+ end
3051
+
3052
+ # source://tapioca//lib/tapioca/static/symbol_table_parser.rb#6
3053
+ class Tapioca::Static::SymbolTableParser
3054
+ # source://tapioca//lib/tapioca/static/symbol_table_parser.rb#30
3055
+ sig { void }
3056
+ def initialize; end
3057
+
3058
+ # source://tapioca//lib/tapioca/static/symbol_table_parser.rb#65
3059
+ sig { params(name: ::String).returns(::String) }
3060
+ def fully_qualified_name(name); end
3061
+
3062
+ # source://tapioca//lib/tapioca/static/symbol_table_parser.rb#36
3063
+ sig { params(object: T::Hash[::String, T.untyped]).void }
3064
+ def parse_object(object); end
3065
+
3066
+ # source://tapioca//lib/tapioca/static/symbol_table_parser.rb#27
3067
+ sig { returns(T::Set[::String]) }
3068
+ def symbols; end
3069
+
3070
+ class << self
3071
+ # source://tapioca//lib/tapioca/static/symbol_table_parser.rb#15
3072
+ sig { params(json_string: ::String).returns(T::Set[::String]) }
3073
+ def parse_json(json_string); end
3074
+ end
3075
+ end
3076
+
3077
+ # source://tapioca//lib/tapioca/static/symbol_table_parser.rb#9
3078
+ Tapioca::Static::SymbolTableParser::SKIP_PARSE_KINDS = T.let(T.unsafe(nil), Array)
3079
+
3080
+ # source://tapioca//lib/tapioca.rb#35
3081
+ Tapioca::TAPIOCA_CONFIG_FILE = T.let(T.unsafe(nil), String)
3082
+
3083
+ # source://tapioca//lib/tapioca.rb#34
3084
+ Tapioca::TAPIOCA_DIR = T.let(T.unsafe(nil), String)
3085
+
3086
+ # source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#122
3087
+ class Tapioca::TypeVariable < ::T::Types::TypeVariable
3088
+ # @return [TypeVariable] a new instance of TypeVariable
3089
+ #
3090
+ # source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#123
3091
+ def initialize(name, variance); end
3092
+
3093
+ # Returns the value of attribute name.
3094
+ #
3095
+ # source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#128
3096
+ def name; end
3097
+ end
3098
+
3099
+ # This is subclassing from `Module` so that instances of this type will be modules.
3100
+ # The reason why we want that is because that means those instances will automatically
3101
+ # get bound to the constant names they are assigned to by Ruby. As a result, we don't
3102
+ # need to do any matching of constants to type variables to bind their names, Ruby will
3103
+ # do that automatically for us and we get the `name` method for free from `Module`.
3104
+ #
3105
+ # source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#136
3106
+ class Tapioca::TypeVariableModule < ::Module
3107
+ # source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#158
3108
+ sig do
3109
+ params(
3110
+ context: ::Module,
3111
+ type: ::Tapioca::TypeVariableModule::Type,
3112
+ variance: ::Symbol,
3113
+ fixed: T.untyped,
3114
+ lower: T.untyped,
3115
+ upper: T.untyped,
3116
+ bounds_proc: T.nilable(T.proc.returns(T::Hash[::Symbol, T.untyped]))
3117
+ ).void
3118
+ end
3119
+ def initialize(context, type, variance, fixed, lower, upper, bounds_proc); end
3120
+
3121
+ # source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#212
3122
+ sig { returns(::Tapioca::TypeVariable) }
3123
+ def coerce_to_type_variable; end
3124
+
3125
+ # source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#192
3126
+ sig { returns(T::Boolean) }
3127
+ def fixed?; end
3128
+
3129
+ # source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#173
3130
+ sig { returns(T.nilable(::String)) }
3131
+ def name; end
3132
+
3133
+ # source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#197
3134
+ sig { returns(::String) }
3135
+ def serialize; end
3136
+
3137
+ private
3138
+
3139
+ # source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#246
3140
+ sig { returns(T::Hash[::Symbol, T.untyped]) }
3141
+ def bounds; end
3142
+
3143
+ # source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#222
3144
+ sig do
3145
+ params(
3146
+ fixed: T.untyped,
3147
+ lower: T.untyped,
3148
+ upper: T.untyped
3149
+ ).returns(T.proc.returns(T::Hash[::Symbol, T.untyped]))
3150
+ end
3151
+ def build_bounds_proc(fixed, lower, upper); end
3152
+
3153
+ # source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#236
3154
+ sig do
3155
+ type_parameters(:Result)
3156
+ .params(
3157
+ block: T.proc.returns(T.type_parameter(:Result))
3158
+ ).returns(T.type_parameter(:Result))
3159
+ end
3160
+ def with_bound_name_pre_3_0(&block); end
3161
+ end
3162
+
3163
+ # source://tapioca//lib/tapioca/sorbet_ext/generic_name_patch.rb#139
3164
+ class Tapioca::TypeVariableModule::Type < ::T::Enum
3165
+ enums do
3166
+ Member = new
3167
+ Template = new
3168
+ end
3169
+ end
3170
+
3171
+ # source://tapioca//lib/tapioca/version.rb#5
3172
+ Tapioca::VERSION = T.let(T.unsafe(nil), String)
3173
+
3174
+ # source://tapioca//lib/tapioca/helpers/source_uri.rb#6
3175
+ module URI
3176
+ include ::URI::RFC2396_REGEXP
3177
+ end
3178
+
3179
+ # source://tapioca//lib/tapioca/helpers/source_uri.rb#7
3180
+ class URI::Source < ::URI::File
3181
+ # source://tapioca//lib/tapioca/helpers/source_uri.rb#58
3182
+ sig { params(v: T.nilable(::String)).returns(T::Boolean) }
3183
+ def check_host(v); end
3184
+
3185
+ # source://uri/0.12.0/uri/generic.rb#243
3186
+ def gem_name; end
3187
+
3188
+ # source://tapioca//lib/tapioca/helpers/source_uri.rb#25
3189
+ sig { returns(T.nilable(::String)) }
3190
+ def gem_version; end
3191
+
3192
+ # source://uri/0.12.0/uri/generic.rb#283
3193
+ def line_number; end
3194
+
3195
+ # source://tapioca//lib/tapioca/helpers/source_uri.rb#51
3196
+ sig { params(v: T.nilable(::String)).void }
3197
+ def set_path(v); end
3198
+
3199
+ # source://tapioca//lib/tapioca/helpers/source_uri.rb#70
3200
+ sig { returns(::String) }
3201
+ def to_s; end
3202
+
3203
+ class << self
3204
+ # source://tapioca//lib/tapioca/helpers/source_uri.rb#38
3205
+ sig do
3206
+ params(
3207
+ gem_name: ::String,
3208
+ gem_version: T.nilable(::String),
3209
+ path: ::String,
3210
+ line_number: T.nilable(::String)
3211
+ ).returns(::URI::Source)
3212
+ end
3213
+ def build(gem_name:, gem_version:, path:, line_number:); end
3214
+ end
3215
+ end
3216
+
3217
+ # source://tapioca//lib/tapioca/helpers/source_uri.rb#10
3218
+ URI::Source::COMPONENT = T.let(T.unsafe(nil), Array)
3219
+
3220
+ # source://uri/0.12.0/uri/common.rb#303
3221
+ URI::TBLENCURICOMP_ = T.let(T.unsafe(nil), Hash)
3222
+
3223
+ class URI::WSS < ::URI::WS; end
3224
+
3225
+ # source://uri/0.12.0/uri/wss.rb#19
3226
+ URI::WSS::DEFAULT_PORT = T.let(T.unsafe(nil), Integer)