@ai-ecoverse/wasix-ruby 3.4.11-2 → 3.4.11-3

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 (1832) hide show
  1. package/PRESTAGE.md +38 -6
  2. package/bin/ruby +1 -0
  3. package/bin/ruby.wasm +0 -0
  4. package/lib/ruby/3.4.0/socket.rb +1790 -0
  5. package/lib/ruby/3.4.0/wasm32-wasi/rbconfig.rb +5 -5
  6. package/lib/ruby/3.4.11/English.gemspec +22 -0
  7. package/lib/ruby/3.4.11/English.rb +164 -0
  8. package/lib/ruby/3.4.11/benchmark.gemspec +32 -0
  9. package/lib/ruby/3.4.11/benchmark.rb +594 -0
  10. package/lib/ruby/3.4.11/bundled_gems.rb +248 -0
  11. package/lib/ruby/3.4.11/bundler/.document +1 -0
  12. package/lib/ruby/3.4.11/bundler/build_metadata.rb +43 -0
  13. package/lib/ruby/3.4.11/bundler/bundler.gemspec +45 -0
  14. package/lib/ruby/3.4.11/bundler/capistrano.rb +22 -0
  15. package/lib/ruby/3.4.11/bundler/checksum.rb +264 -0
  16. package/lib/ruby/3.4.11/bundler/ci_detector.rb +75 -0
  17. package/lib/ruby/3.4.11/bundler/cli/add.rb +49 -0
  18. package/lib/ruby/3.4.11/bundler/cli/binstubs.rb +57 -0
  19. package/lib/ruby/3.4.11/bundler/cli/cache.rb +43 -0
  20. package/lib/ruby/3.4.11/bundler/cli/check.rb +40 -0
  21. package/lib/ruby/3.4.11/bundler/cli/clean.rb +25 -0
  22. package/lib/ruby/3.4.11/bundler/cli/common.rb +138 -0
  23. package/lib/ruby/3.4.11/bundler/cli/config.rb +204 -0
  24. package/lib/ruby/3.4.11/bundler/cli/console.rb +42 -0
  25. package/lib/ruby/3.4.11/bundler/cli/doctor/diagnose.rb +167 -0
  26. package/lib/ruby/3.4.11/bundler/cli/doctor/ssl.rb +249 -0
  27. package/lib/ruby/3.4.11/bundler/cli/doctor.rb +33 -0
  28. package/lib/ruby/3.4.11/bundler/cli/exec.rb +89 -0
  29. package/lib/ruby/3.4.11/bundler/cli/fund.rb +36 -0
  30. package/lib/ruby/3.4.11/bundler/cli/gem.rb +467 -0
  31. package/lib/ruby/3.4.11/bundler/cli/info.rb +83 -0
  32. package/lib/ruby/3.4.11/bundler/cli/init.rb +51 -0
  33. package/lib/ruby/3.4.11/bundler/cli/inject.rb +60 -0
  34. package/lib/ruby/3.4.11/bundler/cli/install.rb +199 -0
  35. package/lib/ruby/3.4.11/bundler/cli/issue.rb +41 -0
  36. package/lib/ruby/3.4.11/bundler/cli/list.rb +66 -0
  37. package/lib/ruby/3.4.11/bundler/cli/lock.rb +94 -0
  38. package/lib/ruby/3.4.11/bundler/cli/open.rb +29 -0
  39. package/lib/ruby/3.4.11/bundler/cli/outdated.rb +297 -0
  40. package/lib/ruby/3.4.11/bundler/cli/platform.rb +48 -0
  41. package/lib/ruby/3.4.11/bundler/cli/plugin.rb +35 -0
  42. package/lib/ruby/3.4.11/bundler/cli/pristine.rb +60 -0
  43. package/lib/ruby/3.4.11/bundler/cli/remove.rb +17 -0
  44. package/lib/ruby/3.4.11/bundler/cli/show.rb +75 -0
  45. package/lib/ruby/3.4.11/bundler/cli/update.rb +123 -0
  46. package/lib/ruby/3.4.11/bundler/cli/viz.rb +31 -0
  47. package/lib/ruby/3.4.11/bundler/cli.rb +790 -0
  48. package/lib/ruby/3.4.11/bundler/compact_index_client/cache.rb +96 -0
  49. package/lib/ruby/3.4.11/bundler/compact_index_client/cache_file.rb +148 -0
  50. package/lib/ruby/3.4.11/bundler/compact_index_client/parser.rb +84 -0
  51. package/lib/ruby/3.4.11/bundler/compact_index_client/updater.rb +105 -0
  52. package/lib/ruby/3.4.11/bundler/compact_index_client.rb +97 -0
  53. package/lib/ruby/3.4.11/bundler/constants.rb +14 -0
  54. package/lib/ruby/3.4.11/bundler/current_ruby.rb +82 -0
  55. package/lib/ruby/3.4.11/bundler/definition.rb +1187 -0
  56. package/lib/ruby/3.4.11/bundler/dependency.rb +151 -0
  57. package/lib/ruby/3.4.11/bundler/deployment.rb +69 -0
  58. package/lib/ruby/3.4.11/bundler/deprecate.rb +44 -0
  59. package/lib/ruby/3.4.11/bundler/digest.rb +71 -0
  60. package/lib/ruby/3.4.11/bundler/dsl.rb +638 -0
  61. package/lib/ruby/3.4.11/bundler/endpoint_specification.rb +174 -0
  62. package/lib/ruby/3.4.11/bundler/env.rb +148 -0
  63. package/lib/ruby/3.4.11/bundler/environment_preserver.rb +68 -0
  64. package/lib/ruby/3.4.11/bundler/errors.rb +281 -0
  65. package/lib/ruby/3.4.11/bundler/feature_flag.rb +50 -0
  66. package/lib/ruby/3.4.11/bundler/fetcher/base.rb +52 -0
  67. package/lib/ruby/3.4.11/bundler/fetcher/compact_index.rb +120 -0
  68. package/lib/ruby/3.4.11/bundler/fetcher/dependency.rb +78 -0
  69. package/lib/ruby/3.4.11/bundler/fetcher/downloader.rb +91 -0
  70. package/lib/ruby/3.4.11/bundler/fetcher/gem_remote_fetcher.rb +16 -0
  71. package/lib/ruby/3.4.11/bundler/fetcher/index.rb +25 -0
  72. package/lib/ruby/3.4.11/bundler/fetcher.rb +331 -0
  73. package/lib/ruby/3.4.11/bundler/force_platform.rb +16 -0
  74. package/lib/ruby/3.4.11/bundler/friendly_errors.rb +126 -0
  75. package/lib/ruby/3.4.11/bundler/gem_helper.rb +237 -0
  76. package/lib/ruby/3.4.11/bundler/gem_helpers.rb +144 -0
  77. package/lib/ruby/3.4.11/bundler/gem_tasks.rb +7 -0
  78. package/lib/ruby/3.4.11/bundler/gem_version_promoter.rb +147 -0
  79. package/lib/ruby/3.4.11/bundler/graph.rb +152 -0
  80. package/lib/ruby/3.4.11/bundler/index.rb +205 -0
  81. package/lib/ruby/3.4.11/bundler/injector.rb +285 -0
  82. package/lib/ruby/3.4.11/bundler/inline.rb +98 -0
  83. package/lib/ruby/3.4.11/bundler/installer/gem_installer.rb +85 -0
  84. package/lib/ruby/3.4.11/bundler/installer/parallel_installer.rb +203 -0
  85. package/lib/ruby/3.4.11/bundler/installer/standalone.rb +113 -0
  86. package/lib/ruby/3.4.11/bundler/installer.rb +243 -0
  87. package/lib/ruby/3.4.11/bundler/lazy_specification.rb +243 -0
  88. package/lib/ruby/3.4.11/bundler/lockfile_generator.rb +104 -0
  89. package/lib/ruby/3.4.11/bundler/lockfile_parser.rb +300 -0
  90. package/lib/ruby/3.4.11/bundler/man/.document +1 -0
  91. package/lib/ruby/3.4.11/bundler/man/bundle-add.1 +76 -0
  92. package/lib/ruby/3.4.11/bundler/man/bundle-add.1.ronn +87 -0
  93. package/lib/ruby/3.4.11/bundler/man/bundle-binstubs.1 +33 -0
  94. package/lib/ruby/3.4.11/bundler/man/bundle-binstubs.1.ronn +44 -0
  95. package/lib/ruby/3.4.11/bundler/man/bundle-cache.1 +68 -0
  96. package/lib/ruby/3.4.11/bundler/man/bundle-cache.1.ronn +108 -0
  97. package/lib/ruby/3.4.11/bundler/man/bundle-check.1 +24 -0
  98. package/lib/ruby/3.4.11/bundler/man/bundle-check.1.ronn +31 -0
  99. package/lib/ruby/3.4.11/bundler/man/bundle-clean.1 +17 -0
  100. package/lib/ruby/3.4.11/bundler/man/bundle-clean.1.ronn +18 -0
  101. package/lib/ruby/3.4.11/bundler/man/bundle-config.1 +317 -0
  102. package/lib/ruby/3.4.11/bundler/man/bundle-config.1.ronn +408 -0
  103. package/lib/ruby/3.4.11/bundler/man/bundle-console.1 +33 -0
  104. package/lib/ruby/3.4.11/bundler/man/bundle-console.1.ronn +39 -0
  105. package/lib/ruby/3.4.11/bundler/man/bundle-doctor.1 +30 -0
  106. package/lib/ruby/3.4.11/bundler/man/bundle-doctor.1.ronn +33 -0
  107. package/lib/ruby/3.4.11/bundler/man/bundle-env.1 +9 -0
  108. package/lib/ruby/3.4.11/bundler/man/bundle-env.1.ronn +10 -0
  109. package/lib/ruby/3.4.11/bundler/man/bundle-exec.1 +107 -0
  110. package/lib/ruby/3.4.11/bundler/man/bundle-exec.1.ronn +154 -0
  111. package/lib/ruby/3.4.11/bundler/man/bundle-fund.1 +22 -0
  112. package/lib/ruby/3.4.11/bundler/man/bundle-fund.1.ronn +25 -0
  113. package/lib/ruby/3.4.11/bundler/man/bundle-gem.1 +87 -0
  114. package/lib/ruby/3.4.11/bundler/man/bundle-gem.1.ronn +149 -0
  115. package/lib/ruby/3.4.11/bundler/man/bundle-help.1 +9 -0
  116. package/lib/ruby/3.4.11/bundler/man/bundle-help.1.ronn +12 -0
  117. package/lib/ruby/3.4.11/bundler/man/bundle-info.1 +17 -0
  118. package/lib/ruby/3.4.11/bundler/man/bundle-info.1.ronn +21 -0
  119. package/lib/ruby/3.4.11/bundler/man/bundle-init.1 +20 -0
  120. package/lib/ruby/3.4.11/bundler/man/bundle-init.1.ronn +32 -0
  121. package/lib/ruby/3.4.11/bundler/man/bundle-inject.1 +31 -0
  122. package/lib/ruby/3.4.11/bundler/man/bundle-inject.1.ronn +32 -0
  123. package/lib/ruby/3.4.11/bundler/man/bundle-install.1 +218 -0
  124. package/lib/ruby/3.4.11/bundler/man/bundle-install.1.ronn +387 -0
  125. package/lib/ruby/3.4.11/bundler/man/bundle-issue.1 +45 -0
  126. package/lib/ruby/3.4.11/bundler/man/bundle-issue.1.ronn +37 -0
  127. package/lib/ruby/3.4.11/bundler/man/bundle-licenses.1 +9 -0
  128. package/lib/ruby/3.4.11/bundler/man/bundle-licenses.1.ronn +10 -0
  129. package/lib/ruby/3.4.11/bundler/man/bundle-list.1 +35 -0
  130. package/lib/ruby/3.4.11/bundler/man/bundle-list.1.ronn +36 -0
  131. package/lib/ruby/3.4.11/bundler/man/bundle-lock.1 +75 -0
  132. package/lib/ruby/3.4.11/bundler/man/bundle-lock.1.ronn +115 -0
  133. package/lib/ruby/3.4.11/bundler/man/bundle-open.1 +32 -0
  134. package/lib/ruby/3.4.11/bundler/man/bundle-open.1.ronn +28 -0
  135. package/lib/ruby/3.4.11/bundler/man/bundle-outdated.1 +103 -0
  136. package/lib/ruby/3.4.11/bundler/man/bundle-outdated.1.ronn +110 -0
  137. package/lib/ruby/3.4.11/bundler/man/bundle-platform.1 +49 -0
  138. package/lib/ruby/3.4.11/bundler/man/bundle-platform.1.ronn +49 -0
  139. package/lib/ruby/3.4.11/bundler/man/bundle-plugin.1 +58 -0
  140. package/lib/ruby/3.4.11/bundler/man/bundle-plugin.1.ronn +63 -0
  141. package/lib/ruby/3.4.11/bundler/man/bundle-pristine.1 +23 -0
  142. package/lib/ruby/3.4.11/bundler/man/bundle-pristine.1.ronn +34 -0
  143. package/lib/ruby/3.4.11/bundler/man/bundle-remove.1 +21 -0
  144. package/lib/ruby/3.4.11/bundler/man/bundle-remove.1.ronn +23 -0
  145. package/lib/ruby/3.4.11/bundler/man/bundle-show.1 +19 -0
  146. package/lib/ruby/3.4.11/bundler/man/bundle-show.1.ronn +25 -0
  147. package/lib/ruby/3.4.11/bundler/man/bundle-update.1 +281 -0
  148. package/lib/ruby/3.4.11/bundler/man/bundle-update.1.ronn +359 -0
  149. package/lib/ruby/3.4.11/bundler/man/bundle-version.1 +22 -0
  150. package/lib/ruby/3.4.11/bundler/man/bundle-version.1.ronn +24 -0
  151. package/lib/ruby/3.4.11/bundler/man/bundle-viz.1 +30 -0
  152. package/lib/ruby/3.4.11/bundler/man/bundle-viz.1.ronn +36 -0
  153. package/lib/ruby/3.4.11/bundler/man/bundle.1 +102 -0
  154. package/lib/ruby/3.4.11/bundler/man/bundle.1.ronn +116 -0
  155. package/lib/ruby/3.4.11/bundler/man/gemfile.5 +472 -0
  156. package/lib/ruby/3.4.11/bundler/man/gemfile.5.ronn +558 -0
  157. package/lib/ruby/3.4.11/bundler/man/index.txt +33 -0
  158. package/lib/ruby/3.4.11/bundler/match_metadata.rb +30 -0
  159. package/lib/ruby/3.4.11/bundler/match_platform.rb +23 -0
  160. package/lib/ruby/3.4.11/bundler/match_remote_metadata.rb +29 -0
  161. package/lib/ruby/3.4.11/bundler/materialization.rb +59 -0
  162. package/lib/ruby/3.4.11/bundler/mirror.rb +221 -0
  163. package/lib/ruby/3.4.11/bundler/plugin/api/source.rb +322 -0
  164. package/lib/ruby/3.4.11/bundler/plugin/api.rb +81 -0
  165. package/lib/ruby/3.4.11/bundler/plugin/dsl.rb +53 -0
  166. package/lib/ruby/3.4.11/bundler/plugin/events.rb +85 -0
  167. package/lib/ruby/3.4.11/bundler/plugin/index.rb +197 -0
  168. package/lib/ruby/3.4.11/bundler/plugin/installer/git.rb +34 -0
  169. package/lib/ruby/3.4.11/bundler/plugin/installer/path.rb +26 -0
  170. package/lib/ruby/3.4.11/bundler/plugin/installer/rubygems.rb +19 -0
  171. package/lib/ruby/3.4.11/bundler/plugin/installer.rb +132 -0
  172. package/lib/ruby/3.4.11/bundler/plugin/source_list.rb +31 -0
  173. package/lib/ruby/3.4.11/bundler/plugin.rb +378 -0
  174. package/lib/ruby/3.4.11/bundler/process_lock.rb +20 -0
  175. package/lib/ruby/3.4.11/bundler/remote_specification.rb +126 -0
  176. package/lib/ruby/3.4.11/bundler/resolver/base.rb +118 -0
  177. package/lib/ruby/3.4.11/bundler/resolver/candidate.rb +85 -0
  178. package/lib/ruby/3.4.11/bundler/resolver/incompatibility.rb +15 -0
  179. package/lib/ruby/3.4.11/bundler/resolver/package.rb +94 -0
  180. package/lib/ruby/3.4.11/bundler/resolver/root.rb +25 -0
  181. package/lib/ruby/3.4.11/bundler/resolver/spec_group.rb +74 -0
  182. package/lib/ruby/3.4.11/bundler/resolver/strategy.rb +40 -0
  183. package/lib/ruby/3.4.11/bundler/resolver.rb +526 -0
  184. package/lib/ruby/3.4.11/bundler/retry.rb +66 -0
  185. package/lib/ruby/3.4.11/bundler/ruby_dsl.rb +62 -0
  186. package/lib/ruby/3.4.11/bundler/ruby_version.rb +137 -0
  187. package/lib/ruby/3.4.11/bundler/rubygems_ext.rb +485 -0
  188. package/lib/ruby/3.4.11/bundler/rubygems_gem_installer.rb +172 -0
  189. package/lib/ruby/3.4.11/bundler/rubygems_integration.rb +455 -0
  190. package/lib/ruby/3.4.11/bundler/runtime.rb +320 -0
  191. package/lib/ruby/3.4.11/bundler/safe_marshal.rb +31 -0
  192. package/lib/ruby/3.4.11/bundler/self_manager.rb +206 -0
  193. package/lib/ruby/3.4.11/bundler/settings/validator.rb +102 -0
  194. package/lib/ruby/3.4.11/bundler/settings.rb +599 -0
  195. package/lib/ruby/3.4.11/bundler/setup.rb +39 -0
  196. package/lib/ruby/3.4.11/bundler/shared_helpers.rb +398 -0
  197. package/lib/ruby/3.4.11/bundler/similarity_detector.rb +63 -0
  198. package/lib/ruby/3.4.11/bundler/source/gemspec.rb +15 -0
  199. package/lib/ruby/3.4.11/bundler/source/git/git_proxy.rb +472 -0
  200. package/lib/ruby/3.4.11/bundler/source/git.rb +452 -0
  201. package/lib/ruby/3.4.11/bundler/source/metadata.rb +63 -0
  202. package/lib/ruby/3.4.11/bundler/source/path/installer.rb +53 -0
  203. package/lib/ruby/3.4.11/bundler/source/path.rb +250 -0
  204. package/lib/ruby/3.4.11/bundler/source/rubygems/remote.rb +76 -0
  205. package/lib/ruby/3.4.11/bundler/source/rubygems.rb +522 -0
  206. package/lib/ruby/3.4.11/bundler/source/rubygems_aggregate.rb +68 -0
  207. package/lib/ruby/3.4.11/bundler/source.rb +118 -0
  208. package/lib/ruby/3.4.11/bundler/source_list.rb +273 -0
  209. package/lib/ruby/3.4.11/bundler/source_map.rb +71 -0
  210. package/lib/ruby/3.4.11/bundler/spec_set.rb +395 -0
  211. package/lib/ruby/3.4.11/bundler/stub_specification.rb +146 -0
  212. package/lib/ruby/3.4.11/bundler/templates/.document +1 -0
  213. package/lib/ruby/3.4.11/bundler/templates/Executable +27 -0
  214. package/lib/ruby/3.4.11/bundler/templates/Executable.bundler +109 -0
  215. package/lib/ruby/3.4.11/bundler/templates/Executable.standalone +14 -0
  216. package/lib/ruby/3.4.11/bundler/templates/Gemfile +5 -0
  217. package/lib/ruby/3.4.11/bundler/templates/newgem/CHANGELOG.md.tt +5 -0
  218. package/lib/ruby/3.4.11/bundler/templates/newgem/CODE_OF_CONDUCT.md.tt +132 -0
  219. package/lib/ruby/3.4.11/bundler/templates/newgem/Cargo.toml.tt +7 -0
  220. package/lib/ruby/3.4.11/bundler/templates/newgem/Gemfile.tt +24 -0
  221. package/lib/ruby/3.4.11/bundler/templates/newgem/LICENSE.txt.tt +21 -0
  222. package/lib/ruby/3.4.11/bundler/templates/newgem/README.md.tt +49 -0
  223. package/lib/ruby/3.4.11/bundler/templates/newgem/Rakefile.tt +67 -0
  224. package/lib/ruby/3.4.11/bundler/templates/newgem/bin/console.tt +11 -0
  225. package/lib/ruby/{gems/3.4.0/gems/nkf-0.2.0/bin/setup → 3.4.11/bundler/templates/newgem/bin/setup.tt} +0 -0
  226. package/lib/ruby/3.4.11/bundler/templates/newgem/circleci/config.yml.tt +25 -0
  227. package/lib/ruby/3.4.11/bundler/templates/newgem/exe/newgem.tt +3 -0
  228. package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/Cargo.toml.tt +15 -0
  229. package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/extconf-c.rb.tt +10 -0
  230. package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/extconf-rust.rb.tt +6 -0
  231. package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/newgem.c.tt +9 -0
  232. package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/newgem.h.tt +6 -0
  233. package/lib/ruby/3.4.11/bundler/templates/newgem/ext/newgem/src/lib.rs.tt +12 -0
  234. package/lib/ruby/3.4.11/bundler/templates/newgem/github/workflows/main.yml.tt +37 -0
  235. package/lib/ruby/3.4.11/bundler/templates/newgem/gitignore.tt +23 -0
  236. package/lib/ruby/3.4.11/bundler/templates/newgem/gitlab-ci.yml.tt +18 -0
  237. package/lib/ruby/3.4.11/bundler/templates/newgem/lib/newgem/version.rb.tt +9 -0
  238. package/lib/ruby/3.4.11/bundler/templates/newgem/lib/newgem.rb.tt +15 -0
  239. package/lib/ruby/3.4.11/bundler/templates/newgem/newgem.gemspec.tt +52 -0
  240. package/lib/ruby/3.4.11/bundler/templates/newgem/rspec.tt +3 -0
  241. package/lib/ruby/3.4.11/bundler/templates/newgem/rubocop.yml.tt +8 -0
  242. package/lib/ruby/3.4.11/bundler/templates/newgem/sig/newgem.rbs.tt +8 -0
  243. package/lib/ruby/3.4.11/bundler/templates/newgem/spec/newgem_spec.rb.tt +11 -0
  244. package/lib/ruby/3.4.11/bundler/templates/newgem/spec/spec_helper.rb.tt +15 -0
  245. package/lib/ruby/3.4.11/bundler/templates/newgem/standard.yml.tt +3 -0
  246. package/lib/ruby/3.4.11/bundler/templates/newgem/test/minitest/test_helper.rb.tt +6 -0
  247. package/lib/ruby/3.4.11/bundler/templates/newgem/test/minitest/test_newgem.rb.tt +13 -0
  248. package/lib/ruby/3.4.11/bundler/templates/newgem/test/test-unit/newgem_test.rb.tt +15 -0
  249. package/lib/ruby/3.4.11/bundler/templates/newgem/test/test-unit/test_helper.rb.tt +6 -0
  250. package/lib/ruby/3.4.11/bundler/ui/rg_proxy.rb +19 -0
  251. package/lib/ruby/3.4.11/bundler/ui/shell.rb +187 -0
  252. package/lib/ruby/3.4.11/bundler/ui/silent.rb +96 -0
  253. package/lib/ruby/3.4.11/bundler/ui.rb +9 -0
  254. package/lib/ruby/3.4.11/bundler/uri_credentials_filter.rb +43 -0
  255. package/lib/ruby/3.4.11/bundler/uri_normalizer.rb +23 -0
  256. package/lib/ruby/3.4.11/bundler/vendor/.document +1 -0
  257. package/lib/ruby/3.4.11/bundler/vendor/connection_pool/.document +1 -0
  258. package/lib/ruby/3.4.11/bundler/vendor/connection_pool/lib/connection_pool/timed_stack.rb +224 -0
  259. package/lib/ruby/3.4.11/bundler/vendor/connection_pool/lib/connection_pool/version.rb +3 -0
  260. package/lib/ruby/3.4.11/bundler/vendor/connection_pool/lib/connection_pool/wrapper.rb +56 -0
  261. package/lib/ruby/3.4.11/bundler/vendor/connection_pool/lib/connection_pool.rb +186 -0
  262. package/lib/ruby/3.4.11/bundler/vendor/fileutils/.document +1 -0
  263. package/lib/ruby/3.4.11/bundler/vendor/fileutils/lib/fileutils.rb +2696 -0
  264. package/lib/ruby/3.4.11/bundler/vendor/net-http-persistent/.document +1 -0
  265. package/lib/ruby/3.4.11/bundler/vendor/net-http-persistent/lib/net/http/persistent/connection.rb +41 -0
  266. package/lib/ruby/3.4.11/bundler/vendor/net-http-persistent/lib/net/http/persistent/pool.rb +65 -0
  267. package/lib/ruby/3.4.11/bundler/vendor/net-http-persistent/lib/net/http/persistent/timed_stack_multi.rb +79 -0
  268. package/lib/ruby/3.4.11/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb +1111 -0
  269. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/.document +1 -0
  270. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/assignment.rb +20 -0
  271. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/basic_package_source.rb +169 -0
  272. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/failure_writer.rb +182 -0
  273. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/incompatibility.rb +150 -0
  274. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/package.rb +43 -0
  275. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/partial_solution.rb +121 -0
  276. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/rubygems.rb +45 -0
  277. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/solve_failure.rb +19 -0
  278. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/static_package_source.rb +61 -0
  279. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/strategy.rb +42 -0
  280. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/term.rb +105 -0
  281. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/version.rb +3 -0
  282. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/version_constraint.rb +129 -0
  283. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/version_range.rb +423 -0
  284. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/version_solver.rb +236 -0
  285. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub/version_union.rb +178 -0
  286. package/lib/ruby/3.4.11/bundler/vendor/pub_grub/lib/pub_grub.rb +31 -0
  287. package/lib/ruby/3.4.11/bundler/vendor/securerandom/.document +1 -0
  288. package/lib/ruby/3.4.11/bundler/vendor/securerandom/lib/securerandom.rb +102 -0
  289. package/lib/ruby/3.4.11/bundler/vendor/thor/.document +1 -0
  290. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/create_file.rb +105 -0
  291. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/create_link.rb +61 -0
  292. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/directory.rb +108 -0
  293. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/empty_directory.rb +143 -0
  294. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +371 -0
  295. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions/inject_into_file.rb +130 -0
  296. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/actions.rb +340 -0
  297. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/base.rb +825 -0
  298. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/command.rb +151 -0
  299. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb +107 -0
  300. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/error.rb +106 -0
  301. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/group.rb +292 -0
  302. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/invocation.rb +178 -0
  303. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/line_editor/basic.rb +37 -0
  304. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/line_editor/readline.rb +88 -0
  305. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/line_editor.rb +17 -0
  306. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/nested_context.rb +29 -0
  307. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/parser/argument.rb +86 -0
  308. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/parser/arguments.rb +195 -0
  309. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/parser/option.rb +178 -0
  310. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/parser/options.rb +294 -0
  311. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/parser.rb +4 -0
  312. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/rake_compat.rb +72 -0
  313. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/runner.rb +335 -0
  314. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/basic.rb +388 -0
  315. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/color.rb +112 -0
  316. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/column_printer.rb +29 -0
  317. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/html.rb +81 -0
  318. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/table_printer.rb +118 -0
  319. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/terminal.rb +42 -0
  320. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell/wrapped_printer.rb +38 -0
  321. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/shell.rb +81 -0
  322. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/util.rb +285 -0
  323. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor/version.rb +3 -0
  324. package/lib/ruby/3.4.11/bundler/vendor/thor/lib/thor.rb +674 -0
  325. package/lib/ruby/3.4.11/bundler/vendor/tsort/.document +1 -0
  326. package/lib/ruby/3.4.11/bundler/vendor/tsort/lib/tsort.rb +455 -0
  327. package/lib/ruby/3.4.11/bundler/vendor/uri/.document +1 -0
  328. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/common.rb +880 -0
  329. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/file.rb +100 -0
  330. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/ftp.rb +267 -0
  331. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/generic.rb +1592 -0
  332. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/http.rb +125 -0
  333. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/https.rb +23 -0
  334. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/ldap.rb +261 -0
  335. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/ldaps.rb +22 -0
  336. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/mailto.rb +293 -0
  337. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/rfc2396_parser.rb +546 -0
  338. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/rfc3986_parser.rb +206 -0
  339. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/version.rb +6 -0
  340. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/ws.rb +83 -0
  341. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri/wss.rb +23 -0
  342. package/lib/ruby/3.4.11/bundler/vendor/uri/lib/uri.rb +104 -0
  343. package/lib/ruby/3.4.11/bundler/vendored_fileutils.rb +4 -0
  344. package/lib/ruby/3.4.11/bundler/vendored_net_http.rb +23 -0
  345. package/lib/ruby/3.4.11/bundler/vendored_persistent.rb +11 -0
  346. package/lib/ruby/3.4.11/bundler/vendored_pub_grub.rb +4 -0
  347. package/lib/ruby/3.4.11/bundler/vendored_securerandom.rb +12 -0
  348. package/lib/ruby/3.4.11/bundler/vendored_thor.rb +8 -0
  349. package/lib/ruby/3.4.11/bundler/vendored_timeout.rb +12 -0
  350. package/lib/ruby/3.4.11/bundler/vendored_tsort.rb +4 -0
  351. package/lib/ruby/3.4.11/bundler/vendored_uri.rb +21 -0
  352. package/lib/ruby/3.4.11/bundler/version.rb +13 -0
  353. package/lib/ruby/3.4.11/bundler/vlad.rb +17 -0
  354. package/lib/ruby/3.4.11/bundler/worker.rb +117 -0
  355. package/lib/ruby/3.4.11/bundler/yaml_serializer.rb +98 -0
  356. package/lib/ruby/3.4.11/bundler.rb +701 -0
  357. package/lib/ruby/3.4.11/cgi/cgi.gemspec +43 -0
  358. package/lib/ruby/3.4.11/cgi/cookie.rb +210 -0
  359. package/lib/ruby/3.4.11/cgi/core.rb +900 -0
  360. package/lib/ruby/3.4.11/cgi/html.rb +1035 -0
  361. package/lib/ruby/3.4.11/cgi/session/pstore.rb +91 -0
  362. package/lib/ruby/3.4.11/cgi/session.rb +562 -0
  363. package/lib/ruby/3.4.11/cgi/util.rb +258 -0
  364. package/lib/ruby/3.4.11/cgi.rb +297 -0
  365. package/lib/ruby/3.4.11/delegate.gemspec +29 -0
  366. package/lib/ruby/3.4.11/delegate.rb +444 -0
  367. package/lib/ruby/3.4.11/did_you_mean/core_ext/name_error.rb +57 -0
  368. package/lib/ruby/3.4.11/did_you_mean/did_you_mean.gemspec +25 -0
  369. package/lib/ruby/3.4.11/did_you_mean/experimental.rb +2 -0
  370. package/lib/ruby/3.4.11/did_you_mean/formatter.rb +44 -0
  371. package/lib/ruby/3.4.11/did_you_mean/formatters/plain_formatter.rb +4 -0
  372. package/lib/ruby/3.4.11/did_you_mean/formatters/verbose_formatter.rb +10 -0
  373. package/lib/ruby/3.4.11/did_you_mean/jaro_winkler.rb +84 -0
  374. package/lib/ruby/3.4.11/did_you_mean/levenshtein.rb +57 -0
  375. package/lib/ruby/3.4.11/did_you_mean/spell_checker.rb +46 -0
  376. package/lib/ruby/3.4.11/did_you_mean/spell_checkers/key_error_checker.rb +28 -0
  377. package/lib/ruby/3.4.11/did_you_mean/spell_checkers/method_name_checker.rb +79 -0
  378. package/lib/ruby/3.4.11/did_you_mean/spell_checkers/name_error_checkers/class_name_checker.rb +49 -0
  379. package/lib/ruby/3.4.11/did_you_mean/spell_checkers/name_error_checkers/variable_name_checker.rb +85 -0
  380. package/lib/ruby/3.4.11/did_you_mean/spell_checkers/name_error_checkers.rb +20 -0
  381. package/lib/ruby/3.4.11/did_you_mean/spell_checkers/null_checker.rb +6 -0
  382. package/lib/ruby/3.4.11/did_you_mean/spell_checkers/pattern_key_name_checker.rb +28 -0
  383. package/lib/ruby/3.4.11/did_you_mean/spell_checkers/require_path_checker.rb +39 -0
  384. package/lib/ruby/3.4.11/did_you_mean/tree_spell_checker.rb +109 -0
  385. package/lib/ruby/3.4.11/did_you_mean/verbose.rb +2 -0
  386. package/lib/ruby/3.4.11/did_you_mean/version.rb +3 -0
  387. package/lib/ruby/3.4.11/did_you_mean.rb +131 -0
  388. package/lib/ruby/3.4.11/erb/compiler.rb +472 -0
  389. package/lib/ruby/3.4.11/erb/def_method.rb +47 -0
  390. package/lib/ruby/3.4.11/erb/util.rb +63 -0
  391. package/lib/ruby/3.4.11/erb/version.rb +5 -0
  392. package/lib/ruby/3.4.11/erb.gemspec +38 -0
  393. package/lib/ruby/3.4.11/erb.rb +509 -0
  394. package/lib/ruby/3.4.11/error_highlight/base.rb +830 -0
  395. package/lib/ruby/3.4.11/error_highlight/core_ext.rb +47 -0
  396. package/lib/ruby/3.4.11/error_highlight/error_highlight.gemspec +27 -0
  397. package/lib/ruby/3.4.11/error_highlight/formatter.rb +74 -0
  398. package/lib/ruby/3.4.11/error_highlight/version.rb +3 -0
  399. package/lib/ruby/3.4.11/error_highlight.rb +2 -0
  400. package/lib/ruby/3.4.11/fileutils.gemspec +31 -0
  401. package/lib/ruby/3.4.11/fileutils.rb +2696 -0
  402. package/lib/ruby/3.4.11/find.gemspec +29 -0
  403. package/lib/ruby/3.4.11/find.rb +90 -0
  404. package/lib/ruby/3.4.11/forwardable/forwardable.gemspec +26 -0
  405. package/lib/ruby/3.4.11/forwardable/impl.rb +17 -0
  406. package/lib/ruby/3.4.11/forwardable.rb +321 -0
  407. package/lib/ruby/3.4.11/ipaddr.gemspec +36 -0
  408. package/lib/ruby/3.4.11/ipaddr.rb +841 -0
  409. package/lib/ruby/3.4.11/irb/cmd/nop.rb +4 -0
  410. package/lib/ruby/3.4.11/irb/color.rb +262 -0
  411. package/lib/ruby/3.4.11/irb/color_printer.rb +55 -0
  412. package/lib/ruby/3.4.11/irb/command/backtrace.rb +17 -0
  413. package/lib/ruby/3.4.11/irb/command/base.rb +60 -0
  414. package/lib/ruby/3.4.11/irb/command/break.rb +17 -0
  415. package/lib/ruby/3.4.11/irb/command/catch.rb +17 -0
  416. package/lib/ruby/3.4.11/irb/command/cd.rb +51 -0
  417. package/lib/ruby/3.4.11/irb/command/chws.rb +40 -0
  418. package/lib/ruby/3.4.11/irb/command/context.rb +16 -0
  419. package/lib/ruby/3.4.11/irb/command/continue.rb +17 -0
  420. package/lib/ruby/3.4.11/irb/command/debug.rb +73 -0
  421. package/lib/ruby/3.4.11/irb/command/delete.rb +17 -0
  422. package/lib/ruby/3.4.11/irb/command/disable_irb.rb +19 -0
  423. package/lib/ruby/3.4.11/irb/command/edit.rb +63 -0
  424. package/lib/ruby/3.4.11/irb/command/exit.rb +18 -0
  425. package/lib/ruby/3.4.11/irb/command/finish.rb +17 -0
  426. package/lib/ruby/3.4.11/irb/command/force_exit.rb +18 -0
  427. package/lib/ruby/3.4.11/irb/command/help.rb +83 -0
  428. package/lib/ruby/3.4.11/irb/command/history.rb +45 -0
  429. package/lib/ruby/3.4.11/irb/command/info.rb +17 -0
  430. package/lib/ruby/3.4.11/irb/command/internal_helpers.rb +27 -0
  431. package/lib/ruby/3.4.11/irb/command/irb_info.rb +33 -0
  432. package/lib/ruby/3.4.11/irb/command/load.rb +91 -0
  433. package/lib/ruby/3.4.11/irb/command/ls.rb +167 -0
  434. package/lib/ruby/3.4.11/irb/command/measure.rb +49 -0
  435. package/lib/ruby/3.4.11/irb/command/next.rb +17 -0
  436. package/lib/ruby/3.4.11/irb/command/pushws.rb +65 -0
  437. package/lib/ruby/3.4.11/irb/command/show_doc.rb +51 -0
  438. package/lib/ruby/3.4.11/irb/command/show_source.rb +74 -0
  439. package/lib/ruby/3.4.11/irb/command/step.rb +17 -0
  440. package/lib/ruby/3.4.11/irb/command/subirb.rb +123 -0
  441. package/lib/ruby/3.4.11/irb/command/whereami.rb +23 -0
  442. package/lib/ruby/3.4.11/irb/command.rb +23 -0
  443. package/lib/ruby/3.4.11/irb/completion.rb +504 -0
  444. package/lib/ruby/3.4.11/irb/context.rb +716 -0
  445. package/lib/ruby/3.4.11/irb/debug/ui.rb +101 -0
  446. package/lib/ruby/3.4.11/irb/debug.rb +127 -0
  447. package/lib/ruby/3.4.11/irb/default_commands.rb +276 -0
  448. package/lib/ruby/3.4.11/irb/easter-egg.rb +152 -0
  449. package/lib/ruby/3.4.11/irb/ext/change-ws.rb +37 -0
  450. package/lib/ruby/3.4.11/irb/ext/eval_history.rb +149 -0
  451. package/lib/ruby/3.4.11/irb/ext/loader.rb +127 -0
  452. package/lib/ruby/3.4.11/irb/ext/multi-irb.rb +258 -0
  453. package/lib/ruby/3.4.11/irb/ext/tracer.rb +39 -0
  454. package/lib/ruby/3.4.11/irb/ext/use-loader.rb +67 -0
  455. package/lib/ruby/3.4.11/irb/ext/workspaces.rb +36 -0
  456. package/lib/ruby/3.4.11/irb/frame.rb +80 -0
  457. package/lib/ruby/3.4.11/irb/help.rb +28 -0
  458. package/lib/ruby/3.4.11/irb/helper_method/base.rb +16 -0
  459. package/lib/ruby/3.4.11/irb/helper_method/conf.rb +11 -0
  460. package/lib/ruby/3.4.11/irb/helper_method.rb +29 -0
  461. package/lib/ruby/3.4.11/irb/history.rb +112 -0
  462. package/lib/ruby/3.4.11/irb/init.rb +538 -0
  463. package/lib/ruby/3.4.11/irb/input-method.rb +515 -0
  464. package/lib/ruby/3.4.11/irb/inspector.rb +131 -0
  465. package/lib/ruby/3.4.11/irb/irb.gemspec +46 -0
  466. package/lib/ruby/3.4.11/irb/lc/error.rb +52 -0
  467. package/lib/ruby/3.4.11/irb/lc/help-message +55 -0
  468. package/lib/ruby/3.4.11/irb/lc/ja/error.rb +53 -0
  469. package/lib/ruby/3.4.11/irb/lc/ja/help-message +58 -0
  470. package/lib/ruby/3.4.11/irb/locale.rb +153 -0
  471. package/lib/ruby/3.4.11/irb/nesting_parser.rb +239 -0
  472. package/lib/ruby/3.4.11/irb/notifier.rb +230 -0
  473. package/lib/ruby/3.4.11/irb/output-method.rb +80 -0
  474. package/lib/ruby/3.4.11/irb/pager.rb +100 -0
  475. package/lib/ruby/3.4.11/irb/ruby-lex.rb +476 -0
  476. package/lib/ruby/3.4.11/irb/ruby_logo.aa +118 -0
  477. package/lib/ruby/3.4.11/irb/source_finder.rb +138 -0
  478. package/lib/ruby/3.4.11/irb/statement.rb +80 -0
  479. package/lib/ruby/3.4.11/irb/version.rb +11 -0
  480. package/lib/ruby/3.4.11/irb/workspace.rb +171 -0
  481. package/lib/ruby/3.4.11/irb/ws-for-case-2.rb +9 -0
  482. package/lib/ruby/3.4.11/irb/xmp.rb +164 -0
  483. package/lib/ruby/3.4.11/irb.rb +1593 -0
  484. package/lib/ruby/3.4.11/logger/errors.rb +9 -0
  485. package/lib/ruby/3.4.11/logger/formatter.rb +36 -0
  486. package/lib/ruby/3.4.11/logger/log_device.rb +236 -0
  487. package/lib/ruby/3.4.11/logger/logger.gemspec +22 -0
  488. package/lib/ruby/3.4.11/logger/period.rb +47 -0
  489. package/lib/ruby/3.4.11/logger/severity.rb +38 -0
  490. package/lib/ruby/3.4.11/logger/version.rb +5 -0
  491. package/lib/ruby/3.4.11/logger.rb +761 -0
  492. package/lib/ruby/3.4.11/mkmf.rb +3045 -0
  493. package/lib/ruby/3.4.11/net/http/exceptions.rb +34 -0
  494. package/lib/ruby/3.4.11/net/http/generic_request.rb +414 -0
  495. package/lib/ruby/3.4.11/net/http/header.rb +981 -0
  496. package/lib/ruby/3.4.11/net/http/net-http.gemspec +39 -0
  497. package/lib/ruby/3.4.11/net/http/proxy_delta.rb +17 -0
  498. package/lib/ruby/3.4.11/net/http/request.rb +88 -0
  499. package/lib/ruby/3.4.11/net/http/requests.rb +430 -0
  500. package/lib/ruby/3.4.11/net/http/response.rb +738 -0
  501. package/lib/ruby/3.4.11/net/http/responses.rb +1174 -0
  502. package/lib/ruby/3.4.11/net/http/status.rb +84 -0
  503. package/lib/ruby/3.4.11/net/http.rb +2574 -0
  504. package/lib/ruby/3.4.11/net/https.rb +23 -0
  505. package/lib/ruby/3.4.11/net/net-protocol.gemspec +34 -0
  506. package/lib/ruby/3.4.11/net/protocol.rb +544 -0
  507. package/lib/ruby/3.4.11/open-uri.gemspec +32 -0
  508. package/lib/ruby/3.4.11/open-uri.rb +895 -0
  509. package/lib/ruby/3.4.11/open3/open3.gemspec +33 -0
  510. package/lib/ruby/3.4.11/open3/version.rb +3 -0
  511. package/lib/ruby/3.4.11/open3.rb +1410 -0
  512. package/lib/ruby/3.4.11/optionparser.rb +2 -0
  513. package/lib/ruby/3.4.11/optparse/ac.rb +70 -0
  514. package/lib/ruby/3.4.11/optparse/date.rb +18 -0
  515. package/lib/ruby/3.4.11/optparse/kwargs.rb +27 -0
  516. package/lib/ruby/3.4.11/optparse/optparse.gemspec +31 -0
  517. package/lib/ruby/3.4.11/optparse/shellwords.rb +7 -0
  518. package/lib/ruby/3.4.11/optparse/time.rb +11 -0
  519. package/lib/ruby/3.4.11/optparse/uri.rb +7 -0
  520. package/lib/ruby/3.4.11/optparse/version.rb +80 -0
  521. package/lib/ruby/3.4.11/optparse.rb +2429 -0
  522. package/lib/ruby/3.4.11/ostruct.gemspec +24 -0
  523. package/lib/ruby/3.4.11/ostruct.rb +489 -0
  524. package/lib/ruby/3.4.11/pp.gemspec +35 -0
  525. package/lib/ruby/3.4.11/pp.rb +699 -0
  526. package/lib/ruby/3.4.11/prettyprint.gemspec +29 -0
  527. package/lib/ruby/3.4.11/prettyprint.rb +558 -0
  528. package/lib/ruby/3.4.11/prism/compiler.rb +801 -0
  529. package/lib/ruby/3.4.11/prism/desugar_compiler.rb +392 -0
  530. package/lib/ruby/3.4.11/prism/dispatcher.rb +2210 -0
  531. package/lib/ruby/3.4.11/prism/dsl.rb +1003 -0
  532. package/lib/ruby/3.4.11/prism/ffi.rb +570 -0
  533. package/lib/ruby/3.4.11/prism/inspect_visitor.rb +2392 -0
  534. package/lib/ruby/3.4.11/prism/lex_compat.rb +928 -0
  535. package/lib/ruby/3.4.11/prism/mutation_compiler.rb +772 -0
  536. package/lib/ruby/3.4.11/prism/node.rb +18816 -0
  537. package/lib/ruby/3.4.11/prism/node_ext.rb +511 -0
  538. package/lib/ruby/3.4.11/prism/pack.rb +230 -0
  539. package/lib/ruby/3.4.11/prism/parse_result/comments.rb +188 -0
  540. package/lib/ruby/3.4.11/prism/parse_result/errors.rb +66 -0
  541. package/lib/ruby/3.4.11/prism/parse_result/newlines.rb +155 -0
  542. package/lib/ruby/3.4.11/prism/parse_result.rb +911 -0
  543. package/lib/ruby/3.4.11/prism/pattern.rb +269 -0
  544. package/lib/ruby/3.4.11/prism/polyfill/append_as_bytes.rb +15 -0
  545. package/lib/ruby/3.4.11/prism/polyfill/byteindex.rb +13 -0
  546. package/lib/ruby/3.4.11/prism/polyfill/scan_byte.rb +14 -0
  547. package/lib/ruby/3.4.11/prism/polyfill/unpack1.rb +14 -0
  548. package/lib/ruby/3.4.11/prism/polyfill/warn.rb +36 -0
  549. package/lib/ruby/3.4.11/prism/prism.gemspec +174 -0
  550. package/lib/ruby/3.4.11/prism/reflection.rb +416 -0
  551. package/lib/ruby/3.4.11/prism/relocation.rb +505 -0
  552. package/lib/ruby/3.4.11/prism/serialize.rb +2400 -0
  553. package/lib/ruby/3.4.11/prism/string_query.rb +31 -0
  554. package/lib/ruby/3.4.11/prism/translation/parser/builder.rb +62 -0
  555. package/lib/ruby/3.4.11/prism/translation/parser/compiler.rb +2234 -0
  556. package/lib/ruby/3.4.11/prism/translation/parser/lexer.rb +820 -0
  557. package/lib/ruby/3.4.11/prism/translation/parser.rb +374 -0
  558. package/lib/ruby/3.4.11/prism/translation/parser33.rb +13 -0
  559. package/lib/ruby/3.4.11/prism/translation/parser34.rb +13 -0
  560. package/lib/ruby/3.4.11/prism/translation/parser35.rb +13 -0
  561. package/lib/ruby/3.4.11/prism/translation/parser_current.rb +24 -0
  562. package/lib/ruby/3.4.11/prism/translation/ripper/sexp.rb +126 -0
  563. package/lib/ruby/3.4.11/prism/translation/ripper/shim.rb +5 -0
  564. package/lib/ruby/3.4.11/prism/translation/ripper.rb +3474 -0
  565. package/lib/ruby/3.4.11/prism/translation/ruby_parser.rb +1929 -0
  566. package/lib/ruby/3.4.11/prism/translation.rb +16 -0
  567. package/lib/ruby/3.4.11/prism/visitor.rb +813 -0
  568. package/lib/ruby/3.4.11/prism.rb +91 -0
  569. package/lib/ruby/3.4.11/pstore.gemspec +32 -0
  570. package/lib/ruby/3.4.11/pstore.rb +736 -0
  571. package/lib/ruby/3.4.11/random/formatter.rb +372 -0
  572. package/lib/ruby/3.4.11/rdoc/.document +2 -0
  573. package/lib/ruby/3.4.11/rdoc/code_object/alias.rb +104 -0
  574. package/lib/ruby/3.4.11/rdoc/code_object/anon_class.rb +10 -0
  575. package/lib/ruby/3.4.11/rdoc/code_object/any_method.rb +374 -0
  576. package/lib/ruby/3.4.11/rdoc/code_object/attr.rb +172 -0
  577. package/lib/ruby/3.4.11/rdoc/code_object/class_module.rb +888 -0
  578. package/lib/ruby/3.4.11/rdoc/code_object/constant.rb +186 -0
  579. package/lib/ruby/3.4.11/rdoc/code_object/context/section.rb +175 -0
  580. package/lib/ruby/3.4.11/rdoc/code_object/context.rb +1222 -0
  581. package/lib/ruby/3.4.11/rdoc/code_object/extend.rb +9 -0
  582. package/lib/ruby/3.4.11/rdoc/code_object/ghost_method.rb +6 -0
  583. package/lib/ruby/3.4.11/rdoc/code_object/include.rb +9 -0
  584. package/lib/ruby/3.4.11/rdoc/code_object/meta_method.rb +6 -0
  585. package/lib/ruby/3.4.11/rdoc/code_object/method_attr.rb +410 -0
  586. package/lib/ruby/3.4.11/rdoc/code_object/mixin.rb +120 -0
  587. package/lib/ruby/3.4.11/rdoc/code_object/normal_class.rb +92 -0
  588. package/lib/ruby/3.4.11/rdoc/code_object/normal_module.rb +73 -0
  589. package/lib/ruby/3.4.11/rdoc/code_object/require.rb +51 -0
  590. package/lib/ruby/3.4.11/rdoc/code_object/single_class.rb +30 -0
  591. package/lib/ruby/3.4.11/rdoc/code_object/top_level.rb +273 -0
  592. package/lib/ruby/3.4.11/rdoc/code_object.rb +395 -0
  593. package/lib/ruby/3.4.11/rdoc/code_objects.rb +5 -0
  594. package/lib/ruby/3.4.11/rdoc/comment.rb +236 -0
  595. package/lib/ruby/3.4.11/rdoc/cross_reference.rb +228 -0
  596. package/lib/ruby/3.4.11/rdoc/encoding.rb +120 -0
  597. package/lib/ruby/3.4.11/rdoc/erb_partial.rb +18 -0
  598. package/lib/ruby/3.4.11/rdoc/erbio.rb +37 -0
  599. package/lib/ruby/3.4.11/rdoc/generator/darkfish.rb +812 -0
  600. package/lib/ruby/3.4.11/rdoc/generator/json_index.rb +284 -0
  601. package/lib/ruby/3.4.11/rdoc/generator/markup.rb +171 -0
  602. package/lib/ruby/3.4.11/rdoc/generator/pot/message_extractor.rb +68 -0
  603. package/lib/ruby/3.4.11/rdoc/generator/pot/po.rb +84 -0
  604. package/lib/ruby/3.4.11/rdoc/generator/pot/po_entry.rb +141 -0
  605. package/lib/ruby/3.4.11/rdoc/generator/pot.rb +94 -0
  606. package/lib/ruby/3.4.11/rdoc/generator/ri.rb +30 -0
  607. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/.document +0 -0
  608. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_footer.rhtml +5 -0
  609. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_head.rhtml +48 -0
  610. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_classes.rhtml +5 -0
  611. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_extends.rhtml +15 -0
  612. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_includes.rhtml +15 -0
  613. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_installed.rhtml +15 -0
  614. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_methods.rhtml +21 -0
  615. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_navigation.rhtml +11 -0
  616. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_pages.rhtml +32 -0
  617. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_parent.rhtml +6 -0
  618. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_search.rhtml +14 -0
  619. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_sections.rhtml +11 -0
  620. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_table_of_contents.rhtml +39 -0
  621. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/_sidebar_toggle.rhtml +3 -0
  622. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/class.rhtml +221 -0
  623. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/css/fonts.css +167 -0
  624. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/css/rdoc.css +683 -0
  625. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/fonts/Lato-Light.ttf +0 -0
  626. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/fonts/Lato-LightItalic.ttf +0 -0
  627. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/fonts/Lato-Regular.ttf +0 -0
  628. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/fonts/Lato-RegularItalic.ttf +0 -0
  629. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/fonts/SourceCodePro-Bold.ttf +0 -0
  630. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/fonts/SourceCodePro-Regular.ttf +0 -0
  631. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/add.png +0 -0
  632. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/arrow_up.png +0 -0
  633. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/brick.png +0 -0
  634. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/brick_link.png +0 -0
  635. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/bug.png +0 -0
  636. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/bullet_black.png +0 -0
  637. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/bullet_toggle_minus.png +0 -0
  638. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/bullet_toggle_plus.png +0 -0
  639. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/date.png +0 -0
  640. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/delete.png +0 -0
  641. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/find.png +0 -0
  642. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/loadingAnimation.gif +0 -0
  643. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/macFFBgHack.png +0 -0
  644. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/package.png +0 -0
  645. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/page_green.png +0 -0
  646. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/page_white_text.png +0 -0
  647. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/page_white_width.png +0 -0
  648. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/plugin.png +0 -0
  649. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/ruby.png +0 -0
  650. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/tag_blue.png +0 -0
  651. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/tag_green.png +0 -0
  652. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/transparent.png +0 -0
  653. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/wrench.png +0 -0
  654. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/wrench_orange.png +0 -0
  655. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/images/zoom.png +0 -0
  656. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/index.rhtml +23 -0
  657. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/js/darkfish.js +120 -0
  658. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/js/search.js +110 -0
  659. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/page.rhtml +18 -0
  660. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/servlet_not_found.rhtml +20 -0
  661. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/servlet_root.rhtml +65 -0
  662. package/lib/ruby/3.4.11/rdoc/generator/template/darkfish/table_of_contents.rhtml +70 -0
  663. package/lib/ruby/3.4.11/rdoc/generator/template/json_index/.document +1 -0
  664. package/lib/ruby/3.4.11/rdoc/generator/template/json_index/js/navigation.js +105 -0
  665. package/lib/ruby/3.4.11/rdoc/generator/template/json_index/js/searcher.js +229 -0
  666. package/lib/ruby/3.4.11/rdoc/generator.rb +51 -0
  667. package/lib/ruby/3.4.11/rdoc/i18n/locale.rb +102 -0
  668. package/lib/ruby/3.4.11/rdoc/i18n/text.rb +126 -0
  669. package/lib/ruby/3.4.11/rdoc/i18n.rb +10 -0
  670. package/lib/ruby/3.4.11/rdoc/known_classes.rb +74 -0
  671. package/lib/ruby/3.4.11/rdoc/markdown/.document +1 -0
  672. package/lib/ruby/3.4.11/rdoc/markdown/entities.rb +2131 -0
  673. package/lib/ruby/3.4.11/rdoc/markdown/literals.rb +454 -0
  674. package/lib/ruby/3.4.11/rdoc/markdown.rb +16806 -0
  675. package/lib/ruby/3.4.11/rdoc/markup/attr_changer.rb +22 -0
  676. package/lib/ruby/3.4.11/rdoc/markup/attr_span.rb +35 -0
  677. package/lib/ruby/3.4.11/rdoc/markup/attribute_manager.rb +405 -0
  678. package/lib/ruby/3.4.11/rdoc/markup/attributes.rb +70 -0
  679. package/lib/ruby/3.4.11/rdoc/markup/blank_line.rb +27 -0
  680. package/lib/ruby/3.4.11/rdoc/markup/block_quote.rb +14 -0
  681. package/lib/ruby/3.4.11/rdoc/markup/document.rb +164 -0
  682. package/lib/ruby/3.4.11/rdoc/markup/formatter.rb +272 -0
  683. package/lib/ruby/3.4.11/rdoc/markup/hard_break.rb +31 -0
  684. package/lib/ruby/3.4.11/rdoc/markup/heading.rb +84 -0
  685. package/lib/ruby/3.4.11/rdoc/markup/include.rb +42 -0
  686. package/lib/ruby/3.4.11/rdoc/markup/indented_paragraph.rb +47 -0
  687. package/lib/ruby/3.4.11/rdoc/markup/list.rb +101 -0
  688. package/lib/ruby/3.4.11/rdoc/markup/list_item.rb +99 -0
  689. package/lib/ruby/3.4.11/rdoc/markup/paragraph.rb +28 -0
  690. package/lib/ruby/3.4.11/rdoc/markup/parser.rb +585 -0
  691. package/lib/ruby/3.4.11/rdoc/markup/pre_process.rb +318 -0
  692. package/lib/ruby/3.4.11/rdoc/markup/raw.rb +69 -0
  693. package/lib/ruby/3.4.11/rdoc/markup/regexp_handling.rb +40 -0
  694. package/lib/ruby/3.4.11/rdoc/markup/rule.rb +20 -0
  695. package/lib/ruby/3.4.11/rdoc/markup/table.rb +56 -0
  696. package/lib/ruby/3.4.11/rdoc/markup/to_ansi.rb +93 -0
  697. package/lib/ruby/3.4.11/rdoc/markup/to_bs.rb +102 -0
  698. package/lib/ruby/3.4.11/rdoc/markup/to_html.rb +462 -0
  699. package/lib/ruby/3.4.11/rdoc/markup/to_html_crossref.rb +226 -0
  700. package/lib/ruby/3.4.11/rdoc/markup/to_html_snippet.rb +287 -0
  701. package/lib/ruby/3.4.11/rdoc/markup/to_joined_paragraph.rb +46 -0
  702. package/lib/ruby/3.4.11/rdoc/markup/to_label.rb +74 -0
  703. package/lib/ruby/3.4.11/rdoc/markup/to_markdown.rb +191 -0
  704. package/lib/ruby/3.4.11/rdoc/markup/to_rdoc.rb +353 -0
  705. package/lib/ruby/3.4.11/rdoc/markup/to_table_of_contents.rb +88 -0
  706. package/lib/ruby/3.4.11/rdoc/markup/to_test.rb +69 -0
  707. package/lib/ruby/3.4.11/rdoc/markup/to_tt_only.rb +120 -0
  708. package/lib/ruby/3.4.11/rdoc/markup/verbatim.rb +83 -0
  709. package/lib/ruby/3.4.11/rdoc/markup.rb +240 -0
  710. package/lib/ruby/3.4.11/rdoc/options.rb +1416 -0
  711. package/lib/ruby/3.4.11/rdoc/parser/c.rb +1257 -0
  712. package/lib/ruby/3.4.11/rdoc/parser/changelog.rb +350 -0
  713. package/lib/ruby/3.4.11/rdoc/parser/markdown.rb +22 -0
  714. package/lib/ruby/3.4.11/rdoc/parser/prism_ruby.rb +1092 -0
  715. package/lib/ruby/3.4.11/rdoc/parser/rd.rb +22 -0
  716. package/lib/ruby/3.4.11/rdoc/parser/ripper_state_lex.rb +302 -0
  717. package/lib/ruby/3.4.11/rdoc/parser/ruby.rb +2378 -0
  718. package/lib/ruby/3.4.11/rdoc/parser/ruby_tools.rb +165 -0
  719. package/lib/ruby/3.4.11/rdoc/parser/simple.rb +61 -0
  720. package/lib/ruby/3.4.11/rdoc/parser/text.rb +11 -0
  721. package/lib/ruby/3.4.11/rdoc/parser.rb +297 -0
  722. package/lib/ruby/3.4.11/rdoc/rd/.document +1 -0
  723. package/lib/ruby/3.4.11/rdoc/rd/block_parser.rb +1706 -0
  724. package/lib/ruby/3.4.11/rdoc/rd/inline.rb +71 -0
  725. package/lib/ruby/3.4.11/rdoc/rd/inline_parser.rb +1854 -0
  726. package/lib/ruby/3.4.11/rdoc/rd.rb +99 -0
  727. package/lib/ruby/3.4.11/rdoc/rdoc.gemspec +68 -0
  728. package/lib/ruby/3.4.11/rdoc/rdoc.rb +551 -0
  729. package/lib/ruby/3.4.11/rdoc/ri/driver.rb +1566 -0
  730. package/lib/ruby/3.4.11/rdoc/ri/formatter.rb +6 -0
  731. package/lib/ruby/3.4.11/rdoc/ri/paths.rb +171 -0
  732. package/lib/ruby/3.4.11/rdoc/ri/store.rb +6 -0
  733. package/lib/ruby/3.4.11/rdoc/ri/task.rb +71 -0
  734. package/lib/ruby/3.4.11/rdoc/ri.rb +20 -0
  735. package/lib/ruby/3.4.11/rdoc/rubygems_hook.rb +327 -0
  736. package/lib/ruby/3.4.11/rdoc/servlet.rb +452 -0
  737. package/lib/ruby/3.4.11/rdoc/stats/normal.rb +58 -0
  738. package/lib/ruby/3.4.11/rdoc/stats/quiet.rb +59 -0
  739. package/lib/ruby/3.4.11/rdoc/stats/verbose.rb +44 -0
  740. package/lib/ruby/3.4.11/rdoc/stats.rb +461 -0
  741. package/lib/ruby/3.4.11/rdoc/store.rb +997 -0
  742. package/lib/ruby/3.4.11/rdoc/task.rb +354 -0
  743. package/lib/ruby/3.4.11/rdoc/text.rb +322 -0
  744. package/lib/ruby/3.4.11/rdoc/token_stream.rb +118 -0
  745. package/lib/ruby/3.4.11/rdoc/tom_doc.rb +257 -0
  746. package/lib/ruby/3.4.11/rdoc/version.rb +10 -0
  747. package/lib/ruby/3.4.11/rdoc.rb +211 -0
  748. package/lib/ruby/3.4.11/readline.gemspec +33 -0
  749. package/lib/ruby/3.4.11/readline.rb +7 -0
  750. package/lib/ruby/3.4.11/reline/config.rb +373 -0
  751. package/lib/ruby/3.4.11/reline/face.rb +199 -0
  752. package/lib/ruby/3.4.11/reline/history.rb +76 -0
  753. package/lib/ruby/3.4.11/reline/io/ansi.rb +325 -0
  754. package/lib/ruby/3.4.11/reline/io/dumb.rb +120 -0
  755. package/lib/ruby/3.4.11/reline/io/windows.rb +530 -0
  756. package/lib/ruby/3.4.11/reline/io.rb +55 -0
  757. package/lib/ruby/3.4.11/reline/key_actor/base.rb +37 -0
  758. package/lib/ruby/3.4.11/reline/key_actor/composite.rb +17 -0
  759. package/lib/ruby/3.4.11/reline/key_actor/emacs.rb +517 -0
  760. package/lib/ruby/3.4.11/reline/key_actor/vi_command.rb +518 -0
  761. package/lib/ruby/3.4.11/reline/key_actor/vi_insert.rb +517 -0
  762. package/lib/ruby/3.4.11/reline/key_actor.rb +8 -0
  763. package/lib/ruby/3.4.11/reline/key_stroke.rb +119 -0
  764. package/lib/ruby/3.4.11/reline/kill_ring.rb +125 -0
  765. package/lib/ruby/3.4.11/reline/line_editor.rb +2382 -0
  766. package/lib/ruby/3.4.11/reline/reline.gemspec +30 -0
  767. package/lib/ruby/3.4.11/reline/unicode/east_asian_width.rb +1267 -0
  768. package/lib/ruby/3.4.11/reline/unicode.rb +415 -0
  769. package/lib/ruby/3.4.11/reline/version.rb +3 -0
  770. package/lib/ruby/3.4.11/reline.rb +519 -0
  771. package/lib/ruby/3.4.11/resolv.gemspec +30 -0
  772. package/lib/ruby/3.4.11/resolv.rb +3587 -0
  773. package/lib/ruby/3.4.11/ruby2_keywords.gemspec +23 -0
  774. package/lib/ruby/3.4.11/ruby_vm/rjit/.document +1 -0
  775. package/lib/ruby/3.4.11/ruby_vm/rjit/assembler.rb +1160 -0
  776. package/lib/ruby/3.4.11/ruby_vm/rjit/block.rb +11 -0
  777. package/lib/ruby/3.4.11/ruby_vm/rjit/branch_stub.rb +24 -0
  778. package/lib/ruby/3.4.11/ruby_vm/rjit/c_pointer.rb +394 -0
  779. package/lib/ruby/3.4.11/ruby_vm/rjit/c_type.rb +99 -0
  780. package/lib/ruby/3.4.11/ruby_vm/rjit/code_block.rb +91 -0
  781. package/lib/ruby/3.4.11/ruby_vm/rjit/compiler.rb +518 -0
  782. package/lib/ruby/3.4.11/ruby_vm/rjit/context.rb +377 -0
  783. package/lib/ruby/3.4.11/ruby_vm/rjit/entry_stub.rb +7 -0
  784. package/lib/ruby/3.4.11/ruby_vm/rjit/exit_compiler.rb +164 -0
  785. package/lib/ruby/3.4.11/ruby_vm/rjit/hooks.rb +36 -0
  786. package/lib/ruby/3.4.11/ruby_vm/rjit/insn_compiler.rb +6046 -0
  787. package/lib/ruby/3.4.11/ruby_vm/rjit/instruction.rb +1326 -0
  788. package/lib/ruby/3.4.11/ruby_vm/rjit/invariants.rb +155 -0
  789. package/lib/ruby/3.4.11/ruby_vm/rjit/jit_state.rb +65 -0
  790. package/lib/ruby/3.4.11/ruby_vm/rjit/stats.rb +191 -0
  791. package/lib/ruby/3.4.11/ruby_vm/rjit/type.rb +221 -0
  792. package/lib/ruby/3.4.11/rubygems/available_set.rb +165 -0
  793. package/lib/ruby/3.4.11/rubygems/basic_specification.rb +383 -0
  794. package/lib/ruby/3.4.11/rubygems/bundler_version_finder.rb +77 -0
  795. package/lib/ruby/3.4.11/rubygems/ci_detector.rb +75 -0
  796. package/lib/ruby/3.4.11/rubygems/command.rb +664 -0
  797. package/lib/ruby/3.4.11/rubygems/command_manager.rb +255 -0
  798. package/lib/ruby/3.4.11/rubygems/commands/build_command.rb +127 -0
  799. package/lib/ruby/3.4.11/rubygems/commands/cert_command.rb +325 -0
  800. package/lib/ruby/3.4.11/rubygems/commands/check_command.rb +97 -0
  801. package/lib/ruby/3.4.11/rubygems/commands/cleanup_command.rb +178 -0
  802. package/lib/ruby/3.4.11/rubygems/commands/contents_command.rb +196 -0
  803. package/lib/ruby/3.4.11/rubygems/commands/dependency_command.rb +206 -0
  804. package/lib/ruby/3.4.11/rubygems/commands/environment_command.rb +181 -0
  805. package/lib/ruby/3.4.11/rubygems/commands/exec_command.rb +256 -0
  806. package/lib/ruby/3.4.11/rubygems/commands/fetch_command.rb +109 -0
  807. package/lib/ruby/3.4.11/rubygems/commands/generate_index_command.rb +51 -0
  808. package/lib/ruby/3.4.11/rubygems/commands/help_command.rb +375 -0
  809. package/lib/ruby/3.4.11/rubygems/commands/info_command.rb +38 -0
  810. package/lib/ruby/3.4.11/rubygems/commands/install_command.rb +269 -0
  811. package/lib/ruby/3.4.11/rubygems/commands/list_command.rb +42 -0
  812. package/lib/ruby/3.4.11/rubygems/commands/lock_command.rb +109 -0
  813. package/lib/ruby/3.4.11/rubygems/commands/mirror_command.rb +26 -0
  814. package/lib/ruby/3.4.11/rubygems/commands/open_command.rb +83 -0
  815. package/lib/ruby/3.4.11/rubygems/commands/outdated_command.rb +33 -0
  816. package/lib/ruby/3.4.11/rubygems/commands/owner_command.rb +124 -0
  817. package/lib/ruby/3.4.11/rubygems/commands/pristine_command.rb +217 -0
  818. package/lib/ruby/3.4.11/rubygems/commands/push_command.rb +135 -0
  819. package/lib/ruby/3.4.11/rubygems/commands/query_command.rb +43 -0
  820. package/lib/ruby/3.4.11/rubygems/commands/rdoc_command.rb +90 -0
  821. package/lib/ruby/3.4.11/rubygems/commands/rebuild_command.rb +262 -0
  822. package/lib/ruby/3.4.11/rubygems/commands/search_command.rb +41 -0
  823. package/lib/ruby/3.4.11/rubygems/commands/server_command.rb +26 -0
  824. package/lib/ruby/3.4.11/rubygems/commands/setup_command.rb +663 -0
  825. package/lib/ruby/3.4.11/rubygems/commands/signin_command.rb +34 -0
  826. package/lib/ruby/3.4.11/rubygems/commands/signout_command.rb +32 -0
  827. package/lib/ruby/3.4.11/rubygems/commands/sources_command.rb +227 -0
  828. package/lib/ruby/3.4.11/rubygems/commands/specification_command.rb +156 -0
  829. package/lib/ruby/3.4.11/rubygems/commands/stale_command.rb +40 -0
  830. package/lib/ruby/3.4.11/rubygems/commands/uninstall_command.rb +204 -0
  831. package/lib/ruby/3.4.11/rubygems/commands/unpack_command.rb +168 -0
  832. package/lib/ruby/3.4.11/rubygems/commands/update_command.rb +326 -0
  833. package/lib/ruby/3.4.11/rubygems/commands/which_command.rb +88 -0
  834. package/lib/ruby/3.4.11/rubygems/commands/yank_command.rb +99 -0
  835. package/lib/ruby/3.4.11/rubygems/compatibility.rb +41 -0
  836. package/lib/ruby/3.4.11/rubygems/config_file.rb +618 -0
  837. package/lib/ruby/3.4.11/rubygems/core_ext/kernel_gem.rb +68 -0
  838. package/lib/ruby/3.4.11/rubygems/core_ext/kernel_require.rb +149 -0
  839. package/lib/ruby/3.4.11/rubygems/core_ext/kernel_warn.rb +45 -0
  840. package/lib/ruby/3.4.11/rubygems/core_ext/tcpsocket_init.rb +54 -0
  841. package/lib/ruby/3.4.11/rubygems/defaults.rb +308 -0
  842. package/lib/ruby/3.4.11/rubygems/dependency.rb +348 -0
  843. package/lib/ruby/3.4.11/rubygems/dependency_installer.rb +335 -0
  844. package/lib/ruby/3.4.11/rubygems/dependency_list.rb +243 -0
  845. package/lib/ruby/3.4.11/rubygems/deprecate.rb +169 -0
  846. package/lib/ruby/3.4.11/rubygems/doctor.rb +132 -0
  847. package/lib/ruby/3.4.11/rubygems/errors.rb +177 -0
  848. package/lib/ruby/3.4.11/rubygems/exceptions.rb +293 -0
  849. package/lib/ruby/3.4.11/rubygems/ext/build_error.rb +9 -0
  850. package/lib/ruby/3.4.11/rubygems/ext/builder.rb +260 -0
  851. package/lib/ruby/3.4.11/rubygems/ext/cargo_builder/link_flag_converter.rb +27 -0
  852. package/lib/ruby/3.4.11/rubygems/ext/cargo_builder.rb +346 -0
  853. package/lib/ruby/3.4.11/rubygems/ext/cmake_builder.rb +21 -0
  854. package/lib/ruby/3.4.11/rubygems/ext/configure_builder.rb +26 -0
  855. package/lib/ruby/3.4.11/rubygems/ext/ext_conf_builder.rb +77 -0
  856. package/lib/ruby/3.4.11/rubygems/ext/rake_builder.rb +37 -0
  857. package/lib/ruby/3.4.11/rubygems/ext.rb +20 -0
  858. package/lib/ruby/3.4.11/rubygems/gem_runner.rb +89 -0
  859. package/lib/ruby/3.4.11/rubygems/gemcutter_utilities/webauthn_listener/response.rb +163 -0
  860. package/lib/ruby/3.4.11/rubygems/gemcutter_utilities/webauthn_listener.rb +105 -0
  861. package/lib/ruby/3.4.11/rubygems/gemcutter_utilities/webauthn_poller.rb +80 -0
  862. package/lib/ruby/3.4.11/rubygems/gemcutter_utilities.rb +397 -0
  863. package/lib/ruby/3.4.11/rubygems/gemspec_helpers.rb +19 -0
  864. package/lib/ruby/3.4.11/rubygems/install_default_message.rb +13 -0
  865. package/lib/ruby/3.4.11/rubygems/install_message.rb +13 -0
  866. package/lib/ruby/3.4.11/rubygems/install_update_options.rb +204 -0
  867. package/lib/ruby/3.4.11/rubygems/installer.rb +1031 -0
  868. package/lib/ruby/3.4.11/rubygems/installer_uninstaller_utils.rb +27 -0
  869. package/lib/ruby/3.4.11/rubygems/local_remote_options.rb +146 -0
  870. package/lib/ruby/3.4.11/rubygems/name_tuple.rb +119 -0
  871. package/lib/ruby/3.4.11/rubygems/openssl.rb +7 -0
  872. package/lib/ruby/3.4.11/rubygems/package/digest_io.rb +63 -0
  873. package/lib/ruby/3.4.11/rubygems/package/file_source.rb +32 -0
  874. package/lib/ruby/3.4.11/rubygems/package/io_source.rb +48 -0
  875. package/lib/ruby/3.4.11/rubygems/package/old.rb +169 -0
  876. package/lib/ruby/3.4.11/rubygems/package/source.rb +4 -0
  877. package/lib/ruby/3.4.11/rubygems/package/tar_header.rb +277 -0
  878. package/lib/ruby/3.4.11/rubygems/package/tar_reader/entry.rb +244 -0
  879. package/lib/ruby/3.4.11/rubygems/package/tar_reader.rb +101 -0
  880. package/lib/ruby/3.4.11/rubygems/package/tar_writer.rb +332 -0
  881. package/lib/ruby/3.4.11/rubygems/package.rb +742 -0
  882. package/lib/ruby/3.4.11/rubygems/package_task.rb +123 -0
  883. package/lib/ruby/3.4.11/rubygems/path_support.rb +85 -0
  884. package/lib/ruby/3.4.11/rubygems/platform.rb +269 -0
  885. package/lib/ruby/3.4.11/rubygems/psych_tree.rb +37 -0
  886. package/lib/ruby/3.4.11/rubygems/query_utils.rb +349 -0
  887. package/lib/ruby/3.4.11/rubygems/rdoc.rb +26 -0
  888. package/lib/ruby/3.4.11/rubygems/remote_fetcher.rb +341 -0
  889. package/lib/ruby/3.4.11/rubygems/request/connection_pools.rb +95 -0
  890. package/lib/ruby/3.4.11/rubygems/request/http_pool.rb +47 -0
  891. package/lib/ruby/3.4.11/rubygems/request/https_pool.rb +10 -0
  892. package/lib/ruby/3.4.11/rubygems/request.rb +298 -0
  893. package/lib/ruby/3.4.11/rubygems/request_set/gem_dependency_api.rb +841 -0
  894. package/lib/ruby/3.4.11/rubygems/request_set/lockfile/parser.rb +344 -0
  895. package/lib/ruby/3.4.11/rubygems/request_set/lockfile/tokenizer.rb +122 -0
  896. package/lib/ruby/3.4.11/rubygems/request_set/lockfile.rb +235 -0
  897. package/lib/ruby/3.4.11/rubygems/request_set.rb +468 -0
  898. package/lib/ruby/3.4.11/rubygems/requirement.rb +298 -0
  899. package/lib/ruby/3.4.11/rubygems/resolver/activation_request.rb +159 -0
  900. package/lib/ruby/3.4.11/rubygems/resolver/api_set/gem_parser.rb +21 -0
  901. package/lib/ruby/3.4.11/rubygems/resolver/api_set.rb +139 -0
  902. package/lib/ruby/3.4.11/rubygems/resolver/api_specification.rb +105 -0
  903. package/lib/ruby/3.4.11/rubygems/resolver/best_set.rb +49 -0
  904. package/lib/ruby/3.4.11/rubygems/resolver/composed_set.rb +65 -0
  905. package/lib/ruby/3.4.11/rubygems/resolver/conflict.rb +146 -0
  906. package/lib/ruby/3.4.11/rubygems/resolver/current_set.rb +12 -0
  907. package/lib/ruby/3.4.11/rubygems/resolver/dependency_request.rb +119 -0
  908. package/lib/ruby/3.4.11/rubygems/resolver/git_set.rb +120 -0
  909. package/lib/ruby/3.4.11/rubygems/resolver/git_specification.rb +57 -0
  910. package/lib/ruby/3.4.11/rubygems/resolver/index_set.rb +79 -0
  911. package/lib/ruby/3.4.11/rubygems/resolver/index_specification.rb +101 -0
  912. package/lib/ruby/3.4.11/rubygems/resolver/installed_specification.rb +57 -0
  913. package/lib/ruby/3.4.11/rubygems/resolver/installer_set.rb +271 -0
  914. package/lib/ruby/3.4.11/rubygems/resolver/local_specification.rb +40 -0
  915. package/lib/ruby/3.4.11/rubygems/resolver/lock_set.rb +81 -0
  916. package/lib/ruby/3.4.11/rubygems/resolver/lock_specification.rb +86 -0
  917. package/lib/ruby/3.4.11/rubygems/resolver/requirement_list.rb +82 -0
  918. package/lib/ruby/3.4.11/rubygems/resolver/set.rb +55 -0
  919. package/lib/ruby/3.4.11/rubygems/resolver/source_set.rb +47 -0
  920. package/lib/ruby/3.4.11/rubygems/resolver/spec_specification.rb +76 -0
  921. package/lib/ruby/3.4.11/rubygems/resolver/specification.rb +126 -0
  922. package/lib/ruby/3.4.11/rubygems/resolver/stats.rb +46 -0
  923. package/lib/ruby/3.4.11/rubygems/resolver/vendor_set.rb +86 -0
  924. package/lib/ruby/3.4.11/rubygems/resolver/vendor_specification.rb +23 -0
  925. package/lib/ruby/3.4.11/rubygems/resolver.rb +341 -0
  926. package/lib/ruby/3.4.11/rubygems/s3_uri_signer.rb +177 -0
  927. package/lib/ruby/3.4.11/rubygems/safe_marshal/elements.rb +146 -0
  928. package/lib/ruby/3.4.11/rubygems/safe_marshal/reader.rb +325 -0
  929. package/lib/ruby/3.4.11/rubygems/safe_marshal/visitors/stream_printer.rb +31 -0
  930. package/lib/ruby/3.4.11/rubygems/safe_marshal/visitors/to_ruby.rb +428 -0
  931. package/lib/ruby/3.4.11/rubygems/safe_marshal/visitors/visitor.rb +74 -0
  932. package/lib/ruby/3.4.11/rubygems/safe_marshal.rb +74 -0
  933. package/lib/ruby/3.4.11/rubygems/safe_yaml.rb +45 -0
  934. package/lib/ruby/3.4.11/rubygems/security/policies.rb +114 -0
  935. package/lib/ruby/3.4.11/rubygems/security/policy.rb +288 -0
  936. package/lib/ruby/3.4.11/rubygems/security/signer.rb +212 -0
  937. package/lib/ruby/3.4.11/rubygems/security/trust_dir.rb +117 -0
  938. package/lib/ruby/3.4.11/rubygems/security.rb +615 -0
  939. package/lib/ruby/3.4.11/rubygems/security_option.rb +43 -0
  940. package/lib/ruby/3.4.11/rubygems/source/git.rb +244 -0
  941. package/lib/ruby/3.4.11/rubygems/source/installed.rb +39 -0
  942. package/lib/ruby/3.4.11/rubygems/source/local.rb +131 -0
  943. package/lib/ruby/3.4.11/rubygems/source/lock.rb +49 -0
  944. package/lib/ruby/3.4.11/rubygems/source/specific_file.rb +73 -0
  945. package/lib/ruby/3.4.11/rubygems/source/vendor.rb +24 -0
  946. package/lib/ruby/3.4.11/rubygems/source.rb +247 -0
  947. package/lib/ruby/3.4.11/rubygems/source_list.rb +146 -0
  948. package/lib/ruby/3.4.11/rubygems/spec_fetcher.rb +290 -0
  949. package/lib/ruby/3.4.11/rubygems/specification.rb +2666 -0
  950. package/lib/ruby/3.4.11/rubygems/specification_policy.rb +558 -0
  951. package/lib/ruby/3.4.11/rubygems/specification_record.rb +212 -0
  952. package/lib/ruby/3.4.11/rubygems/ssl_certs/.document +1 -0
  953. package/lib/ruby/3.4.11/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA.pem +21 -0
  954. package/lib/ruby/3.4.11/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA_R3.pem +21 -0
  955. package/lib/ruby/3.4.11/rubygems/stub_specification.rb +235 -0
  956. package/lib/ruby/3.4.11/rubygems/target_rbconfig.rb +50 -0
  957. package/lib/ruby/3.4.11/rubygems/text.rb +85 -0
  958. package/lib/ruby/3.4.11/rubygems/uninstaller.rb +429 -0
  959. package/lib/ruby/3.4.11/rubygems/unknown_command_spell_checker.rb +21 -0
  960. package/lib/ruby/3.4.11/rubygems/update_suggestion.rb +56 -0
  961. package/lib/ruby/3.4.11/rubygems/uri.rb +126 -0
  962. package/lib/ruby/3.4.11/rubygems/uri_formatter.rb +47 -0
  963. package/lib/ruby/3.4.11/rubygems/user_interaction.rb +650 -0
  964. package/lib/ruby/3.4.11/rubygems/util/licenses.rb +834 -0
  965. package/lib/ruby/3.4.11/rubygems/util/list.rb +40 -0
  966. package/lib/ruby/3.4.11/rubygems/util.rb +118 -0
  967. package/lib/ruby/3.4.11/rubygems/validator.rb +144 -0
  968. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/.document +1 -0
  969. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb +57 -0
  970. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/delegates/specification_provider.rb +88 -0
  971. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/action.rb +36 -0
  972. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/add_edge_no_circular.rb +66 -0
  973. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/add_vertex.rb +62 -0
  974. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/delete_edge.rb +63 -0
  975. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/detach_vertex_named.rb +61 -0
  976. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/log.rb +126 -0
  977. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/set_payload.rb +46 -0
  978. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb +36 -0
  979. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph/vertex.rb +164 -0
  980. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/dependency_graph.rb +255 -0
  981. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/errors.rb +149 -0
  982. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/gem_metadata.rb +6 -0
  983. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/modules/specification_provider.rb +112 -0
  984. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/modules/ui.rb +67 -0
  985. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/resolution.rb +839 -0
  986. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/resolver.rb +46 -0
  987. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo/state.rb +58 -0
  988. package/lib/ruby/3.4.11/rubygems/vendor/molinillo/lib/molinillo.rb +11 -0
  989. package/lib/ruby/3.4.11/rubygems/vendor/net-http/.document +1 -0
  990. package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/exceptions.rb +34 -0
  991. package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/generic_request.rb +414 -0
  992. package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/header.rb +981 -0
  993. package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/proxy_delta.rb +17 -0
  994. package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/request.rb +88 -0
  995. package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/requests.rb +430 -0
  996. package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/response.rb +738 -0
  997. package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/responses.rb +1174 -0
  998. package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http/status.rb +84 -0
  999. package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/http.rb +2580 -0
  1000. package/lib/ruby/3.4.11/rubygems/vendor/net-http/lib/net/https.rb +23 -0
  1001. package/lib/ruby/3.4.11/rubygems/vendor/net-protocol/.document +1 -0
  1002. package/lib/ruby/3.4.11/rubygems/vendor/net-protocol/lib/net/protocol.rb +544 -0
  1003. package/lib/ruby/3.4.11/rubygems/vendor/optparse/.document +1 -0
  1004. package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optionparser.rb +2 -0
  1005. package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/ac.rb +70 -0
  1006. package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/date.rb +18 -0
  1007. package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/kwargs.rb +27 -0
  1008. package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/shellwords.rb +7 -0
  1009. package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/time.rb +11 -0
  1010. package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/uri.rb +7 -0
  1011. package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse/version.rb +80 -0
  1012. package/lib/ruby/3.4.11/rubygems/vendor/optparse/lib/optparse.rb +2426 -0
  1013. package/lib/ruby/3.4.11/rubygems/vendor/resolv/.document +1 -0
  1014. package/lib/ruby/3.4.11/rubygems/vendor/resolv/lib/resolv.rb +3455 -0
  1015. package/lib/ruby/3.4.11/rubygems/vendor/securerandom/.document +1 -0
  1016. package/lib/ruby/3.4.11/rubygems/vendor/securerandom/lib/securerandom.rb +102 -0
  1017. package/lib/ruby/3.4.11/rubygems/vendor/timeout/.document +1 -0
  1018. package/lib/ruby/3.4.11/rubygems/vendor/timeout/lib/timeout.rb +198 -0
  1019. package/lib/ruby/3.4.11/rubygems/vendor/tsort/.document +1 -0
  1020. package/lib/ruby/3.4.11/rubygems/vendor/tsort/lib/tsort.rb +455 -0
  1021. package/lib/ruby/3.4.11/rubygems/vendor/uri/.document +1 -0
  1022. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/common.rb +880 -0
  1023. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/file.rb +100 -0
  1024. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/ftp.rb +267 -0
  1025. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/generic.rb +1592 -0
  1026. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/http.rb +125 -0
  1027. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/https.rb +23 -0
  1028. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/ldap.rb +261 -0
  1029. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/ldaps.rb +22 -0
  1030. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/mailto.rb +293 -0
  1031. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/rfc2396_parser.rb +546 -0
  1032. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/rfc3986_parser.rb +206 -0
  1033. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/version.rb +6 -0
  1034. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/ws.rb +83 -0
  1035. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri/wss.rb +23 -0
  1036. package/lib/ruby/3.4.11/rubygems/vendor/uri/lib/uri.rb +104 -0
  1037. package/lib/ruby/3.4.11/rubygems/vendored_molinillo.rb +3 -0
  1038. package/lib/ruby/3.4.11/rubygems/vendored_net_http.rb +5 -0
  1039. package/lib/ruby/3.4.11/rubygems/vendored_optparse.rb +3 -0
  1040. package/lib/ruby/3.4.11/rubygems/vendored_securerandom.rb +3 -0
  1041. package/lib/ruby/3.4.11/rubygems/vendored_timeout.rb +5 -0
  1042. package/lib/ruby/3.4.11/rubygems/vendored_tsort.rb +3 -0
  1043. package/lib/ruby/3.4.11/rubygems/version.rb +441 -0
  1044. package/lib/ruby/3.4.11/rubygems/version_option.rb +80 -0
  1045. package/lib/ruby/3.4.11/rubygems/yaml_serializer.rb +98 -0
  1046. package/lib/ruby/3.4.11/rubygems.rb +1417 -0
  1047. package/lib/ruby/3.4.11/securerandom.gemspec +34 -0
  1048. package/lib/ruby/3.4.11/securerandom.rb +102 -0
  1049. package/lib/ruby/3.4.11/set/set.gemspec +30 -0
  1050. package/lib/ruby/3.4.11/set/sorted_set.rb +6 -0
  1051. package/lib/ruby/3.4.11/set.rb +855 -0
  1052. package/lib/ruby/3.4.11/shellwords.gemspec +31 -0
  1053. package/lib/ruby/3.4.11/shellwords.rb +254 -0
  1054. package/lib/ruby/3.4.11/singleton.gemspec +30 -0
  1055. package/lib/ruby/3.4.11/singleton.rb +239 -0
  1056. package/lib/ruby/3.4.11/syntax_suggest/api.rb +233 -0
  1057. package/lib/ruby/3.4.11/syntax_suggest/around_block_scan.rb +232 -0
  1058. package/lib/ruby/3.4.11/syntax_suggest/block_expand.rb +165 -0
  1059. package/lib/ruby/3.4.11/syntax_suggest/capture/before_after_keyword_ends.rb +85 -0
  1060. package/lib/ruby/3.4.11/syntax_suggest/capture/falling_indent_lines.rb +71 -0
  1061. package/lib/ruby/3.4.11/syntax_suggest/capture_code_context.rb +245 -0
  1062. package/lib/ruby/3.4.11/syntax_suggest/clean_document.rb +306 -0
  1063. package/lib/ruby/3.4.11/syntax_suggest/cli.rb +130 -0
  1064. package/lib/ruby/3.4.11/syntax_suggest/code_block.rb +100 -0
  1065. package/lib/ruby/3.4.11/syntax_suggest/code_frontier.rb +178 -0
  1066. package/lib/ruby/3.4.11/syntax_suggest/code_line.rb +243 -0
  1067. package/lib/ruby/3.4.11/syntax_suggest/code_search.rb +139 -0
  1068. package/lib/ruby/3.4.11/syntax_suggest/core_ext.rb +96 -0
  1069. package/lib/ruby/3.4.11/syntax_suggest/display_code_with_line_numbers.rb +70 -0
  1070. package/lib/ruby/3.4.11/syntax_suggest/display_invalid_blocks.rb +83 -0
  1071. package/lib/ruby/3.4.11/syntax_suggest/explain_syntax.rb +117 -0
  1072. package/lib/ruby/3.4.11/syntax_suggest/left_right_lex_count.rb +168 -0
  1073. package/lib/ruby/3.4.11/syntax_suggest/lex_all.rb +74 -0
  1074. package/lib/ruby/3.4.11/syntax_suggest/lex_value.rb +70 -0
  1075. package/lib/ruby/3.4.11/syntax_suggest/mini_stringio.rb +30 -0
  1076. package/lib/ruby/3.4.11/syntax_suggest/parse_blocks_from_indent_line.rb +60 -0
  1077. package/lib/ruby/3.4.11/syntax_suggest/pathname_from_message.rb +59 -0
  1078. package/lib/ruby/3.4.11/syntax_suggest/priority_engulf_queue.rb +63 -0
  1079. package/lib/ruby/3.4.11/syntax_suggest/priority_queue.rb +105 -0
  1080. package/lib/ruby/3.4.11/syntax_suggest/ripper_errors.rb +39 -0
  1081. package/lib/ruby/3.4.11/syntax_suggest/scan_history.rb +134 -0
  1082. package/lib/ruby/3.4.11/syntax_suggest/syntax_suggest.gemspec +32 -0
  1083. package/lib/ruby/3.4.11/syntax_suggest/unvisited_lines.rb +36 -0
  1084. package/lib/ruby/3.4.11/syntax_suggest/version.rb +5 -0
  1085. package/lib/ruby/3.4.11/syntax_suggest.rb +3 -0
  1086. package/lib/ruby/3.4.11/tempfile.gemspec +33 -0
  1087. package/lib/ruby/3.4.11/tempfile.rb +640 -0
  1088. package/lib/ruby/3.4.11/time.gemspec +35 -0
  1089. package/lib/ruby/3.4.11/time.rb +731 -0
  1090. package/lib/ruby/3.4.11/timeout.gemspec +33 -0
  1091. package/lib/ruby/3.4.11/timeout.rb +200 -0
  1092. package/lib/ruby/3.4.11/tmpdir.gemspec +30 -0
  1093. package/lib/ruby/3.4.11/tmpdir.rb +189 -0
  1094. package/lib/ruby/3.4.11/tsort.gemspec +29 -0
  1095. package/lib/ruby/3.4.11/tsort.rb +455 -0
  1096. package/lib/ruby/3.4.11/un.gemspec +31 -0
  1097. package/lib/ruby/3.4.11/un.rb +441 -0
  1098. package/lib/ruby/3.4.11/unicode_normalize/normalize.rb +181 -0
  1099. package/lib/ruby/3.4.11/unicode_normalize/tables.rb +9259 -0
  1100. package/lib/ruby/3.4.11/uri/common.rb +880 -0
  1101. package/lib/ruby/3.4.11/uri/file.rb +100 -0
  1102. package/lib/ruby/3.4.11/uri/ftp.rb +267 -0
  1103. package/lib/ruby/3.4.11/uri/generic.rb +1592 -0
  1104. package/lib/ruby/3.4.11/uri/http.rb +125 -0
  1105. package/lib/ruby/3.4.11/uri/https.rb +23 -0
  1106. package/lib/ruby/3.4.11/uri/ldap.rb +261 -0
  1107. package/lib/ruby/3.4.11/uri/ldaps.rb +22 -0
  1108. package/lib/ruby/3.4.11/uri/mailto.rb +293 -0
  1109. package/lib/ruby/3.4.11/uri/rfc2396_parser.rb +546 -0
  1110. package/lib/ruby/3.4.11/uri/rfc3986_parser.rb +206 -0
  1111. package/lib/ruby/3.4.11/uri/uri.gemspec +42 -0
  1112. package/lib/ruby/3.4.11/uri/version.rb +6 -0
  1113. package/lib/ruby/3.4.11/uri/ws.rb +83 -0
  1114. package/lib/ruby/3.4.11/uri/wss.rb +23 -0
  1115. package/lib/ruby/3.4.11/uri.rb +104 -0
  1116. package/lib/ruby/3.4.11/weakref.gemspec +34 -0
  1117. package/lib/ruby/3.4.11/weakref.rb +58 -0
  1118. package/lib/ruby/3.4.11/yaml/dbm.rb +295 -0
  1119. package/lib/ruby/3.4.11/yaml/store.rb +98 -0
  1120. package/lib/ruby/3.4.11/yaml/yaml.gemspec +30 -0
  1121. package/lib/ruby/3.4.11/yaml.rb +70 -0
  1122. package/lib/ruby/gems/3.4.0/cache/abbrev-0.1.2.gem +0 -0
  1123. package/lib/ruby/gems/3.4.0/cache/base64-0.2.0.gem +0 -0
  1124. package/lib/ruby/gems/3.4.0/cache/csv-3.3.2.gem +0 -0
  1125. package/lib/ruby/gems/3.4.0/cache/drb-2.2.1.gem +0 -0
  1126. package/lib/ruby/gems/3.4.0/cache/getoptlong-0.2.1.gem +0 -0
  1127. package/lib/ruby/gems/3.4.0/cache/matrix-0.4.2.gem +0 -0
  1128. package/lib/ruby/gems/3.4.0/cache/minitest-5.25.4.gem +0 -0
  1129. package/lib/ruby/gems/3.4.0/cache/mutex_m-0.3.0.gem +0 -0
  1130. package/lib/ruby/gems/3.4.0/cache/net-ftp-0.3.8.gem +0 -0
  1131. package/lib/ruby/gems/3.4.0/cache/net-imap-0.5.15.gem +0 -0
  1132. package/lib/ruby/gems/3.4.0/cache/net-pop-0.1.2.gem +0 -0
  1133. package/lib/ruby/gems/3.4.0/cache/net-smtp-0.5.1.gem +0 -0
  1134. package/lib/ruby/gems/3.4.0/cache/observer-0.1.2.gem +0 -0
  1135. package/lib/ruby/gems/3.4.0/cache/power_assert-2.0.5.gem +0 -0
  1136. package/lib/ruby/gems/3.4.0/cache/prime-0.1.3.gem +0 -0
  1137. package/lib/ruby/gems/3.4.0/cache/rake-13.2.1.gem +0 -0
  1138. package/lib/ruby/gems/3.4.0/cache/repl_type_completor-0.1.9.gem +0 -0
  1139. package/lib/ruby/gems/3.4.0/cache/resolv-replace-0.1.1.gem +0 -0
  1140. package/lib/ruby/gems/3.4.0/cache/rexml-3.4.4.gem +0 -0
  1141. package/lib/ruby/gems/3.4.0/cache/rinda-0.2.0.gem +0 -0
  1142. package/lib/ruby/gems/3.4.0/cache/rss-0.3.1.gem +0 -0
  1143. package/lib/ruby/gems/3.4.0/cache/test-unit-3.6.7.gem +0 -0
  1144. package/lib/ruby/gems/3.4.0/cache/typeprof-0.30.1.gem +0 -0
  1145. package/lib/ruby/gems/3.4.0/gems/abbrev-0.1.2/bin/console +0 -0
  1146. package/lib/ruby/gems/3.4.0/gems/abbrev-0.1.2/bin/setup +0 -0
  1147. package/lib/ruby/gems/3.4.0/gems/bundler-2.6.9/exe/bundle +29 -0
  1148. package/lib/ruby/gems/3.4.0/gems/bundler-2.6.9/exe/bundler +4 -0
  1149. package/lib/ruby/gems/3.4.0/gems/erb-4.0.4.1/libexec/erb +164 -0
  1150. package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/bin/console +0 -0
  1151. package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/bin/setup +0 -0
  1152. package/lib/ruby/gems/3.4.0/gems/irb-1.14.3/exe/irb +9 -0
  1153. package/lib/ruby/gems/3.4.0/gems/observer-0.1.2/bin/console +0 -0
  1154. package/lib/ruby/gems/3.4.0/gems/observer-0.1.2/bin/setup +0 -0
  1155. package/lib/ruby/gems/3.4.0/gems/rdoc-6.14.0/exe/rdoc +43 -0
  1156. package/lib/ruby/gems/3.4.0/gems/rdoc-6.14.0/exe/ri +12 -0
  1157. package/lib/ruby/gems/3.4.0/gems/resolv-replace-0.1.1/bin/console +0 -0
  1158. package/lib/ruby/gems/3.4.0/gems/resolv-replace-0.1.1/bin/setup +0 -0
  1159. package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/bin/console +0 -0
  1160. package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/bin/setup +0 -0
  1161. package/lib/ruby/gems/3.4.0/gems/syntax_suggest-2.0.3/exe/syntax_suggest +7 -0
  1162. package/lib/ruby/gems/3.4.0/specifications/abbrev-0.1.2.gemspec +5 -4
  1163. package/lib/ruby/gems/3.4.0/specifications/base64-0.2.0.gemspec +4 -3
  1164. package/lib/ruby/gems/3.4.0/specifications/csv-3.3.2.gemspec +5 -3
  1165. package/lib/ruby/gems/3.4.0/specifications/default/benchmark-0.4.0.gemspec +22 -0
  1166. package/lib/ruby/gems/3.4.0/specifications/default/bundler-2.6.9.gemspec +23 -0
  1167. package/lib/ruby/gems/3.4.0/specifications/default/cgi-0.4.2.gemspec +23 -0
  1168. package/lib/ruby/gems/3.4.0/specifications/default/date-3.4.1.gemspec +23 -0
  1169. package/lib/ruby/gems/3.4.0/specifications/default/delegate-0.4.0.gemspec +21 -0
  1170. package/lib/ruby/gems/3.4.0/specifications/default/did_you_mean-2.0.0.gemspec +20 -0
  1171. package/lib/ruby/gems/3.4.0/specifications/default/digest-3.2.0.gemspec +22 -0
  1172. package/lib/ruby/gems/3.4.0/specifications/default/english-0.8.0.gemspec +21 -0
  1173. package/lib/ruby/gems/3.4.0/specifications/default/erb-4.0.4.1.gemspec +29 -0
  1174. package/lib/ruby/gems/3.4.0/specifications/default/error_highlight-0.7.0.gemspec +20 -0
  1175. package/lib/ruby/gems/3.4.0/specifications/default/etc-1.4.6.gemspec +25 -0
  1176. package/lib/ruby/gems/3.4.0/specifications/default/fcntl-1.2.0.gemspec +24 -0
  1177. package/lib/ruby/gems/3.4.0/specifications/default/fileutils-1.7.3.gemspec +21 -0
  1178. package/lib/ruby/gems/3.4.0/specifications/default/find-0.2.0.gemspec +21 -0
  1179. package/lib/ruby/gems/3.4.0/specifications/default/forwardable-1.3.3.gemspec +21 -0
  1180. package/lib/ruby/gems/3.4.0/specifications/default/io-console-0.8.1.gemspec +23 -0
  1181. package/lib/ruby/gems/3.4.0/specifications/default/io-nonblock-0.3.2.gemspec +23 -0
  1182. package/lib/ruby/gems/3.4.0/specifications/default/io-wait-0.3.2.gemspec +24 -0
  1183. package/lib/ruby/gems/3.4.0/specifications/default/ipaddr-1.2.7.gemspec +20 -0
  1184. package/lib/ruby/gems/3.4.0/specifications/default/irb-1.14.3.gemspec +28 -0
  1185. package/lib/ruby/gems/3.4.0/specifications/default/json-2.9.1.gemspec +23 -0
  1186. package/lib/ruby/gems/3.4.0/specifications/default/logger-1.6.4.gemspec +20 -0
  1187. package/lib/ruby/gems/3.4.0/specifications/default/net-http-0.6.0.gemspec +26 -0
  1188. package/lib/ruby/gems/3.4.0/specifications/default/net-protocol-0.2.2.gemspec +25 -0
  1189. package/lib/ruby/gems/3.4.0/specifications/default/open-uri-0.5.0.gemspec +27 -0
  1190. package/lib/ruby/gems/3.4.0/specifications/default/open3-0.2.1.gemspec +22 -0
  1191. package/lib/ruby/gems/3.4.0/specifications/default/openssl-3.3.3.gemspec +24 -0
  1192. package/lib/ruby/gems/3.4.0/specifications/default/optparse-0.6.0.gemspec +23 -0
  1193. package/lib/ruby/gems/3.4.0/specifications/default/ostruct-0.6.1.gemspec +20 -0
  1194. package/lib/ruby/gems/3.4.0/specifications/default/pathname-0.4.0.gemspec +24 -0
  1195. package/lib/ruby/gems/3.4.0/specifications/default/pp-0.6.2.gemspec +26 -0
  1196. package/lib/ruby/gems/3.4.0/specifications/default/prettyprint-0.2.0.gemspec +22 -0
  1197. package/lib/ruby/gems/3.4.0/specifications/default/prism-1.5.3.gemspec +22 -0
  1198. package/lib/ruby/gems/3.4.0/specifications/default/pstore-0.2.1.gemspec +21 -0
  1199. package/lib/ruby/gems/3.4.0/specifications/default/psych-5.2.2.gemspec +30 -0
  1200. package/lib/ruby/gems/3.4.0/specifications/default/rdoc-6.14.0.gemspec +30 -0
  1201. package/lib/ruby/gems/3.4.0/specifications/default/readline-0.0.4.gemspec +23 -0
  1202. package/lib/ruby/gems/3.4.0/specifications/default/reline-0.6.0.gemspec +25 -0
  1203. package/lib/ruby/gems/3.4.0/specifications/default/resolv-0.7.2.gemspec +24 -0
  1204. package/lib/ruby/gems/3.4.0/specifications/default/ruby2_keywords-0.0.5.gemspec +20 -0
  1205. package/lib/ruby/gems/3.4.0/specifications/default/securerandom-0.4.1.gemspec +22 -0
  1206. package/lib/ruby/gems/3.4.0/specifications/default/set-1.1.1.gemspec +21 -0
  1207. package/lib/ruby/gems/3.4.0/specifications/default/shellwords-0.2.2.gemspec +22 -0
  1208. package/lib/ruby/gems/3.4.0/specifications/default/singleton-0.3.0.gemspec +21 -0
  1209. package/lib/ruby/gems/3.4.0/specifications/default/stringio-3.1.2.gemspec +23 -0
  1210. package/lib/ruby/gems/3.4.0/specifications/default/strscan-3.1.2.gemspec +24 -0
  1211. package/lib/ruby/gems/3.4.0/specifications/default/syntax_suggest-2.0.3.gemspec +23 -0
  1212. package/lib/ruby/gems/3.4.0/specifications/default/tempfile-0.3.1.gemspec +21 -0
  1213. package/lib/ruby/gems/3.4.0/specifications/default/time-0.4.1.gemspec +26 -0
  1214. package/lib/ruby/gems/3.4.0/specifications/default/timeout-0.4.3.gemspec +21 -0
  1215. package/lib/ruby/gems/3.4.0/specifications/default/tmpdir-0.3.1.gemspec +26 -0
  1216. package/lib/ruby/gems/3.4.0/specifications/default/tsort-0.2.0.gemspec +22 -0
  1217. package/lib/ruby/gems/3.4.0/specifications/default/un-0.3.0.gemspec +22 -0
  1218. package/lib/ruby/gems/3.4.0/specifications/default/uri-1.0.4.gemspec +22 -0
  1219. package/lib/ruby/gems/3.4.0/specifications/default/weakref-0.1.3.gemspec +25 -0
  1220. package/lib/ruby/gems/3.4.0/specifications/default/yaml-0.4.0.gemspec +21 -0
  1221. package/lib/ruby/gems/3.4.0/specifications/default/zlib-3.2.3.gemspec +23 -0
  1222. package/lib/ruby/gems/3.4.0/specifications/drb-2.2.1.gemspec +5 -4
  1223. package/lib/ruby/gems/3.4.0/specifications/getoptlong-0.2.1.gemspec +5 -4
  1224. package/lib/ruby/gems/3.4.0/specifications/matrix-0.4.2.gemspec +5 -4
  1225. package/lib/ruby/gems/3.4.0/specifications/minitest-5.25.4.gemspec +7 -5
  1226. package/lib/ruby/gems/3.4.0/specifications/mutex_m-0.3.0.gemspec +4 -3
  1227. package/lib/ruby/gems/3.4.0/specifications/net-ftp-0.3.8.gemspec +10 -4
  1228. package/lib/ruby/gems/3.4.0/specifications/net-imap-0.5.15.gemspec +7 -5
  1229. package/lib/ruby/gems/3.4.0/specifications/net-pop-0.1.2.gemspec +9 -4
  1230. package/lib/ruby/gems/3.4.0/specifications/net-smtp-0.5.1.gemspec +9 -4
  1231. package/lib/ruby/gems/3.4.0/specifications/observer-0.1.2.gemspec +5 -4
  1232. package/lib/ruby/gems/3.4.0/specifications/power_assert-2.0.5.gemspec +6 -4
  1233. package/lib/ruby/gems/3.4.0/specifications/prime-0.1.3.gemspec +10 -4
  1234. package/lib/ruby/gems/3.4.0/specifications/rake-13.2.1.gemspec +6 -4
  1235. package/lib/ruby/gems/3.4.0/specifications/repl_type_completor-0.1.9.gemspec +6 -5
  1236. package/lib/ruby/gems/3.4.0/specifications/resolv-replace-0.1.1.gemspec +6 -5
  1237. package/lib/ruby/gems/3.4.0/specifications/rexml-3.4.4.gemspec +5 -3
  1238. package/lib/ruby/gems/3.4.0/specifications/rinda-0.2.0.gemspec +8 -5
  1239. package/lib/ruby/gems/3.4.0/specifications/rss-0.3.1.gemspec +5 -4
  1240. package/lib/ruby/gems/3.4.0/specifications/test-unit-3.6.7.gemspec +5 -4
  1241. package/lib/ruby/gems/3.4.0/specifications/typeprof-0.30.1.gemspec +7 -5
  1242. package/package.json +17 -13
  1243. package/lib/ruby/3.4.0/expect.rb +0 -71
  1244. package/lib/ruby/gems/3.4.0/gems/abbrev-0.1.2/abbrev.gemspec +0 -29
  1245. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/.bundled.bigdecimal-3.1.8.gemspec +0 -23
  1246. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/LICENSE +0 -56
  1247. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/bigdecimal-3.1.8.gemspec +0 -23
  1248. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/bigdecimal.gemspec +0 -50
  1249. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/jacobian.rb +0 -90
  1250. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/ludcmp.rb +0 -89
  1251. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/math.rb +0 -232
  1252. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/newton.rb +0 -80
  1253. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/util.rb +0 -185
  1254. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal.rb +0 -5
  1255. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/sample/linear.rb +0 -74
  1256. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/sample/nlsolve.rb +0 -40
  1257. package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/sample/pi.rb +0 -21
  1258. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/.bundled.debug-1.11.0.gemspec +0 -25
  1259. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/CONTRIBUTING.md +0 -573
  1260. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/Gemfile +0 -10
  1261. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/LICENSE.txt +0 -22
  1262. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/README.md +0 -996
  1263. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/Rakefile +0 -57
  1264. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/TODO.md +0 -23
  1265. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/debug-1.11.0.gemspec +0 -30
  1266. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/debug.gemspec +0 -33
  1267. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/exe/rdbg +0 -53
  1268. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/abbrev_command.rb +0 -77
  1269. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/breakpoint.rb +0 -556
  1270. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/client.rb +0 -263
  1271. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/color.rb +0 -123
  1272. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/config.rb +0 -592
  1273. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/console.rb +0 -224
  1274. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/dap_custom/traceInspector.rb +0 -336
  1275. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/frame_info.rb +0 -190
  1276. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/irb_integration.rb +0 -37
  1277. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/local.rb +0 -115
  1278. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/open.rb +0 -13
  1279. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/open_nonstop.rb +0 -15
  1280. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/prelude.rb +0 -50
  1281. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/server.rb +0 -534
  1282. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/server_cdp.rb +0 -1348
  1283. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/server_dap.rb +0 -1108
  1284. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/session.rb +0 -2667
  1285. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/source_repository.rb +0 -150
  1286. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/start.rb +0 -5
  1287. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/thread_client.rb +0 -1457
  1288. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/tracer.rb +0 -241
  1289. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/version.rb +0 -5
  1290. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug.rb +0 -9
  1291. package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/misc/README.md.erb +0 -660
  1292. package/lib/ruby/gems/3.4.0/gems/drb-2.2.1/drb.gemspec +0 -41
  1293. package/lib/ruby/gems/3.4.0/gems/getoptlong-0.2.1/getoptlong.gemspec +0 -30
  1294. package/lib/ruby/gems/3.4.0/gems/matrix-0.4.2/matrix.gemspec +0 -26
  1295. package/lib/ruby/gems/3.4.0/gems/minitest-5.25.4/.autotest +0 -34
  1296. package/lib/ruby/gems/3.4.0/gems/net-ftp-0.3.8/net-ftp.gemspec +0 -34
  1297. package/lib/ruby/gems/3.4.0/gems/net-imap-0.5.15/net-imap.gemspec +0 -38
  1298. package/lib/ruby/gems/3.4.0/gems/net-pop-0.1.2/net-pop.gemspec +0 -32
  1299. package/lib/ruby/gems/3.4.0/gems/net-smtp-0.5.1/net-smtp.gemspec +0 -31
  1300. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/.bundled.nkf-0.2.0.gemspec +0 -24
  1301. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/Gemfile +0 -5
  1302. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/LICENSE.txt +0 -22
  1303. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/README.md +0 -38
  1304. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/Rakefile +0 -24
  1305. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/bin/console +0 -14
  1306. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/lib/kconv.rb +0 -283
  1307. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/lib/nkf.rb +0 -6
  1308. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/nkf-0.2.0.gemspec +0 -24
  1309. package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/nkf.gemspec +0 -43
  1310. package/lib/ruby/gems/3.4.0/gems/observer-0.1.2/observer.gemspec +0 -32
  1311. package/lib/ruby/gems/3.4.0/gems/power_assert-2.0.5/power_assert.gemspec +0 -24
  1312. package/lib/ruby/gems/3.4.0/gems/prime-0.1.3/prime.gemspec +0 -28
  1313. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/.bundled.racc-1.8.1.gemspec +0 -26
  1314. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/BSDL +0 -22
  1315. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/COPYING +0 -56
  1316. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/ChangeLog +0 -846
  1317. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/README.ja.rdoc +0 -58
  1318. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/README.rdoc +0 -60
  1319. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/TODO +0 -5
  1320. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/bin/racc +0 -320
  1321. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/en/grammar.en.rdoc +0 -218
  1322. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/en/grammar2.en.rdoc +0 -219
  1323. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/command.ja.html +0 -99
  1324. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/debug.ja.rdoc +0 -36
  1325. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/grammar.ja.rdoc +0 -348
  1326. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/index.ja.html +0 -10
  1327. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/parser.ja.rdoc +0 -125
  1328. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/usage.ja.html +0 -414
  1329. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/compat.rb +0 -33
  1330. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/debugflags.rb +0 -60
  1331. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/exception.rb +0 -16
  1332. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/grammar.rb +0 -1191
  1333. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/grammarfileparser.rb +0 -667
  1334. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/info.rb +0 -18
  1335. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/iset.rb +0 -92
  1336. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/logfilegenerator.rb +0 -212
  1337. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/parser-text.rb +0 -644
  1338. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/parser.rb +0 -630
  1339. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/parserfilegenerator.rb +0 -473
  1340. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/sourcetext.rb +0 -35
  1341. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/state.rb +0 -976
  1342. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/statetransitiontable.rb +0 -311
  1343. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/static.rb +0 -5
  1344. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc.rb +0 -6
  1345. package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/racc-1.8.1.gemspec +0 -26
  1346. package/lib/ruby/gems/3.4.0/gems/rake-13.2.1/rake.gemspec +0 -101
  1347. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/.bundled.rbs-3.8.0.gemspec +0 -25
  1348. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/.rubocop.yml +0 -53
  1349. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/BSDL +0 -22
  1350. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/CHANGELOG.md +0 -1854
  1351. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/COPYING +0 -56
  1352. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/README.md +0 -203
  1353. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/Rakefile +0 -415
  1354. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/Steepfile +0 -44
  1355. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/config.yml +0 -311
  1356. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/array.rbs +0 -4062
  1357. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/basic_object.rbs +0 -375
  1358. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/binding.rbs +0 -150
  1359. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/builtin.rbs +0 -277
  1360. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/class.rbs +0 -220
  1361. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/comparable.rbs +0 -171
  1362. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/complex.rbs +0 -786
  1363. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/constants.rbs +0 -96
  1364. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/data.rbs +0 -415
  1365. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/dir.rbs +0 -981
  1366. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/encoding.rbs +0 -1371
  1367. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/enumerable.rbs +0 -2405
  1368. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/enumerator/product.rbs +0 -92
  1369. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/enumerator.rbs +0 -630
  1370. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/env.rbs +0 -6
  1371. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/errno.rbs +0 -673
  1372. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/errors.rbs +0 -760
  1373. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/exception.rbs +0 -376
  1374. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/false_class.rbs +0 -82
  1375. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/fiber.rbs +0 -550
  1376. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/fiber_error.rbs +0 -11
  1377. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/file.rbs +0 -2936
  1378. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/file_test.rbs +0 -331
  1379. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/float.rbs +0 -1151
  1380. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/gc.rbs +0 -644
  1381. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/global_variables.rbs +0 -184
  1382. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/hash.rbs +0 -1861
  1383. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/integer.rbs +0 -1413
  1384. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/io/buffer.rbs +0 -984
  1385. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/io/wait.rbs +0 -70
  1386. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/io.rbs +0 -3402
  1387. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/kernel.rbs +0 -3054
  1388. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/marshal.rbs +0 -207
  1389. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/match_data.rbs +0 -635
  1390. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/math.rbs +0 -729
  1391. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/method.rbs +0 -386
  1392. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/module.rbs +0 -1704
  1393. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/nil_class.rbs +0 -209
  1394. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/numeric.rbs +0 -818
  1395. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/object.rbs +0 -110
  1396. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/object_space/weak_key_map.rbs +0 -166
  1397. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/object_space.rbs +0 -190
  1398. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/proc.rbs +0 -868
  1399. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/process.rbs +0 -2296
  1400. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/ractor.rbs +0 -1065
  1401. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/random.rbs +0 -237
  1402. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/range.rbs +0 -1107
  1403. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rational.rbs +0 -531
  1404. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rb_config.rbs +0 -88
  1405. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rbs/unnamed/argf.rbs +0 -1229
  1406. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rbs/unnamed/env_class.rbs +0 -1209
  1407. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rbs/unnamed/random.rbs +0 -293
  1408. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/refinement.rbs +0 -59
  1409. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/regexp.rbs +0 -1928
  1410. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/ruby_vm.rbs +0 -765
  1411. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/basic_specification.rbs +0 -6
  1412. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/config_file.rbs +0 -38
  1413. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/dependency_installer.rbs +0 -6
  1414. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/errors.rbs +0 -176
  1415. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/installer.rbs +0 -15
  1416. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/path_support.rbs +0 -6
  1417. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/platform.rbs +0 -7
  1418. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/request_set.rbs +0 -49
  1419. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/requirement.rbs +0 -148
  1420. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/rubygems.rbs +0 -1171
  1421. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/source_list.rbs +0 -15
  1422. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/specification.rbs +0 -23
  1423. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/stream_ui.rbs +0 -5
  1424. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/uninstaller.rbs +0 -10
  1425. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/version.rbs +0 -294
  1426. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/set.rbs +0 -621
  1427. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/signal.rbs +0 -100
  1428. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/string.rbs +0 -3583
  1429. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/struct.rbs +0 -667
  1430. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/symbol.rbs +0 -475
  1431. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/thread.rbs +0 -1765
  1432. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/thread_group.rbs +0 -79
  1433. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/time.rbs +0 -1762
  1434. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/trace_point.rbs +0 -477
  1435. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/true_class.rbs +0 -98
  1436. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/unbound_method.rbs +0 -329
  1437. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/warning.rbs +0 -87
  1438. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/CONTRIBUTING.md +0 -106
  1439. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/architecture.md +0 -110
  1440. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/collection.md +0 -192
  1441. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/data_and_struct.md +0 -86
  1442. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/gem.md +0 -57
  1443. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/rbs_by_example.md +0 -309
  1444. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/repo.md +0 -125
  1445. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/sigs.md +0 -167
  1446. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/stdlib.md +0 -147
  1447. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/syntax.md +0 -905
  1448. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/tools.md +0 -17
  1449. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/exe/rbs +0 -7
  1450. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/goodcheck.yml +0 -91
  1451. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/include/rbs/constants.h +0 -82
  1452. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/include/rbs/ruby_objs.h +0 -72
  1453. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/include/rbs.h +0 -7
  1454. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ancestor_graph.rb +0 -92
  1455. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/annotations.rb +0 -199
  1456. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/formatter.rb +0 -92
  1457. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/rdoc_annotator.rb +0 -400
  1458. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/rdoc_source.rb +0 -131
  1459. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate.rb +0 -8
  1460. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/annotation.rb +0 -29
  1461. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/comment.rb +0 -29
  1462. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/declarations.rb +0 -467
  1463. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/directives.rb +0 -39
  1464. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/members.rb +0 -449
  1465. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/type_param.rb +0 -225
  1466. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/visitor.rb +0 -137
  1467. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/buffer.rb +0 -67
  1468. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/builtin_names.rb +0 -58
  1469. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli/colored_io.rb +0 -48
  1470. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli/diff.rb +0 -83
  1471. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli/validate.rb +0 -356
  1472. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli.rb +0 -1223
  1473. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/cleaner.rb +0 -38
  1474. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/config/lockfile.rb +0 -92
  1475. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/config/lockfile_generator.rb +0 -223
  1476. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/config.rb +0 -81
  1477. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/installer.rb +0 -32
  1478. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/base.rb +0 -14
  1479. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/git.rb +0 -258
  1480. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/local.rb +0 -81
  1481. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/rubygems.rb +0 -48
  1482. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/stdlib.rb +0 -50
  1483. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources.rb +0 -38
  1484. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection.rb +0 -16
  1485. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/constant.rb +0 -28
  1486. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition.rb +0 -395
  1487. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition_builder/ancestor_builder.rb +0 -620
  1488. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition_builder/method_builder.rb +0 -254
  1489. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition_builder.rb +0 -841
  1490. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/diff.rb +0 -125
  1491. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment/use_map.rb +0 -77
  1492. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment.rb +0 -818
  1493. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment_loader.rb +0 -173
  1494. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment_walker.rb +0 -155
  1495. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/errors.rb +0 -600
  1496. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/factory.rb +0 -18
  1497. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/file_finder.rb +0 -28
  1498. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/location_aux.rb +0 -138
  1499. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/locator.rb +0 -241
  1500. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/method_type.rb +0 -141
  1501. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/namespace.rb +0 -125
  1502. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/parser/lex_result.rb +0 -15
  1503. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/parser/token.rb +0 -23
  1504. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/parser_aux.rb +0 -77
  1505. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/helpers.rb +0 -140
  1506. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/node_usage.rb +0 -99
  1507. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/rb.rb +0 -840
  1508. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/rbi.rb +0 -641
  1509. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime/helpers.rb +0 -59
  1510. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime/reflection.rb +0 -19
  1511. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime/value_object_generator.rb +0 -279
  1512. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime.rb +0 -667
  1513. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/repository.rb +0 -127
  1514. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/resolver/constant_resolver.rb +0 -219
  1515. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/resolver/type_name_resolver.rb +0 -91
  1516. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/sorter.rb +0 -198
  1517. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/substitution.rb +0 -83
  1518. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/subtractor.rb +0 -201
  1519. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/errors.rb +0 -80
  1520. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/guaranteed.rb +0 -30
  1521. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/hook.rb +0 -212
  1522. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/observer.rb +0 -19
  1523. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/setup.rb +0 -84
  1524. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/setup_helper.rb +0 -50
  1525. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/tester.rb +0 -167
  1526. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/type_check.rb +0 -433
  1527. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test.rb +0 -112
  1528. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/type_alias_dependency.rb +0 -100
  1529. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/type_alias_regularity.rb +0 -126
  1530. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/type_name.rb +0 -109
  1531. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/types.rb +0 -1557
  1532. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/convertibles.rb +0 -176
  1533. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/spy.rb +0 -136
  1534. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/type_assertions.rb +0 -341
  1535. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/with_aliases.rb +0 -143
  1536. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test.rb +0 -6
  1537. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/validator.rb +0 -182
  1538. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/variance_calculator.rb +0 -189
  1539. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/vendorer.rb +0 -71
  1540. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/version.rb +0 -5
  1541. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/writer.rb +0 -419
  1542. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs.rb +0 -93
  1543. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rdoc/discover.rb +0 -20
  1544. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rdoc_plugin/parser.rb +0 -163
  1545. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/rbs-3.8.0.gemspec +0 -29
  1546. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/rbs.gemspec +0 -49
  1547. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/annotation.json +0 -14
  1548. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/comment.json +0 -26
  1549. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/decls.json +0 -326
  1550. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/function.json +0 -87
  1551. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/location.json +0 -56
  1552. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/members.json +0 -266
  1553. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/methodType.json +0 -50
  1554. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/typeParam.json +0 -36
  1555. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/types.json +0 -317
  1556. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/ancestor_builder.rbs +0 -163
  1557. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/ancestor_graph.rbs +0 -60
  1558. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/annotations.rbs +0 -102
  1559. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/formatter.rbs +0 -24
  1560. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/rdoc_annotater.rbs +0 -82
  1561. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/rdoc_source.rbs +0 -30
  1562. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotation.rbs +0 -27
  1563. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/buffer.rbs +0 -32
  1564. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/builtin_names.rbs +0 -44
  1565. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli/colored_io.rbs +0 -15
  1566. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli/diff.rbs +0 -21
  1567. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli/validate.rbs +0 -43
  1568. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli.rbs +0 -87
  1569. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/cleaner.rbs +0 -13
  1570. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/config/lockfile.rbs +0 -74
  1571. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/config/lockfile_generator.rbs +0 -66
  1572. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/config.rbs +0 -46
  1573. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/installer.rbs +0 -17
  1574. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/sources.rbs +0 -214
  1575. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection.rbs +0 -4
  1576. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/comment.rbs +0 -26
  1577. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/constant.rbs +0 -21
  1578. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/declarations.rbs +0 -267
  1579. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/definition.rbs +0 -173
  1580. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/definition_builder.rbs +0 -165
  1581. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/diff.rbs +0 -28
  1582. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/directives.rbs +0 -61
  1583. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/environment.rbs +0 -277
  1584. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/environment_loader.rbs +0 -111
  1585. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/environment_walker.rbs +0 -65
  1586. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/errors.rbs +0 -383
  1587. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/factory.rbs +0 -5
  1588. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/file_finder.rbs +0 -28
  1589. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/location.rbs +0 -110
  1590. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/locator.rbs +0 -58
  1591. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/manifest.yaml +0 -7
  1592. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/members.rbs +0 -258
  1593. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/method_builder.rbs +0 -84
  1594. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/method_types.rbs +0 -58
  1595. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/namespace.rbs +0 -146
  1596. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/parser.rbs +0 -96
  1597. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/helpers.rbs +0 -27
  1598. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/node_usage.rbs +0 -20
  1599. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/rb.rbs +0 -96
  1600. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/rbi.rbs +0 -75
  1601. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/runtime.rbs +0 -182
  1602. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/rbs.rbs +0 -21
  1603. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/rdoc/rbs.rbs +0 -67
  1604. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/repository.rbs +0 -85
  1605. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/resolver/constant_resolver.rbs +0 -92
  1606. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/resolver/context.rbs +0 -34
  1607. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/resolver/type_name_resolver.rbs +0 -35
  1608. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/shims/bundler.rbs +0 -38
  1609. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/shims/enumerable.rbs +0 -5
  1610. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/shims/rubygems.rbs +0 -19
  1611. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/sorter.rbs +0 -41
  1612. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/substitution.rbs +0 -48
  1613. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/subtractor.rbs +0 -37
  1614. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test/errors.rbs +0 -52
  1615. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test/guranteed.rbs +0 -9
  1616. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test/type_check.rbs +0 -19
  1617. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test.rbs +0 -82
  1618. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/type_alias_dependency.rbs +0 -53
  1619. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/type_alias_regularity.rbs +0 -98
  1620. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/type_param.rbs +0 -110
  1621. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/typename.rbs +0 -79
  1622. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/types.rbs +0 -576
  1623. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/convertibles.rbs +0 -154
  1624. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/spy.rbs +0 -28
  1625. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/type_assertions.rbs +0 -194
  1626. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/with_aliases.rbs +0 -136
  1627. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/use_map.rbs +0 -35
  1628. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/util.rbs +0 -9
  1629. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/validator.rbs +0 -59
  1630. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/variance_calculator.rbs +0 -87
  1631. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/vendorer.rbs +0 -51
  1632. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/version.rbs +0 -3
  1633. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/visitor.rbs +0 -47
  1634. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/writer.rbs +0 -127
  1635. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/src/constants.c +0 -153
  1636. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/src/ruby_objs.c +0 -793
  1637. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/abbrev/0/abbrev.rbs +0 -66
  1638. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/abbrev/0/array.rbs +0 -26
  1639. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/base64/0/base64.rbs +0 -355
  1640. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/benchmark/0/benchmark.rbs +0 -452
  1641. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/bigdecimal/0/big_decimal.rbs +0 -1629
  1642. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/bigdecimal-math/0/big_math.rbs +0 -119
  1643. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/bigdecimal-math/0/manifest.yaml +0 -2
  1644. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/cgi/0/core.rbs +0 -1285
  1645. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/cgi/0/manifest.yaml +0 -3
  1646. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/coverage/0/coverage.rbs +0 -263
  1647. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/csv/0/csv.rbs +0 -3776
  1648. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/csv/0/manifest.yaml +0 -3
  1649. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/date/0/date.rbs +0 -1585
  1650. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/date/0/date_time.rbs +0 -616
  1651. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/date/0/time.rbs +0 -26
  1652. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/dbm/0/dbm.rbs +0 -421
  1653. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/delegate/0/delegator.rbs +0 -184
  1654. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/delegate/0/kernel.rbs +0 -47
  1655. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/delegate/0/simple_delegator.rbs +0 -96
  1656. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/did_you_mean/0/did_you_mean.rbs +0 -343
  1657. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/digest/0/digest.rbs +0 -577
  1658. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/erb/0/erb.rbs +0 -532
  1659. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/etc/0/etc.rbs +0 -865
  1660. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/fileutils/0/fileutils.rbs +0 -1734
  1661. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/find/0/find.rbs +0 -49
  1662. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/forwardable/0/forwardable.rbs +0 -268
  1663. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/io-console/0/io-console.rbs +0 -414
  1664. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/ipaddr/0/ipaddr.rbs +0 -428
  1665. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/json/0/json.rbs +0 -1914
  1666. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/kconv/0/kconv.rbs +0 -166
  1667. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/formatter.rbs +0 -45
  1668. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/log_device.rbs +0 -100
  1669. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/logger.rbs +0 -796
  1670. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/manifest.yaml +0 -2
  1671. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/period.rbs +0 -17
  1672. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/severity.rbs +0 -34
  1673. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/kernel.rbs +0 -42
  1674. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/abstract_reporter.rbs +0 -52
  1675. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/assertion.rbs +0 -17
  1676. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/assertions.rbs +0 -590
  1677. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/backtrace_filter.rbs +0 -23
  1678. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/bench_spec.rbs +0 -102
  1679. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/benchmark.rbs +0 -259
  1680. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/composite_reporter.rbs +0 -25
  1681. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/compress.rbs +0 -13
  1682. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/error_on_warning.rbs +0 -3
  1683. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/expectation.rbs +0 -2
  1684. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/expectations.rbs +0 -21
  1685. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/guard.rbs +0 -64
  1686. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/mock.rbs +0 -64
  1687. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel/executor.rbs +0 -46
  1688. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel/test/class_methods.rbs +0 -5
  1689. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel/test.rbs +0 -3
  1690. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel.rbs +0 -2
  1691. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/pride_io.rbs +0 -62
  1692. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/pride_lol.rbs +0 -19
  1693. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/progress_reporter.rbs +0 -11
  1694. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/reportable.rbs +0 -53
  1695. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/reporter.rbs +0 -5
  1696. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/result.rbs +0 -28
  1697. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/runnable.rbs +0 -163
  1698. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/skip.rbs +0 -6
  1699. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/spec/dsl/instance_methods.rbs +0 -48
  1700. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/spec/dsl.rbs +0 -129
  1701. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/spec.rbs +0 -11
  1702. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/statistics_reporter.rbs +0 -81
  1703. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/summary_reporter.rbs +0 -18
  1704. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/test/lifecycle_hooks.rbs +0 -92
  1705. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/test.rbs +0 -69
  1706. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unexpected_error.rbs +0 -12
  1707. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unexpected_warning.rbs +0 -6
  1708. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unit/test_case.rbs +0 -3
  1709. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unit.rbs +0 -4
  1710. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest.rbs +0 -115
  1711. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/monitor/0/monitor.rbs +0 -354
  1712. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/mutex_m/0/mutex_m.rbs +0 -104
  1713. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-http/0/manifest.yaml +0 -3
  1714. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-http/0/net-http.rbs +0 -5552
  1715. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-protocol/0/manifest.yaml +0 -2
  1716. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-protocol/0/net-protocol.rbs +0 -56
  1717. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-smtp/0/manifest.yaml +0 -2
  1718. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-smtp/0/net-smtp.rbs +0 -55
  1719. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/nkf/0/nkf.rbs +0 -402
  1720. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/objspace/0/objspace.rbs +0 -487
  1721. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/observable/0/observable.rbs +0 -217
  1722. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/open-uri/0/manifest.yaml +0 -4
  1723. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/open-uri/0/open-uri.rbs +0 -393
  1724. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/open3/0/open3.rbs +0 -147
  1725. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/openssl/0/manifest.yaml +0 -3
  1726. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/openssl/0/openssl.rbs +0 -12113
  1727. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/optparse/0/optparse.rbs +0 -1725
  1728. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pathname/0/pathname.rbs +0 -1406
  1729. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pp/0/manifest.yaml +0 -2
  1730. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pp/0/pp.rbs +0 -300
  1731. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/prettyprint/0/prettyprint.rbs +0 -383
  1732. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pstore/0/pstore.rbs +0 -603
  1733. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/core_ext.rbs +0 -12
  1734. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/dbm.rbs +0 -237
  1735. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/manifest.yaml +0 -3
  1736. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/psych.rbs +0 -402
  1737. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/store.rbs +0 -59
  1738. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pty/0/pty.rbs +0 -237
  1739. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/code_object.rbs +0 -51
  1740. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/comment.rbs +0 -59
  1741. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/context.rbs +0 -153
  1742. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/markup.rbs +0 -117
  1743. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/parser.rbs +0 -56
  1744. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/rdoc.rbs +0 -391
  1745. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/ri.rbs +0 -17
  1746. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/store.rbs +0 -48
  1747. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/top_level.rbs +0 -97
  1748. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/resolv/0/manifest.yaml +0 -3
  1749. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/resolv/0/resolv.rbs +0 -1830
  1750. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/ripper/0/ripper.rbs +0 -1648
  1751. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/securerandom/0/securerandom.rbs +0 -62
  1752. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/shellwords/0/shellwords.rbs +0 -229
  1753. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/singleton/0/singleton.rbs +0 -131
  1754. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/addrinfo.rbs +0 -666
  1755. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/basic_socket.rbs +0 -590
  1756. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/constants.rbs +0 -2295
  1757. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/ip_socket.rbs +0 -92
  1758. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/socket.rbs +0 -4157
  1759. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/socket_error.rbs +0 -5
  1760. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/tcp_server.rbs +0 -192
  1761. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/tcp_socket.rbs +0 -79
  1762. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/udp_socket.rbs +0 -133
  1763. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/unix_server.rbs +0 -169
  1764. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/unix_socket.rbs +0 -170
  1765. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/stringio/0/stringio.rbs +0 -567
  1766. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/strscan/0/string_scanner.rbs +0 -1627
  1767. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tempfile/0/tempfile.rbs +0 -479
  1768. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/time/0/time.rbs +0 -432
  1769. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/timeout/0/timeout.rbs +0 -81
  1770. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tmpdir/0/tmpdir.rbs +0 -69
  1771. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tsort/0/cyclic.rbs +0 -5
  1772. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tsort/0/interfaces.rbs +0 -20
  1773. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tsort/0/tsort.rbs +0 -409
  1774. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/common.rbs +0 -582
  1775. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/file.rbs +0 -118
  1776. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ftp.rbs +0 -13
  1777. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/generic.rbs +0 -1108
  1778. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/http.rbs +0 -104
  1779. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/https.rbs +0 -14
  1780. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ldap.rbs +0 -230
  1781. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ldaps.rbs +0 -14
  1782. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/mailto.rbs +0 -92
  1783. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/rfc2396_parser.rbs +0 -189
  1784. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/rfc3986_parser.rbs +0 -2
  1785. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ws.rbs +0 -13
  1786. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/wss.rbs +0 -9
  1787. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/yaml/0/manifest.yaml +0 -2
  1788. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/yaml/0/yaml.rbs +0 -1
  1789. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/buf_error.rbs +0 -10
  1790. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/data_error.rbs +0 -10
  1791. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/deflate.rbs +0 -210
  1792. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/error.rbs +0 -20
  1793. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/crc_error.rbs +0 -12
  1794. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/error.rbs +0 -23
  1795. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/length_error.rbs +0 -12
  1796. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/no_footer.rbs +0 -11
  1797. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file.rbs +0 -156
  1798. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_reader.rbs +0 -293
  1799. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_writer.rbs +0 -166
  1800. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/inflate.rbs +0 -180
  1801. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/mem_error.rbs +0 -10
  1802. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/need_dict.rbs +0 -13
  1803. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/stream_end.rbs +0 -11
  1804. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/stream_error.rbs +0 -11
  1805. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/version_error.rbs +0 -11
  1806. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/zlib.rbs +0 -449
  1807. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/zstream.rbs +0 -200
  1808. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/include/rbs/constants.h.erb +0 -20
  1809. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/include/rbs/ruby_objs.h.erb +0 -10
  1810. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/src/constants.c.erb +0 -36
  1811. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/src/ruby_objs.c.erb +0 -27
  1812. package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/template.rb +0 -122
  1813. package/lib/ruby/gems/3.4.0/gems/resolv-replace-0.1.1/resolv-replace.gemspec +0 -22
  1814. package/lib/ruby/gems/3.4.0/gems/rinda-0.2.0/rinda.gemspec +0 -35
  1815. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/.bundled.syslog-0.2.0.gemspec +0 -23
  1816. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/Gemfile +0 -5
  1817. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/LICENSE.txt +0 -22
  1818. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/README.md +0 -41
  1819. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/Rakefile +0 -20
  1820. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/bin/console +0 -14
  1821. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/bin/setup +0 -8
  1822. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/lib/syslog/logger.rb +0 -209
  1823. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/lib/syslog.rb +0 -10
  1824. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/syslog-0.2.0.gemspec +0 -23
  1825. package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/syslog.gemspec +0 -26
  1826. package/lib/ruby/gems/3.4.0/gems/typeprof-0.30.1/typeprof.gemspec +0 -32
  1827. package/lib/ruby/gems/3.4.0/specifications/bigdecimal-3.1.8.gemspec +0 -50
  1828. package/lib/ruby/gems/3.4.0/specifications/debug-1.11.0.gemspec +0 -33
  1829. package/lib/ruby/gems/3.4.0/specifications/nkf-0.2.0.gemspec +0 -43
  1830. package/lib/ruby/gems/3.4.0/specifications/racc-1.8.1.gemspec +0 -26
  1831. package/lib/ruby/gems/3.4.0/specifications/rbs-3.8.0.gemspec +0 -49
  1832. package/lib/ruby/gems/3.4.0/specifications/syslog-0.2.0.gemspec +0 -26
@@ -0,0 +1,2234 @@
1
+ # frozen_string_literal: true
2
+ # :markup: markdown
3
+
4
+ module Prism
5
+ module Translation
6
+ class Parser
7
+ # A visitor that knows how to convert a prism syntax tree into the
8
+ # whitequark/parser gem's syntax tree.
9
+ class Compiler < ::Prism::Compiler
10
+ # Raised when the tree is malformed or there is a bug in the compiler.
11
+ class CompilationError < StandardError
12
+ end
13
+
14
+ # The Parser::Base instance that is being used to build the AST.
15
+ attr_reader :parser
16
+
17
+ # The Parser::Builders::Default instance that is being used to build the
18
+ # AST.
19
+ attr_reader :builder
20
+
21
+ # The Parser::Source::Buffer instance that is holding a reference to the
22
+ # source code.
23
+ attr_reader :source_buffer
24
+
25
+ # The offset cache that is used to map between byte and character
26
+ # offsets in the file.
27
+ attr_reader :offset_cache
28
+
29
+ # The types of values that can be forwarded in the current scope.
30
+ attr_reader :forwarding
31
+
32
+ # Whether or not the current node is in a destructure.
33
+ attr_reader :in_destructure
34
+
35
+ # Whether or not the current node is in a pattern.
36
+ attr_reader :in_pattern
37
+
38
+ # Initialize a new compiler with the given parser, offset cache, and
39
+ # options.
40
+ def initialize(parser, offset_cache, forwarding: [], in_destructure: false, in_pattern: false)
41
+ @parser = parser
42
+ @builder = parser.builder
43
+ @source_buffer = parser.source_buffer
44
+ @offset_cache = offset_cache
45
+
46
+ @forwarding = forwarding
47
+ @in_destructure = in_destructure
48
+ @in_pattern = in_pattern
49
+ end
50
+
51
+ # alias foo bar
52
+ # ^^^^^^^^^^^^^
53
+ def visit_alias_method_node(node)
54
+ builder.alias(token(node.keyword_loc), visit(node.new_name), visit(node.old_name))
55
+ end
56
+
57
+ # alias $foo $bar
58
+ # ^^^^^^^^^^^^^^^
59
+ def visit_alias_global_variable_node(node)
60
+ builder.alias(token(node.keyword_loc), visit(node.new_name), visit(node.old_name))
61
+ end
62
+
63
+ # foo => bar | baz
64
+ # ^^^^^^^^^
65
+ def visit_alternation_pattern_node(node)
66
+ builder.match_alt(visit(node.left), token(node.operator_loc), visit(node.right))
67
+ end
68
+
69
+ # a and b
70
+ # ^^^^^^^
71
+ def visit_and_node(node)
72
+ builder.logical_op(:and, visit(node.left), token(node.operator_loc), visit(node.right))
73
+ end
74
+
75
+ # []
76
+ # ^^
77
+ def visit_array_node(node)
78
+ if node.opening&.start_with?("%w", "%W", "%i", "%I")
79
+ elements = node.elements.flat_map do |element|
80
+ if element.is_a?(StringNode)
81
+ if element.content.include?("\n")
82
+ string_nodes_from_line_continuations(element.unescaped, element.content, element.content_loc.start_offset, node.opening)
83
+ else
84
+ [builder.string_internal([element.unescaped, srange(element.content_loc)])]
85
+ end
86
+ elsif element.is_a?(InterpolatedStringNode)
87
+ builder.string_compose(
88
+ token(element.opening_loc),
89
+ string_nodes_from_interpolation(element, node.opening),
90
+ token(element.closing_loc)
91
+ )
92
+ else
93
+ [visit(element)]
94
+ end
95
+ end
96
+ else
97
+ elements = visit_all(node.elements)
98
+ end
99
+
100
+ builder.array(token(node.opening_loc), elements, token(node.closing_loc))
101
+ end
102
+
103
+ # foo => [bar]
104
+ # ^^^^^
105
+ def visit_array_pattern_node(node)
106
+ elements = [*node.requireds]
107
+ elements << node.rest if !node.rest.nil? && !node.rest.is_a?(ImplicitRestNode)
108
+ elements.concat(node.posts)
109
+ visited = visit_all(elements)
110
+
111
+ if node.rest.is_a?(ImplicitRestNode)
112
+ visited[-1] = builder.match_with_trailing_comma(visited[-1], token(node.rest.location))
113
+ end
114
+
115
+ if node.constant
116
+ if visited.empty?
117
+ builder.const_pattern(visit(node.constant), token(node.opening_loc), builder.array_pattern(token(node.opening_loc), visited, token(node.closing_loc)), token(node.closing_loc))
118
+ else
119
+ builder.const_pattern(visit(node.constant), token(node.opening_loc), builder.array_pattern(nil, visited, nil), token(node.closing_loc))
120
+ end
121
+ else
122
+ builder.array_pattern(token(node.opening_loc), visited, token(node.closing_loc))
123
+ end
124
+ end
125
+
126
+ # foo(bar)
127
+ # ^^^
128
+ def visit_arguments_node(node)
129
+ visit_all(node.arguments)
130
+ end
131
+
132
+ # { a: 1 }
133
+ # ^^^^
134
+ def visit_assoc_node(node)
135
+ key = node.key
136
+
137
+ if node.value.is_a?(ImplicitNode)
138
+ if in_pattern
139
+ if key.is_a?(SymbolNode)
140
+ if key.opening.nil?
141
+ builder.match_hash_var([key.unescaped, srange(key.location)])
142
+ else
143
+ builder.match_hash_var_from_str(token(key.opening_loc), [builder.string_internal([key.unescaped, srange(key.value_loc)])], token(key.closing_loc))
144
+ end
145
+ else
146
+ builder.match_hash_var_from_str(token(key.opening_loc), visit_all(key.parts), token(key.closing_loc))
147
+ end
148
+ else
149
+ value = node.value.value
150
+
151
+ implicit_value = if value.is_a?(CallNode)
152
+ builder.call_method(nil, nil, [value.name, srange(value.message_loc)])
153
+ elsif value.is_a?(ConstantReadNode)
154
+ builder.const([value.name, srange(key.value_loc)])
155
+ else
156
+ builder.ident([value.name, srange(key.value_loc)]).updated(:lvar)
157
+ end
158
+
159
+ builder.pair_keyword([key.unescaped, srange(key)], implicit_value)
160
+ end
161
+ elsif node.operator_loc
162
+ builder.pair(visit(key), token(node.operator_loc), visit(node.value))
163
+ elsif key.is_a?(SymbolNode) && key.opening_loc.nil?
164
+ builder.pair_keyword([key.unescaped, srange(key.location)], visit(node.value))
165
+ else
166
+ parts =
167
+ if key.is_a?(SymbolNode)
168
+ [builder.string_internal([key.unescaped, srange(key.value_loc)])]
169
+ else
170
+ visit_all(key.parts)
171
+ end
172
+
173
+ builder.pair_quoted(token(key.opening_loc), parts, token(key.closing_loc), visit(node.value))
174
+ end
175
+ end
176
+
177
+ # def foo(**); bar(**); end
178
+ # ^^
179
+ #
180
+ # { **foo }
181
+ # ^^^^^
182
+ def visit_assoc_splat_node(node)
183
+ if in_pattern
184
+ builder.match_rest(token(node.operator_loc), token(node.value&.location))
185
+ elsif node.value.nil? && forwarding.include?(:**)
186
+ builder.forwarded_kwrestarg(token(node.operator_loc))
187
+ else
188
+ builder.kwsplat(token(node.operator_loc), visit(node.value))
189
+ end
190
+ end
191
+
192
+ # $+
193
+ # ^^
194
+ def visit_back_reference_read_node(node)
195
+ builder.back_ref(token(node.location))
196
+ end
197
+
198
+ # begin end
199
+ # ^^^^^^^^^
200
+ def visit_begin_node(node)
201
+ rescue_bodies = []
202
+
203
+ if (rescue_clause = node.rescue_clause)
204
+ begin
205
+ find_start_offset = (rescue_clause.reference&.location || rescue_clause.exceptions.last&.location || rescue_clause.keyword_loc).end_offset
206
+ find_end_offset = (
207
+ rescue_clause.statements&.location&.start_offset ||
208
+ rescue_clause.subsequent&.location&.start_offset ||
209
+ node.else_clause&.location&.start_offset ||
210
+ node.ensure_clause&.location&.start_offset ||
211
+ node.end_keyword_loc&.start_offset ||
212
+ find_start_offset + 1
213
+ )
214
+
215
+ rescue_bodies << builder.rescue_body(
216
+ token(rescue_clause.keyword_loc),
217
+ rescue_clause.exceptions.any? ? builder.array(nil, visit_all(rescue_clause.exceptions), nil) : nil,
218
+ token(rescue_clause.operator_loc),
219
+ visit(rescue_clause.reference),
220
+ srange_find(find_start_offset, find_end_offset, ";"),
221
+ visit(rescue_clause.statements)
222
+ )
223
+ end until (rescue_clause = rescue_clause.subsequent).nil?
224
+ end
225
+
226
+ begin_body =
227
+ builder.begin_body(
228
+ visit(node.statements),
229
+ rescue_bodies,
230
+ token(node.else_clause&.else_keyword_loc),
231
+ visit(node.else_clause),
232
+ token(node.ensure_clause&.ensure_keyword_loc),
233
+ visit(node.ensure_clause&.statements)
234
+ )
235
+
236
+ if node.begin_keyword_loc
237
+ builder.begin_keyword(token(node.begin_keyword_loc), begin_body, token(node.end_keyword_loc))
238
+ else
239
+ begin_body
240
+ end
241
+ end
242
+
243
+ # foo(&bar)
244
+ # ^^^^
245
+ def visit_block_argument_node(node)
246
+ builder.block_pass(token(node.operator_loc), visit(node.expression))
247
+ end
248
+
249
+ # foo { |; bar| }
250
+ # ^^^
251
+ def visit_block_local_variable_node(node)
252
+ builder.shadowarg(token(node.location))
253
+ end
254
+
255
+ # A block on a keyword or method call.
256
+ def visit_block_node(node)
257
+ raise CompilationError, "Cannot directly compile block nodes"
258
+ end
259
+
260
+ # def foo(&bar); end
261
+ # ^^^^
262
+ def visit_block_parameter_node(node)
263
+ builder.blockarg(token(node.operator_loc), token(node.name_loc))
264
+ end
265
+
266
+ # A block's parameters.
267
+ def visit_block_parameters_node(node)
268
+ [*visit(node.parameters)].concat(visit_all(node.locals))
269
+ end
270
+
271
+ # break
272
+ # ^^^^^
273
+ #
274
+ # break foo
275
+ # ^^^^^^^^^
276
+ def visit_break_node(node)
277
+ builder.keyword_cmd(:break, token(node.keyword_loc), nil, visit(node.arguments) || [], nil)
278
+ end
279
+
280
+ # foo
281
+ # ^^^
282
+ #
283
+ # foo.bar
284
+ # ^^^^^^^
285
+ #
286
+ # foo.bar() {}
287
+ # ^^^^^^^^^^^^
288
+ def visit_call_node(node)
289
+ name = node.name
290
+ arguments = node.arguments&.arguments || []
291
+ block = node.block
292
+
293
+ if block.is_a?(BlockArgumentNode)
294
+ arguments = [*arguments, block]
295
+ block = nil
296
+ end
297
+
298
+ if node.call_operator_loc.nil?
299
+ case name
300
+ when :-@
301
+ case (receiver = node.receiver).type
302
+ when :integer_node, :float_node, :rational_node, :imaginary_node
303
+ return visit(numeric_negate(node.message_loc, receiver))
304
+ end
305
+ when :!
306
+ return visit_block(builder.not_op(token(node.message_loc), token(node.opening_loc), visit(node.receiver), token(node.closing_loc)), block)
307
+ when :=~
308
+ if (receiver = node.receiver).is_a?(RegularExpressionNode)
309
+ return builder.match_op(visit(receiver), token(node.message_loc), visit(node.arguments.arguments.first))
310
+ end
311
+ when :[]
312
+ return visit_block(builder.index(visit(node.receiver), token(node.opening_loc), visit_all(arguments), token(node.closing_loc)), block)
313
+ when :[]=
314
+ if node.message != "[]=" && node.arguments && block.nil? && !node.safe_navigation?
315
+ arguments = node.arguments.arguments[...-1]
316
+ arguments << node.block if node.block
317
+
318
+ return visit_block(
319
+ builder.assign(
320
+ builder.index_asgn(
321
+ visit(node.receiver),
322
+ token(node.opening_loc),
323
+ visit_all(arguments),
324
+ token(node.closing_loc),
325
+ ),
326
+ srange_find(node.message_loc.end_offset, node.arguments.arguments.last.location.start_offset, "="),
327
+ visit(node.arguments.arguments.last)
328
+ ),
329
+ block
330
+ )
331
+ end
332
+ end
333
+ end
334
+
335
+ message_loc = node.message_loc
336
+ call_operator_loc = node.call_operator_loc
337
+ call_operator = [{ "." => :dot, "&." => :anddot, "::" => "::" }.fetch(call_operator_loc.slice), srange(call_operator_loc)] if call_operator_loc
338
+
339
+ visit_block(
340
+ if name.end_with?("=") && !message_loc.slice.end_with?("=") && node.arguments && block.nil?
341
+ builder.assign(
342
+ builder.attr_asgn(visit(node.receiver), call_operator, token(message_loc)),
343
+ srange_find(message_loc.end_offset, node.arguments.location.start_offset, "="),
344
+ visit(node.arguments.arguments.last)
345
+ )
346
+ else
347
+ builder.call_method(
348
+ visit(node.receiver),
349
+ call_operator,
350
+ message_loc ? [node.name, srange(message_loc)] : nil,
351
+ token(node.opening_loc),
352
+ visit_all(arguments),
353
+ token(node.closing_loc)
354
+ )
355
+ end,
356
+ block
357
+ )
358
+ end
359
+
360
+ # foo.bar += baz
361
+ # ^^^^^^^^^^^^^^^
362
+ def visit_call_operator_write_node(node)
363
+ call_operator_loc = node.call_operator_loc
364
+
365
+ builder.op_assign(
366
+ builder.call_method(
367
+ visit(node.receiver),
368
+ call_operator_loc.nil? ? nil : [{ "." => :dot, "&." => :anddot, "::" => "::" }.fetch(call_operator_loc.slice), srange(call_operator_loc)],
369
+ node.message_loc ? [node.read_name, srange(node.message_loc)] : nil,
370
+ nil,
371
+ [],
372
+ nil
373
+ ),
374
+ [node.binary_operator_loc.slice.chomp("="), srange(node.binary_operator_loc)],
375
+ visit(node.value)
376
+ )
377
+ end
378
+
379
+ # foo.bar &&= baz
380
+ # ^^^^^^^^^^^^^^^
381
+ def visit_call_and_write_node(node)
382
+ call_operator_loc = node.call_operator_loc
383
+
384
+ builder.op_assign(
385
+ builder.call_method(
386
+ visit(node.receiver),
387
+ call_operator_loc.nil? ? nil : [{ "." => :dot, "&." => :anddot, "::" => "::" }.fetch(call_operator_loc.slice), srange(call_operator_loc)],
388
+ node.message_loc ? [node.read_name, srange(node.message_loc)] : nil,
389
+ nil,
390
+ [],
391
+ nil
392
+ ),
393
+ [node.operator_loc.slice.chomp("="), srange(node.operator_loc)],
394
+ visit(node.value)
395
+ )
396
+ end
397
+
398
+ # foo.bar ||= baz
399
+ # ^^^^^^^^^^^^^^^
400
+ def visit_call_or_write_node(node)
401
+ call_operator_loc = node.call_operator_loc
402
+
403
+ builder.op_assign(
404
+ builder.call_method(
405
+ visit(node.receiver),
406
+ call_operator_loc.nil? ? nil : [{ "." => :dot, "&." => :anddot, "::" => "::" }.fetch(call_operator_loc.slice), srange(call_operator_loc)],
407
+ node.message_loc ? [node.read_name, srange(node.message_loc)] : nil,
408
+ nil,
409
+ [],
410
+ nil
411
+ ),
412
+ [node.operator_loc.slice.chomp("="), srange(node.operator_loc)],
413
+ visit(node.value)
414
+ )
415
+ end
416
+
417
+ # foo.bar, = 1
418
+ # ^^^^^^^
419
+ def visit_call_target_node(node)
420
+ call_operator_loc = node.call_operator_loc
421
+
422
+ builder.attr_asgn(
423
+ visit(node.receiver),
424
+ call_operator_loc.nil? ? nil : [{ "." => :dot, "&." => :anddot, "::" => "::" }.fetch(call_operator_loc.slice), srange(call_operator_loc)],
425
+ token(node.message_loc)
426
+ )
427
+ end
428
+
429
+ # foo => bar => baz
430
+ # ^^^^^^^^^^
431
+ def visit_capture_pattern_node(node)
432
+ builder.match_as(visit(node.value), token(node.operator_loc), visit(node.target))
433
+ end
434
+
435
+ # case foo; when bar; end
436
+ # ^^^^^^^^^^^^^^^^^^^^^^^
437
+ def visit_case_node(node)
438
+ builder.case(
439
+ token(node.case_keyword_loc),
440
+ visit(node.predicate),
441
+ visit_all(node.conditions),
442
+ token(node.else_clause&.else_keyword_loc),
443
+ visit(node.else_clause),
444
+ token(node.end_keyword_loc)
445
+ )
446
+ end
447
+
448
+ # case foo; in bar; end
449
+ # ^^^^^^^^^^^^^^^^^^^^^
450
+ def visit_case_match_node(node)
451
+ builder.case_match(
452
+ token(node.case_keyword_loc),
453
+ visit(node.predicate),
454
+ visit_all(node.conditions),
455
+ token(node.else_clause&.else_keyword_loc),
456
+ visit(node.else_clause),
457
+ token(node.end_keyword_loc)
458
+ )
459
+ end
460
+
461
+ # class Foo; end
462
+ # ^^^^^^^^^^^^^^
463
+ def visit_class_node(node)
464
+ builder.def_class(
465
+ token(node.class_keyword_loc),
466
+ visit(node.constant_path),
467
+ token(node.inheritance_operator_loc),
468
+ visit(node.superclass),
469
+ node.body&.accept(copy_compiler(forwarding: [])),
470
+ token(node.end_keyword_loc)
471
+ )
472
+ end
473
+
474
+ # @@foo
475
+ # ^^^^^
476
+ def visit_class_variable_read_node(node)
477
+ builder.cvar(token(node.location))
478
+ end
479
+
480
+ # @@foo = 1
481
+ # ^^^^^^^^^
482
+ def visit_class_variable_write_node(node)
483
+ builder.assign(
484
+ builder.assignable(builder.cvar(token(node.name_loc))),
485
+ token(node.operator_loc),
486
+ visit(node.value)
487
+ )
488
+ end
489
+
490
+ # @@foo += bar
491
+ # ^^^^^^^^^^^^
492
+ def visit_class_variable_operator_write_node(node)
493
+ builder.op_assign(
494
+ builder.assignable(builder.cvar(token(node.name_loc))),
495
+ [node.binary_operator_loc.slice.chomp("="), srange(node.binary_operator_loc)],
496
+ visit(node.value)
497
+ )
498
+ end
499
+
500
+ # @@foo &&= bar
501
+ # ^^^^^^^^^^^^^
502
+ def visit_class_variable_and_write_node(node)
503
+ builder.op_assign(
504
+ builder.assignable(builder.cvar(token(node.name_loc))),
505
+ [node.operator_loc.slice.chomp("="), srange(node.operator_loc)],
506
+ visit(node.value)
507
+ )
508
+ end
509
+
510
+ # @@foo ||= bar
511
+ # ^^^^^^^^^^^^^
512
+ def visit_class_variable_or_write_node(node)
513
+ builder.op_assign(
514
+ builder.assignable(builder.cvar(token(node.name_loc))),
515
+ [node.operator_loc.slice.chomp("="), srange(node.operator_loc)],
516
+ visit(node.value)
517
+ )
518
+ end
519
+
520
+ # @@foo, = bar
521
+ # ^^^^^
522
+ def visit_class_variable_target_node(node)
523
+ builder.assignable(builder.cvar(token(node.location)))
524
+ end
525
+
526
+ # Foo
527
+ # ^^^
528
+ def visit_constant_read_node(node)
529
+ builder.const([node.name, srange(node.location)])
530
+ end
531
+
532
+ # Foo = 1
533
+ # ^^^^^^^
534
+ #
535
+ # Foo, Bar = 1
536
+ # ^^^ ^^^
537
+ def visit_constant_write_node(node)
538
+ builder.assign(builder.assignable(builder.const([node.name, srange(node.name_loc)])), token(node.operator_loc), visit(node.value))
539
+ end
540
+
541
+ # Foo += bar
542
+ # ^^^^^^^^^^^
543
+ def visit_constant_operator_write_node(node)
544
+ builder.op_assign(
545
+ builder.assignable(builder.const([node.name, srange(node.name_loc)])),
546
+ [node.binary_operator_loc.slice.chomp("="), srange(node.binary_operator_loc)],
547
+ visit(node.value)
548
+ )
549
+ end
550
+
551
+ # Foo &&= bar
552
+ # ^^^^^^^^^^^^
553
+ def visit_constant_and_write_node(node)
554
+ builder.op_assign(
555
+ builder.assignable(builder.const([node.name, srange(node.name_loc)])),
556
+ [node.operator_loc.slice.chomp("="), srange(node.operator_loc)],
557
+ visit(node.value)
558
+ )
559
+ end
560
+
561
+ # Foo ||= bar
562
+ # ^^^^^^^^^^^^
563
+ def visit_constant_or_write_node(node)
564
+ builder.op_assign(
565
+ builder.assignable(builder.const([node.name, srange(node.name_loc)])),
566
+ [node.operator_loc.slice.chomp("="), srange(node.operator_loc)],
567
+ visit(node.value)
568
+ )
569
+ end
570
+
571
+ # Foo, = bar
572
+ # ^^^
573
+ def visit_constant_target_node(node)
574
+ builder.assignable(builder.const([node.name, srange(node.location)]))
575
+ end
576
+
577
+ # Foo::Bar
578
+ # ^^^^^^^^
579
+ def visit_constant_path_node(node)
580
+ if node.parent.nil?
581
+ builder.const_global(
582
+ token(node.delimiter_loc),
583
+ [node.name, srange(node.name_loc)]
584
+ )
585
+ else
586
+ builder.const_fetch(
587
+ visit(node.parent),
588
+ token(node.delimiter_loc),
589
+ [node.name, srange(node.name_loc)]
590
+ )
591
+ end
592
+ end
593
+
594
+ # Foo::Bar = 1
595
+ # ^^^^^^^^^^^^
596
+ #
597
+ # Foo::Foo, Bar::Bar = 1
598
+ # ^^^^^^^^ ^^^^^^^^
599
+ def visit_constant_path_write_node(node)
600
+ builder.assign(
601
+ builder.assignable(visit(node.target)),
602
+ token(node.operator_loc),
603
+ visit(node.value)
604
+ )
605
+ end
606
+
607
+ # Foo::Bar += baz
608
+ # ^^^^^^^^^^^^^^^
609
+ def visit_constant_path_operator_write_node(node)
610
+ builder.op_assign(
611
+ builder.assignable(visit(node.target)),
612
+ [node.binary_operator_loc.slice.chomp("="), srange(node.binary_operator_loc)],
613
+ visit(node.value)
614
+ )
615
+ end
616
+
617
+ # Foo::Bar &&= baz
618
+ # ^^^^^^^^^^^^^^^^
619
+ def visit_constant_path_and_write_node(node)
620
+ builder.op_assign(
621
+ builder.assignable(visit(node.target)),
622
+ [node.operator_loc.slice.chomp("="), srange(node.operator_loc)],
623
+ visit(node.value)
624
+ )
625
+ end
626
+
627
+ # Foo::Bar ||= baz
628
+ # ^^^^^^^^^^^^^^^^
629
+ def visit_constant_path_or_write_node(node)
630
+ builder.op_assign(
631
+ builder.assignable(visit(node.target)),
632
+ [node.operator_loc.slice.chomp("="), srange(node.operator_loc)],
633
+ visit(node.value)
634
+ )
635
+ end
636
+
637
+ # Foo::Bar, = baz
638
+ # ^^^^^^^^
639
+ def visit_constant_path_target_node(node)
640
+ builder.assignable(visit_constant_path_node(node))
641
+ end
642
+
643
+ # def foo; end
644
+ # ^^^^^^^^^^^^
645
+ #
646
+ # def self.foo; end
647
+ # ^^^^^^^^^^^^^^^^^
648
+ def visit_def_node(node)
649
+ if node.equal_loc
650
+ if node.receiver
651
+ builder.def_endless_singleton(
652
+ token(node.def_keyword_loc),
653
+ visit(node.receiver.is_a?(ParenthesesNode) ? node.receiver.body : node.receiver),
654
+ token(node.operator_loc),
655
+ token(node.name_loc),
656
+ builder.args(token(node.lparen_loc), visit(node.parameters) || [], token(node.rparen_loc), false),
657
+ token(node.equal_loc),
658
+ node.body&.accept(copy_compiler(forwarding: find_forwarding(node.parameters)))
659
+ )
660
+ else
661
+ builder.def_endless_method(
662
+ token(node.def_keyword_loc),
663
+ token(node.name_loc),
664
+ builder.args(token(node.lparen_loc), visit(node.parameters) || [], token(node.rparen_loc), false),
665
+ token(node.equal_loc),
666
+ node.body&.accept(copy_compiler(forwarding: find_forwarding(node.parameters)))
667
+ )
668
+ end
669
+ elsif node.receiver
670
+ builder.def_singleton(
671
+ token(node.def_keyword_loc),
672
+ visit(node.receiver.is_a?(ParenthesesNode) ? node.receiver.body : node.receiver),
673
+ token(node.operator_loc),
674
+ token(node.name_loc),
675
+ builder.args(token(node.lparen_loc), visit(node.parameters) || [], token(node.rparen_loc), false),
676
+ node.body&.accept(copy_compiler(forwarding: find_forwarding(node.parameters))),
677
+ token(node.end_keyword_loc)
678
+ )
679
+ else
680
+ builder.def_method(
681
+ token(node.def_keyword_loc),
682
+ token(node.name_loc),
683
+ builder.args(token(node.lparen_loc), visit(node.parameters) || [], token(node.rparen_loc), false),
684
+ node.body&.accept(copy_compiler(forwarding: find_forwarding(node.parameters))),
685
+ token(node.end_keyword_loc)
686
+ )
687
+ end
688
+ end
689
+
690
+ # defined? a
691
+ # ^^^^^^^^^^
692
+ #
693
+ # defined?(a)
694
+ # ^^^^^^^^^^^
695
+ def visit_defined_node(node)
696
+ # Very weird circumstances here where something like:
697
+ #
698
+ # defined?
699
+ # (1)
700
+ #
701
+ # gets parsed in Ruby as having only the `1` expression but in parser
702
+ # it gets parsed as having a begin. In this case we need to synthesize
703
+ # that begin to match parser's behavior.
704
+ if node.lparen_loc && node.keyword_loc.join(node.lparen_loc).slice.include?("\n")
705
+ builder.keyword_cmd(
706
+ :defined?,
707
+ token(node.keyword_loc),
708
+ nil,
709
+ [
710
+ builder.begin(
711
+ token(node.lparen_loc),
712
+ visit(node.value),
713
+ token(node.rparen_loc)
714
+ )
715
+ ],
716
+ nil
717
+ )
718
+ else
719
+ builder.keyword_cmd(
720
+ :defined?,
721
+ token(node.keyword_loc),
722
+ token(node.lparen_loc),
723
+ [visit(node.value)],
724
+ token(node.rparen_loc)
725
+ )
726
+ end
727
+ end
728
+
729
+ # if foo then bar else baz end
730
+ # ^^^^^^^^^^^^
731
+ def visit_else_node(node)
732
+ visit(node.statements)
733
+ end
734
+
735
+ # "foo #{bar}"
736
+ # ^^^^^^
737
+ def visit_embedded_statements_node(node)
738
+ builder.begin(
739
+ token(node.opening_loc),
740
+ visit(node.statements),
741
+ token(node.closing_loc)
742
+ )
743
+ end
744
+
745
+ # "foo #@bar"
746
+ # ^^^^^
747
+ def visit_embedded_variable_node(node)
748
+ visit(node.variable)
749
+ end
750
+
751
+ # begin; foo; ensure; bar; end
752
+ # ^^^^^^^^^^^^
753
+ def visit_ensure_node(node)
754
+ raise CompilationError, "Cannot directly compile ensure nodes"
755
+ end
756
+
757
+ # false
758
+ # ^^^^^
759
+ def visit_false_node(node)
760
+ builder.false(token(node.location))
761
+ end
762
+
763
+ # foo => [*, bar, *]
764
+ # ^^^^^^^^^^^
765
+ def visit_find_pattern_node(node)
766
+ elements = [node.left, *node.requireds, node.right]
767
+
768
+ if node.constant
769
+ builder.const_pattern(visit(node.constant), token(node.opening_loc), builder.find_pattern(nil, visit_all(elements), nil), token(node.closing_loc))
770
+ else
771
+ builder.find_pattern(token(node.opening_loc), visit_all(elements), token(node.closing_loc))
772
+ end
773
+ end
774
+
775
+ # 1.0
776
+ # ^^^
777
+ def visit_float_node(node)
778
+ visit_numeric(node, builder.float([node.value, srange(node.location)]))
779
+ end
780
+
781
+ # for foo in bar do end
782
+ # ^^^^^^^^^^^^^^^^^^^^^
783
+ def visit_for_node(node)
784
+ builder.for(
785
+ token(node.for_keyword_loc),
786
+ visit(node.index),
787
+ token(node.in_keyword_loc),
788
+ visit(node.collection),
789
+ if (do_keyword_loc = node.do_keyword_loc)
790
+ token(do_keyword_loc)
791
+ else
792
+ srange_find(node.collection.location.end_offset, (node.statements&.location || node.end_keyword_loc).start_offset, ";")
793
+ end,
794
+ visit(node.statements),
795
+ token(node.end_keyword_loc)
796
+ )
797
+ end
798
+
799
+ # def foo(...); bar(...); end
800
+ # ^^^
801
+ def visit_forwarding_arguments_node(node)
802
+ builder.forwarded_args(token(node.location))
803
+ end
804
+
805
+ # def foo(...); end
806
+ # ^^^
807
+ def visit_forwarding_parameter_node(node)
808
+ builder.forward_arg(token(node.location))
809
+ end
810
+
811
+ # super
812
+ # ^^^^^
813
+ #
814
+ # super {}
815
+ # ^^^^^^^^
816
+ def visit_forwarding_super_node(node)
817
+ visit_block(
818
+ builder.keyword_cmd(
819
+ :zsuper,
820
+ ["super", srange_offsets(node.location.start_offset, node.location.start_offset + 5)]
821
+ ),
822
+ node.block
823
+ )
824
+ end
825
+
826
+ # $foo
827
+ # ^^^^
828
+ def visit_global_variable_read_node(node)
829
+ builder.gvar(token(node.location))
830
+ end
831
+
832
+ # $foo = 1
833
+ # ^^^^^^^^
834
+ def visit_global_variable_write_node(node)
835
+ builder.assign(
836
+ builder.assignable(builder.gvar(token(node.name_loc))),
837
+ token(node.operator_loc),
838
+ visit(node.value)
839
+ )
840
+ end
841
+
842
+ # $foo += bar
843
+ # ^^^^^^^^^^^
844
+ def visit_global_variable_operator_write_node(node)
845
+ builder.op_assign(
846
+ builder.assignable(builder.gvar(token(node.name_loc))),
847
+ [node.binary_operator_loc.slice.chomp("="), srange(node.binary_operator_loc)],
848
+ visit(node.value)
849
+ )
850
+ end
851
+
852
+ # $foo &&= bar
853
+ # ^^^^^^^^^^^^
854
+ def visit_global_variable_and_write_node(node)
855
+ builder.op_assign(
856
+ builder.assignable(builder.gvar(token(node.name_loc))),
857
+ [node.operator_loc.slice.chomp("="), srange(node.operator_loc)],
858
+ visit(node.value)
859
+ )
860
+ end
861
+
862
+ # $foo ||= bar
863
+ # ^^^^^^^^^^^^
864
+ def visit_global_variable_or_write_node(node)
865
+ builder.op_assign(
866
+ builder.assignable(builder.gvar(token(node.name_loc))),
867
+ [node.operator_loc.slice.chomp("="), srange(node.operator_loc)],
868
+ visit(node.value)
869
+ )
870
+ end
871
+
872
+ # $foo, = bar
873
+ # ^^^^
874
+ def visit_global_variable_target_node(node)
875
+ builder.assignable(builder.gvar([node.slice, srange(node.location)]))
876
+ end
877
+
878
+ # {}
879
+ # ^^
880
+ def visit_hash_node(node)
881
+ builder.associate(
882
+ token(node.opening_loc),
883
+ visit_all(node.elements),
884
+ token(node.closing_loc)
885
+ )
886
+ end
887
+
888
+ # foo => {}
889
+ # ^^
890
+ def visit_hash_pattern_node(node)
891
+ elements = [*node.elements, *node.rest]
892
+
893
+ if node.constant
894
+ builder.const_pattern(visit(node.constant), token(node.opening_loc), builder.hash_pattern(nil, visit_all(elements), nil), token(node.closing_loc))
895
+ else
896
+ builder.hash_pattern(token(node.opening_loc), visit_all(elements), token(node.closing_loc))
897
+ end
898
+ end
899
+
900
+ # if foo then bar end
901
+ # ^^^^^^^^^^^^^^^^^^^
902
+ #
903
+ # bar if foo
904
+ # ^^^^^^^^^^
905
+ #
906
+ # foo ? bar : baz
907
+ # ^^^^^^^^^^^^^^^
908
+ def visit_if_node(node)
909
+ if !node.if_keyword_loc
910
+ builder.ternary(
911
+ visit(node.predicate),
912
+ token(node.then_keyword_loc),
913
+ visit(node.statements),
914
+ token(node.subsequent.else_keyword_loc),
915
+ visit(node.subsequent)
916
+ )
917
+ elsif node.if_keyword_loc.start_offset == node.location.start_offset
918
+ builder.condition(
919
+ token(node.if_keyword_loc),
920
+ visit(node.predicate),
921
+ if (then_keyword_loc = node.then_keyword_loc)
922
+ token(then_keyword_loc)
923
+ else
924
+ srange_find(node.predicate.location.end_offset, (node.statements&.location || node.subsequent&.location || node.end_keyword_loc).start_offset, ";")
925
+ end,
926
+ visit(node.statements),
927
+ case node.subsequent
928
+ when IfNode
929
+ token(node.subsequent.if_keyword_loc)
930
+ when ElseNode
931
+ token(node.subsequent.else_keyword_loc)
932
+ end,
933
+ visit(node.subsequent),
934
+ if node.if_keyword != "elsif"
935
+ token(node.end_keyword_loc)
936
+ end
937
+ )
938
+ else
939
+ builder.condition_mod(
940
+ visit(node.statements),
941
+ visit(node.subsequent),
942
+ token(node.if_keyword_loc),
943
+ visit(node.predicate)
944
+ )
945
+ end
946
+ end
947
+
948
+ # 1i
949
+ # ^^
950
+ def visit_imaginary_node(node)
951
+ visit_numeric(node, builder.complex([Complex(0, node.numeric.value), srange(node.location)]))
952
+ end
953
+
954
+ # { foo: }
955
+ # ^^^^
956
+ def visit_implicit_node(node)
957
+ raise CompilationError, "Cannot directly compile implicit nodes"
958
+ end
959
+
960
+ # foo { |bar,| }
961
+ # ^
962
+ def visit_implicit_rest_node(node)
963
+ raise CompilationError, "Cannot compile implicit rest nodes"
964
+ end
965
+
966
+ # case foo; in bar; end
967
+ # ^^^^^^^^^^^^^^^^^^^^^
968
+ def visit_in_node(node)
969
+ pattern = nil
970
+ guard = nil
971
+
972
+ case node.pattern
973
+ when IfNode
974
+ pattern = within_pattern { |compiler| node.pattern.statements.accept(compiler) }
975
+ guard = builder.if_guard(token(node.pattern.if_keyword_loc), visit(node.pattern.predicate))
976
+ when UnlessNode
977
+ pattern = within_pattern { |compiler| node.pattern.statements.accept(compiler) }
978
+ guard = builder.unless_guard(token(node.pattern.keyword_loc), visit(node.pattern.predicate))
979
+ else
980
+ pattern = within_pattern { |compiler| node.pattern.accept(compiler) }
981
+ end
982
+
983
+ builder.in_pattern(
984
+ token(node.in_loc),
985
+ pattern,
986
+ guard,
987
+ if (then_loc = node.then_loc)
988
+ token(then_loc)
989
+ else
990
+ srange_find(node.pattern.location.end_offset, node.statements&.location&.start_offset, ";")
991
+ end,
992
+ visit(node.statements)
993
+ )
994
+ end
995
+
996
+ # foo[bar] += baz
997
+ # ^^^^^^^^^^^^^^^
998
+ def visit_index_operator_write_node(node)
999
+ arguments = node.arguments&.arguments || []
1000
+ arguments << node.block if node.block
1001
+
1002
+ builder.op_assign(
1003
+ builder.index(
1004
+ visit(node.receiver),
1005
+ token(node.opening_loc),
1006
+ visit_all(arguments),
1007
+ token(node.closing_loc)
1008
+ ),
1009
+ [node.binary_operator_loc.slice.chomp("="), srange(node.binary_operator_loc)],
1010
+ visit(node.value)
1011
+ )
1012
+ end
1013
+
1014
+ # foo[bar] &&= baz
1015
+ # ^^^^^^^^^^^^^^^^
1016
+ def visit_index_and_write_node(node)
1017
+ arguments = node.arguments&.arguments || []
1018
+ arguments << node.block if node.block
1019
+
1020
+ builder.op_assign(
1021
+ builder.index(
1022
+ visit(node.receiver),
1023
+ token(node.opening_loc),
1024
+ visit_all(arguments),
1025
+ token(node.closing_loc)
1026
+ ),
1027
+ [node.operator_loc.slice.chomp("="), srange(node.operator_loc)],
1028
+ visit(node.value)
1029
+ )
1030
+ end
1031
+
1032
+ # foo[bar] ||= baz
1033
+ # ^^^^^^^^^^^^^^^^
1034
+ def visit_index_or_write_node(node)
1035
+ arguments = node.arguments&.arguments || []
1036
+ arguments << node.block if node.block
1037
+
1038
+ builder.op_assign(
1039
+ builder.index(
1040
+ visit(node.receiver),
1041
+ token(node.opening_loc),
1042
+ visit_all(arguments),
1043
+ token(node.closing_loc)
1044
+ ),
1045
+ [node.operator_loc.slice.chomp("="), srange(node.operator_loc)],
1046
+ visit(node.value)
1047
+ )
1048
+ end
1049
+
1050
+ # foo[bar], = 1
1051
+ # ^^^^^^^^
1052
+ def visit_index_target_node(node)
1053
+ builder.index_asgn(
1054
+ visit(node.receiver),
1055
+ token(node.opening_loc),
1056
+ visit_all(node.arguments&.arguments || []),
1057
+ token(node.closing_loc),
1058
+ )
1059
+ end
1060
+
1061
+ # @foo
1062
+ # ^^^^
1063
+ def visit_instance_variable_read_node(node)
1064
+ builder.ivar(token(node.location))
1065
+ end
1066
+
1067
+ # @foo = 1
1068
+ # ^^^^^^^^
1069
+ def visit_instance_variable_write_node(node)
1070
+ builder.assign(
1071
+ builder.assignable(builder.ivar(token(node.name_loc))),
1072
+ token(node.operator_loc),
1073
+ visit(node.value)
1074
+ )
1075
+ end
1076
+
1077
+ # @foo += bar
1078
+ # ^^^^^^^^^^^
1079
+ def visit_instance_variable_operator_write_node(node)
1080
+ builder.op_assign(
1081
+ builder.assignable(builder.ivar(token(node.name_loc))),
1082
+ [node.binary_operator_loc.slice.chomp("="), srange(node.binary_operator_loc)],
1083
+ visit(node.value)
1084
+ )
1085
+ end
1086
+
1087
+ # @foo &&= bar
1088
+ # ^^^^^^^^^^^^
1089
+ def visit_instance_variable_and_write_node(node)
1090
+ builder.op_assign(
1091
+ builder.assignable(builder.ivar(token(node.name_loc))),
1092
+ [node.operator_loc.slice.chomp("="), srange(node.operator_loc)],
1093
+ visit(node.value)
1094
+ )
1095
+ end
1096
+
1097
+ # @foo ||= bar
1098
+ # ^^^^^^^^^^^^
1099
+ def visit_instance_variable_or_write_node(node)
1100
+ builder.op_assign(
1101
+ builder.assignable(builder.ivar(token(node.name_loc))),
1102
+ [node.operator_loc.slice.chomp("="), srange(node.operator_loc)],
1103
+ visit(node.value)
1104
+ )
1105
+ end
1106
+
1107
+ # @foo, = bar
1108
+ # ^^^^
1109
+ def visit_instance_variable_target_node(node)
1110
+ builder.assignable(builder.ivar(token(node.location)))
1111
+ end
1112
+
1113
+ # 1
1114
+ # ^
1115
+ def visit_integer_node(node)
1116
+ visit_numeric(node, builder.integer([node.value, srange(node.location)]))
1117
+ end
1118
+
1119
+ # /foo #{bar}/
1120
+ # ^^^^^^^^^^^^
1121
+ def visit_interpolated_regular_expression_node(node)
1122
+ builder.regexp_compose(
1123
+ token(node.opening_loc),
1124
+ string_nodes_from_interpolation(node, node.opening),
1125
+ [node.closing[0], srange_offsets(node.closing_loc.start_offset, node.closing_loc.start_offset + 1)],
1126
+ builder.regexp_options([node.closing[1..], srange_offsets(node.closing_loc.start_offset + 1, node.closing_loc.end_offset)])
1127
+ )
1128
+ end
1129
+
1130
+ # if /foo #{bar}/ then end
1131
+ # ^^^^^^^^^^^^
1132
+ alias visit_interpolated_match_last_line_node visit_interpolated_regular_expression_node
1133
+
1134
+ # "foo #{bar}"
1135
+ # ^^^^^^^^^^^^
1136
+ def visit_interpolated_string_node(node)
1137
+ if node.heredoc?
1138
+ return visit_heredoc(node) { |children, closing| builder.string_compose(token(node.opening_loc), children, closing) }
1139
+ end
1140
+
1141
+ builder.string_compose(
1142
+ token(node.opening_loc),
1143
+ string_nodes_from_interpolation(node, node.opening),
1144
+ token(node.closing_loc)
1145
+ )
1146
+ end
1147
+
1148
+ # :"foo #{bar}"
1149
+ # ^^^^^^^^^^^^^
1150
+ def visit_interpolated_symbol_node(node)
1151
+ builder.symbol_compose(
1152
+ token(node.opening_loc),
1153
+ string_nodes_from_interpolation(node, node.opening),
1154
+ token(node.closing_loc)
1155
+ )
1156
+ end
1157
+
1158
+ # `foo #{bar}`
1159
+ # ^^^^^^^^^^^^
1160
+ def visit_interpolated_x_string_node(node)
1161
+ if node.heredoc?
1162
+ return visit_heredoc(node) { |children, closing| builder.xstring_compose(token(node.opening_loc), children, closing) }
1163
+ end
1164
+
1165
+ builder.xstring_compose(
1166
+ token(node.opening_loc),
1167
+ string_nodes_from_interpolation(node, node.opening),
1168
+ token(node.closing_loc)
1169
+ )
1170
+ end
1171
+
1172
+ # -> { it }
1173
+ # ^^
1174
+ def visit_it_local_variable_read_node(node)
1175
+ builder.ident([:it, srange(node.location)]).updated(:lvar)
1176
+ end
1177
+
1178
+ # -> { it }
1179
+ # ^^^^^^^^^
1180
+ def visit_it_parameters_node(node)
1181
+ # FIXME: The builder _should_ always be a subclass of the prism builder.
1182
+ # Currently RuboCop passes in its own builder that always inherits from the
1183
+ # parser builder (which is lacking the `itarg` method). Once rubocop-ast
1184
+ # opts in to use the custom prism builder a warning can be emitted when
1185
+ # it is not the expected class, and eventually raise.
1186
+ # https://github.com/rubocop/rubocop-ast/pull/354
1187
+ if builder.is_a?(Translation::Parser::Builder)
1188
+ builder.itarg
1189
+ else
1190
+ builder.args(nil, [], nil, false)
1191
+ end
1192
+ end
1193
+
1194
+ # foo(bar: baz)
1195
+ # ^^^^^^^^
1196
+ def visit_keyword_hash_node(node)
1197
+ builder.associate(nil, visit_all(node.elements), nil)
1198
+ end
1199
+
1200
+ # def foo(**bar); end
1201
+ # ^^^^^
1202
+ #
1203
+ # def foo(**); end
1204
+ # ^^
1205
+ def visit_keyword_rest_parameter_node(node)
1206
+ builder.kwrestarg(
1207
+ token(node.operator_loc),
1208
+ node.name ? [node.name, srange(node.name_loc)] : nil
1209
+ )
1210
+ end
1211
+
1212
+ # -> {}
1213
+ # ^^^^^
1214
+ def visit_lambda_node(node)
1215
+ parameters = node.parameters
1216
+ implicit_parameters = parameters.is_a?(NumberedParametersNode) || parameters.is_a?(ItParametersNode)
1217
+
1218
+ builder.block(
1219
+ builder.call_lambda(token(node.operator_loc)),
1220
+ [node.opening, srange(node.opening_loc)],
1221
+ if parameters.nil?
1222
+ builder.args(nil, [], nil, false)
1223
+ elsif implicit_parameters
1224
+ visit(node.parameters)
1225
+ else
1226
+ builder.args(
1227
+ token(node.parameters.opening_loc),
1228
+ visit(node.parameters),
1229
+ token(node.parameters.closing_loc),
1230
+ false
1231
+ )
1232
+ end,
1233
+ visit(node.body),
1234
+ [node.closing, srange(node.closing_loc)]
1235
+ )
1236
+ end
1237
+
1238
+ # foo
1239
+ # ^^^
1240
+ def visit_local_variable_read_node(node)
1241
+ builder.ident([node.name, srange(node.location)]).updated(:lvar)
1242
+ end
1243
+
1244
+ # foo = 1
1245
+ # ^^^^^^^
1246
+ def visit_local_variable_write_node(node)
1247
+ builder.assign(
1248
+ builder.assignable(builder.ident(token(node.name_loc))),
1249
+ token(node.operator_loc),
1250
+ visit(node.value)
1251
+ )
1252
+ end
1253
+
1254
+ # foo += bar
1255
+ # ^^^^^^^^^^
1256
+ def visit_local_variable_operator_write_node(node)
1257
+ builder.op_assign(
1258
+ builder.assignable(builder.ident(token(node.name_loc))),
1259
+ [node.binary_operator_loc.slice.chomp("="), srange(node.binary_operator_loc)],
1260
+ visit(node.value)
1261
+ )
1262
+ end
1263
+
1264
+ # foo &&= bar
1265
+ # ^^^^^^^^^^^
1266
+ def visit_local_variable_and_write_node(node)
1267
+ builder.op_assign(
1268
+ builder.assignable(builder.ident(token(node.name_loc))),
1269
+ [node.operator_loc.slice.chomp("="), srange(node.operator_loc)],
1270
+ visit(node.value)
1271
+ )
1272
+ end
1273
+
1274
+ # foo ||= bar
1275
+ # ^^^^^^^^^^^
1276
+ def visit_local_variable_or_write_node(node)
1277
+ builder.op_assign(
1278
+ builder.assignable(builder.ident(token(node.name_loc))),
1279
+ [node.operator_loc.slice.chomp("="), srange(node.operator_loc)],
1280
+ visit(node.value)
1281
+ )
1282
+ end
1283
+
1284
+ # foo, = bar
1285
+ # ^^^
1286
+ def visit_local_variable_target_node(node)
1287
+ if in_pattern
1288
+ builder.assignable(builder.match_var([node.name, srange(node.location)]))
1289
+ else
1290
+ builder.assignable(builder.ident(token(node.location)))
1291
+ end
1292
+ end
1293
+
1294
+ # foo in bar
1295
+ # ^^^^^^^^^^
1296
+ def visit_match_predicate_node(node)
1297
+ builder.match_pattern_p(
1298
+ visit(node.value),
1299
+ token(node.operator_loc),
1300
+ within_pattern { |compiler| node.pattern.accept(compiler) }
1301
+ )
1302
+ end
1303
+
1304
+ # foo => bar
1305
+ # ^^^^^^^^^^
1306
+ def visit_match_required_node(node)
1307
+ builder.match_pattern(
1308
+ visit(node.value),
1309
+ token(node.operator_loc),
1310
+ within_pattern { |compiler| node.pattern.accept(compiler) }
1311
+ )
1312
+ end
1313
+
1314
+ # /(?<foo>foo)/ =~ bar
1315
+ # ^^^^^^^^^^^^^^^^^^^^
1316
+ def visit_match_write_node(node)
1317
+ builder.match_op(
1318
+ visit(node.call.receiver),
1319
+ token(node.call.message_loc),
1320
+ visit(node.call.arguments.arguments.first)
1321
+ )
1322
+ end
1323
+
1324
+ # A node that is missing from the syntax tree. This is only used in the
1325
+ # case of a syntax error. The parser gem doesn't have such a concept, so
1326
+ # we invent our own here.
1327
+ def visit_missing_node(node)
1328
+ ::AST::Node.new(:missing, [], location: ::Parser::Source::Map.new(srange(node.location)))
1329
+ end
1330
+
1331
+ # module Foo; end
1332
+ # ^^^^^^^^^^^^^^^
1333
+ def visit_module_node(node)
1334
+ builder.def_module(
1335
+ token(node.module_keyword_loc),
1336
+ visit(node.constant_path),
1337
+ node.body&.accept(copy_compiler(forwarding: [])),
1338
+ token(node.end_keyword_loc)
1339
+ )
1340
+ end
1341
+
1342
+ # foo, bar = baz
1343
+ # ^^^^^^^^
1344
+ def visit_multi_target_node(node)
1345
+ builder.multi_lhs(
1346
+ token(node.lparen_loc),
1347
+ visit_all(multi_target_elements(node)),
1348
+ token(node.rparen_loc)
1349
+ )
1350
+ end
1351
+
1352
+ # foo, bar = baz
1353
+ # ^^^^^^^^^^^^^^
1354
+ def visit_multi_write_node(node)
1355
+ elements = multi_target_elements(node)
1356
+
1357
+ if elements.length == 1 && elements.first.is_a?(MultiTargetNode) && !node.rest
1358
+ elements = multi_target_elements(elements.first)
1359
+ end
1360
+
1361
+ builder.multi_assign(
1362
+ builder.multi_lhs(
1363
+ token(node.lparen_loc),
1364
+ visit_all(elements),
1365
+ token(node.rparen_loc)
1366
+ ),
1367
+ token(node.operator_loc),
1368
+ visit(node.value)
1369
+ )
1370
+ end
1371
+
1372
+ # next
1373
+ # ^^^^
1374
+ #
1375
+ # next foo
1376
+ # ^^^^^^^^
1377
+ def visit_next_node(node)
1378
+ builder.keyword_cmd(
1379
+ :next,
1380
+ token(node.keyword_loc),
1381
+ nil,
1382
+ visit(node.arguments) || [],
1383
+ nil
1384
+ )
1385
+ end
1386
+
1387
+ # nil
1388
+ # ^^^
1389
+ def visit_nil_node(node)
1390
+ builder.nil(token(node.location))
1391
+ end
1392
+
1393
+ # def foo(**nil); end
1394
+ # ^^^^^
1395
+ def visit_no_keywords_parameter_node(node)
1396
+ if in_pattern
1397
+ builder.match_nil_pattern(token(node.operator_loc), token(node.keyword_loc))
1398
+ else
1399
+ builder.kwnilarg(token(node.operator_loc), token(node.keyword_loc))
1400
+ end
1401
+ end
1402
+
1403
+ # -> { _1 + _2 }
1404
+ # ^^^^^^^^^^^^^^
1405
+ def visit_numbered_parameters_node(node)
1406
+ builder.numargs(node.maximum)
1407
+ end
1408
+
1409
+ # $1
1410
+ # ^^
1411
+ def visit_numbered_reference_read_node(node)
1412
+ builder.nth_ref([node.number, srange(node.location)])
1413
+ end
1414
+
1415
+ # def foo(bar: baz); end
1416
+ # ^^^^^^^^
1417
+ def visit_optional_keyword_parameter_node(node)
1418
+ builder.kwoptarg([node.name, srange(node.name_loc)], visit(node.value))
1419
+ end
1420
+
1421
+ # def foo(bar = 1); end
1422
+ # ^^^^^^^
1423
+ def visit_optional_parameter_node(node)
1424
+ builder.optarg(token(node.name_loc), token(node.operator_loc), visit(node.value))
1425
+ end
1426
+
1427
+ # a or b
1428
+ # ^^^^^^
1429
+ def visit_or_node(node)
1430
+ builder.logical_op(:or, visit(node.left), token(node.operator_loc), visit(node.right))
1431
+ end
1432
+
1433
+ # def foo(bar, *baz); end
1434
+ # ^^^^^^^^^
1435
+ def visit_parameters_node(node)
1436
+ params = []
1437
+
1438
+ if node.requireds.any?
1439
+ node.requireds.each do |required|
1440
+ params <<
1441
+ if required.is_a?(RequiredParameterNode)
1442
+ visit(required)
1443
+ else
1444
+ required.accept(copy_compiler(in_destructure: true))
1445
+ end
1446
+ end
1447
+ end
1448
+
1449
+ params.concat(visit_all(node.optionals)) if node.optionals.any?
1450
+ params << visit(node.rest) if !node.rest.nil? && !node.rest.is_a?(ImplicitRestNode)
1451
+
1452
+ if node.posts.any?
1453
+ node.posts.each do |post|
1454
+ params <<
1455
+ if post.is_a?(RequiredParameterNode)
1456
+ visit(post)
1457
+ else
1458
+ post.accept(copy_compiler(in_destructure: true))
1459
+ end
1460
+ end
1461
+ end
1462
+
1463
+ params.concat(visit_all(node.keywords)) if node.keywords.any?
1464
+ params << visit(node.keyword_rest) if !node.keyword_rest.nil?
1465
+ params << visit(node.block) if !node.block.nil?
1466
+ params
1467
+ end
1468
+
1469
+ # ()
1470
+ # ^^
1471
+ #
1472
+ # (1)
1473
+ # ^^^
1474
+ def visit_parentheses_node(node)
1475
+ builder.begin(
1476
+ token(node.opening_loc),
1477
+ visit(node.body),
1478
+ token(node.closing_loc)
1479
+ )
1480
+ end
1481
+
1482
+ # foo => ^(bar)
1483
+ # ^^^^^^
1484
+ def visit_pinned_expression_node(node)
1485
+ parts = node.expression.accept(copy_compiler(in_pattern: false)) # Don't treat * and similar as match_rest
1486
+ expression = builder.begin(token(node.lparen_loc), parts, token(node.rparen_loc))
1487
+ builder.pin(token(node.operator_loc), expression)
1488
+ end
1489
+
1490
+ # foo = 1 and bar => ^foo
1491
+ # ^^^^
1492
+ def visit_pinned_variable_node(node)
1493
+ builder.pin(token(node.operator_loc), visit(node.variable))
1494
+ end
1495
+
1496
+ # END {}
1497
+ def visit_post_execution_node(node)
1498
+ builder.postexe(
1499
+ token(node.keyword_loc),
1500
+ token(node.opening_loc),
1501
+ visit(node.statements),
1502
+ token(node.closing_loc)
1503
+ )
1504
+ end
1505
+
1506
+ # BEGIN {}
1507
+ def visit_pre_execution_node(node)
1508
+ builder.preexe(
1509
+ token(node.keyword_loc),
1510
+ token(node.opening_loc),
1511
+ visit(node.statements),
1512
+ token(node.closing_loc)
1513
+ )
1514
+ end
1515
+
1516
+ # The top-level program node.
1517
+ def visit_program_node(node)
1518
+ visit(node.statements)
1519
+ end
1520
+
1521
+ # 0..5
1522
+ # ^^^^
1523
+ def visit_range_node(node)
1524
+ if node.exclude_end?
1525
+ builder.range_exclusive(
1526
+ visit(node.left),
1527
+ token(node.operator_loc),
1528
+ visit(node.right)
1529
+ )
1530
+ else
1531
+ builder.range_inclusive(
1532
+ visit(node.left),
1533
+ token(node.operator_loc),
1534
+ visit(node.right)
1535
+ )
1536
+ end
1537
+ end
1538
+
1539
+ # if foo .. bar; end
1540
+ # ^^^^^^^^^^
1541
+ alias visit_flip_flop_node visit_range_node
1542
+
1543
+ # 1r
1544
+ # ^^
1545
+ def visit_rational_node(node)
1546
+ visit_numeric(node, builder.rational([node.value, srange(node.location)]))
1547
+ end
1548
+
1549
+ # redo
1550
+ # ^^^^
1551
+ def visit_redo_node(node)
1552
+ builder.keyword_cmd(:redo, token(node.location))
1553
+ end
1554
+
1555
+ # /foo/
1556
+ # ^^^^^
1557
+ def visit_regular_expression_node(node)
1558
+ parts =
1559
+ if node.content == ""
1560
+ []
1561
+ elsif node.content.include?("\n")
1562
+ string_nodes_from_line_continuations(node.unescaped, node.content, node.content_loc.start_offset, node.opening)
1563
+ else
1564
+ [builder.string_internal([node.unescaped, srange(node.content_loc)])]
1565
+ end
1566
+
1567
+ builder.regexp_compose(
1568
+ token(node.opening_loc),
1569
+ parts,
1570
+ [node.closing[0], srange_offsets(node.closing_loc.start_offset, node.closing_loc.start_offset + 1)],
1571
+ builder.regexp_options([node.closing[1..], srange_offsets(node.closing_loc.start_offset + 1, node.closing_loc.end_offset)])
1572
+ )
1573
+ end
1574
+
1575
+ # if /foo/ then end
1576
+ # ^^^^^
1577
+ alias visit_match_last_line_node visit_regular_expression_node
1578
+
1579
+ # def foo(bar:); end
1580
+ # ^^^^
1581
+ def visit_required_keyword_parameter_node(node)
1582
+ builder.kwarg([node.name, srange(node.name_loc)])
1583
+ end
1584
+
1585
+ # def foo(bar); end
1586
+ # ^^^
1587
+ def visit_required_parameter_node(node)
1588
+ builder.arg(token(node.location))
1589
+ end
1590
+
1591
+ # foo rescue bar
1592
+ # ^^^^^^^^^^^^^^
1593
+ def visit_rescue_modifier_node(node)
1594
+ builder.begin_body(
1595
+ visit(node.expression),
1596
+ [
1597
+ builder.rescue_body(
1598
+ token(node.keyword_loc),
1599
+ nil,
1600
+ nil,
1601
+ nil,
1602
+ nil,
1603
+ visit(node.rescue_expression)
1604
+ )
1605
+ ]
1606
+ )
1607
+ end
1608
+
1609
+ # begin; rescue; end
1610
+ # ^^^^^^^
1611
+ def visit_rescue_node(node)
1612
+ raise CompilationError, "Cannot directly compile rescue nodes"
1613
+ end
1614
+
1615
+ # def foo(*bar); end
1616
+ # ^^^^
1617
+ #
1618
+ # def foo(*); end
1619
+ # ^
1620
+ def visit_rest_parameter_node(node)
1621
+ builder.restarg(token(node.operator_loc), token(node.name_loc))
1622
+ end
1623
+
1624
+ # retry
1625
+ # ^^^^^
1626
+ def visit_retry_node(node)
1627
+ builder.keyword_cmd(:retry, token(node.location))
1628
+ end
1629
+
1630
+ # return
1631
+ # ^^^^^^
1632
+ #
1633
+ # return 1
1634
+ # ^^^^^^^^
1635
+ def visit_return_node(node)
1636
+ builder.keyword_cmd(
1637
+ :return,
1638
+ token(node.keyword_loc),
1639
+ nil,
1640
+ visit(node.arguments) || [],
1641
+ nil
1642
+ )
1643
+ end
1644
+
1645
+ # self
1646
+ # ^^^^
1647
+ def visit_self_node(node)
1648
+ builder.self(token(node.location))
1649
+ end
1650
+
1651
+ # A shareable constant.
1652
+ def visit_shareable_constant_node(node)
1653
+ visit(node.write)
1654
+ end
1655
+
1656
+ # class << self; end
1657
+ # ^^^^^^^^^^^^^^^^^^
1658
+ def visit_singleton_class_node(node)
1659
+ builder.def_sclass(
1660
+ token(node.class_keyword_loc),
1661
+ token(node.operator_loc),
1662
+ visit(node.expression),
1663
+ node.body&.accept(copy_compiler(forwarding: [])),
1664
+ token(node.end_keyword_loc)
1665
+ )
1666
+ end
1667
+
1668
+ # __ENCODING__
1669
+ # ^^^^^^^^^^^^
1670
+ def visit_source_encoding_node(node)
1671
+ builder.accessible(builder.__ENCODING__(token(node.location)))
1672
+ end
1673
+
1674
+ # __FILE__
1675
+ # ^^^^^^^^
1676
+ def visit_source_file_node(node)
1677
+ builder.accessible(builder.__FILE__(token(node.location)))
1678
+ end
1679
+
1680
+ # __LINE__
1681
+ # ^^^^^^^^
1682
+ def visit_source_line_node(node)
1683
+ builder.accessible(builder.__LINE__(token(node.location)))
1684
+ end
1685
+
1686
+ # foo(*bar)
1687
+ # ^^^^
1688
+ #
1689
+ # def foo((bar, *baz)); end
1690
+ # ^^^^
1691
+ #
1692
+ # def foo(*); bar(*); end
1693
+ # ^
1694
+ def visit_splat_node(node)
1695
+ if node.expression.nil? && forwarding.include?(:*)
1696
+ builder.forwarded_restarg(token(node.operator_loc))
1697
+ elsif in_destructure
1698
+ builder.restarg(token(node.operator_loc), token(node.expression&.location))
1699
+ elsif in_pattern
1700
+ builder.match_rest(token(node.operator_loc), token(node.expression&.location))
1701
+ else
1702
+ builder.splat(token(node.operator_loc), visit(node.expression))
1703
+ end
1704
+ end
1705
+
1706
+ # A list of statements.
1707
+ def visit_statements_node(node)
1708
+ builder.compstmt(visit_all(node.body))
1709
+ end
1710
+
1711
+ # "foo"
1712
+ # ^^^^^
1713
+ def visit_string_node(node)
1714
+ if node.heredoc?
1715
+ visit_heredoc(node.to_interpolated) { |children, closing| builder.string_compose(token(node.opening_loc), children, closing) }
1716
+ elsif node.opening == "?"
1717
+ builder.character([node.unescaped, srange(node.location)])
1718
+ elsif node.opening&.start_with?("%") && node.unescaped.empty?
1719
+ builder.string_compose(token(node.opening_loc), [], token(node.closing_loc))
1720
+ else
1721
+ parts =
1722
+ if node.content.include?("\n")
1723
+ string_nodes_from_line_continuations(node.unescaped, node.content, node.content_loc.start_offset, node.opening)
1724
+ else
1725
+ [builder.string_internal([node.unescaped, srange(node.content_loc)])]
1726
+ end
1727
+
1728
+ builder.string_compose(
1729
+ token(node.opening_loc),
1730
+ parts,
1731
+ token(node.closing_loc)
1732
+ )
1733
+ end
1734
+ end
1735
+
1736
+ # super(foo)
1737
+ # ^^^^^^^^^^
1738
+ def visit_super_node(node)
1739
+ arguments = node.arguments&.arguments || []
1740
+ block = node.block
1741
+
1742
+ if block.is_a?(BlockArgumentNode)
1743
+ arguments = [*arguments, block]
1744
+ block = nil
1745
+ end
1746
+
1747
+ visit_block(
1748
+ builder.keyword_cmd(
1749
+ :super,
1750
+ token(node.keyword_loc),
1751
+ token(node.lparen_loc),
1752
+ visit_all(arguments),
1753
+ token(node.rparen_loc)
1754
+ ),
1755
+ block
1756
+ )
1757
+ end
1758
+
1759
+ # :foo
1760
+ # ^^^^
1761
+ def visit_symbol_node(node)
1762
+ if node.closing_loc.nil?
1763
+ if node.opening_loc.nil?
1764
+ builder.symbol_internal([node.unescaped, srange(node.location)])
1765
+ else
1766
+ builder.symbol([node.unescaped, srange(node.location)])
1767
+ end
1768
+ else
1769
+ parts =
1770
+ if node.value == ""
1771
+ []
1772
+ elsif node.value.include?("\n")
1773
+ string_nodes_from_line_continuations(node.unescaped, node.value, node.value_loc.start_offset, node.opening)
1774
+ else
1775
+ [builder.string_internal([node.unescaped, srange(node.value_loc)])]
1776
+ end
1777
+
1778
+ builder.symbol_compose(
1779
+ token(node.opening_loc),
1780
+ parts,
1781
+ token(node.closing_loc)
1782
+ )
1783
+ end
1784
+ end
1785
+
1786
+ # true
1787
+ # ^^^^
1788
+ def visit_true_node(node)
1789
+ builder.true(token(node.location))
1790
+ end
1791
+
1792
+ # undef foo
1793
+ # ^^^^^^^^^
1794
+ def visit_undef_node(node)
1795
+ builder.undef_method(token(node.keyword_loc), visit_all(node.names))
1796
+ end
1797
+
1798
+ # unless foo; bar end
1799
+ # ^^^^^^^^^^^^^^^^^^^
1800
+ #
1801
+ # bar unless foo
1802
+ # ^^^^^^^^^^^^^^
1803
+ def visit_unless_node(node)
1804
+ if node.keyword_loc.start_offset == node.location.start_offset
1805
+ builder.condition(
1806
+ token(node.keyword_loc),
1807
+ visit(node.predicate),
1808
+ if (then_keyword_loc = node.then_keyword_loc)
1809
+ token(then_keyword_loc)
1810
+ else
1811
+ srange_find(node.predicate.location.end_offset, (node.statements&.location || node.else_clause&.location || node.end_keyword_loc).start_offset, ";")
1812
+ end,
1813
+ visit(node.else_clause),
1814
+ token(node.else_clause&.else_keyword_loc),
1815
+ visit(node.statements),
1816
+ token(node.end_keyword_loc)
1817
+ )
1818
+ else
1819
+ builder.condition_mod(
1820
+ visit(node.else_clause),
1821
+ visit(node.statements),
1822
+ token(node.keyword_loc),
1823
+ visit(node.predicate)
1824
+ )
1825
+ end
1826
+ end
1827
+
1828
+ # until foo; bar end
1829
+ # ^^^^^^^^^^^^^^^^^^
1830
+ #
1831
+ # bar until foo
1832
+ # ^^^^^^^^^^^^^
1833
+ def visit_until_node(node)
1834
+ if node.location.start_offset == node.keyword_loc.start_offset
1835
+ builder.loop(
1836
+ :until,
1837
+ token(node.keyword_loc),
1838
+ visit(node.predicate),
1839
+ if (do_keyword_loc = node.do_keyword_loc)
1840
+ token(do_keyword_loc)
1841
+ else
1842
+ srange_find(node.predicate.location.end_offset, (node.statements&.location || node.closing_loc).start_offset, ";")
1843
+ end,
1844
+ visit(node.statements),
1845
+ token(node.closing_loc)
1846
+ )
1847
+ else
1848
+ builder.loop_mod(
1849
+ :until,
1850
+ visit(node.statements),
1851
+ token(node.keyword_loc),
1852
+ visit(node.predicate)
1853
+ )
1854
+ end
1855
+ end
1856
+
1857
+ # case foo; when bar; end
1858
+ # ^^^^^^^^^^^^^
1859
+ def visit_when_node(node)
1860
+ builder.when(
1861
+ token(node.keyword_loc),
1862
+ visit_all(node.conditions),
1863
+ if (then_keyword_loc = node.then_keyword_loc)
1864
+ token(then_keyword_loc)
1865
+ else
1866
+ srange_find(node.conditions.last.location.end_offset, node.statements&.location&.start_offset, ";")
1867
+ end,
1868
+ visit(node.statements)
1869
+ )
1870
+ end
1871
+
1872
+ # while foo; bar end
1873
+ # ^^^^^^^^^^^^^^^^^^
1874
+ #
1875
+ # bar while foo
1876
+ # ^^^^^^^^^^^^^
1877
+ def visit_while_node(node)
1878
+ if node.location.start_offset == node.keyword_loc.start_offset
1879
+ builder.loop(
1880
+ :while,
1881
+ token(node.keyword_loc),
1882
+ visit(node.predicate),
1883
+ if (do_keyword_loc = node.do_keyword_loc)
1884
+ token(do_keyword_loc)
1885
+ else
1886
+ srange_find(node.predicate.location.end_offset, (node.statements&.location || node.closing_loc).start_offset, ";")
1887
+ end,
1888
+ visit(node.statements),
1889
+ token(node.closing_loc)
1890
+ )
1891
+ else
1892
+ builder.loop_mod(
1893
+ :while,
1894
+ visit(node.statements),
1895
+ token(node.keyword_loc),
1896
+ visit(node.predicate)
1897
+ )
1898
+ end
1899
+ end
1900
+
1901
+ # `foo`
1902
+ # ^^^^^
1903
+ def visit_x_string_node(node)
1904
+ if node.heredoc?
1905
+ return visit_heredoc(node.to_interpolated) { |children, closing| builder.xstring_compose(token(node.opening_loc), children, closing) }
1906
+ end
1907
+
1908
+ parts =
1909
+ if node.content == ""
1910
+ []
1911
+ elsif node.content.include?("\n")
1912
+ string_nodes_from_line_continuations(node.unescaped, node.content, node.content_loc.start_offset, node.opening)
1913
+ else
1914
+ [builder.string_internal([node.unescaped, srange(node.content_loc)])]
1915
+ end
1916
+
1917
+ builder.xstring_compose(
1918
+ token(node.opening_loc),
1919
+ parts,
1920
+ token(node.closing_loc)
1921
+ )
1922
+ end
1923
+
1924
+ # yield
1925
+ # ^^^^^
1926
+ #
1927
+ # yield 1
1928
+ # ^^^^^^^
1929
+ def visit_yield_node(node)
1930
+ builder.keyword_cmd(
1931
+ :yield,
1932
+ token(node.keyword_loc),
1933
+ token(node.lparen_loc),
1934
+ visit(node.arguments) || [],
1935
+ token(node.rparen_loc)
1936
+ )
1937
+ end
1938
+
1939
+ private
1940
+
1941
+ # Initialize a new compiler with the given option overrides, used to
1942
+ # visit a subtree with the given options.
1943
+ def copy_compiler(forwarding: self.forwarding, in_destructure: self.in_destructure, in_pattern: self.in_pattern)
1944
+ Compiler.new(parser, offset_cache, forwarding: forwarding, in_destructure: in_destructure, in_pattern: in_pattern)
1945
+ end
1946
+
1947
+ # When *, **, &, or ... are used as an argument in a method call, we
1948
+ # check if they were allowed by the current context. To determine that
1949
+ # we build this lookup table.
1950
+ def find_forwarding(node)
1951
+ return [] if node.nil?
1952
+
1953
+ forwarding = []
1954
+ forwarding << :* if node.rest.is_a?(RestParameterNode) && node.rest.name.nil?
1955
+ forwarding << :** if node.keyword_rest.is_a?(KeywordRestParameterNode) && node.keyword_rest.name.nil?
1956
+ forwarding << :& if !node.block.nil? && node.block.name.nil?
1957
+ forwarding |= [:&, :"..."] if node.keyword_rest.is_a?(ForwardingParameterNode)
1958
+
1959
+ forwarding
1960
+ end
1961
+
1962
+ # Returns the set of targets for a MultiTargetNode or a MultiWriteNode.
1963
+ def multi_target_elements(node)
1964
+ elements = [*node.lefts]
1965
+ elements << node.rest if !node.rest.nil? && !node.rest.is_a?(ImplicitRestNode)
1966
+ elements.concat(node.rights)
1967
+ elements
1968
+ end
1969
+
1970
+ # Negate the value of a numeric node. This is a special case where you
1971
+ # have a negative sign on one line and then a number on the next line.
1972
+ # In normal Ruby, this will always be a method call. The parser gem,
1973
+ # however, marks this as a numeric literal. We have to massage the tree
1974
+ # here to get it into the correct form.
1975
+ def numeric_negate(message_loc, receiver)
1976
+ case receiver.type
1977
+ when :integer_node, :float_node
1978
+ receiver.copy(value: -receiver.value, location: message_loc.join(receiver.location))
1979
+ when :rational_node
1980
+ receiver.copy(numerator: -receiver.numerator, location: message_loc.join(receiver.location))
1981
+ when :imaginary_node
1982
+ receiver.copy(numeric: numeric_negate(message_loc, receiver.numeric), location: message_loc.join(receiver.location))
1983
+ end
1984
+ end
1985
+
1986
+ # Blocks can have a special set of parameters that automatically expand
1987
+ # when given arrays if they have a single required parameter and no
1988
+ # other parameters.
1989
+ def procarg0?(parameters)
1990
+ parameters &&
1991
+ parameters.requireds.length == 1 &&
1992
+ parameters.optionals.empty? &&
1993
+ parameters.rest.nil? &&
1994
+ parameters.posts.empty? &&
1995
+ parameters.keywords.empty? &&
1996
+ parameters.keyword_rest.nil? &&
1997
+ parameters.block.nil?
1998
+ end
1999
+
2000
+ # Locations in the parser gem AST are generated using this class. We
2001
+ # store a reference to its constant to make it slightly faster to look
2002
+ # up.
2003
+ Range = ::Parser::Source::Range
2004
+
2005
+ # Constructs a new source range from the given start and end offsets.
2006
+ def srange(location)
2007
+ Range.new(source_buffer, offset_cache[location.start_offset], offset_cache[location.end_offset]) if location
2008
+ end
2009
+
2010
+ # Constructs a new source range from the given start and end offsets.
2011
+ def srange_offsets(start_offset, end_offset)
2012
+ Range.new(source_buffer, offset_cache[start_offset], offset_cache[end_offset])
2013
+ end
2014
+
2015
+ # Constructs a new source range by finding the given character between
2016
+ # the given start offset and end offset. If the needle is not found, it
2017
+ # returns nil. Importantly it does not search past newlines or comments.
2018
+ #
2019
+ # Note that end_offset is allowed to be nil, in which case this will
2020
+ # search until the end of the string.
2021
+ def srange_find(start_offset, end_offset, character)
2022
+ if (match = source_buffer.source.byteslice(start_offset...end_offset)[/\A\s*#{character}/])
2023
+ final_offset = start_offset + match.bytesize
2024
+ [character, Range.new(source_buffer, offset_cache[final_offset - character.bytesize], offset_cache[final_offset])]
2025
+ end
2026
+ end
2027
+
2028
+ # Transform a location into a token that the parser gem expects.
2029
+ def token(location)
2030
+ [location.slice, Range.new(source_buffer, offset_cache[location.start_offset], offset_cache[location.end_offset])] if location
2031
+ end
2032
+
2033
+ # Visit a block node on a call.
2034
+ def visit_block(call, block)
2035
+ if block
2036
+ parameters = block.parameters
2037
+ implicit_parameters = parameters.is_a?(NumberedParametersNode) || parameters.is_a?(ItParametersNode)
2038
+
2039
+ builder.block(
2040
+ call,
2041
+ token(block.opening_loc),
2042
+ if parameters.nil?
2043
+ builder.args(nil, [], nil, false)
2044
+ elsif implicit_parameters
2045
+ visit(parameters)
2046
+ else
2047
+ builder.args(
2048
+ token(parameters.opening_loc),
2049
+ if procarg0?(parameters.parameters)
2050
+ parameter = parameters.parameters.requireds.first
2051
+ visited = parameter.is_a?(RequiredParameterNode) ? visit(parameter) : parameter.accept(copy_compiler(in_destructure: true))
2052
+ [builder.procarg0(visited)].concat(visit_all(parameters.locals))
2053
+ else
2054
+ visit(parameters)
2055
+ end,
2056
+ token(parameters.closing_loc),
2057
+ false
2058
+ )
2059
+ end,
2060
+ visit(block.body),
2061
+ token(block.closing_loc)
2062
+ )
2063
+ else
2064
+ call
2065
+ end
2066
+ end
2067
+
2068
+ # Visit a heredoc that can be either a string or an xstring.
2069
+ def visit_heredoc(node)
2070
+ children = Array.new
2071
+ indented = false
2072
+
2073
+ # If this is a dedenting heredoc, then we need to insert the opening
2074
+ # content into the children as well.
2075
+ if node.opening.start_with?("<<~") && node.parts.length > 0 && !node.parts.first.is_a?(StringNode)
2076
+ location = node.parts.first.location
2077
+ location = location.copy(start_offset: location.start_offset - location.start_line_slice.bytesize)
2078
+ children << builder.string_internal(token(location))
2079
+ indented = true
2080
+ end
2081
+
2082
+ node.parts.each do |part|
2083
+ pushing =
2084
+ if part.is_a?(StringNode) && part.content.include?("\n")
2085
+ string_nodes_from_line_continuations(part.unescaped, part.content, part.location.start_offset, node.opening)
2086
+ else
2087
+ [visit(part)]
2088
+ end
2089
+
2090
+ pushing.each do |child|
2091
+ if child.type == :str && child.children.last == ""
2092
+ # nothing
2093
+ elsif child.type == :str && children.last && children.last.type == :str && !children.last.children.first.end_with?("\n")
2094
+ appendee = children[-1]
2095
+
2096
+ location = appendee.loc
2097
+ location = location.with_expression(location.expression.join(child.loc.expression))
2098
+
2099
+ children[-1] = appendee.updated(:str, ["#{appendee.children.first}#{child.children.first}"], location: location)
2100
+ else
2101
+ children << child
2102
+ end
2103
+ end
2104
+ end
2105
+
2106
+ closing = node.closing
2107
+ closing_t = [closing.chomp, srange_offsets(node.closing_loc.start_offset, node.closing_loc.end_offset - (closing[/\s+$/]&.length || 0))]
2108
+ composed = yield children, closing_t
2109
+
2110
+ composed = composed.updated(nil, children[1..-1]) if indented
2111
+ composed
2112
+ end
2113
+
2114
+ # Visit a numeric node and account for the optional sign.
2115
+ def visit_numeric(node, value)
2116
+ if (slice = node.slice).match?(/^[+-]/)
2117
+ builder.unary_num(
2118
+ [slice[0].to_sym, srange_offsets(node.location.start_offset, node.location.start_offset + 1)],
2119
+ value
2120
+ )
2121
+ else
2122
+ value
2123
+ end
2124
+ end
2125
+
2126
+ # Within the given block, track that we're within a pattern.
2127
+ def within_pattern
2128
+ begin
2129
+ parser.pattern_variables.push
2130
+ yield copy_compiler(in_pattern: true)
2131
+ ensure
2132
+ parser.pattern_variables.pop
2133
+ end
2134
+ end
2135
+
2136
+ # When the content of a string node is split across multiple lines, the
2137
+ # parser gem creates individual string nodes for each line the content is part of.
2138
+ def string_nodes_from_interpolation(node, opening)
2139
+ node.parts.flat_map do |part|
2140
+ if part.type == :string_node && part.content.include?("\n") && part.opening_loc.nil?
2141
+ string_nodes_from_line_continuations(part.unescaped, part.content, part.content_loc.start_offset, opening)
2142
+ else
2143
+ visit(part)
2144
+ end
2145
+ end
2146
+ end
2147
+
2148
+ # Create parser string nodes from a single prism node. The parser gem
2149
+ # "glues" strings together when a line continuation is encountered.
2150
+ def string_nodes_from_line_continuations(unescaped, escaped, start_offset, opening)
2151
+ unescaped = unescaped.lines
2152
+ escaped = escaped.lines
2153
+ percent_array = opening&.start_with?("%w", "%W", "%i", "%I")
2154
+ regex = opening == "/" || opening&.start_with?("%r")
2155
+
2156
+ # Non-interpolating strings
2157
+ if opening&.end_with?("'") || opening&.start_with?("%q", "%s", "%w", "%i")
2158
+ current_length = 0
2159
+ current_line = +""
2160
+
2161
+ escaped.filter_map.with_index do |escaped_line, index|
2162
+ unescaped_line = unescaped.fetch(index, "")
2163
+ current_length += escaped_line.bytesize
2164
+ current_line << unescaped_line
2165
+
2166
+ # Glue line continuations together. Only %w and %i arrays can contain these.
2167
+ if percent_array && escaped_line[/(\\)*\n$/, 1]&.length&.odd?
2168
+ next unless index == escaped.count - 1
2169
+ end
2170
+ s = builder.string_internal([current_line, srange_offsets(start_offset, start_offset + current_length)])
2171
+ start_offset += escaped_line.bytesize
2172
+ current_line = +""
2173
+ current_length = 0
2174
+ s
2175
+ end
2176
+ else
2177
+ escaped_lengths = []
2178
+ normalized_lengths = []
2179
+ # Keeps track of where an unescaped line should start a new token. An unescaped
2180
+ # \n would otherwise be indistinguishable from the actual newline at the end of
2181
+ # of the line. The parser gem only emits a new string node at "real" newlines,
2182
+ # line continuations don't start a new node as well.
2183
+ do_next_tokens = []
2184
+
2185
+ escaped
2186
+ .chunk_while { |before, after| before[/(\\*)\r?\n$/, 1]&.length&.odd? || false }
2187
+ .each do |lines|
2188
+ escaped_lengths << lines.sum(&:bytesize)
2189
+
2190
+ unescaped_lines_count =
2191
+ if regex
2192
+ 0 # Will always be preserved as is
2193
+ else
2194
+ lines.sum do |line|
2195
+ count = line.scan(/(\\*)n/).count { |(backslashes)| backslashes&.length&.odd? }
2196
+ count -= 1 if !line.end_with?("\n") && count > 0
2197
+ count
2198
+ end
2199
+ end
2200
+
2201
+ extra = 1
2202
+ extra = lines.count if percent_array # Account for line continuations in percent arrays
2203
+
2204
+ normalized_lengths.concat(Array.new(unescaped_lines_count + extra, 0))
2205
+ normalized_lengths[-1] = lines.sum { |line| line.bytesize }
2206
+ do_next_tokens.concat(Array.new(unescaped_lines_count + extra, false))
2207
+ do_next_tokens[-1] = true
2208
+ end
2209
+
2210
+ current_line = +""
2211
+ current_normalized_length = 0
2212
+
2213
+ emitted_count = 0
2214
+ unescaped.filter_map.with_index do |unescaped_line, index|
2215
+ current_line << unescaped_line
2216
+ current_normalized_length += normalized_lengths.fetch(index, 0)
2217
+
2218
+ if do_next_tokens[index]
2219
+ inner_part = builder.string_internal([current_line, srange_offsets(start_offset, start_offset + current_normalized_length)])
2220
+ start_offset += escaped_lengths.fetch(emitted_count, 0)
2221
+ current_line = +""
2222
+ current_normalized_length = 0
2223
+ emitted_count += 1
2224
+ inner_part
2225
+ else
2226
+ nil
2227
+ end
2228
+ end
2229
+ end
2230
+ end
2231
+ end
2232
+ end
2233
+ end
2234
+ end