@ai-ecoverse/wasix-ruby 3.4.11-20 → 3.4.11-21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/PRESTAGE.md +8 -8
- package/README.md +9 -1
- package/THIRD-PARTY-NOTICES.md +1 -1
- package/bin/ruby +0 -0
- package/lib/ruby/3.4.0/wasm32-wasi/rbconfig.rb +9 -9
- package/lib/ruby/gems/3.4.0/cache/bigdecimal-3.1.8.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/debug-1.11.0.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/nkf-0.2.0.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/racc-1.8.1.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/rbs-3.8.0.gem +0 -0
- package/lib/ruby/gems/3.4.0/cache/syslog-0.2.0.gem +0 -0
- package/lib/ruby/gems/3.4.0/extensions/wasm32-wasi/3.4.0-static/bigdecimal-3.1.8/gem.build_complete +0 -0
- package/lib/ruby/gems/3.4.0/extensions/wasm32-wasi/3.4.0-static/debug-1.11.0/gem.build_complete +0 -0
- package/lib/ruby/gems/3.4.0/extensions/wasm32-wasi/3.4.0-static/nkf-0.2.0/gem.build_complete +0 -0
- package/lib/ruby/gems/3.4.0/extensions/wasm32-wasi/3.4.0-static/racc-1.8.1/gem.build_complete +0 -0
- package/lib/ruby/gems/3.4.0/extensions/wasm32-wasi/3.4.0-static/rbs-3.8.0/gem.build_complete +0 -0
- package/lib/ruby/gems/3.4.0/extensions/wasm32-wasi/3.4.0-static/syslog-0.2.0/gem.build_complete +0 -0
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/LICENSE +56 -0
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/ext/bigdecimal/bigdecimal.c +7794 -0
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/ext/bigdecimal/bigdecimal.h +313 -0
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/ext/bigdecimal/bits.h +141 -0
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/ext/bigdecimal/extconf.rb +62 -0
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/ext/bigdecimal/feature.h +68 -0
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/ext/bigdecimal/missing/dtoa.c +3462 -0
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/ext/bigdecimal/missing.c +27 -0
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/ext/bigdecimal/missing.h +196 -0
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/ext/bigdecimal/static_assert.h +54 -0
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/jacobian.rb +90 -0
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/ludcmp.rb +89 -0
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/math.rb +232 -0
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/newton.rb +80 -0
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal/util.rb +185 -0
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/lib/bigdecimal.rb +5 -0
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/sample/linear.rb +74 -0
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/sample/nlsolve.rb +40 -0
- package/lib/ruby/gems/3.4.0/gems/bigdecimal-3.1.8/sample/pi.rb +21 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/CONTRIBUTING.md +573 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/Gemfile +10 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/LICENSE.txt +22 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/README.md +996 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/Rakefile +57 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/TODO.md +23 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/exe/rdbg +53 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/ext/debug/debug.c +228 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/ext/debug/extconf.rb +27 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/ext/debug/iseq_collector.c +93 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/abbrev_command.rb +77 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/breakpoint.rb +556 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/client.rb +263 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/color.rb +123 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/config.rb +592 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/console.rb +224 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/dap_custom/traceInspector.rb +336 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/frame_info.rb +190 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/irb_integration.rb +37 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/local.rb +115 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/open.rb +13 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/open_nonstop.rb +15 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/prelude.rb +50 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/server.rb +534 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/server_cdp.rb +1348 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/server_dap.rb +1108 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/session.rb +2667 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/source_repository.rb +150 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/start.rb +5 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/thread_client.rb +1457 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/tracer.rb +241 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug/version.rb +5 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/lib/debug.rb +9 -0
- package/lib/ruby/gems/3.4.0/gems/debug-1.11.0/misc/README.md.erb +660 -0
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/Gemfile +5 -0
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/LICENSE.txt +22 -0
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/README.md +38 -0
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/Rakefile +24 -0
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/bin/console +14 -0
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/bin/setup +8 -0
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/ext/java/org/jruby/ext/nkf/Command.java +58 -0
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/ext/java/org/jruby/ext/nkf/CommandParser.java +70 -0
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/ext/java/org/jruby/ext/nkf/NKFLibrary.java +13 -0
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/ext/java/org/jruby/ext/nkf/Option.java +80 -0
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/ext/java/org/jruby/ext/nkf/Options.java +109 -0
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/ext/java/org/jruby/ext/nkf/RubyNKF.java +601 -0
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/ext/nkf/extconf.rb +3 -0
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/ext/nkf/nkf-utf8/config.h +51 -0
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/ext/nkf/nkf-utf8/nkf.c +7205 -0
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/ext/nkf/nkf-utf8/nkf.h +189 -0
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/ext/nkf/nkf-utf8/utf8tbl.c +14638 -0
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/ext/nkf/nkf-utf8/utf8tbl.h +72 -0
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/ext/nkf/nkf.c +506 -0
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/lib/kconv.rb +283 -0
- package/lib/ruby/gems/3.4.0/gems/nkf-0.2.0/lib/nkf.rb +6 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/BSDL +22 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/COPYING +56 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/ChangeLog +846 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/README.ja.rdoc +58 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/README.rdoc +60 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/TODO +5 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/bin/racc +320 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/en/grammar.en.rdoc +218 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/en/grammar2.en.rdoc +219 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/command.ja.html +99 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/debug.ja.rdoc +36 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/grammar.ja.rdoc +348 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/index.ja.html +10 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/parser.ja.rdoc +125 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/doc/ja/usage.ja.html +414 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/ext/racc/cparse/cparse.c +840 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/ext/racc/cparse/extconf.rb +8 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/compat.rb +33 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/debugflags.rb +60 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/exception.rb +16 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/grammar.rb +1191 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/grammarfileparser.rb +667 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/info.rb +18 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/iset.rb +92 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/logfilegenerator.rb +212 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/parser-text.rb +644 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/parser.rb +630 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/parserfilegenerator.rb +473 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/sourcetext.rb +35 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/state.rb +976 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/statetransitiontable.rb +311 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc/static.rb +5 -0
- package/lib/ruby/gems/3.4.0/gems/racc-1.8.1/lib/racc.rb +6 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/BSDL +22 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/CHANGELOG.md +1854 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/COPYING +56 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/README.md +203 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/Rakefile +415 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/Steepfile +44 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/config.yml +311 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/array.rbs +4062 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/basic_object.rbs +375 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/binding.rbs +150 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/builtin.rbs +277 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/class.rbs +220 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/comparable.rbs +171 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/complex.rbs +786 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/constants.rbs +96 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/data.rbs +415 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/dir.rbs +981 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/encoding.rbs +1371 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/enumerable.rbs +2405 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/enumerator/product.rbs +92 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/enumerator.rbs +630 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/env.rbs +6 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/errno.rbs +673 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/errors.rbs +760 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/exception.rbs +376 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/false_class.rbs +82 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/fiber.rbs +550 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/fiber_error.rbs +11 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/file.rbs +2936 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/file_test.rbs +331 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/float.rbs +1151 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/gc.rbs +644 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/global_variables.rbs +184 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/hash.rbs +1861 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/integer.rbs +1413 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/io/buffer.rbs +984 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/io/wait.rbs +70 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/io.rbs +3402 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/kernel.rbs +3054 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/marshal.rbs +207 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/match_data.rbs +635 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/math.rbs +729 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/method.rbs +386 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/module.rbs +1704 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/nil_class.rbs +209 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/numeric.rbs +818 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/object.rbs +110 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/object_space/weak_key_map.rbs +166 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/object_space.rbs +190 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/proc.rbs +868 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/process.rbs +2296 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/ractor.rbs +1065 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/random.rbs +237 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/range.rbs +1107 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rational.rbs +531 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rb_config.rbs +88 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rbs/unnamed/argf.rbs +1229 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rbs/unnamed/env_class.rbs +1209 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rbs/unnamed/random.rbs +293 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/refinement.rbs +59 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/regexp.rbs +1928 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/ruby_vm.rbs +765 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/basic_specification.rbs +6 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/config_file.rbs +38 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/dependency_installer.rbs +6 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/errors.rbs +176 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/installer.rbs +15 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/path_support.rbs +6 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/platform.rbs +7 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/request_set.rbs +49 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/requirement.rbs +148 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/rubygems.rbs +1171 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/source_list.rbs +15 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/specification.rbs +23 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/stream_ui.rbs +5 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/uninstaller.rbs +10 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/rubygems/version.rbs +294 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/set.rbs +621 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/signal.rbs +100 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/string.rbs +3583 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/struct.rbs +667 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/symbol.rbs +475 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/thread.rbs +1765 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/thread_group.rbs +79 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/time.rbs +1762 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/trace_point.rbs +477 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/true_class.rbs +98 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/unbound_method.rbs +329 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/core/warning.rbs +87 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/CONTRIBUTING.md +106 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/architecture.md +110 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/collection.md +192 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/data_and_struct.md +86 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/gem.md +57 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/rbs_by_example.md +309 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/repo.md +125 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/sigs.md +167 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/stdlib.md +147 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/syntax.md +905 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/docs/tools.md +17 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/exe/rbs +7 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/ext/rbs_extension/extconf.rb +14 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/ext/rbs_extension/lexer.c +2728 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/ext/rbs_extension/lexer.h +179 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/ext/rbs_extension/lexer.re +147 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/ext/rbs_extension/lexstate.c +175 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/ext/rbs_extension/location.c +303 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/ext/rbs_extension/location.h +84 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/ext/rbs_extension/main.c +12 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/ext/rbs_extension/parser.c +2961 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/ext/rbs_extension/parser.h +18 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/ext/rbs_extension/parserstate.c +366 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/ext/rbs_extension/parserstate.h +161 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/ext/rbs_extension/rbs_extension.h +31 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/ext/rbs_extension/unescape.c +32 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/goodcheck.yml +91 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/include/rbs/constants.h +82 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/include/rbs/ruby_objs.h +72 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/include/rbs.h +7 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ancestor_graph.rb +92 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/annotations.rb +199 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/formatter.rb +92 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/rdoc_annotator.rb +400 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate/rdoc_source.rb +131 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/annotate.rb +8 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/annotation.rb +29 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/comment.rb +29 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/declarations.rb +467 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/directives.rb +39 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/members.rb +449 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/type_param.rb +225 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/ast/visitor.rb +137 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/buffer.rb +67 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/builtin_names.rb +58 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli/colored_io.rb +48 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli/diff.rb +83 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli/validate.rb +356 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/cli.rb +1223 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/cleaner.rb +38 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/config/lockfile.rb +92 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/config/lockfile_generator.rb +223 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/config.rb +81 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/installer.rb +32 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/base.rb +14 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/git.rb +258 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/local.rb +81 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/rubygems.rb +48 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources/stdlib.rb +50 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection/sources.rb +38 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/collection.rb +16 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/constant.rb +28 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition.rb +395 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition_builder/ancestor_builder.rb +620 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition_builder/method_builder.rb +254 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/definition_builder.rb +841 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/diff.rb +125 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment/use_map.rb +77 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment.rb +818 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment_loader.rb +173 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/environment_walker.rb +155 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/errors.rb +600 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/factory.rb +18 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/file_finder.rb +28 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/location_aux.rb +138 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/locator.rb +241 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/method_type.rb +141 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/namespace.rb +125 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/parser/lex_result.rb +15 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/parser/token.rb +23 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/parser_aux.rb +77 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/helpers.rb +140 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/node_usage.rb +99 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/rb.rb +840 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/rbi.rb +641 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime/helpers.rb +59 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime/reflection.rb +19 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime/value_object_generator.rb +279 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/prototype/runtime.rb +667 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/repository.rb +127 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/resolver/constant_resolver.rb +219 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/resolver/type_name_resolver.rb +91 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/sorter.rb +198 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/substitution.rb +83 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/subtractor.rb +201 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/errors.rb +80 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/guaranteed.rb +30 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/hook.rb +212 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/observer.rb +19 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/setup.rb +84 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/setup_helper.rb +50 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/tester.rb +167 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test/type_check.rb +433 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/test.rb +112 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/type_alias_dependency.rb +100 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/type_alias_regularity.rb +126 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/type_name.rb +109 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/types.rb +1557 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/convertibles.rb +176 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/spy.rb +136 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/type_assertions.rb +341 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test/with_aliases.rb +143 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/unit_test.rb +6 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/validator.rb +182 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/variance_calculator.rb +189 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/vendorer.rb +71 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/version.rb +5 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs/writer.rb +419 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rbs.rb +93 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rdoc/discover.rb +20 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/lib/rdoc_plugin/parser.rb +163 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/annotation.json +14 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/comment.json +26 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/decls.json +326 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/function.json +87 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/location.json +56 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/members.json +266 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/methodType.json +50 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/typeParam.json +36 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/schema/types.json +317 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/ancestor_builder.rbs +163 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/ancestor_graph.rbs +60 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/annotations.rbs +102 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/formatter.rbs +24 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/rdoc_annotater.rbs +82 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotate/rdoc_source.rbs +30 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/annotation.rbs +27 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/buffer.rbs +32 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/builtin_names.rbs +44 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli/colored_io.rbs +15 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli/diff.rbs +21 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli/validate.rbs +43 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/cli.rbs +87 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/cleaner.rbs +13 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/config/lockfile.rbs +74 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/config/lockfile_generator.rbs +66 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/config.rbs +46 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/installer.rbs +17 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection/sources.rbs +214 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/collection.rbs +4 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/comment.rbs +26 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/constant.rbs +21 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/declarations.rbs +267 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/definition.rbs +173 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/definition_builder.rbs +165 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/diff.rbs +28 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/directives.rbs +61 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/environment.rbs +277 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/environment_loader.rbs +111 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/environment_walker.rbs +65 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/errors.rbs +383 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/factory.rbs +5 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/file_finder.rbs +28 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/location.rbs +110 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/locator.rbs +58 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/manifest.yaml +7 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/members.rbs +258 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/method_builder.rbs +84 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/method_types.rbs +58 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/namespace.rbs +146 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/parser.rbs +96 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/helpers.rbs +27 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/node_usage.rbs +20 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/rb.rbs +96 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/rbi.rbs +75 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/prototype/runtime.rbs +182 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/rbs.rbs +21 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/rdoc/rbs.rbs +67 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/repository.rbs +85 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/resolver/constant_resolver.rbs +92 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/resolver/context.rbs +34 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/resolver/type_name_resolver.rbs +35 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/shims/bundler.rbs +38 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/shims/enumerable.rbs +5 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/shims/rubygems.rbs +19 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/sorter.rbs +41 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/substitution.rbs +48 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/subtractor.rbs +37 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test/errors.rbs +52 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test/guranteed.rbs +9 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test/type_check.rbs +19 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/test.rbs +82 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/type_alias_dependency.rbs +53 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/type_alias_regularity.rbs +98 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/type_param.rbs +110 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/typename.rbs +79 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/types.rbs +576 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/convertibles.rbs +154 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/spy.rbs +28 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/type_assertions.rbs +194 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/unit_test/with_aliases.rbs +136 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/use_map.rbs +35 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/util.rbs +9 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/validator.rbs +59 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/variance_calculator.rbs +87 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/vendorer.rbs +51 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/version.rbs +3 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/visitor.rbs +47 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/sig/writer.rbs +127 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/src/constants.c +153 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/src/ruby_objs.c +793 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/abbrev/0/abbrev.rbs +66 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/abbrev/0/array.rbs +26 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/base64/0/base64.rbs +355 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/benchmark/0/benchmark.rbs +452 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/bigdecimal/0/big_decimal.rbs +1629 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/bigdecimal-math/0/big_math.rbs +119 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/bigdecimal-math/0/manifest.yaml +2 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/cgi/0/core.rbs +1285 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/cgi/0/manifest.yaml +3 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/coverage/0/coverage.rbs +263 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/csv/0/csv.rbs +3776 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/csv/0/manifest.yaml +3 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/date/0/date.rbs +1585 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/date/0/date_time.rbs +616 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/date/0/time.rbs +26 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/dbm/0/dbm.rbs +421 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/delegate/0/delegator.rbs +184 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/delegate/0/kernel.rbs +47 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/delegate/0/simple_delegator.rbs +96 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/did_you_mean/0/did_you_mean.rbs +343 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/digest/0/digest.rbs +577 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/erb/0/erb.rbs +532 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/etc/0/etc.rbs +865 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/fileutils/0/fileutils.rbs +1734 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/find/0/find.rbs +49 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/forwardable/0/forwardable.rbs +268 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/io-console/0/io-console.rbs +414 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/ipaddr/0/ipaddr.rbs +428 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/json/0/json.rbs +1914 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/kconv/0/kconv.rbs +166 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/formatter.rbs +45 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/log_device.rbs +100 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/logger.rbs +796 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/manifest.yaml +2 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/period.rbs +17 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/logger/0/severity.rbs +34 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/kernel.rbs +42 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/abstract_reporter.rbs +52 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/assertion.rbs +17 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/assertions.rbs +590 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/backtrace_filter.rbs +23 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/bench_spec.rbs +102 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/benchmark.rbs +259 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/composite_reporter.rbs +25 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/compress.rbs +13 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/error_on_warning.rbs +3 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/expectation.rbs +2 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/expectations.rbs +21 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/guard.rbs +64 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/mock.rbs +64 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel/executor.rbs +46 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel/test/class_methods.rbs +5 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel/test.rbs +3 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/parallel.rbs +2 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/pride_io.rbs +62 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/pride_lol.rbs +19 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/progress_reporter.rbs +11 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/reportable.rbs +53 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/reporter.rbs +5 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/result.rbs +28 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/runnable.rbs +163 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/skip.rbs +6 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/spec/dsl/instance_methods.rbs +48 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/spec/dsl.rbs +129 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/spec.rbs +11 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/statistics_reporter.rbs +81 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/summary_reporter.rbs +18 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/test/lifecycle_hooks.rbs +92 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/test.rbs +69 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unexpected_error.rbs +12 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unexpected_warning.rbs +6 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unit/test_case.rbs +3 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest/unit.rbs +4 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/minitest/0/minitest.rbs +115 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/monitor/0/monitor.rbs +354 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/mutex_m/0/mutex_m.rbs +104 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-http/0/manifest.yaml +3 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-http/0/net-http.rbs +5552 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-protocol/0/manifest.yaml +2 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-protocol/0/net-protocol.rbs +56 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-smtp/0/manifest.yaml +2 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/net-smtp/0/net-smtp.rbs +55 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/nkf/0/nkf.rbs +402 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/objspace/0/objspace.rbs +487 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/observable/0/observable.rbs +217 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/open-uri/0/manifest.yaml +4 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/open-uri/0/open-uri.rbs +393 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/open3/0/open3.rbs +147 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/openssl/0/manifest.yaml +3 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/openssl/0/openssl.rbs +12113 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/optparse/0/optparse.rbs +1725 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pathname/0/pathname.rbs +1406 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pp/0/manifest.yaml +2 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pp/0/pp.rbs +300 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/prettyprint/0/prettyprint.rbs +383 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pstore/0/pstore.rbs +603 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/core_ext.rbs +12 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/dbm.rbs +237 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/manifest.yaml +3 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/psych.rbs +402 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/psych/0/store.rbs +59 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/pty/0/pty.rbs +237 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/code_object.rbs +51 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/comment.rbs +59 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/context.rbs +153 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/markup.rbs +117 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/parser.rbs +56 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/rdoc.rbs +391 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/ri.rbs +17 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/store.rbs +48 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/rdoc/0/top_level.rbs +97 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/resolv/0/manifest.yaml +3 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/resolv/0/resolv.rbs +1830 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/ripper/0/ripper.rbs +1648 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/securerandom/0/securerandom.rbs +62 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/shellwords/0/shellwords.rbs +229 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/singleton/0/singleton.rbs +131 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/addrinfo.rbs +666 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/basic_socket.rbs +590 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/constants.rbs +2295 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/ip_socket.rbs +92 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/socket.rbs +4157 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/socket_error.rbs +5 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/tcp_server.rbs +192 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/tcp_socket.rbs +79 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/udp_socket.rbs +133 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/unix_server.rbs +169 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/socket/0/unix_socket.rbs +170 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/stringio/0/stringio.rbs +567 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/strscan/0/string_scanner.rbs +1627 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tempfile/0/tempfile.rbs +479 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/time/0/time.rbs +432 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/timeout/0/timeout.rbs +81 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tmpdir/0/tmpdir.rbs +69 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tsort/0/cyclic.rbs +5 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tsort/0/interfaces.rbs +20 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/tsort/0/tsort.rbs +409 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/common.rbs +582 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/file.rbs +118 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ftp.rbs +13 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/generic.rbs +1108 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/http.rbs +104 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/https.rbs +14 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ldap.rbs +230 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ldaps.rbs +14 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/mailto.rbs +92 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/rfc2396_parser.rbs +189 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/rfc3986_parser.rbs +2 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/ws.rbs +13 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/uri/0/wss.rbs +9 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/yaml/0/manifest.yaml +2 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/yaml/0/yaml.rbs +1 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/buf_error.rbs +10 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/data_error.rbs +10 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/deflate.rbs +210 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/error.rbs +20 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/crc_error.rbs +12 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/error.rbs +23 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/length_error.rbs +12 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file/no_footer.rbs +11 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_file.rbs +156 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_reader.rbs +293 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/gzip_writer.rbs +166 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/inflate.rbs +180 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/mem_error.rbs +10 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/need_dict.rbs +13 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/stream_end.rbs +11 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/stream_error.rbs +11 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/version_error.rbs +11 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/zlib.rbs +449 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/stdlib/zlib/0/zstream.rbs +200 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/include/rbs/constants.h.erb +20 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/include/rbs/ruby_objs.h.erb +10 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/src/constants.c.erb +36 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/src/ruby_objs.c.erb +27 -0
- package/lib/ruby/gems/3.4.0/gems/rbs-3.8.0/templates/template.rb +122 -0
- package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/Gemfile +5 -0
- package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/LICENSE.txt +22 -0
- package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/README.md +41 -0
- package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/Rakefile +20 -0
- package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/bin/console +14 -0
- package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/bin/setup +8 -0
- package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/ext/syslog/extconf.rb +26 -0
- package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/ext/syslog/syslog.c +592 -0
- package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/ext/syslog/syslog.txt +124 -0
- package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/lib/syslog/logger.rb +209 -0
- package/lib/ruby/gems/3.4.0/gems/syslog-0.2.0/lib/syslog.rb +10 -0
- package/lib/ruby/gems/3.4.0/specifications/bigdecimal-3.1.8.gemspec +25 -0
- package/lib/ruby/gems/3.4.0/specifications/debug-1.11.0.gemspec +32 -0
- package/lib/ruby/gems/3.4.0/specifications/nkf-0.2.0.gemspec +26 -0
- package/lib/ruby/gems/3.4.0/specifications/racc-1.8.1.gemspec +28 -0
- package/lib/ruby/gems/3.4.0/specifications/rbs-3.8.0.gemspec +31 -0
- package/lib/ruby/gems/3.4.0/specifications/syslog-0.2.0.gemspec +25 -0
- package/package.json +9 -9
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
= Racc
|
|
2
|
+
|
|
3
|
+
* https://github.com/ruby/racc
|
|
4
|
+
|
|
5
|
+
== DESCRIPTION:
|
|
6
|
+
|
|
7
|
+
Racc は LALR(1) パーサジェネレータです。
|
|
8
|
+
yacc の Ruby 版に相当します。
|
|
9
|
+
|
|
10
|
+
== 必要環境
|
|
11
|
+
|
|
12
|
+
* Ruby 2.5 以降
|
|
13
|
+
|
|
14
|
+
== インストール
|
|
15
|
+
|
|
16
|
+
gem インストール:
|
|
17
|
+
|
|
18
|
+
$ gem install racc
|
|
19
|
+
|
|
20
|
+
== テスト
|
|
21
|
+
|
|
22
|
+
sample/ 以下にいくつか Racc の文法ファイルのサンプルが用意
|
|
23
|
+
してあります。動くのも動かないのもありますが、少なくとも
|
|
24
|
+
calc-ja.y は動くのでこれを処理してみましょう。Racc をインス
|
|
25
|
+
トールしたあと
|
|
26
|
+
|
|
27
|
+
$ racc -ocalc.rb calc-ja.y
|
|
28
|
+
|
|
29
|
+
として下さい。処理は一瞬から数秒で終わるので、
|
|
30
|
+
|
|
31
|
+
$ ruby calc.rb
|
|
32
|
+
|
|
33
|
+
を実行してください。ちゃんと動いてますか?
|
|
34
|
+
|
|
35
|
+
Racc の文法など詳しいことは doc.ja/ ディレクトリ以下の HTML を
|
|
36
|
+
見てください。
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
== ライセンス
|
|
40
|
+
|
|
41
|
+
このパッケージに付属するファイルの著作権は青木峰郎が保持します。
|
|
42
|
+
ライセンスは Ruby ライセンスです。ただしユーザが書いた規則
|
|
43
|
+
ファイルや、Racc がそこから生成した Ruby スクリプトはその対象
|
|
44
|
+
外です。好きなライセンスで配布してください。
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
== バグなど
|
|
48
|
+
|
|
49
|
+
Racc を使っていてバグらしき現象に遭遇したら、下記のアドレスまで
|
|
50
|
+
メールをください。作者にはバグを修正する義務はありませんがその
|
|
51
|
+
意思はあります。また、そのときはできるだけバグを再現できる文法
|
|
52
|
+
ファイルを付けてください。
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
青木峰郎(あおきみねろう)
|
|
56
|
+
aamine@loveruby.net
|
|
57
|
+
http://i.loveruby.net
|
|
58
|
+
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
= Racc
|
|
2
|
+
|
|
3
|
+
* https://github.com/ruby/racc
|
|
4
|
+
|
|
5
|
+
== DESCRIPTION:
|
|
6
|
+
|
|
7
|
+
Racc is an LALR(1) parser generator.
|
|
8
|
+
It is written in Ruby itself, and generates Ruby program.
|
|
9
|
+
|
|
10
|
+
== Requirement
|
|
11
|
+
|
|
12
|
+
* Ruby 2.5 or later.
|
|
13
|
+
|
|
14
|
+
== Installation
|
|
15
|
+
|
|
16
|
+
gem install:
|
|
17
|
+
|
|
18
|
+
$ gem install racc
|
|
19
|
+
|
|
20
|
+
== Testing Racc
|
|
21
|
+
|
|
22
|
+
Racc comes with simple calculator. To compile this, on shell:
|
|
23
|
+
|
|
24
|
+
$ racc -o calc calc.y
|
|
25
|
+
|
|
26
|
+
This process costs few seconds (or less). Then type:
|
|
27
|
+
|
|
28
|
+
$ ruby calc
|
|
29
|
+
|
|
30
|
+
... Does it work?
|
|
31
|
+
For details of Racc, see HTML documents placed under 'doc/en/'
|
|
32
|
+
and sample grammar files under 'sample/'.
|
|
33
|
+
|
|
34
|
+
== Release flow
|
|
35
|
+
|
|
36
|
+
* Update VERSION number of these files
|
|
37
|
+
* <code>RACC_VERSION</code> in "ext/racc/com/headius/racc/Cparse.java"
|
|
38
|
+
* <code>VERSION</code> in "lib/racc/info.rb"
|
|
39
|
+
* Release as a gem by <code>rake release</code> with CRuby and JRuby because Racc gem provides 2 packages
|
|
40
|
+
* Create new release on {GitHub}[https://github.com/ruby/racc/releases]
|
|
41
|
+
|
|
42
|
+
== License
|
|
43
|
+
|
|
44
|
+
Racc is distributed under the same terms of ruby.
|
|
45
|
+
(see the file COPYING). Note that you do NOT need to follow
|
|
46
|
+
ruby license for your own parser (racc outputs).
|
|
47
|
+
You can distribute those files under any licenses you want.
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
== Bug Reports
|
|
51
|
+
|
|
52
|
+
Any kind of bug report is welcome.
|
|
53
|
+
If you find a bug of Racc, please report an issue at
|
|
54
|
+
https://github.com/ruby/racc/issues. Your grammar file,
|
|
55
|
+
debug output generated by "racc -g", are helpful.
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
Minero Aoki
|
|
59
|
+
aamine@loveruby.net
|
|
60
|
+
http://i.loveruby.net
|
|
@@ -0,0 +1,320 @@
|
|
|
1
|
+
#!/usr/bin/env ruby
|
|
2
|
+
#
|
|
3
|
+
#
|
|
4
|
+
#
|
|
5
|
+
# Copyright (c) 1999-2006 Minero Aoki
|
|
6
|
+
#
|
|
7
|
+
# This program is free software.
|
|
8
|
+
# You can distribute/modify this program under the same terms of ruby.
|
|
9
|
+
# see the file "COPYING".
|
|
10
|
+
|
|
11
|
+
require 'racc/static'
|
|
12
|
+
require 'optparse'
|
|
13
|
+
|
|
14
|
+
def main
|
|
15
|
+
output = nil
|
|
16
|
+
debug_parser = false
|
|
17
|
+
make_logfile = false
|
|
18
|
+
logfilename = nil
|
|
19
|
+
make_executable = false
|
|
20
|
+
rubypath = nil
|
|
21
|
+
embed_runtime = false
|
|
22
|
+
frozen_strings = false
|
|
23
|
+
debug_flags = Racc::DebugFlags.new
|
|
24
|
+
line_convert = true
|
|
25
|
+
line_convert_all = false
|
|
26
|
+
omit_action_call = true
|
|
27
|
+
superclass = nil
|
|
28
|
+
check_only = false
|
|
29
|
+
verbose = false
|
|
30
|
+
profiler = RaccProfiler.new(false)
|
|
31
|
+
|
|
32
|
+
parser = OptionParser.new
|
|
33
|
+
parser.banner = "Usage: #{File.basename($0)} [options] [input]"
|
|
34
|
+
parser.on('-o', '--output-file=PATH',
|
|
35
|
+
'output file name [<input>.tab.rb]') {|name|
|
|
36
|
+
output = name
|
|
37
|
+
}
|
|
38
|
+
parser.on('-t', '--debug', 'Outputs debugging parser.') {|fl|
|
|
39
|
+
debug_parser = fl
|
|
40
|
+
}
|
|
41
|
+
parser.on('-g', 'Equivalent to -t (obsolete).') {|fl|
|
|
42
|
+
$stderr.puts "racc -g is obsolete. Use racc -t instead." if $VERBOSE
|
|
43
|
+
debug_parser = fl
|
|
44
|
+
}
|
|
45
|
+
parser.on('-v', '--verbose',
|
|
46
|
+
'Creates <filename>.output log file.') {|fl|
|
|
47
|
+
make_logfile = fl
|
|
48
|
+
}
|
|
49
|
+
parser.on('-O', '--log-file=PATH',
|
|
50
|
+
'Log file name [<input>.output]') {|path|
|
|
51
|
+
make_logfile = true
|
|
52
|
+
logfilename = path
|
|
53
|
+
}
|
|
54
|
+
parser.on('-e', '--executable [RUBYPATH]', 'Makes executable parser.') {|path|
|
|
55
|
+
make_executable = true
|
|
56
|
+
rubypath = (path == 'ruby' ? nil : path)
|
|
57
|
+
}
|
|
58
|
+
parser.on('-E', '--embedded', "Embeds Racc runtime in output.") {
|
|
59
|
+
embed_runtime = true
|
|
60
|
+
}
|
|
61
|
+
parser.on('-F', '--frozen', "Add frozen_string_literals: true.") {
|
|
62
|
+
frozen_strings = true
|
|
63
|
+
}
|
|
64
|
+
parser.on('--line-convert-all', 'Converts line numbers of user codes.') {
|
|
65
|
+
line_convert_all = true
|
|
66
|
+
}
|
|
67
|
+
parser.on('-l', '--no-line-convert', 'Never convert line numbers.') {
|
|
68
|
+
line_convert = false
|
|
69
|
+
line_convert_all = false
|
|
70
|
+
}
|
|
71
|
+
parser.on('-a', '--no-omit-actions', 'Never omit actions.') {
|
|
72
|
+
omit_action_call = false
|
|
73
|
+
}
|
|
74
|
+
parser.on('--superclass=CLASSNAME',
|
|
75
|
+
'Uses CLASSNAME instead of Racc::Parser.') {|name|
|
|
76
|
+
superclass = name
|
|
77
|
+
}
|
|
78
|
+
parser.on('-C', '--check-only', 'Checks syntax and quit immediately.') {|fl|
|
|
79
|
+
check_only = fl
|
|
80
|
+
}
|
|
81
|
+
parser.on('-S', '--output-status', 'Outputs internal status time to time.') {
|
|
82
|
+
verbose = true
|
|
83
|
+
}
|
|
84
|
+
parser.on('-P', 'Enables generator profile') {
|
|
85
|
+
profiler = RaccProfiler.new(true)
|
|
86
|
+
}
|
|
87
|
+
parser.on('-D flags', "Flags for Racc debugging (do not use).") {|flags|
|
|
88
|
+
debug_flags = Racc::DebugFlags.parse_option_string(flags)
|
|
89
|
+
}
|
|
90
|
+
#parser.on('--no-extensions', 'Run Racc without any Ruby extension.') {
|
|
91
|
+
# Racc.const_set :Racc_No_Extensions, true
|
|
92
|
+
#}
|
|
93
|
+
parser.on('--version', 'Prints version and quit.') {
|
|
94
|
+
puts "racc version #{Racc::Version}"
|
|
95
|
+
exit
|
|
96
|
+
}
|
|
97
|
+
parser.on('--runtime-version', 'Prints runtime version and quit.') {
|
|
98
|
+
printf "racc runtime version %s; %s core version %s\n",
|
|
99
|
+
Racc::Parser::Racc_Runtime_Version,
|
|
100
|
+
Racc::Parser.racc_runtime_type,
|
|
101
|
+
if Racc::Parser.racc_runtime_type == 'ruby'
|
|
102
|
+
Racc::Parser::Racc_Runtime_Core_Version_R
|
|
103
|
+
else
|
|
104
|
+
Racc::Parser::Racc_Runtime_Core_Version_C
|
|
105
|
+
end
|
|
106
|
+
exit
|
|
107
|
+
}
|
|
108
|
+
parser.on('--copyright', 'Prints copyright and quit.') {
|
|
109
|
+
puts Racc::Copyright
|
|
110
|
+
exit
|
|
111
|
+
}
|
|
112
|
+
parser.on('--help', 'Prints this message and quit.') {
|
|
113
|
+
puts parser.help
|
|
114
|
+
exit
|
|
115
|
+
}
|
|
116
|
+
begin
|
|
117
|
+
parser.parse!
|
|
118
|
+
rescue OptionParser::ParseError => err
|
|
119
|
+
abort [err.message, parser.help].join("\n")
|
|
120
|
+
end
|
|
121
|
+
if ARGV.size > 1
|
|
122
|
+
abort 'too many input'
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
input = ARGV[0] || "stdin"
|
|
126
|
+
|
|
127
|
+
if input == "stdin" && !output then
|
|
128
|
+
abort 'You must specify a path to read or use -o <path> for output.'
|
|
129
|
+
end
|
|
130
|
+
|
|
131
|
+
begin
|
|
132
|
+
$stderr.puts 'Parsing grammar file...' if verbose
|
|
133
|
+
result = profiler.section('parse') {
|
|
134
|
+
parser = Racc::GrammarFileParser.new(debug_flags)
|
|
135
|
+
content = input == "stdin" ? ARGF.read : File.read(input)
|
|
136
|
+
parser.parse(content, File.basename(input))
|
|
137
|
+
}
|
|
138
|
+
if check_only
|
|
139
|
+
$stderr.puts 'syntax ok'
|
|
140
|
+
exit
|
|
141
|
+
end
|
|
142
|
+
|
|
143
|
+
$stderr.puts 'Generating LALR states...' if verbose
|
|
144
|
+
states = profiler.section('nfa') {
|
|
145
|
+
Racc::States.new(result.grammar).nfa
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
$stderr.puts "Resolving #{states.size} states..." if verbose
|
|
149
|
+
profiler.section('dfa') {
|
|
150
|
+
states.dfa
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
$stderr.puts 'Creating parser file...' if verbose
|
|
154
|
+
params = result.params.dup
|
|
155
|
+
params.filename = File.basename(input)
|
|
156
|
+
# Overwrites parameters given by a grammar file with command line options.
|
|
157
|
+
params.superclass = superclass if superclass
|
|
158
|
+
params.omit_action_call = true if omit_action_call
|
|
159
|
+
# From command line option
|
|
160
|
+
if make_executable
|
|
161
|
+
params.make_executable = true
|
|
162
|
+
params.interpreter = rubypath
|
|
163
|
+
end
|
|
164
|
+
params.debug_parser = debug_parser
|
|
165
|
+
params.convert_line = line_convert
|
|
166
|
+
params.convert_line_all = line_convert_all
|
|
167
|
+
params.embed_runtime = embed_runtime
|
|
168
|
+
params.frozen_strings = frozen_strings
|
|
169
|
+
profiler.section('generation') {
|
|
170
|
+
generator = Racc::ParserFileGenerator.new(states, params)
|
|
171
|
+
generator.generate_parser_file(output || make_filename(input, '.tab.rb'))
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
if make_logfile
|
|
175
|
+
profiler.section('logging') {
|
|
176
|
+
$stderr.puts 'Creating log file...' if verbose
|
|
177
|
+
logfilename ||= make_filename(output || File.basename(input), '.output')
|
|
178
|
+
File.open(logfilename, 'w') {|f|
|
|
179
|
+
Racc::LogFileGenerator.new(states, debug_flags).output f
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
end
|
|
183
|
+
if debug_flags.status_logging
|
|
184
|
+
log_useless states.grammar
|
|
185
|
+
log_conflict states
|
|
186
|
+
else
|
|
187
|
+
has_useless = report_useless states.grammar
|
|
188
|
+
has_conflicts = report_conflict states
|
|
189
|
+
if has_useless || has_conflicts
|
|
190
|
+
preamble = make_logfile ? 'C' : 'Turn on logging with "-v" and c'
|
|
191
|
+
$stderr.puts %Q{#{preamble}heck ".output" file for details}
|
|
192
|
+
end
|
|
193
|
+
end
|
|
194
|
+
|
|
195
|
+
profiler.report
|
|
196
|
+
if states.should_error_on_expect_mismatch?
|
|
197
|
+
raise Racc::CompileError, "#{states.grammar.n_expected_srconflicts} shift/reduce conflicts are expected but #{states.n_srconflicts} shift/reduce conflicts exist"
|
|
198
|
+
end
|
|
199
|
+
rescue Racc::Error, Errno::ENOENT, Errno::EPERM => err
|
|
200
|
+
raise if $DEBUG or debug_flags.any?
|
|
201
|
+
lineno = err.message.slice(/\A\d+:/).to_s
|
|
202
|
+
abort "#{File.basename $0}: #{input}:#{lineno} #{err.message.strip}"
|
|
203
|
+
end
|
|
204
|
+
end
|
|
205
|
+
|
|
206
|
+
def make_filename(path, suffix)
|
|
207
|
+
path.sub(/(?:\..*?)?\z/, suffix)
|
|
208
|
+
end
|
|
209
|
+
|
|
210
|
+
LIST_LIMIT = 10
|
|
211
|
+
def report_list(enum, label)
|
|
212
|
+
c = enum.count
|
|
213
|
+
if c > 0
|
|
214
|
+
$stderr.puts "#{c} #{label}:"
|
|
215
|
+
enum.first(LIST_LIMIT).each do |item|
|
|
216
|
+
$stderr.puts " #{yield item}"
|
|
217
|
+
end
|
|
218
|
+
$stderr.puts " ..." if c > LIST_LIMIT
|
|
219
|
+
end
|
|
220
|
+
end
|
|
221
|
+
|
|
222
|
+
# @return [Boolean] if anything was reported
|
|
223
|
+
def report_conflict(states)
|
|
224
|
+
if states.should_report_srconflict?
|
|
225
|
+
reported = true
|
|
226
|
+
$stderr.puts "#{states.n_srconflicts} shift/reduce conflicts"
|
|
227
|
+
end
|
|
228
|
+
if states.rrconflict_exist?
|
|
229
|
+
reported = true
|
|
230
|
+
$stderr.puts "#{states.n_rrconflicts} reduce/reduce conflicts"
|
|
231
|
+
end
|
|
232
|
+
reported
|
|
233
|
+
end
|
|
234
|
+
|
|
235
|
+
def log_conflict(states)
|
|
236
|
+
logging('w') {|f|
|
|
237
|
+
f.puts "ex#{states.grammar.n_expected_srconflicts}"
|
|
238
|
+
if states.should_report_srconflict?
|
|
239
|
+
f.puts "sr#{states.n_srconflicts}"
|
|
240
|
+
end
|
|
241
|
+
if states.rrconflict_exist?
|
|
242
|
+
f.puts "rr#{states.n_rrconflicts}"
|
|
243
|
+
end
|
|
244
|
+
}
|
|
245
|
+
end
|
|
246
|
+
|
|
247
|
+
# @return [Boolean] if anything was reported
|
|
248
|
+
def report_useless(grammar)
|
|
249
|
+
reported = report_list(grammar.each_useless_nonterminal, 'useless nonterminals', &:to_s)
|
|
250
|
+
|
|
251
|
+
reported ||= report_list(grammar.each_useless_rule, 'useless rules') { |r| "##{r.ident} (#{r.target})" }
|
|
252
|
+
|
|
253
|
+
if grammar.start.useless?
|
|
254
|
+
$stderr.puts 'fatal: start symbol does not derive any sentence'
|
|
255
|
+
reported = true
|
|
256
|
+
end
|
|
257
|
+
reported
|
|
258
|
+
end
|
|
259
|
+
|
|
260
|
+
def log_useless(grammar)
|
|
261
|
+
logging('a') {|f|
|
|
262
|
+
if grammar.useless_nonterminal_exist?
|
|
263
|
+
f.puts "un#{grammar.n_useless_nonterminals}"
|
|
264
|
+
end
|
|
265
|
+
if grammar.useless_rule_exist?
|
|
266
|
+
f.puts "ur#{grammar.n_useless_rules}"
|
|
267
|
+
end
|
|
268
|
+
}
|
|
269
|
+
end
|
|
270
|
+
|
|
271
|
+
def logging(mode, &block)
|
|
272
|
+
File.open("log/#{File.basename(ARGV[0])}", mode, &block)
|
|
273
|
+
end
|
|
274
|
+
|
|
275
|
+
class RaccProfiler
|
|
276
|
+
def initialize(really)
|
|
277
|
+
@really = really
|
|
278
|
+
@log = []
|
|
279
|
+
end
|
|
280
|
+
|
|
281
|
+
def section(name)
|
|
282
|
+
if @really
|
|
283
|
+
t1 = ::Process.times.utime
|
|
284
|
+
result = yield
|
|
285
|
+
t2 = ::Process.times.utime
|
|
286
|
+
@log.push [name, t2 - t1]
|
|
287
|
+
result
|
|
288
|
+
else
|
|
289
|
+
yield
|
|
290
|
+
end
|
|
291
|
+
end
|
|
292
|
+
|
|
293
|
+
def report
|
|
294
|
+
return unless @really
|
|
295
|
+
f = $stderr
|
|
296
|
+
total = cumulative_time()
|
|
297
|
+
f.puts '--task-----------+--sec------+---%-'
|
|
298
|
+
@log.each do |name, time|
|
|
299
|
+
f.printf "%-19s %s %3d%%\n", name, pjust(time,4,4), (time/total*100).to_i
|
|
300
|
+
end
|
|
301
|
+
f.puts '-----------------+-----------+-----'
|
|
302
|
+
f.printf "%-20s%s\n", 'total', pjust(total,4,4)
|
|
303
|
+
end
|
|
304
|
+
|
|
305
|
+
private
|
|
306
|
+
|
|
307
|
+
def cumulative_time
|
|
308
|
+
t = @log.inject(0) {|sum, (name, time)| sum + time }
|
|
309
|
+
t == 0 ? 0.01 : t
|
|
310
|
+
end
|
|
311
|
+
|
|
312
|
+
def pjust(num, i, j)
|
|
313
|
+
m = /(\d+)(\.\d+)?/.match(num.to_s)
|
|
314
|
+
str = m[1].rjust(i)
|
|
315
|
+
str.concat m[2].ljust(j+1)[0,j+1] if m[2]
|
|
316
|
+
str
|
|
317
|
+
end
|
|
318
|
+
end
|
|
319
|
+
|
|
320
|
+
main
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
= Racc Grammar File Reference
|
|
2
|
+
|
|
3
|
+
== Global Structure
|
|
4
|
+
|
|
5
|
+
== Class Block and User Code Block
|
|
6
|
+
|
|
7
|
+
There are two top-level blocks: the 'class' block, and the 'user code'
|
|
8
|
+
block. The 'user code' block MUST be after the 'class' block.
|
|
9
|
+
|
|
10
|
+
== Comment
|
|
11
|
+
|
|
12
|
+
Comments can be added about everywhere. Two comment styles are
|
|
13
|
+
supported: Ruby style (`# ...`) and C style (`/* ... */`).
|
|
14
|
+
|
|
15
|
+
== Class Block
|
|
16
|
+
|
|
17
|
+
The class block is formed like this:
|
|
18
|
+
|
|
19
|
+
class CLASS_NAME
|
|
20
|
+
[precedence table]
|
|
21
|
+
[token declarations]
|
|
22
|
+
[expected number of S/R conflict]
|
|
23
|
+
[options]
|
|
24
|
+
[semantic value conversion]
|
|
25
|
+
[start rule]
|
|
26
|
+
rule
|
|
27
|
+
GRAMMARS
|
|
28
|
+
|
|
29
|
+
CLASS_NAME is a name of parser class.
|
|
30
|
+
This is the name of generating parser class.
|
|
31
|
+
|
|
32
|
+
If CLASS_NAME includes '::', Racc outputs module clause.
|
|
33
|
+
For example, writing "class M::C" causes creating the code below:
|
|
34
|
+
|
|
35
|
+
module M
|
|
36
|
+
class C
|
|
37
|
+
:
|
|
38
|
+
:
|
|
39
|
+
end
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
== Grammar Block
|
|
43
|
+
|
|
44
|
+
The grammar block describes the grammar
|
|
45
|
+
to be understood by parser. Syntax is:
|
|
46
|
+
|
|
47
|
+
(token): (token) (token) (token).... (action)
|
|
48
|
+
|
|
49
|
+
(token): (token) (token) (token).... (action)
|
|
50
|
+
| (token) (token) (token).... (action)
|
|
51
|
+
| (token) (token) (token).... (action)
|
|
52
|
+
|
|
53
|
+
(action) is an action which is executed when its (token)s are found.
|
|
54
|
+
(action) is a ruby code block, which is surrounded by braces:
|
|
55
|
+
|
|
56
|
+
{ print val[0]
|
|
57
|
+
puts val[1] }
|
|
58
|
+
|
|
59
|
+
Note that you cannot use '%' string, here document, '%r' regexp in action.
|
|
60
|
+
|
|
61
|
+
Actions can be omitted.
|
|
62
|
+
When it is omitted, '' (empty string) is used.
|
|
63
|
+
|
|
64
|
+
A return value of action is a value of left side value ($$).
|
|
65
|
+
It is value of result, or returned value by "return" statement.
|
|
66
|
+
|
|
67
|
+
Here is an example of whole grammar block.
|
|
68
|
+
|
|
69
|
+
rule
|
|
70
|
+
goal: definition rules source { result = val }
|
|
71
|
+
|
|
72
|
+
definition: /* none */ { result = [] }
|
|
73
|
+
| definition startdesig { result[0] = val[1] }
|
|
74
|
+
| definition
|
|
75
|
+
precrule # this line continue from upper line
|
|
76
|
+
{
|
|
77
|
+
result[1] = val[1]
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
startdesig: START TOKEN
|
|
81
|
+
|
|
82
|
+
You can use following special local variables in action.
|
|
83
|
+
|
|
84
|
+
* result ($$)
|
|
85
|
+
|
|
86
|
+
The value of left-hand side (lhs). A default value is val[0].
|
|
87
|
+
|
|
88
|
+
* val ($1,$2,$3...)
|
|
89
|
+
|
|
90
|
+
An array of value of right-hand side (rhs).
|
|
91
|
+
|
|
92
|
+
* _values (...$-2,$-1,$0)
|
|
93
|
+
|
|
94
|
+
A stack of values.
|
|
95
|
+
DO NOT MODIFY this stack unless you know what you are doing.
|
|
96
|
+
|
|
97
|
+
== Operator Precedence
|
|
98
|
+
|
|
99
|
+
This function is equal to '%prec' in yacc.
|
|
100
|
+
To designate this block:
|
|
101
|
+
|
|
102
|
+
prechigh
|
|
103
|
+
nonassoc '++'
|
|
104
|
+
left '*' '/'
|
|
105
|
+
left '+' '-'
|
|
106
|
+
right '='
|
|
107
|
+
preclow
|
|
108
|
+
|
|
109
|
+
`right' is yacc's %right, `left' is yacc's %left.
|
|
110
|
+
|
|
111
|
+
`=' + (symbol) means yacc's %prec:
|
|
112
|
+
|
|
113
|
+
prechigh
|
|
114
|
+
nonassoc UMINUS
|
|
115
|
+
left '*' '/'
|
|
116
|
+
left '+' '-'
|
|
117
|
+
preclow
|
|
118
|
+
|
|
119
|
+
rule
|
|
120
|
+
exp: exp '*' exp
|
|
121
|
+
| exp '-' exp
|
|
122
|
+
| '-' exp =UMINUS # equals to "%prec UMINUS"
|
|
123
|
+
:
|
|
124
|
+
:
|
|
125
|
+
|
|
126
|
+
== expect
|
|
127
|
+
|
|
128
|
+
Racc supports Bison's "expect" directive to declare the expected
|
|
129
|
+
number of shift/reduce conflicts.
|
|
130
|
+
|
|
131
|
+
class MyParser
|
|
132
|
+
expect 3
|
|
133
|
+
rule
|
|
134
|
+
:
|
|
135
|
+
:
|
|
136
|
+
|
|
137
|
+
Then warnings are issued only when the effective number of conflicts differs.
|
|
138
|
+
|
|
139
|
+
== Declaring Tokens
|
|
140
|
+
|
|
141
|
+
Declaring tokens avoids many bugs.
|
|
142
|
+
|
|
143
|
+
Racc outputs warnings for declared tokens that do not exist, or existing tokens not declared.
|
|
144
|
+
The syntax is:
|
|
145
|
+
|
|
146
|
+
token TOKEN_NAME AND_IS_THIS
|
|
147
|
+
ALSO_THIS_IS AGAIN_AND_AGAIN THIS_IS_LAST
|
|
148
|
+
|
|
149
|
+
== Options
|
|
150
|
+
|
|
151
|
+
You can write options for racc command in your racc file.
|
|
152
|
+
|
|
153
|
+
options OPTION OPTION ...
|
|
154
|
+
|
|
155
|
+
Options are:
|
|
156
|
+
|
|
157
|
+
* omit_action_call
|
|
158
|
+
|
|
159
|
+
omit empty action call or not.
|
|
160
|
+
|
|
161
|
+
* result_var
|
|
162
|
+
|
|
163
|
+
use/does not use local variable "result"
|
|
164
|
+
|
|
165
|
+
You can use 'no_' prefix to invert its meanings.
|
|
166
|
+
|
|
167
|
+
== Converting Token Symbol
|
|
168
|
+
|
|
169
|
+
Token symbols are, as default,
|
|
170
|
+
|
|
171
|
+
* naked token strings in racc file (TOK, XFILE, this_is_token, ...)
|
|
172
|
+
--> symbol (:TOK, :XFILE, :this_is_token, ...)
|
|
173
|
+
* quoted strings (':', '.', '(', ...)
|
|
174
|
+
--> same string (':', '.', '(', ...)
|
|
175
|
+
|
|
176
|
+
You can change this default using a "convert" block.
|
|
177
|
+
Here is an example:
|
|
178
|
+
|
|
179
|
+
convert
|
|
180
|
+
PLUS 'PlusClass' # We use PlusClass for symbol of `PLUS'
|
|
181
|
+
MIN 'MinusClass' # We use MinusClass for symbol of `MIN'
|
|
182
|
+
end
|
|
183
|
+
|
|
184
|
+
We can use almost all ruby value can be used by token symbol,
|
|
185
|
+
except 'false' and 'nil'. These are causes unexpected parse error.
|
|
186
|
+
|
|
187
|
+
If you want to use String as token symbol, special care is required.
|
|
188
|
+
For example:
|
|
189
|
+
|
|
190
|
+
convert
|
|
191
|
+
class '"cls"' # in code, "cls"
|
|
192
|
+
PLUS '"plus\n"' # in code, "plus\n"
|
|
193
|
+
MIN "\"minus#{val}\"" # in code, \"minus#{val}\"
|
|
194
|
+
end
|
|
195
|
+
|
|
196
|
+
== Start Rule
|
|
197
|
+
|
|
198
|
+
'%start' in yacc. This changes the start symbol.
|
|
199
|
+
|
|
200
|
+
start real_target
|
|
201
|
+
|
|
202
|
+
== User Code Block
|
|
203
|
+
|
|
204
|
+
A "User Code Block" is a piece of Ruby source code copied in the output.
|
|
205
|
+
There are three user code blocks, "header" "inner" and "footer".
|
|
206
|
+
|
|
207
|
+
User code blocks are introduced by four '-' at the beginning of a line,
|
|
208
|
+
followed by a single-word name:
|
|
209
|
+
|
|
210
|
+
---- header
|
|
211
|
+
ruby statement
|
|
212
|
+
ruby statement
|
|
213
|
+
ruby statement
|
|
214
|
+
|
|
215
|
+
---- inner
|
|
216
|
+
ruby statement
|
|
217
|
+
:
|
|
218
|
+
:
|