@ai-ecoverse/wasix-ruby 3.4.11-20 → 3.4.11-21

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 (618) hide show
  1. package/PRESTAGE.md +8 -8
  2. package/README.md +9 -1
  3. package/THIRD-PARTY-NOTICES.md +1 -1
  4. package/bin/ruby +0 -0
  5. package/lib/ruby/3.4.0/wasm32-wasi/rbconfig.rb +9 -9
  6. package/lib/ruby/gems/3.4.0/cache/bigdecimal-3.1.8.gem +0 -0
  7. package/lib/ruby/gems/3.4.0/cache/debug-1.11.0.gem +0 -0
  8. package/lib/ruby/gems/3.4.0/cache/nkf-0.2.0.gem +0 -0
  9. package/lib/ruby/gems/3.4.0/cache/racc-1.8.1.gem +0 -0
  10. package/lib/ruby/gems/3.4.0/cache/rbs-3.8.0.gem +0 -0
  11. package/lib/ruby/gems/3.4.0/cache/syslog-0.2.0.gem +0 -0
  12. package/lib/ruby/gems/3.4.0/extensions/wasm32-wasi/3.4.0-static/bigdecimal-3.1.8/gem.build_complete +0 -0
  13. package/lib/ruby/gems/3.4.0/extensions/wasm32-wasi/3.4.0-static/debug-1.11.0/gem.build_complete +0 -0
  14. package/lib/ruby/gems/3.4.0/extensions/wasm32-wasi/3.4.0-static/nkf-0.2.0/gem.build_complete +0 -0
  15. package/lib/ruby/gems/3.4.0/extensions/wasm32-wasi/3.4.0-static/racc-1.8.1/gem.build_complete +0 -0
  16. package/lib/ruby/gems/3.4.0/extensions/wasm32-wasi/3.4.0-static/rbs-3.8.0/gem.build_complete +0 -0
  17. package/lib/ruby/gems/3.4.0/extensions/wasm32-wasi/3.4.0-static/syslog-0.2.0/gem.build_complete +0 -0
  18. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/LICENSE +56 -0
  19. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/ext/bigdecimal/bigdecimal.c +7794 -0
  20. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/ext/bigdecimal/bigdecimal.h +313 -0
  21. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/ext/bigdecimal/bits.h +141 -0
  22. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/ext/bigdecimal/extconf.rb +62 -0
  23. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/ext/bigdecimal/feature.h +68 -0
  24. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/ext/bigdecimal/missing/dtoa.c +3462 -0
  25. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/ext/bigdecimal/missing.c +27 -0
  26. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/ext/bigdecimal/missing.h +196 -0
  27. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/ext/bigdecimal/static_assert.h +54 -0
  28. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/jacobian.rb +90 -0
  29. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/ludcmp.rb +89 -0
  30. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/math.rb +232 -0
  31. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/newton.rb +80 -0
  32. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/util.rb +185 -0
  33. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal.rb +5 -0
  34. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/sample/linear.rb +74 -0
  35. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/sample/nlsolve.rb +40 -0
  36. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/sample/pi.rb +21 -0
  37. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/CONTRIBUTING.md +573 -0
  38. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/Gemfile +10 -0
  39. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/LICENSE.txt +22 -0
  40. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/README.md +996 -0
  41. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/Rakefile +57 -0
  42. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/TODO.md +23 -0
  43. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/exe/rdbg +53 -0
  44. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/ext/debug/debug.c +228 -0
  45. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/ext/debug/extconf.rb +27 -0
  46. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/ext/debug/iseq_collector.c +93 -0
  47. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/abbrev_command.rb +77 -0
  48. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/breakpoint.rb +556 -0
  49. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/client.rb +263 -0
  50. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/color.rb +123 -0
  51. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/config.rb +592 -0
  52. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/console.rb +224 -0
  53. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/dap_custom/traceInspector.rb +336 -0
  54. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/frame_info.rb +190 -0
  55. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/irb_integration.rb +37 -0
  56. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/local.rb +115 -0
  57. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/open.rb +13 -0
  58. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/open_nonstop.rb +15 -0
  59. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/prelude.rb +50 -0
  60. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/server.rb +534 -0
  61. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/server_cdp.rb +1348 -0
  62. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/server_dap.rb +1108 -0
  63. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/session.rb +2667 -0
  64. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/source_repository.rb +150 -0
  65. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/start.rb +5 -0
  66. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/thread_client.rb +1457 -0
  67. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/tracer.rb +241 -0
  68. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/version.rb +5 -0
  69. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug.rb +9 -0
  70. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/misc/README.md.erb +660 -0
  71. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/Gemfile +5 -0
  72. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/LICENSE.txt +22 -0
  73. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/README.md +38 -0
  74. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/Rakefile +24 -0
  75. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/bin/console +14 -0
  76. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/bin/setup +8 -0
  77. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/ext/java/org/jruby/ext/nkf/Command.java +58 -0
  78. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/ext/java/org/jruby/ext/nkf/CommandParser.java +70 -0
  79. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/ext/java/org/jruby/ext/nkf/NKFLibrary.java +13 -0
  80. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/ext/java/org/jruby/ext/nkf/Option.java +80 -0
  81. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/ext/java/org/jruby/ext/nkf/Options.java +109 -0
  82. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/ext/java/org/jruby/ext/nkf/RubyNKF.java +601 -0
  83. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/ext/nkf/extconf.rb +3 -0
  84. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/ext/nkf/nkf-utf8/config.h +51 -0
  85. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/ext/nkf/nkf-utf8/nkf.c +7205 -0
  86. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/ext/nkf/nkf-utf8/nkf.h +189 -0
  87. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/ext/nkf/nkf-utf8/utf8tbl.c +14638 -0
  88. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/ext/nkf/nkf-utf8/utf8tbl.h +72 -0
  89. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/ext/nkf/nkf.c +506 -0
  90. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/lib/kconv.rb +283 -0
  91. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/lib/nkf.rb +6 -0
  92. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/BSDL +22 -0
  93. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/COPYING +56 -0
  94. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/ChangeLog +846 -0
  95. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/README.ja.rdoc +58 -0
  96. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/README.rdoc +60 -0
  97. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/TODO +5 -0
  98. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/bin/racc +320 -0
  99. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/en/grammar.en.rdoc +218 -0
  100. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/en/grammar2.en.rdoc +219 -0
  101. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/command.ja.html +99 -0
  102. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/debug.ja.rdoc +36 -0
  103. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/grammar.ja.rdoc +348 -0
  104. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/index.ja.html +10 -0
  105. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/parser.ja.rdoc +125 -0
  106. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/usage.ja.html +414 -0
  107. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/ext/racc/cparse/cparse.c +840 -0
  108. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/ext/racc/cparse/extconf.rb +8 -0
  109. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/compat.rb +33 -0
  110. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/debugflags.rb +60 -0
  111. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/exception.rb +16 -0
  112. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/grammar.rb +1191 -0
  113. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/grammarfileparser.rb +667 -0
  114. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/info.rb +18 -0
  115. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/iset.rb +92 -0
  116. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/logfilegenerator.rb +212 -0
  117. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/parser-text.rb +644 -0
  118. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/parser.rb +630 -0
  119. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/parserfilegenerator.rb +473 -0
  120. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/sourcetext.rb +35 -0
  121. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/state.rb +976 -0
  122. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/statetransitiontable.rb +311 -0
  123. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/static.rb +5 -0
  124. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc.rb +6 -0
  125. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/BSDL +22 -0
  126. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/CHANGELOG.md +1854 -0
  127. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/COPYING +56 -0
  128. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/README.md +203 -0
  129. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/Rakefile +415 -0
  130. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/Steepfile +44 -0
  131. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/config.yml +311 -0
  132. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/array.rbs +4062 -0
  133. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/basic_object.rbs +375 -0
  134. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/binding.rbs +150 -0
  135. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/builtin.rbs +277 -0
  136. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/class.rbs +220 -0
  137. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/comparable.rbs +171 -0
  138. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/complex.rbs +786 -0
  139. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/constants.rbs +96 -0
  140. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/data.rbs +415 -0
  141. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/dir.rbs +981 -0
  142. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/encoding.rbs +1371 -0
  143. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/enumerable.rbs +2405 -0
  144. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/enumerator/product.rbs +92 -0
  145. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/enumerator.rbs +630 -0
  146. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/env.rbs +6 -0
  147. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/errno.rbs +673 -0
  148. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/errors.rbs +760 -0
  149. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/exception.rbs +376 -0
  150. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/false_class.rbs +82 -0
  151. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/fiber.rbs +550 -0
  152. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/fiber_error.rbs +11 -0
  153. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/file.rbs +2936 -0
  154. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/file_test.rbs +331 -0
  155. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/float.rbs +1151 -0
  156. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/gc.rbs +644 -0
  157. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/global_variables.rbs +184 -0
  158. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/hash.rbs +1861 -0
  159. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/integer.rbs +1413 -0
  160. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/io/buffer.rbs +984 -0
  161. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/io/wait.rbs +70 -0
  162. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/io.rbs +3402 -0
  163. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/kernel.rbs +3054 -0
  164. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/marshal.rbs +207 -0
  165. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/match_data.rbs +635 -0
  166. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/math.rbs +729 -0
  167. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/method.rbs +386 -0
  168. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/module.rbs +1704 -0
  169. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/nil_class.rbs +209 -0
  170. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/numeric.rbs +818 -0
  171. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/object.rbs +110 -0
  172. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/object_space/weak_key_map.rbs +166 -0
  173. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/object_space.rbs +190 -0
  174. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/proc.rbs +868 -0
  175. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/process.rbs +2296 -0
  176. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/ractor.rbs +1065 -0
  177. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/random.rbs +237 -0
  178. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/range.rbs +1107 -0
  179. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rational.rbs +531 -0
  180. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rb_config.rbs +88 -0
  181. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rbs/unnamed/argf.rbs +1229 -0
  182. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rbs/unnamed/env_class.rbs +1209 -0
  183. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rbs/unnamed/random.rbs +293 -0
  184. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/refinement.rbs +59 -0
  185. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/regexp.rbs +1928 -0
  186. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/ruby_vm.rbs +765 -0
  187. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/basic_specification.rbs +6 -0
  188. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/config_file.rbs +38 -0
  189. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/dependency_installer.rbs +6 -0
  190. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/errors.rbs +176 -0
  191. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/installer.rbs +15 -0
  192. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/path_support.rbs +6 -0
  193. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/platform.rbs +7 -0
  194. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/request_set.rbs +49 -0
  195. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/requirement.rbs +148 -0
  196. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/rubygems.rbs +1171 -0
  197. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/source_list.rbs +15 -0
  198. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/specification.rbs +23 -0
  199. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/stream_ui.rbs +5 -0
  200. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/uninstaller.rbs +10 -0
  201. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/version.rbs +294 -0
  202. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/set.rbs +621 -0
  203. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/signal.rbs +100 -0
  204. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/string.rbs +3583 -0
  205. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/struct.rbs +667 -0
  206. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/symbol.rbs +475 -0
  207. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/thread.rbs +1765 -0
  208. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/thread_group.rbs +79 -0
  209. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/time.rbs +1762 -0
  210. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/trace_point.rbs +477 -0
  211. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/true_class.rbs +98 -0
  212. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/unbound_method.rbs +329 -0
  213. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/warning.rbs +87 -0
  214. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/CONTRIBUTING.md +106 -0
  215. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/architecture.md +110 -0
  216. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/collection.md +192 -0
  217. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/data_and_struct.md +86 -0
  218. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/gem.md +57 -0
  219. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/rbs_by_example.md +309 -0
  220. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/repo.md +125 -0
  221. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/sigs.md +167 -0
  222. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/stdlib.md +147 -0
  223. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/syntax.md +905 -0
  224. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/tools.md +17 -0
  225. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/exe/rbs +7 -0
  226. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/ext/rbs_extension/extconf.rb +14 -0
  227. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/ext/rbs_extension/lexer.c +2728 -0
  228. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/ext/rbs_extension/lexer.h +179 -0
  229. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/ext/rbs_extension/lexer.re +147 -0
  230. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/ext/rbs_extension/lexstate.c +175 -0
  231. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/ext/rbs_extension/location.c +303 -0
  232. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/ext/rbs_extension/location.h +84 -0
  233. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/ext/rbs_extension/main.c +12 -0
  234. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/ext/rbs_extension/parser.c +2961 -0
  235. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/ext/rbs_extension/parser.h +18 -0
  236. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/ext/rbs_extension/parserstate.c +366 -0
  237. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/ext/rbs_extension/parserstate.h +161 -0
  238. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/ext/rbs_extension/rbs_extension.h +31 -0
  239. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/ext/rbs_extension/unescape.c +32 -0
  240. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/goodcheck.yml +91 -0
  241. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/include/rbs/constants.h +82 -0
  242. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/include/rbs/ruby_objs.h +72 -0
  243. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/include/rbs.h +7 -0
  244. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ancestor_graph.rb +92 -0
  245. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/annotations.rb +199 -0
  246. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/formatter.rb +92 -0
  247. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/rdoc_annotator.rb +400 -0
  248. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/rdoc_source.rb +131 -0
  249. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate.rb +8 -0
  250. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/annotation.rb +29 -0
  251. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/comment.rb +29 -0
  252. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/declarations.rb +467 -0
  253. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/directives.rb +39 -0
  254. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/members.rb +449 -0
  255. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/type_param.rb +225 -0
  256. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/visitor.rb +137 -0
  257. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/buffer.rb +67 -0
  258. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/builtin_names.rb +58 -0
  259. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli/colored_io.rb +48 -0
  260. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli/diff.rb +83 -0
  261. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli/validate.rb +356 -0
  262. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli.rb +1223 -0
  263. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/cleaner.rb +38 -0
  264. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/config/lockfile.rb +92 -0
  265. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/config/lockfile_generator.rb +223 -0
  266. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/config.rb +81 -0
  267. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/installer.rb +32 -0
  268. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/base.rb +14 -0
  269. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/git.rb +258 -0
  270. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/local.rb +81 -0
  271. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/rubygems.rb +48 -0
  272. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/stdlib.rb +50 -0
  273. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources.rb +38 -0
  274. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection.rb +16 -0
  275. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/constant.rb +28 -0
  276. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition.rb +395 -0
  277. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition_builder/ancestor_builder.rb +620 -0
  278. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition_builder/method_builder.rb +254 -0
  279. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition_builder.rb +841 -0
  280. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/diff.rb +125 -0
  281. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment/use_map.rb +77 -0
  282. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment.rb +818 -0
  283. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment_loader.rb +173 -0
  284. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment_walker.rb +155 -0
  285. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/errors.rb +600 -0
  286. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/factory.rb +18 -0
  287. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/file_finder.rb +28 -0
  288. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/location_aux.rb +138 -0
  289. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/locator.rb +241 -0
  290. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/method_type.rb +141 -0
  291. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/namespace.rb +125 -0
  292. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/parser/lex_result.rb +15 -0
  293. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/parser/token.rb +23 -0
  294. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/parser_aux.rb +77 -0
  295. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/helpers.rb +140 -0
  296. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/node_usage.rb +99 -0
  297. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/rb.rb +840 -0
  298. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/rbi.rb +641 -0
  299. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime/helpers.rb +59 -0
  300. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime/reflection.rb +19 -0
  301. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime/value_object_generator.rb +279 -0
  302. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime.rb +667 -0
  303. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/repository.rb +127 -0
  304. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/resolver/constant_resolver.rb +219 -0
  305. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/resolver/type_name_resolver.rb +91 -0
  306. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/sorter.rb +198 -0
  307. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/substitution.rb +83 -0
  308. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/subtractor.rb +201 -0
  309. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/errors.rb +80 -0
  310. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/guaranteed.rb +30 -0
  311. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/hook.rb +212 -0
  312. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/observer.rb +19 -0
  313. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/setup.rb +84 -0
  314. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/setup_helper.rb +50 -0
  315. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/tester.rb +167 -0
  316. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/type_check.rb +433 -0
  317. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test.rb +112 -0
  318. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/type_alias_dependency.rb +100 -0
  319. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/type_alias_regularity.rb +126 -0
  320. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/type_name.rb +109 -0
  321. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/types.rb +1557 -0
  322. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/convertibles.rb +176 -0
  323. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/spy.rb +136 -0
  324. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/type_assertions.rb +341 -0
  325. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/with_aliases.rb +143 -0
  326. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test.rb +6 -0
  327. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/validator.rb +182 -0
  328. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/variance_calculator.rb +189 -0
  329. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/vendorer.rb +71 -0
  330. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/version.rb +5 -0
  331. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/writer.rb +419 -0
  332. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs.rb +93 -0
  333. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rdoc/discover.rb +20 -0
  334. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rdoc_plugin/parser.rb +163 -0
  335. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/annotation.json +14 -0
  336. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/comment.json +26 -0
  337. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/decls.json +326 -0
  338. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/function.json +87 -0
  339. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/location.json +56 -0
  340. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/members.json +266 -0
  341. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/methodType.json +50 -0
  342. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/typeParam.json +36 -0
  343. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/types.json +317 -0
  344. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/ancestor_builder.rbs +163 -0
  345. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/ancestor_graph.rbs +60 -0
  346. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/annotations.rbs +102 -0
  347. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/formatter.rbs +24 -0
  348. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/rdoc_annotater.rbs +82 -0
  349. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/rdoc_source.rbs +30 -0
  350. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotation.rbs +27 -0
  351. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/buffer.rbs +32 -0
  352. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/builtin_names.rbs +44 -0
  353. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli/colored_io.rbs +15 -0
  354. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli/diff.rbs +21 -0
  355. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli/validate.rbs +43 -0
  356. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli.rbs +87 -0
  357. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/cleaner.rbs +13 -0
  358. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/config/lockfile.rbs +74 -0
  359. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/config/lockfile_generator.rbs +66 -0
  360. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/config.rbs +46 -0
  361. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/installer.rbs +17 -0
  362. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/sources.rbs +214 -0
  363. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection.rbs +4 -0
  364. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/comment.rbs +26 -0
  365. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/constant.rbs +21 -0
  366. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/declarations.rbs +267 -0
  367. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/definition.rbs +173 -0
  368. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/definition_builder.rbs +165 -0
  369. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/diff.rbs +28 -0
  370. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/directives.rbs +61 -0
  371. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/environment.rbs +277 -0
  372. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/environment_loader.rbs +111 -0
  373. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/environment_walker.rbs +65 -0
  374. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/errors.rbs +383 -0
  375. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/factory.rbs +5 -0
  376. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/file_finder.rbs +28 -0
  377. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/location.rbs +110 -0
  378. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/locator.rbs +58 -0
  379. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/manifest.yaml +7 -0
  380. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/members.rbs +258 -0
  381. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/method_builder.rbs +84 -0
  382. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/method_types.rbs +58 -0
  383. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/namespace.rbs +146 -0
  384. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/parser.rbs +96 -0
  385. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/helpers.rbs +27 -0
  386. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/node_usage.rbs +20 -0
  387. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/rb.rbs +96 -0
  388. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/rbi.rbs +75 -0
  389. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/runtime.rbs +182 -0
  390. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/rbs.rbs +21 -0
  391. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/rdoc/rbs.rbs +67 -0
  392. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/repository.rbs +85 -0
  393. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/resolver/constant_resolver.rbs +92 -0
  394. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/resolver/context.rbs +34 -0
  395. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/resolver/type_name_resolver.rbs +35 -0
  396. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/shims/bundler.rbs +38 -0
  397. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/shims/enumerable.rbs +5 -0
  398. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/shims/rubygems.rbs +19 -0
  399. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/sorter.rbs +41 -0
  400. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/substitution.rbs +48 -0
  401. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/subtractor.rbs +37 -0
  402. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test/errors.rbs +52 -0
  403. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test/guranteed.rbs +9 -0
  404. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test/type_check.rbs +19 -0
  405. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test.rbs +82 -0
  406. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/type_alias_dependency.rbs +53 -0
  407. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/type_alias_regularity.rbs +98 -0
  408. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/type_param.rbs +110 -0
  409. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/typename.rbs +79 -0
  410. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/types.rbs +576 -0
  411. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/convertibles.rbs +154 -0
  412. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/spy.rbs +28 -0
  413. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/type_assertions.rbs +194 -0
  414. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/with_aliases.rbs +136 -0
  415. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/use_map.rbs +35 -0
  416. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/util.rbs +9 -0
  417. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/validator.rbs +59 -0
  418. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/variance_calculator.rbs +87 -0
  419. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/vendorer.rbs +51 -0
  420. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/version.rbs +3 -0
  421. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/visitor.rbs +47 -0
  422. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/writer.rbs +127 -0
  423. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/src/constants.c +153 -0
  424. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/src/ruby_objs.c +793 -0
  425. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/abbrev/0/abbrev.rbs +66 -0
  426. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/abbrev/0/array.rbs +26 -0
  427. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/base64/0/base64.rbs +355 -0
  428. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/benchmark/0/benchmark.rbs +452 -0
  429. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/bigdecimal/0/big_decimal.rbs +1629 -0
  430. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/bigdecimal-math/0/big_math.rbs +119 -0
  431. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/bigdecimal-math/0/manifest.yaml +2 -0
  432. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/cgi/0/core.rbs +1285 -0
  433. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/cgi/0/manifest.yaml +3 -0
  434. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/coverage/0/coverage.rbs +263 -0
  435. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/csv/0/csv.rbs +3776 -0
  436. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/csv/0/manifest.yaml +3 -0
  437. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/date/0/date.rbs +1585 -0
  438. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/date/0/date_time.rbs +616 -0
  439. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/date/0/time.rbs +26 -0
  440. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/dbm/0/dbm.rbs +421 -0
  441. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/delegate/0/delegator.rbs +184 -0
  442. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/delegate/0/kernel.rbs +47 -0
  443. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/delegate/0/simple_delegator.rbs +96 -0
  444. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/did_you_mean/0/did_you_mean.rbs +343 -0
  445. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/digest/0/digest.rbs +577 -0
  446. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/erb/0/erb.rbs +532 -0
  447. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/etc/0/etc.rbs +865 -0
  448. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/fileutils/0/fileutils.rbs +1734 -0
  449. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/find/0/find.rbs +49 -0
  450. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/forwardable/0/forwardable.rbs +268 -0
  451. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/io-console/0/io-console.rbs +414 -0
  452. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/ipaddr/0/ipaddr.rbs +428 -0
  453. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/json/0/json.rbs +1914 -0
  454. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/kconv/0/kconv.rbs +166 -0
  455. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/formatter.rbs +45 -0
  456. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/log_device.rbs +100 -0
  457. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/logger.rbs +796 -0
  458. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/manifest.yaml +2 -0
  459. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/period.rbs +17 -0
  460. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/severity.rbs +34 -0
  461. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/kernel.rbs +42 -0
  462. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/abstract_reporter.rbs +52 -0
  463. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/assertion.rbs +17 -0
  464. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/assertions.rbs +590 -0
  465. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/backtrace_filter.rbs +23 -0
  466. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/bench_spec.rbs +102 -0
  467. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/benchmark.rbs +259 -0
  468. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/composite_reporter.rbs +25 -0
  469. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/compress.rbs +13 -0
  470. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/error_on_warning.rbs +3 -0
  471. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/expectation.rbs +2 -0
  472. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/expectations.rbs +21 -0
  473. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/guard.rbs +64 -0
  474. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/mock.rbs +64 -0
  475. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel/executor.rbs +46 -0
  476. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel/test/class_methods.rbs +5 -0
  477. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel/test.rbs +3 -0
  478. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel.rbs +2 -0
  479. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/pride_io.rbs +62 -0
  480. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/pride_lol.rbs +19 -0
  481. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/progress_reporter.rbs +11 -0
  482. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/reportable.rbs +53 -0
  483. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/reporter.rbs +5 -0
  484. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/result.rbs +28 -0
  485. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/runnable.rbs +163 -0
  486. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/skip.rbs +6 -0
  487. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/spec/dsl/instance_methods.rbs +48 -0
  488. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/spec/dsl.rbs +129 -0
  489. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/spec.rbs +11 -0
  490. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/statistics_reporter.rbs +81 -0
  491. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/summary_reporter.rbs +18 -0
  492. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/test/lifecycle_hooks.rbs +92 -0
  493. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/test.rbs +69 -0
  494. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unexpected_error.rbs +12 -0
  495. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unexpected_warning.rbs +6 -0
  496. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unit/test_case.rbs +3 -0
  497. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unit.rbs +4 -0
  498. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest.rbs +115 -0
  499. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/monitor/0/monitor.rbs +354 -0
  500. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/mutex_m/0/mutex_m.rbs +104 -0
  501. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-http/0/manifest.yaml +3 -0
  502. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-http/0/net-http.rbs +5552 -0
  503. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-protocol/0/manifest.yaml +2 -0
  504. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-protocol/0/net-protocol.rbs +56 -0
  505. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-smtp/0/manifest.yaml +2 -0
  506. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-smtp/0/net-smtp.rbs +55 -0
  507. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/nkf/0/nkf.rbs +402 -0
  508. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/objspace/0/objspace.rbs +487 -0
  509. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/observable/0/observable.rbs +217 -0
  510. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/open-uri/0/manifest.yaml +4 -0
  511. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/open-uri/0/open-uri.rbs +393 -0
  512. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/open3/0/open3.rbs +147 -0
  513. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/openssl/0/manifest.yaml +3 -0
  514. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/openssl/0/openssl.rbs +12113 -0
  515. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/optparse/0/optparse.rbs +1725 -0
  516. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pathname/0/pathname.rbs +1406 -0
  517. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pp/0/manifest.yaml +2 -0
  518. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pp/0/pp.rbs +300 -0
  519. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/prettyprint/0/prettyprint.rbs +383 -0
  520. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pstore/0/pstore.rbs +603 -0
  521. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/core_ext.rbs +12 -0
  522. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/dbm.rbs +237 -0
  523. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/manifest.yaml +3 -0
  524. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/psych.rbs +402 -0
  525. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/store.rbs +59 -0
  526. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pty/0/pty.rbs +237 -0
  527. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/code_object.rbs +51 -0
  528. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/comment.rbs +59 -0
  529. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/context.rbs +153 -0
  530. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/markup.rbs +117 -0
  531. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/parser.rbs +56 -0
  532. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/rdoc.rbs +391 -0
  533. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/ri.rbs +17 -0
  534. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/store.rbs +48 -0
  535. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/top_level.rbs +97 -0
  536. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/resolv/0/manifest.yaml +3 -0
  537. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/resolv/0/resolv.rbs +1830 -0
  538. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/ripper/0/ripper.rbs +1648 -0
  539. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/securerandom/0/securerandom.rbs +62 -0
  540. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/shellwords/0/shellwords.rbs +229 -0
  541. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/singleton/0/singleton.rbs +131 -0
  542. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/addrinfo.rbs +666 -0
  543. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/basic_socket.rbs +590 -0
  544. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/constants.rbs +2295 -0
  545. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/ip_socket.rbs +92 -0
  546. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/socket.rbs +4157 -0
  547. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/socket_error.rbs +5 -0
  548. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/tcp_server.rbs +192 -0
  549. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/tcp_socket.rbs +79 -0
  550. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/udp_socket.rbs +133 -0
  551. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/unix_server.rbs +169 -0
  552. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/unix_socket.rbs +170 -0
  553. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/stringio/0/stringio.rbs +567 -0
  554. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/strscan/0/string_scanner.rbs +1627 -0
  555. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tempfile/0/tempfile.rbs +479 -0
  556. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/time/0/time.rbs +432 -0
  557. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/timeout/0/timeout.rbs +81 -0
  558. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tmpdir/0/tmpdir.rbs +69 -0
  559. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tsort/0/cyclic.rbs +5 -0
  560. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tsort/0/interfaces.rbs +20 -0
  561. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tsort/0/tsort.rbs +409 -0
  562. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/common.rbs +582 -0
  563. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/file.rbs +118 -0
  564. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ftp.rbs +13 -0
  565. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/generic.rbs +1108 -0
  566. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/http.rbs +104 -0
  567. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/https.rbs +14 -0
  568. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ldap.rbs +230 -0
  569. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ldaps.rbs +14 -0
  570. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/mailto.rbs +92 -0
  571. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/rfc2396_parser.rbs +189 -0
  572. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/rfc3986_parser.rbs +2 -0
  573. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ws.rbs +13 -0
  574. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/wss.rbs +9 -0
  575. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/yaml/0/manifest.yaml +2 -0
  576. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/yaml/0/yaml.rbs +1 -0
  577. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/buf_error.rbs +10 -0
  578. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/data_error.rbs +10 -0
  579. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/deflate.rbs +210 -0
  580. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/error.rbs +20 -0
  581. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/crc_error.rbs +12 -0
  582. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/error.rbs +23 -0
  583. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/length_error.rbs +12 -0
  584. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/no_footer.rbs +11 -0
  585. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file.rbs +156 -0
  586. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_reader.rbs +293 -0
  587. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_writer.rbs +166 -0
  588. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/inflate.rbs +180 -0
  589. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/mem_error.rbs +10 -0
  590. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/need_dict.rbs +13 -0
  591. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/stream_end.rbs +11 -0
  592. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/stream_error.rbs +11 -0
  593. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/version_error.rbs +11 -0
  594. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/zlib.rbs +449 -0
  595. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/zstream.rbs +200 -0
  596. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/include/rbs/constants.h.erb +20 -0
  597. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/include/rbs/ruby_objs.h.erb +10 -0
  598. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/src/constants.c.erb +36 -0
  599. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/src/ruby_objs.c.erb +27 -0
  600. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/template.rb +122 -0
  601. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/Gemfile +5 -0
  602. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/LICENSE.txt +22 -0
  603. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/README.md +41 -0
  604. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/Rakefile +20 -0
  605. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/bin/console +14 -0
  606. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/bin/setup +8 -0
  607. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/ext/syslog/extconf.rb +26 -0
  608. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/ext/syslog/syslog.c +592 -0
  609. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/ext/syslog/syslog.txt +124 -0
  610. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/lib/syslog/logger.rb +209 -0
  611. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/lib/syslog.rb +10 -0
  612. package/lib/ruby/gems/3.4.0/specifications/bigdecimal-3.1.8.gemspec +25 -0
  613. package/lib/ruby/gems/3.4.0/specifications/debug-1.11.0.gemspec +32 -0
  614. package/lib/ruby/gems/3.4.0/specifications/nkf-0.2.0.gemspec +26 -0
  615. package/lib/ruby/gems/3.4.0/specifications/racc-1.8.1.gemspec +28 -0
  616. package/lib/ruby/gems/3.4.0/specifications/rbs-3.8.0.gemspec +31 -0
  617. package/lib/ruby/gems/3.4.0/specifications/syslog-0.2.0.gemspec +25 -0
  618. package/package.json +9 -9
@@ -0,0 +1,905 @@
1
+ # Syntax
2
+
3
+ ## Types
4
+
5
+ ```markdown
6
+ _type_ ::= _class-name_ _type-arguments_ (Class instance type)
7
+ | _interface-name_ _type-arguments_ (Interface type)
8
+ | _alias-name_ _type-arguments_ (Alias type)
9
+ | `singleton(` _class-name_ `)` (Class singleton type)
10
+ | _literal_ (Literal type)
11
+ | _type_ `|` _type_ (Union type)
12
+ | _type_ `&` _type_ (Intersection type)
13
+ | _type_ `?` (Optional type)
14
+ | `{` _record-name_ `:` _type_ `,` etc. `}` (Record type)
15
+ | `[]` | `[` _type_ `,` etc. `]` (Tuples)
16
+ | _type-variable_ (Type variables)
17
+ | `self`
18
+ | `instance`
19
+ | `class`
20
+ | `bool`
21
+ | `untyped`
22
+ | `nil`
23
+ | `top`
24
+ | `bot`
25
+ | `void`
26
+ | _proc_ (Proc type)
27
+
28
+ _class-name_ ::= _namespace_ /[A-Z]\w*/
29
+ _interface-name_ ::= _namespace_ /_[A-Z]\w*/
30
+ _alias-name_ ::= _namespace_ /[a-z]\w*/
31
+
32
+ _type-variable_ ::= /[A-Z]\w*/
33
+
34
+ _namespace_ ::= (Empty namespace)
35
+ | `::` (Root)
36
+ | _namespace_ /[A-Z]\w*/ `::` (Namespace)
37
+
38
+ _type-arguments_ ::= (No type arguments)
39
+ | `[` _type_ `,` etc. `]` (Type arguments)
40
+
41
+ _literal_ ::= _string-literal_
42
+ | _symbol-literal_
43
+ | _integer-literal_
44
+ | `true`
45
+ | `false`
46
+
47
+ _proc_ ::= `^` _parameters?_ _self-type-binding?_ _block?_ `->` _type_
48
+ | `^` `(` `?` `)` `->` _type_ # Proc type with untyped parameter
49
+ ```
50
+
51
+ ### Class instance type
52
+
53
+ Class instance type denotes _an instance of a class_.
54
+
55
+ ```rbs
56
+ Integer # Instance of Integer class
57
+ ::Integer # Instance of ::Integer class
58
+ Hash[Symbol, String] # Instance of Hash class with type application of Symbol and String
59
+ ```
60
+
61
+ ### Interface type
62
+
63
+ Interface type denotes _type of a value which can be a subtype of the interface_.
64
+
65
+ ```rbs
66
+ _ToS # _ToS interface
67
+ ::Enumerator::_Each[String] # Interface name with namespace and type application
68
+ ```
69
+
70
+ ### Alias type
71
+
72
+ Alias type denotes an alias declared with _alias declaration_.
73
+
74
+ The name of type aliases starts with lowercase `[a-z]`.
75
+
76
+ ```rbs
77
+ name
78
+ ::JSON::t # Alias name with namespace
79
+ list[Integer] # Type alias can be generic
80
+ ```
81
+
82
+ ### Class singleton type
83
+
84
+ Class singleton type denotes _the type of a singleton object of a class_.
85
+
86
+ ```rbs
87
+ singleton(String)
88
+ singleton(::Hash) # Class singleton type cannot be parametrized.
89
+ ```
90
+
91
+ ### Literal type
92
+
93
+ Literal type denotes _a type with only one value of the literal_.
94
+
95
+ ```rbs
96
+ 123 # Integer
97
+ "hello world" # A string
98
+ :to_s # A symbol
99
+ true # true or false
100
+ ```
101
+
102
+ ### Union type
103
+
104
+ Union type denotes _a type of one of the given types_.
105
+
106
+ ```rbs
107
+ Integer | String # Integer or String
108
+ Array[Integer | String] # Array of Integer or String
109
+ ```
110
+
111
+ ### Intersection type
112
+
113
+ Intersection type denotes _a type of all of the given types_.
114
+
115
+ ```rbs
116
+ _Reader & _Writer # _Reader and _Writer
117
+ ```
118
+
119
+ Note that `&` has higher precedence than `|` that `A & B | C` is `(A & B) | C`.
120
+
121
+ ### Optional type
122
+
123
+ Optional type denotes _a type of value or nil_.
124
+
125
+ ```rbs
126
+ Integer?
127
+ Array[Integer?]
128
+ ```
129
+
130
+ ### Record type
131
+
132
+ Records are `Hash` objects, fixed set of keys, and heterogeneous.
133
+
134
+ ```rbs
135
+ { id: Integer, name: String } # Hash object like `{ id: 31, name: String }`
136
+ ```
137
+
138
+ ### Tuple type
139
+
140
+ Tuples are `Array` objects, fixed size and heterogeneous.
141
+
142
+ ```rbs
143
+ [ ] # Empty like `[]`
144
+ [String] # Single string like `["hi"]`
145
+ [Integer, Integer] # Pair of integers like `[1, 2]`
146
+ [Symbol, Integer, Integer] # Tuple of Symbol, Integer, and Integer like `[:pair, 30, 22]`
147
+ ```
148
+
149
+ *Empty tuple* or *1-tuple* sound strange, but RBS allows these types.
150
+
151
+ ### Type variable
152
+
153
+ ```rbs
154
+ U
155
+ T
156
+ S
157
+ Elem
158
+ ```
159
+
160
+ Type variables cannot be distinguished from _class instance types_.
161
+ They are scoped in _class/module/interface/alias declaration_ or _generic method types_.
162
+
163
+ ```rbs
164
+ class Ref[T] # Object is scoped in the class declaration.
165
+ @value: T # Type variable `T`
166
+ def map: [X] { (T) -> X } -> Ref[X] # X is a type variable scoped in the method type.
167
+ end
168
+ ```
169
+
170
+ ### Base types
171
+
172
+ `self` denotes the type of receiver. The type is used to model the open recursion via `self`.
173
+
174
+ `instance` denotes the type of instance of the class. `class` is the singleton of the class.
175
+
176
+ `bool` is an alias of `true | false`.
177
+
178
+ `untyped` is for _a type without type checking_. It is `?` in gradual typing, _dynamic_ in some languages like C#, and _any_ in TypeScript. It is both subtype _and_ supertype of all of the types. (The type was `any` but renamed to `untyped`.)
179
+
180
+ `nil` is for _nil_.
181
+
182
+ `top` is a supertype of all of the types. `bot` is a subtype of all of the types.
183
+
184
+ `void` is a supertype of all of the types.
185
+
186
+ #### `nil` or `NilClass`?
187
+
188
+ We recommend using `nil`.
189
+
190
+ #### `bool` or `boolish`
191
+
192
+ We have a builtin type alias called `boolish`.
193
+ It is an alias of `top` type, and you can use `boolish` if we want to allow any object of any type.
194
+
195
+ We can see an example at the definition of `Enumerable#find`:
196
+
197
+ ```rbs
198
+ module Enumerable[Elem, Return]
199
+ def find: () { (Elem) -> boolish } -> Elem?
200
+ end
201
+ ```
202
+
203
+ We want to write something like:
204
+
205
+ ```ruby
206
+ array.find {|x| x && x.some_test? } # The block will return (bool | nil)
207
+ ```
208
+
209
+ We recommend using `boolish` for method arguments and block return values, if you only use the values for conditions.
210
+ You can write `bool` if you strictly want `true | false`.
211
+
212
+ #### `void`, `boolish`, or `top`?
213
+
214
+ They are all equivalent for the type system; they are all _top type_.
215
+
216
+ `void` tells developers a hint that _the value should not be used_. `boolish` implies the value is used as a truth value. `top` is anything else.
217
+
218
+ ### Proc type
219
+
220
+ Proc type denotes type of procedures, `Proc` instances.
221
+
222
+ ```rbs
223
+ ^(Integer) -> String # A procedure with an `Integer` parameter and returns `String`
224
+ ^(?String, size: Integer) -> bool # A procedure with `String` optional parameter, `size` keyword of `Integer`, and returns `bool`
225
+ ```
226
+
227
+ See the next section for details.
228
+
229
+ ### Types and contexts
230
+
231
+ We have contextual limitations on some types:
232
+
233
+ * `void` is only allowed as a return type or a generic parameter
234
+ * `self` is only allowed in *self-context*
235
+ * `class` and `instance` is only allowed in *classish-context*
236
+
237
+ These contextual limitation is introduced at RBS 3.3.
238
+ The parser accepts those types even if it doesn't satisfy contextual limitation, but warning is reported with `rbs validate` command.
239
+ We plan to change the parser to reject those types if it breaks the contextual limitations in next release -- `3.4`.
240
+
241
+ #### Limitations on `void` types
242
+
243
+ The following `void` types are allowed.
244
+
245
+ ```rbs
246
+ type t1 = ^() -> void
247
+ type t2 = Enumerator[Integer, void]
248
+ ```
249
+
250
+ The following `void` types are prohibited.
251
+
252
+ ```rbs
253
+ type t1 = ^(void) -> untyped # void as a function parameter is prohibited
254
+ type t2 = ^() -> void? # void cannot be used inside an optional type
255
+ type t3 = Enumerator[Integer, void | String] # void cannot be used inside a union type
256
+ ```
257
+
258
+ #### Examples of *self-context*
259
+
260
+ The following `self` types are allowed.
261
+
262
+ ```rbs
263
+ class Foo
264
+ attr_reader parent: self
265
+
266
+ def foo: () -> self
267
+ end
268
+ ```
269
+
270
+ The following `self` types are prohibited.
271
+
272
+ ```rbs
273
+ class Foo
274
+ include Enumerable[self] # Mixin argument is not self-context
275
+
276
+ VERSION: self # Constant type is not self-context
277
+
278
+ @@foos: Array[self] # Class variable type is not self-context
279
+
280
+ type list = nil | [self, list] # Type alias is not self-context
281
+ end
282
+ ```
283
+
284
+ #### Examples of *classish-context*
285
+
286
+ The following `class`/`instance` types are allowed.
287
+
288
+ ```rbs
289
+ class Foo
290
+ attr_reader parent: class
291
+
292
+ def foo: () -> instance
293
+
294
+ @@foos: Array[instance]
295
+
296
+ include Enumerable[class]
297
+ end
298
+ ```
299
+
300
+ The following `class`/`instance` types are prohibited.
301
+
302
+ ```rbs
303
+ class Foo
304
+ VERSION: class # Constant type is not classish-context
305
+
306
+ type list = nil | [instance, list] # Type alias is not classish-context
307
+ end
308
+ ```
309
+
310
+ ## Method Types and Proc Types
311
+
312
+ ```markdown
313
+ _method-type_ ::= _parameters?_ _block?_ `->` _type_ # Method type
314
+ | `(` `?` `)` `->` _type_ # Method type with untyped parameters
315
+
316
+ _parameters?_ ::= (Empty)
317
+ | _parameters_ (Parameters)
318
+
319
+ _parameters_ ::= `(` _required-positionals_ _optional-positionals_ _rest-positional_ _trailing-positionals_ _keywords_ `)`
320
+
321
+ _parameter_ ::= _type_ _var-name_ # Parameter with var name
322
+ | _type_ # Parameter without var name
323
+ _required-positionals_ ::= _parameter_ `,` etc.
324
+ _optional-positionals_ ::= `?` _parameter_ `,` etc.
325
+ _rest-positional_ ::= # Empty
326
+ | `*` _parameter_
327
+ _trailing-positionals_ ::= _parameter_ `,` etc.
328
+ _keywords_ ::= # Empty
329
+ | `**` _parameter_ # Rest keyword
330
+ | _keyword_ `:` _parameter_ `,` _keywords_ # Required keyword
331
+ | `?` _keyword_ `:` _parameter_ `,` _keywords_ # Optional keyword
332
+
333
+ _var-name_ ::= /[a-z]\w*/
334
+
335
+ _self-type-binding?_ = (Empty)
336
+ | `[` `self` `:` _type_ `]` (Self type binding)
337
+
338
+ _block?_ = (No block)
339
+ | `{` _parameters_ _self-type-binding?_ `->` _type_ `}` (Block)
340
+ | `{` `(` `?` `)` `->` _type_ `}` (Block with untyped parameters)
341
+ | `?` `{` _parameters_ _self-type-binding?_ `->` _type_ `}` (Optional block)
342
+ | `?` `{` `(` `?` `)` `->` _type_ `}` (Optional block with untyped parameters)
343
+ ```
344
+
345
+ ### Parameters
346
+
347
+ A parameter can be a type or a pair of type and variable name.
348
+ Variable name can be used for documentation.
349
+
350
+ #### Examples
351
+
352
+ ```rbs
353
+ # Two required positional `Integer` parameters, and returns `String`
354
+ (Integer, Integer) -> String
355
+
356
+ # Two optional parameters `size` and `name`.
357
+ # `name` is a optional parameter with optional type so that developer can omit, pass a string, or pass `nil`.
358
+ (?Integer size, ?String? name) -> String
359
+
360
+ # Method type with a rest parameter
361
+ (*Integer, Integer) -> void
362
+
363
+ # `size` is a required keyword, with variable name of `sz`.
364
+ # `name` is a optional keyword.
365
+ # `created_at` is a optional keyword, and the value can be `nil`.
366
+ (size: Integer sz, ?name: String, ?created_at: Time?) -> void
367
+ ```
368
+
369
+ ### Self type binding
370
+
371
+ Self type binding represents the type of methods that uses `#instance_eval`, which replaces the value of `self` inside blocks.
372
+
373
+ ```ruby
374
+ 123.instance_eval do
375
+ self + 1 # self is `123` here
376
+ end
377
+ ```
378
+
379
+ Proc types and blocks can have self type bindings.
380
+
381
+ ```rbs
382
+ ^(Integer) [self: String] -> void # Proc type with self type binding
383
+ ^(Integer) [self: String] { (Symbol) [self: bool] -> void } -> void # Proc type with self type binding of `String` and a block with self type binding of `bool`
384
+ ```
385
+
386
+ Method type can have blocks with self type bindings.
387
+
388
+ ```rbs
389
+ () { (Integer) [self: String] -> void } -> void # A method type with block with self type binding
390
+ ```
391
+
392
+ ## Members
393
+
394
+ ```markdown
395
+ _member_ ::= _ivar-member_ # Ivar definition
396
+ | _method-member_ # Method definition
397
+ | _attribute-member_ # Attribute definition
398
+ | _include-member_ # Mixin (include)
399
+ | _extend-member_ # Mixin (extend)
400
+ | _prepend-member_ # Mixin (prepend)
401
+ | _alias-member_ # Alias
402
+ | _visibility-member_ # Visibility member
403
+
404
+ _ivar-member_ ::= _ivar-name_ `:` _type_
405
+ | `self` `.` _ivar-name_ `:` _type_
406
+ | _cvar-name_ `:` _type_
407
+
408
+ _method-member_ ::= _visibility_ `def` _method-name_ `:` _method-types_ # Instance method
409
+ | _visibility_ `def self.` _method-name_ `:` _method-types_ # Singleton method
410
+ | `def self?.` _method-name_ `:` _method-types_ # Singleton and instance method
411
+
412
+ _method-types_ ::= _method-type-parameters_ _method-type_ # Single method type
413
+ | _method-type-parameters_ _method-type_ `|` _method-types_ # Overloading types
414
+ | `...` # Overloading for duplicate definitions
415
+
416
+ _method-type-parameters_ ::= # Empty
417
+ | `[` _type-variable_ `,` ... `]`
418
+
419
+ _attribute-member_ ::= _visibility_ _attribute-type_ _method-name_ `:` _type_ # Attribute
420
+ | _visibility_ _attribute-type_ _method-name_ `(` _ivar-name_ `) :` _type_ # Attribute with variable name specification
421
+ | _visibility_ _attribute-type_ _method-name_ `() :` _type_ # Attribute without variable
422
+ | _visibility_ _attribute-type_ `self.` _method-name_ `:` _type_ # Singleton attribute
423
+ | _visibility_ _attribute-type_ `self.` _method-name_ `(` _ivar-name_ `) :` _type_ # Singleton attribute with variable name specification
424
+ | _visibility_ _attribute-type_ `self.` _method-name_ `() :` _type_ # Singleton attribute without variable
425
+ _visibility_ ::= `public` | `private`
426
+
427
+ _attribute-type_ ::= `attr_reader` | `attr_writer` | `attr_accessor`
428
+
429
+ _include-member_ ::= _include-class-member_
430
+ | _include-interface-member_
431
+ _include-class-member_ ::= `include` _class-name_ _type-arguments_
432
+ _include-interface-member_ :== `include` _interface-name_ _type-arguments_
433
+ _extend-member_ ::= `extend` _class-name_ _type-arguments_
434
+ | `extend` _interface-name_ _type-arguments_
435
+ _prepend-member_ ::= `prepend` _class-name_ _type-arguments_
436
+
437
+ _alias-member_ ::= `alias` _method-name_ _method-name_
438
+ | `alias self.` _method-name_ `self.` _method-name_
439
+
440
+ _visibility-member_ ::= _visibility_
441
+
442
+ _ivar-name_ ::= /@\w+/
443
+ _cvar-name_ ::= /@@\w+/
444
+ _method-name_ ::= _most of the possible ruby method names_
445
+ | /`[^`]+`/ # Quoted method names
446
+ ```
447
+
448
+ ### Ivar definition
449
+
450
+ An instance variable definition consists of the name of an instance variable and its type.
451
+
452
+ ```rbs
453
+ @name: String
454
+ self.@value: Hash[Symbol, Key]
455
+ @@instances: Array[instance]
456
+ ```
457
+
458
+ * Instance variables definition is *self-context* and *classish-context*
459
+ * Class instance variables definition is *self-context* and *classish-context*
460
+ * Class variables definition is *classish-context*, but NOT *self-context*
461
+
462
+ ### Method definition
463
+
464
+ Method definition has several syntax variations.
465
+
466
+ You can write `self.` or `self?.` before the name of the method to specify the kind of method: instance, singleton, or module function.
467
+
468
+ ```rbs
469
+ def to_s: () -> String # Defines a instance method
470
+ def self.new: () -> AnObject # Defines singleton method
471
+ def self?.sqrt: (Numeric) -> Numeric # self? is for `module_function`s
472
+ ```
473
+
474
+ `self?` method definition adds two methods: a public singleton method and a private instance method, which is equivalent to `module_function` in Ruby.
475
+
476
+ The method type can be connected with `|`s to define an overloaded method.
477
+
478
+ ```rbs
479
+ def +: (Float) -> Float
480
+ | (Integer) -> Integer
481
+ | (Numeric) -> Numeric
482
+ ```
483
+
484
+ Overloaded method can have `...` to overload an existing method. It is useful for monkey-patching.
485
+
486
+ ```rbs
487
+ def +: (Float) -> Float
488
+ def +: (BigDecimal) -> BigDecimal
489
+ | ...
490
+ ```
491
+
492
+ You need extra parentheses on return type to avoid ambiguity.
493
+
494
+ ```rbs
495
+ def +: (Float | Integer) -> (Float | Integer)
496
+ | (Numeric) -> Numeric
497
+ ```
498
+
499
+ Adding `public` and `private` modifier changes the visibility of the method.
500
+
501
+ ```rbs
502
+ private def puts: (*untyped) -> void # Defines private instance method
503
+
504
+ public def self.puts: (*untyped) -> void # Defines public singleton method
505
+
506
+ public def self?.puts: (*untyped) -> void # 🚨🚨🚨 Error: `?.` has own visibility semantics (== `module_function`) 🚨🚨🚨
507
+ ```
508
+
509
+ * Method types are *self-context* and *classish-context*
510
+
511
+ ### Attribute definition
512
+
513
+ Attribute definitions help to define methods and instance variables based on the convention of `attr_reader`, `attr_writer` and `attr_accessor` methods in Ruby.
514
+
515
+ You can specify the name of instance variable using `(@some_name)` syntax and also omit the instance variable definition by specifying `()`.
516
+
517
+ ```rbs
518
+ # Defines `id` method and `@id` instance variable.
519
+ attr_reader id: Integer
520
+ # @id: Integer
521
+ # def id: () -> Integer
522
+
523
+ # Defines `name=` method and `@raw_name` instance variable.
524
+ attr_writer name (@raw_name) : String
525
+ # @raw_name: String
526
+ # def name=: (String) -> String
527
+
528
+ # Defines `people` and `people=` methods, but no instance variable.
529
+ attr_accessor people (): Array[Person]
530
+ # def people: () -> Array[Person]
531
+ # def people=: (Array[Person]) -> Array[Person]
532
+ ```
533
+
534
+ Attribute definitions can have the `public` and `private` modifiers like method definitions:
535
+
536
+ ```rbs
537
+ private attr_accessor id: Integer
538
+
539
+ private attr_reader self.name: String
540
+ ```
541
+
542
+ * Attribute types are *self-context* and *classish-context*
543
+
544
+ ### Mixin (include), Mixin (extend), Mixin (prepend)
545
+
546
+ You can define mixins between class and modules.
547
+
548
+ ```rbs
549
+ include Kernel
550
+ include Enumerable[String, void]
551
+ extend ActiveSupport::Concern
552
+ ```
553
+
554
+ You can also `include` or `extend` an interface.
555
+
556
+ ```rbs
557
+ include _Hashing
558
+ extend _LikeString
559
+ ```
560
+
561
+ This allows importing `def`s from the interface to help developer implementing a set of methods.
562
+
563
+ * Mixin arguments are *classish-context*, but not *self-context*
564
+
565
+ ### Alias
566
+
567
+ You can define an alias between methods.
568
+
569
+ ```rbs
570
+ def map: [X] () { (String) -> X } -> Array[X]
571
+ alias collect map # `#collect` has the same type with `map`
572
+ ```
573
+
574
+ ### Visibility member
575
+
576
+ Visibility member allows specifying the default visibility of instance methods and instance attributes.
577
+
578
+ ```rbs
579
+ public
580
+
581
+ def foo: () -> void # public instance method
582
+
583
+ attr_reader name: String # public instance attribute
584
+
585
+ private
586
+
587
+ def bar: () -> void # private instance method
588
+
589
+ attr_reader email: String # private instance attribute
590
+ ```
591
+
592
+ The visibility _modifiers_ overwrite the default visibility per member bases.
593
+
594
+ The visibility member requires a new line `\n` after the token.
595
+
596
+ ```rbs
597
+ private alias foo bar # Syntax error
598
+ ```
599
+
600
+ ## Declarations
601
+
602
+ ```markdown
603
+ _decl_ ::= _class-decl_ # Class declaration
604
+ | _module-decl_ # Module declaration
605
+ | _class-alias-decl_ # Class alias declaration
606
+ | _module-alias-decl_ # Module alias declaration
607
+ | _interface-decl_ # Interface declaration
608
+ | _type-alias-decl_ # Type alias declaration
609
+ | _const-decl_ # Constant declaration
610
+ | _global-decl_ # Global declaration
611
+
612
+ _class-decl_ ::= `class` _class-name_ _module-type-parameters_ _members_ `end`
613
+ | `class` _class-name_ _module-type-parameters_ `<` _class-name_ _type-arguments_ _members_ `end`
614
+
615
+ _module-decl_ ::= `module` _module-name_ _module-type-parameters_ _members_ `end`
616
+ | `module` _module-name_ _module-type-parameters_ `:` _module-self-types_ _members_ `end`
617
+
618
+ _class-alias-decl_ ::= `class` _class-name_ `=` _class-name_
619
+
620
+ _module-alias-decl_ ::= `module` _module-name_ `=` _module-name_
621
+
622
+ _module-self-types_ ::= _class-name_ _type-arguments_ `,` _module-self-types_ (Class instance)
623
+ | _interface-name_ _type-arguments_ `,` _module-self-types_ (Interface)
624
+
625
+ _interface-decl_ ::= `interface` _interface-name_ _module-type-parameters_ _interface-members_ `end`
626
+
627
+ _interface-members_ ::= _method-member_ # Method
628
+ | _include-interface-member_ # Mixin (include)
629
+ | _alias-member_ # Alias
630
+
631
+ _type-alias-decl_ ::= `type` _alias-name_ _module-type-parameters_ `=` _type_
632
+
633
+ _const-decl_ ::= _const-name_ `:` _type_
634
+
635
+ _global-decl_ ::= _global-name_ `:` _type_
636
+
637
+ _const-name_ ::= _namespace_ /[A-Z]\w*/
638
+ _global-name_ ::= /$[a-zA-Z]\w+/ | ...
639
+
640
+ _module-type-parameters_ ::= # Empty
641
+ | `[` _module-type-parameter_ `,` ... `]`
642
+ ```
643
+
644
+ ### Class declaration
645
+
646
+ Class declaration can have type parameters and superclass. When you omit superclass, `::Object` is assumed.
647
+
648
+ * Super class arguments and generic class upperbounds are not *classish-context* nor *self-context*
649
+
650
+ ### Module declaration
651
+
652
+ Module declaration takes optional _self type_ parameter, which defines a constraint about a class when the module is mixed.
653
+
654
+ ```rbs
655
+ interface _Each[A, B]
656
+ def each: { (A) -> void } -> B
657
+ end
658
+
659
+ module Enumerable[A, B] : _Each[A, B]
660
+ def count: () -> Integer
661
+ end
662
+ ```
663
+
664
+ The `Enumerable` module above requires `each` method for enumerating objects.
665
+
666
+ * Self type arguments and generic class upperbounds are not *classish-context* nor *self-context*
667
+
668
+ ### Class/module alias declaration
669
+
670
+ An alias of a class or module can be defined in RBS.
671
+
672
+ ```rbs
673
+ module Foo = Kernel
674
+
675
+ class Bar = Array
676
+ ```
677
+
678
+ The syntax defines a class and the definition is equivalent to the right-hand-side.
679
+
680
+ ```rbs
681
+ class Baz < Bar[String] # Class alias can be inherited
682
+ include Foo # Module alias can be included
683
+ end
684
+ ```
685
+
686
+ This is a definition corresponding to the following Ruby code.
687
+
688
+ ```ruby
689
+ Foo = Kernel
690
+
691
+ Bar = Array
692
+ ```
693
+
694
+ ### Interface declaration
695
+
696
+ Interface declaration can have parameters but allows only a few of the members.
697
+
698
+ ```rbs
699
+ interface _Hashing
700
+ def hash: () -> Integer
701
+ def eql?: (untyped) -> bool
702
+ end
703
+ ```
704
+
705
+ There are several limitations which are not described in the grammar.
706
+
707
+ 1. Interface cannot `include` modules
708
+ 2. Interface cannot have singleton method definitions
709
+
710
+ ```rbs
711
+ interface _Foo
712
+ include Bar # Error: cannot include modules
713
+ def self.new: () -> Foo # Error: cannot include singleton method definitions
714
+ end
715
+ ```
716
+
717
+ ### Type alias declaration
718
+
719
+ You can declare an alias of types.
720
+
721
+ ```rbs
722
+ type subject = Attendee | Speaker
723
+ type JSON::t = Integer | TrueClass | FalseClass | String | Hash[Symbol, t] | Array[t]
724
+ ```
725
+
726
+ Type alias can be generic like class, module, and interface.
727
+
728
+ ```rbs
729
+ type list[out T] = [T, list[T]] | nil
730
+ ```
731
+
732
+ * Alias types are not *classish-context* nor *self-context*
733
+
734
+ ### Constant type declaration
735
+
736
+ You can declare a constant.
737
+
738
+ ```rbs
739
+ Person::DefaultEmailAddress: String
740
+ ```
741
+
742
+ * Constant types are not *classish-context* nor *self-context*
743
+
744
+ ### Global type declaration
745
+
746
+ You can declare a global variable.
747
+
748
+ ```rbs
749
+ $LOAD_PATH: Array[String]
750
+ ```
751
+
752
+ * Constant types are not *classish-context* nor *self-context*
753
+
754
+ ### Generics
755
+
756
+ ```markdown
757
+ _module-type-parameter_ ::= _generics-unchecked_ _generics-variance_ _type-variable_ _generics-bound_ _default-type_
758
+
759
+ _method-type-param_ ::= _type-variable_ _generics-bound_
760
+
761
+ _generics-bound_ ::= (No type bound)
762
+ | `<` _type_ (The generics parameter is bounded)
763
+
764
+ _default-type_ ::= (No default type)
765
+ | `=` _type_ (The generics parameter has default type)
766
+
767
+ _generics-variance_ ::= (Invariant)
768
+ | `out` (Covariant)
769
+ | `in` (Contravariant)
770
+
771
+ _generics-unchecked_ ::= (Empty)
772
+ | `unchecked` (Skips variance annotation validation)
773
+ ```
774
+
775
+ RBS allows class/module/interface/type alias definitions and methods to be generic.
776
+
777
+ ```rbs
778
+ # Simple generic class definition
779
+ class Stack[T]
780
+ def push: (T) -> void
781
+
782
+ def pop: () -> T
783
+ end
784
+ ```
785
+
786
+ For classes with type parameters, you may specify if they are "invariant" (default), "covariant" (`out`) or "contravariant" (`in`). See [this definition of covariance and contravariance](https://en.wikipedia.org/wiki/Covariance_and_contravariance_(computer_science)).
787
+
788
+ For example, an `Array` of `String` can almost be considered to be an `Array` of `Object`, but not the reverse, so we can think of:
789
+
790
+ ```rbs
791
+ # The `T` type parameter is covariant.
792
+ class Array[out T]
793
+ # etc.
794
+ end
795
+ ```
796
+
797
+ There's a limitation with this for mutable objects (like arrays): a mutation could invalidate this.
798
+ If an `Array` of `String` is passed to a method as an `Array` of `Object`, and that method adds an `Integer` to the `Array`, the promise is broken.
799
+
800
+ In those cases, one must use the `unchecked` keyword:
801
+
802
+ ```rbs
803
+ # Skips the validation of variance of the type parameter `T`.
804
+ # The type safety prohibits `out` type parameters to appear at _negative_ position (== method parameter), but we want `Array` to have it.
805
+ class Array[unchecked out T]
806
+ def include?: (T) -> bool
807
+ end
808
+ ```
809
+
810
+ This is how `Array` is actually defined in RBS.
811
+
812
+ Note that RBS doesn't allow specifying variance related annotations to generic method types.
813
+
814
+ ```rbs
815
+ class Foo
816
+ def bar: [out T] () -> T # Syntax error
817
+ end
818
+ ```
819
+
820
+ You can also specify the _upper bound_ of the type parameter.
821
+
822
+ ```rbs
823
+ class PrettyPrint[T < _Output]
824
+ interface _Output
825
+ def <<: (String) -> void
826
+ end
827
+
828
+ attr_reader output: T
829
+ end
830
+ ```
831
+
832
+ If a type parameter has an upper bound, the type parameter must be instantiated with types that is a subtype of the upper bound.
833
+
834
+ ```rbs
835
+ type str_printer = PrettyPrint[String] # OK
836
+ type int_printer = PrettyPrint[Integer] # Type error
837
+ ```
838
+
839
+ The generics type parameter of modules, classes, interfaces, or type aliases can have a default type.
840
+
841
+ ```rbs
842
+ interface _Foo[T = untyped]
843
+ end
844
+
845
+ interface _Bar[T, S = untyped]
846
+ end
847
+
848
+ type foo = _Foo # equivalent to _Foo[untyped]
849
+ type bar = _Bar[String] # equivalent to _Bar[String, untyped]
850
+ ```
851
+
852
+ Type parameters with default types cannot appear before type parameters without default types. The generic method type parameters cannot have the default types.
853
+
854
+ ### Directives
855
+
856
+ Directives are placed at the top of a file and provides per-file-basis features.
857
+
858
+ ```markdown
859
+ _use-directive_ ::= `use` _use-clauses_
860
+
861
+ _use-clauses_ ::= _use-clause_ `,` ... `,` _use-clause_
862
+
863
+ _use-clause_ ::= _type-name_ # Single use clause
864
+ | _type-name_ `as` _simple-type-name_ # Single use clause with alias
865
+ | _namespace_ # Wildcard use clause
866
+ ```
867
+
868
+ The *use directive* defines relative type names that is an alias of other type names.
869
+ We can use the simple type names if it is declared with *use*.
870
+
871
+ ```rbs
872
+ use RBS::Namespace # => Defines `Namespace`
873
+ use RBS::TypeName as TN # => Defines `TN`
874
+ use RBS::AST::* # => Defines modules under `::RBS::AST::` namespace
875
+ ```
876
+
877
+ ### Comments
878
+
879
+ You can write single line comments. Comments must be on their own line. Comments can lead with whitespace.
880
+
881
+ ```rbs
882
+ # This if interface Foo
883
+ # Usage of Foo is bar
884
+ interface _Foo
885
+ # New foo is a method
886
+ # it will return foo.
887
+ def new: () -> Foo
888
+ end
889
+ ```
890
+
891
+ ### Annotations
892
+
893
+ Annotations are placed before declarations, members, and method types to mark up a metadata for the declaration, the member, or method types.
894
+ The meaning of annotations are defined by the toolchain (ex. steep).
895
+
896
+ ```markdown
897
+ _annotations_ ::= _annotation_ ...
898
+ _annotation_ ::= `%a{` _annotation-text_ `}` # Annotation using {}
899
+ | `%a(` _annotation-text_ `)` # Annotation using ()
900
+ | `%a[` _annotation-text_ `]` # Annotation using []
901
+ | `%a|` _annotation-text_ `|` # Annotation using ||
902
+ | `%a<` _annotation-text_ `>` # Annotation using <>
903
+
904
+ _annotation-text_ ::= /[^\x00]*/ # Any characters except NUL (and parenthesis)
905
+ ```