brakeman 6.2.0 → 6.2.2.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGES.md +4 -0
- data/README.md +0 -1
- data/bundle/load.rb +14 -16
- data/bundle/ruby/{3.1.0/gems/highline-3.1.0 → 3.3.0/gems/highline-3.1.1}/Changelog.md +6 -0
- data/bundle/ruby/{3.1.0/gems/highline-3.1.0 → 3.3.0/gems/highline-3.1.1}/Gemfile +1 -0
- data/bundle/ruby/{3.1.0/gems/highline-3.1.0 → 3.3.0/gems/highline-3.1.1}/README.md +3 -0
- data/bundle/ruby/{3.1.0/gems/highline-3.1.0 → 3.3.0/gems/highline-3.1.1}/lib/highline/version.rb +1 -1
- data/bundle/ruby/{3.1.0/gems/highline-3.1.0 → 3.3.0/gems/highline-3.1.1}/lib/highline.rb +9 -1
- data/bundle/ruby/{3.1.0 → 3.3.0}/gems/io-console-0.7.2/ext/io/console/Makefile +12 -11
- data/bundle/ruby/3.3.0/gems/io-console-0.7.2/lib/io/console.so +0 -0
- data/bundle/ruby/{3.1.0/gems/strscan-3.1.0/LICENSE.txt → 3.3.0/gems/racc-1.8.1/BSDL} +1 -1
- data/bundle/ruby/{3.1.0/gems/strscan-3.1.0 → 3.3.0/gems/racc-1.8.1}/COPYING +2 -2
- data/bundle/ruby/3.3.0/gems/racc-1.8.1/ChangeLog +846 -0
- data/bundle/ruby/3.3.0/gems/racc-1.8.1/README.ja.rdoc +58 -0
- data/bundle/ruby/3.3.0/gems/racc-1.8.1/README.rdoc +60 -0
- data/bundle/ruby/3.3.0/gems/racc-1.8.1/TODO +5 -0
- data/bundle/ruby/{3.1.0/gems/strscan-3.1.0/ext/strscan → 3.3.0/gems/racc-1.8.1/ext/racc/cparse}/Makefile +18 -17
- data/bundle/ruby/3.3.0/gems/racc-1.8.1/ext/racc/cparse/cparse.c +840 -0
- data/bundle/ruby/3.3.0/gems/racc-1.8.1/ext/racc/cparse/extconf.rb +8 -0
- data/bundle/ruby/3.3.0/gems/racc-1.8.1/lib/racc/compat.rb +33 -0
- data/bundle/ruby/3.3.0/gems/racc-1.8.1/lib/racc/cparse.so +0 -0
- data/bundle/ruby/3.3.0/gems/racc-1.8.1/lib/racc/debugflags.rb +60 -0
- data/bundle/ruby/3.3.0/gems/racc-1.8.1/lib/racc/exception.rb +16 -0
- data/bundle/ruby/3.3.0/gems/racc-1.8.1/lib/racc/grammar.rb +1191 -0
- data/bundle/ruby/3.3.0/gems/racc-1.8.1/lib/racc/grammarfileparser.rb +667 -0
- data/bundle/ruby/3.3.0/gems/racc-1.8.1/lib/racc/info.rb +18 -0
- data/bundle/ruby/3.3.0/gems/racc-1.8.1/lib/racc/iset.rb +92 -0
- data/bundle/ruby/3.3.0/gems/racc-1.8.1/lib/racc/logfilegenerator.rb +212 -0
- data/bundle/ruby/3.3.0/gems/racc-1.8.1/lib/racc/parser-text.rb +644 -0
- data/bundle/ruby/3.3.0/gems/racc-1.8.1/lib/racc/parser.rb +630 -0
- data/bundle/ruby/3.3.0/gems/racc-1.8.1/lib/racc/parserfilegenerator.rb +473 -0
- data/bundle/ruby/3.3.0/gems/racc-1.8.1/lib/racc/sourcetext.rb +35 -0
- data/bundle/ruby/3.3.0/gems/racc-1.8.1/lib/racc/state.rb +976 -0
- data/bundle/ruby/3.3.0/gems/racc-1.8.1/lib/racc/statetransitiontable.rb +311 -0
- data/bundle/ruby/3.3.0/gems/racc-1.8.1/lib/racc/static.rb +5 -0
- data/bundle/ruby/3.3.0/gems/racc-1.8.1/lib/racc.rb +6 -0
- data/bundle/ruby/{3.1.0/gems/reline-0.5.9 → 3.3.0/gems/reline-0.5.10}/lib/reline/config.rb +19 -24
- data/bundle/ruby/{3.1.0/gems/reline-0.5.9 → 3.3.0/gems/reline-0.5.10}/lib/reline/face.rb +1 -1
- data/bundle/ruby/{3.1.0/gems/reline-0.5.9 → 3.3.0/gems/reline-0.5.10}/lib/reline/io/ansi.rb +8 -0
- data/bundle/ruby/{3.1.0/gems/reline-0.5.9 → 3.3.0/gems/reline-0.5.10}/lib/reline/io/windows.rb +24 -14
- data/bundle/ruby/{3.1.0/gems/reline-0.5.9 → 3.3.0/gems/reline-0.5.10}/lib/reline/line_editor.rb +39 -48
- data/bundle/ruby/{3.1.0/gems/reline-0.5.9 → 3.3.0/gems/reline-0.5.10}/lib/reline/terminfo.rb +1 -1
- data/bundle/ruby/3.3.0/gems/reline-0.5.10/lib/reline/unicode/east_asian_width.rb +1267 -0
- data/bundle/ruby/{3.1.0/gems/reline-0.5.9 → 3.3.0/gems/reline-0.5.10}/lib/reline/unicode.rb +14 -39
- data/bundle/ruby/3.3.0/gems/reline-0.5.10/lib/reline/version.rb +3 -0
- data/bundle/ruby/{3.1.0/gems/reline-0.5.9 → 3.3.0/gems/reline-0.5.10}/lib/reline.rb +7 -4
- data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/NEWS.md +43 -0
- data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/attribute.rb +3 -2
- data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/document.rb +5 -1
- data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/entity.rb +5 -2
- data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/parsers/baseparser.rb +9 -4
- data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/parsers/pullparser.rb +8 -0
- data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/parsers/sax2parser.rb +10 -0
- data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/parsers/streamparser.rb +8 -0
- data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/rexml.rb +1 -1
- data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/text.rb +5 -3
- data/lib/brakeman/checks/check_eol_rails.rb +6 -0
- data/lib/brakeman/checks/check_execute.rb +28 -0
- data/lib/brakeman/version.rb +1 -1
- metadata +437 -421
- data/bundle/ruby/3.1.0/gems/io-console-0.7.2/ext/io/console/console.o +0 -0
- data/bundle/ruby/3.1.0/gems/io-console-0.7.2/ext/io/console/console.so +0 -0
- data/bundle/ruby/3.1.0/gems/io-console-0.7.2/lib/io/console.so +0 -0
- data/bundle/ruby/3.1.0/gems/reline-0.5.9/lib/reline/unicode/east_asian_width.rb +0 -1196
- data/bundle/ruby/3.1.0/gems/reline-0.5.9/lib/reline/version.rb +0 -3
- data/bundle/ruby/3.1.0/gems/strscan-3.1.0/ext/strscan/extconf.rb +0 -10
- data/bundle/ruby/3.1.0/gems/strscan-3.1.0/ext/strscan/strscan.c +0 -1741
- data/bundle/ruby/3.1.0/gems/strscan-3.1.0/ext/strscan/strscan.o +0 -0
- data/bundle/ruby/3.1.0/gems/strscan-3.1.0/ext/strscan/strscan.so +0 -0
- data/bundle/ruby/3.1.0/gems/strscan-3.1.0/lib/strscan.so +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/erubis-2.7.0/CHANGES.txt +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/erubis-2.7.0/MIT-LICENSE +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/erubis-2.7.0/README.txt +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/erubis-2.7.0/contrib/erubis +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/erubis-2.7.0/contrib/erubis-run.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/erubis-2.7.0/contrib/inline-require +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/erubis-2.7.0/lib/erubis/context.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/erubis-2.7.0/lib/erubis/converter.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/erubis-2.7.0/lib/erubis/engine/ec.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/erubis-2.7.0/lib/erubis/engine/ecpp.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/erubis-2.7.0/lib/erubis/engine/ejava.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/erubis-2.7.0/lib/erubis/engine/ejavascript.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/erubis-2.7.0/lib/erubis/engine/enhanced.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/erubis-2.7.0/lib/erubis/engine/eperl.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/erubis-2.7.0/lib/erubis/engine/ephp.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/erubis-2.7.0/lib/erubis/engine/eruby.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/erubis-2.7.0/lib/erubis/engine/escheme.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/erubis-2.7.0/lib/erubis/engine/optimized.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/erubis-2.7.0/lib/erubis/engine.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/erubis-2.7.0/lib/erubis/enhancer.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/erubis-2.7.0/lib/erubis/error.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/erubis-2.7.0/lib/erubis/evaluator.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/erubis-2.7.0/lib/erubis/generator.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/erubis-2.7.0/lib/erubis/helper.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/erubis-2.7.0/lib/erubis/helpers/rails_form_helper.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/erubis-2.7.0/lib/erubis/helpers/rails_helper.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/erubis-2.7.0/lib/erubis/local-setting.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/erubis-2.7.0/lib/erubis/main.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/erubis-2.7.0/lib/erubis/preprocessing.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/erubis-2.7.0/lib/erubis/tiny.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/erubis-2.7.0/lib/erubis/util.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/erubis-2.7.0/lib/erubis.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/erubis-2.7.0/setup.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/haml-5.2.2/CHANGELOG.md +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/haml-5.2.2/FAQ.md +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/haml-5.2.2/Gemfile +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/haml-5.2.2/MIT-LICENSE +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/haml-5.2.2/README.md +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/haml-5.2.2/REFERENCE.md +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/haml-5.2.2/TODO +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/haml-5.2.2/haml.gemspec +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/haml-5.2.2/lib/haml/attribute_builder.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/haml-5.2.2/lib/haml/attribute_compiler.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/haml-5.2.2/lib/haml/attribute_parser.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/haml-5.2.2/lib/haml/buffer.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/haml-5.2.2/lib/haml/compiler.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/haml-5.2.2/lib/haml/engine.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/haml-5.2.2/lib/haml/error.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/haml-5.2.2/lib/haml/escapable.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/haml-5.2.2/lib/haml/exec.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/haml-5.2.2/lib/haml/filters.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/haml-5.2.2/lib/haml/generator.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/haml-5.2.2/lib/haml/helpers/action_view_extensions.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/haml-5.2.2/lib/haml/helpers/action_view_mods.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/haml-5.2.2/lib/haml/helpers/action_view_xss_mods.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/haml-5.2.2/lib/haml/helpers/safe_erubi_template.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/haml-5.2.2/lib/haml/helpers/safe_erubis_template.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/haml-5.2.2/lib/haml/helpers/xss_mods.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/haml-5.2.2/lib/haml/helpers.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/haml-5.2.2/lib/haml/options.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/haml-5.2.2/lib/haml/parser.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/haml-5.2.2/lib/haml/plugin.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/haml-5.2.2/lib/haml/railtie.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/haml-5.2.2/lib/haml/sass_rails_filter.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/haml-5.2.2/lib/haml/template/options.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/haml-5.2.2/lib/haml/template.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/haml-5.2.2/lib/haml/temple_engine.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/haml-5.2.2/lib/haml/temple_line_counter.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/haml-5.2.2/lib/haml/util.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/haml-5.2.2/lib/haml/version.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/haml-5.2.2/lib/haml.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/haml-5.2.2/yard/default/fulldoc/html/css/common.sass +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/haml-5.2.2/yard/default/layout/html/footer.erb +0 -0
- /data/bundle/ruby/{3.1.0/gems/highline-3.1.0 → 3.3.0/gems/highline-3.1.1}/AUTHORS +0 -0
- /data/bundle/ruby/{3.1.0/gems/highline-3.1.0 → 3.3.0/gems/highline-3.1.1}/COPYING +0 -0
- /data/bundle/ruby/{3.1.0/gems/highline-3.1.0 → 3.3.0/gems/highline-3.1.1}/LICENSE +0 -0
- /data/bundle/ruby/{3.1.0/gems/highline-3.1.0 → 3.3.0/gems/highline-3.1.1}/TODO +0 -0
- /data/bundle/ruby/{3.1.0/gems/highline-3.1.0 → 3.3.0/gems/highline-3.1.1}/highline.gemspec +0 -0
- /data/bundle/ruby/{3.1.0/gems/highline-3.1.0 → 3.3.0/gems/highline-3.1.1}/lib/highline/builtin_styles.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/highline-3.1.0 → 3.3.0/gems/highline-3.1.1}/lib/highline/color_scheme.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/highline-3.1.0 → 3.3.0/gems/highline-3.1.1}/lib/highline/compatibility.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/highline-3.1.0 → 3.3.0/gems/highline-3.1.1}/lib/highline/custom_errors.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/highline-3.1.0 → 3.3.0/gems/highline-3.1.1}/lib/highline/import.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/highline-3.1.0 → 3.3.0/gems/highline-3.1.1}/lib/highline/io_console_compatible.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/highline-3.1.0 → 3.3.0/gems/highline-3.1.1}/lib/highline/list.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/highline-3.1.0 → 3.3.0/gems/highline-3.1.1}/lib/highline/list_renderer.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/highline-3.1.0 → 3.3.0/gems/highline-3.1.1}/lib/highline/menu/item.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/highline-3.1.0 → 3.3.0/gems/highline-3.1.1}/lib/highline/menu.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/highline-3.1.0 → 3.3.0/gems/highline-3.1.1}/lib/highline/paginator.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/highline-3.1.0 → 3.3.0/gems/highline-3.1.1}/lib/highline/question/answer_converter.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/highline-3.1.0 → 3.3.0/gems/highline-3.1.1}/lib/highline/question.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/highline-3.1.0 → 3.3.0/gems/highline-3.1.1}/lib/highline/question_asker.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/highline-3.1.0 → 3.3.0/gems/highline-3.1.1}/lib/highline/simulate.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/highline-3.1.0 → 3.3.0/gems/highline-3.1.1}/lib/highline/statement.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/highline-3.1.0 → 3.3.0/gems/highline-3.1.1}/lib/highline/string.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/highline-3.1.0 → 3.3.0/gems/highline-3.1.1}/lib/highline/string_extensions.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/highline-3.1.0 → 3.3.0/gems/highline-3.1.1}/lib/highline/style.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/highline-3.1.0 → 3.3.0/gems/highline-3.1.1}/lib/highline/template_renderer.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/highline-3.1.0 → 3.3.0/gems/highline-3.1.1}/lib/highline/terminal/io_console.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/highline-3.1.0 → 3.3.0/gems/highline-3.1.1}/lib/highline/terminal/ncurses.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/highline-3.1.0 → 3.3.0/gems/highline-3.1.1}/lib/highline/terminal/unix_stty.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/highline-3.1.0 → 3.3.0/gems/highline-3.1.1}/lib/highline/terminal.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/highline-3.1.0 → 3.3.0/gems/highline-3.1.1}/lib/highline/wrapper.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/io-console-0.7.2/LICENSE.txt +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/io-console-0.7.2/README.md +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/io-console-0.7.2/ext/io/console/console.c +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/io-console-0.7.2/ext/io/console/extconf.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/io-console-0.7.2/ext/io/console/win32_vk.inc +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/io-console-0.7.2/lib/io/console/size.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/parallel-1.26.3/MIT-LICENSE.txt +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/parallel-1.26.3/lib/parallel/version.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/parallel-1.26.3/lib/parallel.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/reline-0.5.9 → 3.3.0/gems/reline-0.5.10}/BSDL +0 -0
- /data/bundle/ruby/{3.1.0/gems/reline-0.5.9 → 3.3.0/gems/reline-0.5.10}/COPYING +0 -0
- /data/bundle/ruby/{3.1.0/gems/reline-0.5.9 → 3.3.0/gems/reline-0.5.10}/README.md +0 -0
- /data/bundle/ruby/{3.1.0/gems/reline-0.5.9 → 3.3.0/gems/reline-0.5.10}/lib/reline/history.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/reline-0.5.9 → 3.3.0/gems/reline-0.5.10}/lib/reline/io/dumb.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/reline-0.5.9 → 3.3.0/gems/reline-0.5.10}/lib/reline/io.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/reline-0.5.9 → 3.3.0/gems/reline-0.5.10}/lib/reline/key_actor/base.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/reline-0.5.9 → 3.3.0/gems/reline-0.5.10}/lib/reline/key_actor/composite.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/reline-0.5.9 → 3.3.0/gems/reline-0.5.10}/lib/reline/key_actor/emacs.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/reline-0.5.9 → 3.3.0/gems/reline-0.5.10}/lib/reline/key_actor/vi_command.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/reline-0.5.9 → 3.3.0/gems/reline-0.5.10}/lib/reline/key_actor/vi_insert.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/reline-0.5.9 → 3.3.0/gems/reline-0.5.10}/lib/reline/key_actor.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/reline-0.5.9 → 3.3.0/gems/reline-0.5.10}/lib/reline/key_stroke.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/reline-0.5.9 → 3.3.0/gems/reline-0.5.10}/lib/reline/kill_ring.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/reline-0.5.9 → 3.3.0/gems/reline-0.5.10}/license_of_rb-readline +0 -0
- /data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/LICENSE.txt +0 -0
- /data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/README.md +0 -0
- /data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/attlistdecl.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/cdata.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/child.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/comment.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/doctype.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/dtd/attlistdecl.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/dtd/dtd.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/dtd/elementdecl.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/dtd/entitydecl.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/dtd/notationdecl.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/element.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/encoding.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/formatters/default.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/formatters/pretty.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/formatters/transitive.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/functions.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/instruction.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/light/node.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/namespace.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/node.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/output.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/parent.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/parseexception.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/parsers/lightparser.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/parsers/treeparser.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/parsers/ultralightparser.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/parsers/xpathparser.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/quickpath.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/sax2listener.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/security.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/source.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/streamlistener.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/undefinednamespaceexception.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/validation/relaxng.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/validation/validation.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/validation/validationexception.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/xmldecl.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/xmltokens.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/xpath.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml/xpath_parser.rb +0 -0
- /data/bundle/ruby/{3.1.0/gems/rexml-3.3.6 → 3.3.0/gems/rexml-3.3.8}/lib/rexml.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/ruby2ruby-2.5.1/History.rdoc +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/ruby2ruby-2.5.1/Manifest.txt +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/ruby2ruby-2.5.1/README.rdoc +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/ruby2ruby-2.5.1/lib/ruby2ruby.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/ruby_parser-3.20.3/History.rdoc +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/ruby_parser-3.20.3/Manifest.txt +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/ruby_parser-3.20.3/README.rdoc +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/ruby_parser-3.20.3/compare/normalize.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/ruby_parser-3.20.3/debugging.md +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/ruby_parser-3.20.3/gauntlet.md +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/ruby_parser-3.20.3/lib/rp_extensions.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/ruby_parser-3.20.3/lib/rp_stringscanner.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/ruby_parser-3.20.3/lib/ruby20_parser.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/ruby_parser-3.20.3/lib/ruby20_parser.y +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/ruby_parser-3.20.3/lib/ruby21_parser.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/ruby_parser-3.20.3/lib/ruby21_parser.y +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/ruby_parser-3.20.3/lib/ruby22_parser.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/ruby_parser-3.20.3/lib/ruby22_parser.y +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/ruby_parser-3.20.3/lib/ruby23_parser.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/ruby_parser-3.20.3/lib/ruby23_parser.y +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/ruby_parser-3.20.3/lib/ruby24_parser.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/ruby_parser-3.20.3/lib/ruby24_parser.y +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/ruby_parser-3.20.3/lib/ruby25_parser.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/ruby_parser-3.20.3/lib/ruby25_parser.y +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/ruby_parser-3.20.3/lib/ruby26_parser.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/ruby_parser-3.20.3/lib/ruby26_parser.y +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/ruby_parser-3.20.3/lib/ruby27_parser.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/ruby_parser-3.20.3/lib/ruby27_parser.y +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/ruby_parser-3.20.3/lib/ruby30_parser.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/ruby_parser-3.20.3/lib/ruby30_parser.y +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/ruby_parser-3.20.3/lib/ruby31_parser.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/ruby_parser-3.20.3/lib/ruby31_parser.y +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/ruby_parser-3.20.3/lib/ruby32_parser.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/ruby_parser-3.20.3/lib/ruby32_parser.y +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/ruby_parser-3.20.3/lib/ruby3_parser.yy +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/ruby_parser-3.20.3/lib/ruby_lexer.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/ruby_parser-3.20.3/lib/ruby_lexer.rex +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/ruby_parser-3.20.3/lib/ruby_lexer.rex.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/ruby_parser-3.20.3/lib/ruby_lexer_strings.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/ruby_parser-3.20.3/lib/ruby_parser.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/ruby_parser-3.20.3/lib/ruby_parser.yy +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/ruby_parser-3.20.3/lib/ruby_parser_extras.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/ruby_parser-3.20.3/tools/munge.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/ruby_parser-3.20.3/tools/ripper.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/sexp_processor-4.17.2/History.rdoc +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/sexp_processor-4.17.2/Manifest.txt +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/sexp_processor-4.17.2/README.rdoc +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/sexp_processor-4.17.2/lib/composite_sexp_processor.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/sexp_processor-4.17.2/lib/pt_testcase.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/sexp_processor-4.17.2/lib/sexp.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/sexp_processor-4.17.2/lib/sexp_matcher.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/sexp_processor-4.17.2/lib/sexp_processor.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/sexp_processor-4.17.2/lib/strict_sexp.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/sexp_processor-4.17.2/lib/unique.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/slim-5.2.1/CHANGES +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/slim-5.2.1/Gemfile +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/slim-5.2.1/LICENSE +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/slim-5.2.1/README.jp.md +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/slim-5.2.1/README.md +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/slim-5.2.1/lib/slim/code_attributes.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/slim-5.2.1/lib/slim/command.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/slim-5.2.1/lib/slim/controls.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/slim-5.2.1/lib/slim/do_inserter.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/slim-5.2.1/lib/slim/embedded.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/slim-5.2.1/lib/slim/end_inserter.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/slim-5.2.1/lib/slim/engine.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/slim-5.2.1/lib/slim/erb_converter.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/slim-5.2.1/lib/slim/filter.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/slim-5.2.1/lib/slim/grammar.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/slim-5.2.1/lib/slim/include.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/slim-5.2.1/lib/slim/interpolation.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/slim-5.2.1/lib/slim/logic_less/context.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/slim-5.2.1/lib/slim/logic_less/filter.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/slim-5.2.1/lib/slim/logic_less.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/slim-5.2.1/lib/slim/parser.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/slim-5.2.1/lib/slim/railtie.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/slim-5.2.1/lib/slim/smart/escaper.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/slim-5.2.1/lib/slim/smart/filter.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/slim-5.2.1/lib/slim/smart/parser.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/slim-5.2.1/lib/slim/smart.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/slim-5.2.1/lib/slim/splat/builder.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/slim-5.2.1/lib/slim/splat/filter.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/slim-5.2.1/lib/slim/template.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/slim-5.2.1/lib/slim/translator.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/slim-5.2.1/lib/slim/version.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/slim-5.2.1/lib/slim.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/slim-5.2.1/slim.gemspec +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/CHANGES +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/EXPRESSIONS.md +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/Gemfile +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/LICENSE +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/README.md +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/engine.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/erb/engine.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/erb/parser.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/erb/template.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/erb/trimming.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/exceptions.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/filter.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/filters/ambles.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/filters/code_merger.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/filters/control_flow.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/filters/dynamic_inliner.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/filters/dynamic_merger.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/filters/encoding.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/filters/eraser.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/filters/escapable.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/filters/multi_flattener.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/filters/remove_bom.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/filters/static_analyzer.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/filters/static_merger.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/filters/string_splitter.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/filters/validator.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/generator.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/generators/array.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/generators/array_buffer.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/generators/erb.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/generators/rails_output_buffer.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/generators/string_buffer.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/grammar.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/html/attribute_merger.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/html/attribute_remover.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/html/attribute_sorter.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/html/dispatcher.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/html/fast.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/html/filter.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/html/pretty.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/html/safe.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/map.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/mixins/dispatcher.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/mixins/engine_dsl.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/mixins/grammar_dsl.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/mixins/options.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/mixins/template.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/parser.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/static_analyzer.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/templates/rails.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/templates/tilt.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/templates.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/utils.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple/version.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/lib/temple.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/temple-0.10.3/temple.gemspec +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/terminal-table-1.8.0/Gemfile +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/terminal-table-1.8.0/History.rdoc +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/terminal-table-1.8.0/LICENSE.txt +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/terminal-table-1.8.0/Manifest +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/terminal-table-1.8.0/README.rdoc +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/terminal-table-1.8.0/Todo.rdoc +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/terminal-table-1.8.0/lib/terminal-table/cell.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/terminal-table-1.8.0/lib/terminal-table/import.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/terminal-table-1.8.0/lib/terminal-table/row.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/terminal-table-1.8.0/lib/terminal-table/separator.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/terminal-table-1.8.0/lib/terminal-table/style.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/terminal-table-1.8.0/lib/terminal-table/table.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/terminal-table-1.8.0/lib/terminal-table/table_helper.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/terminal-table-1.8.0/lib/terminal-table/version.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/terminal-table-1.8.0/lib/terminal-table.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/terminal-table-1.8.0/terminal-table.gemspec +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/tilt-2.4.0/COPYING +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/tilt-2.4.0/lib/tilt/_emacs_org.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/tilt-2.4.0/lib/tilt/_handlebars.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/tilt-2.4.0/lib/tilt/_jbuilder.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/tilt-2.4.0/lib/tilt/_org.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/tilt-2.4.0/lib/tilt/asciidoc.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/tilt-2.4.0/lib/tilt/babel.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/tilt-2.4.0/lib/tilt/builder.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/tilt-2.4.0/lib/tilt/cli.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/tilt-2.4.0/lib/tilt/coffee.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/tilt-2.4.0/lib/tilt/commonmarker.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/tilt-2.4.0/lib/tilt/creole.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/tilt-2.4.0/lib/tilt/csv.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/tilt-2.4.0/lib/tilt/erb.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/tilt-2.4.0/lib/tilt/erubi.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/tilt-2.4.0/lib/tilt/erubis.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/tilt-2.4.0/lib/tilt/etanni.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/tilt-2.4.0/lib/tilt/haml.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/tilt-2.4.0/lib/tilt/kramdown.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/tilt-2.4.0/lib/tilt/liquid.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/tilt-2.4.0/lib/tilt/livescript.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/tilt-2.4.0/lib/tilt/mapping.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/tilt-2.4.0/lib/tilt/markaby.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/tilt-2.4.0/lib/tilt/maruku.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/tilt-2.4.0/lib/tilt/nokogiri.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/tilt-2.4.0/lib/tilt/pandoc.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/tilt-2.4.0/lib/tilt/pipeline.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/tilt-2.4.0/lib/tilt/plain.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/tilt-2.4.0/lib/tilt/prawn.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/tilt-2.4.0/lib/tilt/radius.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/tilt-2.4.0/lib/tilt/rdiscount.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/tilt-2.4.0/lib/tilt/rdoc.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/tilt-2.4.0/lib/tilt/redcarpet.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/tilt-2.4.0/lib/tilt/redcloth.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/tilt-2.4.0/lib/tilt/rst-pandoc.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/tilt-2.4.0/lib/tilt/sass.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/tilt-2.4.0/lib/tilt/slim.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/tilt-2.4.0/lib/tilt/string.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/tilt-2.4.0/lib/tilt/template.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/tilt-2.4.0/lib/tilt/typescript.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/tilt-2.4.0/lib/tilt/wikicloth.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/tilt-2.4.0/lib/tilt/yajl.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/tilt-2.4.0/lib/tilt.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/unicode-display_width-1.8.0/CHANGELOG.md +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/unicode-display_width-1.8.0/MIT-LICENSE.txt +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/unicode-display_width-1.8.0/README.md +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/unicode-display_width-1.8.0/data/display_width.marshal.gz +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/unicode-display_width-1.8.0/lib/unicode/display_width/constants.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/unicode-display_width-1.8.0/lib/unicode/display_width/index.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/unicode-display_width-1.8.0/lib/unicode/display_width/no_string_ext.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/unicode-display_width-1.8.0/lib/unicode/display_width/string_ext.rb +0 -0
- /data/bundle/ruby/{3.1.0 → 3.3.0}/gems/unicode-display_width-1.8.0/lib/unicode/display_width.rb +0 -0
@@ -0,0 +1,630 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
#--
|
3
|
+
# Copyright (c) 1999-2006 Minero Aoki
|
4
|
+
#
|
5
|
+
# This program is free software.
|
6
|
+
# You can distribute/modify this program under the same terms of ruby.
|
7
|
+
#
|
8
|
+
# As a special exception, when this code is copied by Racc
|
9
|
+
# into a Racc output file, you may use that output file
|
10
|
+
# without restriction.
|
11
|
+
#++
|
12
|
+
|
13
|
+
require 'racc/info'
|
14
|
+
|
15
|
+
module Racc
|
16
|
+
class ParseError < StandardError; end
|
17
|
+
end
|
18
|
+
unless defined?(::ParseError)
|
19
|
+
ParseError = Racc::ParseError # :nodoc:
|
20
|
+
end
|
21
|
+
|
22
|
+
# Racc is an LALR(1) parser generator.
|
23
|
+
# It is written in Ruby itself, and generates Ruby programs.
|
24
|
+
#
|
25
|
+
# == Command-line Reference
|
26
|
+
#
|
27
|
+
# racc [-o<var>filename</var>] [--output-file=<var>filename</var>]
|
28
|
+
# [-e<var>rubypath</var>] [--executable=<var>rubypath</var>]
|
29
|
+
# [-v] [--verbose]
|
30
|
+
# [-O<var>filename</var>] [--log-file=<var>filename</var>]
|
31
|
+
# [-g] [--debug]
|
32
|
+
# [-E] [--embedded]
|
33
|
+
# [-l] [--no-line-convert]
|
34
|
+
# [-c] [--line-convert-all]
|
35
|
+
# [-a] [--no-omit-actions]
|
36
|
+
# [-C] [--check-only]
|
37
|
+
# [-S] [--output-status]
|
38
|
+
# [--version] [--copyright] [--help] <var>grammarfile</var>
|
39
|
+
#
|
40
|
+
# [+grammarfile+]
|
41
|
+
# Racc grammar file. Any extension is permitted.
|
42
|
+
# [-o+outfile+, --output-file=+outfile+]
|
43
|
+
# A filename for output. default is <+filename+>.tab.rb
|
44
|
+
# [-O+filename+, --log-file=+filename+]
|
45
|
+
# Place logging output in file +filename+.
|
46
|
+
# Default log file name is <+filename+>.output.
|
47
|
+
# [-e+rubypath+, --executable=+rubypath+]
|
48
|
+
# output executable file(mode 755). where +path+ is the Ruby interpreter.
|
49
|
+
# [-v, --verbose]
|
50
|
+
# verbose mode. create +filename+.output file, like yacc's y.output file.
|
51
|
+
# [-g, --debug]
|
52
|
+
# add debug code to parser class. To display debugging information,
|
53
|
+
# use this '-g' option and set @yydebug true in parser class.
|
54
|
+
# [-E, --embedded]
|
55
|
+
# Output parser which doesn't need runtime files (racc/parser.rb).
|
56
|
+
# [-F, --frozen]
|
57
|
+
# Output parser which declares frozen_string_literals: true
|
58
|
+
# [-C, --check-only]
|
59
|
+
# Check syntax of racc grammar file and quit.
|
60
|
+
# [-S, --output-status]
|
61
|
+
# Print messages time to time while compiling.
|
62
|
+
# [-l, --no-line-convert]
|
63
|
+
# turns off line number converting.
|
64
|
+
# [-c, --line-convert-all]
|
65
|
+
# Convert line number of actions, inner, header and footer.
|
66
|
+
# [-a, --no-omit-actions]
|
67
|
+
# Call all actions, even if an action is empty.
|
68
|
+
# [--version]
|
69
|
+
# print Racc version and quit.
|
70
|
+
# [--copyright]
|
71
|
+
# Print copyright and quit.
|
72
|
+
# [--help]
|
73
|
+
# Print usage and quit.
|
74
|
+
#
|
75
|
+
# == Generating Parser Using Racc
|
76
|
+
#
|
77
|
+
# To compile Racc grammar file, simply type:
|
78
|
+
#
|
79
|
+
# $ racc parse.y
|
80
|
+
#
|
81
|
+
# This creates Ruby script file "parse.tab.y". The -o option can change the output filename.
|
82
|
+
#
|
83
|
+
# == Writing A Racc Grammar File
|
84
|
+
#
|
85
|
+
# If you want your own parser, you have to write a grammar file.
|
86
|
+
# A grammar file contains the name of your parser class, grammar for the parser,
|
87
|
+
# user code, and anything else.
|
88
|
+
# When writing a grammar file, yacc's knowledge is helpful.
|
89
|
+
# If you have not used yacc before, Racc is not too difficult.
|
90
|
+
#
|
91
|
+
# Here's an example Racc grammar file.
|
92
|
+
#
|
93
|
+
# class Calcparser
|
94
|
+
# rule
|
95
|
+
# target: exp { print val[0] }
|
96
|
+
#
|
97
|
+
# exp: exp '+' exp
|
98
|
+
# | exp '*' exp
|
99
|
+
# | '(' exp ')'
|
100
|
+
# | NUMBER
|
101
|
+
# end
|
102
|
+
#
|
103
|
+
# Racc grammar files resemble yacc files.
|
104
|
+
# But (of course), this is Ruby code.
|
105
|
+
# yacc's $$ is the 'result', $0, $1... is
|
106
|
+
# an array called 'val', and $-1, $-2... is an array called '_values'.
|
107
|
+
#
|
108
|
+
# See the {Grammar File Reference}[rdoc-ref:lib/racc/rdoc/grammar.en.rdoc] for
|
109
|
+
# more information on grammar files.
|
110
|
+
#
|
111
|
+
# == Parser
|
112
|
+
#
|
113
|
+
# Then you must prepare the parse entry method. There are two types of
|
114
|
+
# parse methods in Racc, Racc::Parser#do_parse and Racc::Parser#yyparse
|
115
|
+
#
|
116
|
+
# Racc::Parser#do_parse is simple.
|
117
|
+
#
|
118
|
+
# It's yyparse() of yacc, and Racc::Parser#next_token is yylex().
|
119
|
+
# This method must returns an array like [TOKENSYMBOL, ITS_VALUE].
|
120
|
+
# EOF is [false, false].
|
121
|
+
# (TOKENSYMBOL is a Ruby symbol (taken from String#intern) by default.
|
122
|
+
# If you want to change this, see the grammar reference.
|
123
|
+
#
|
124
|
+
# Racc::Parser#yyparse is little complicated, but useful.
|
125
|
+
# It does not use Racc::Parser#next_token, instead it gets tokens from any iterator.
|
126
|
+
#
|
127
|
+
# For example, <code>yyparse(obj, :scan)</code> causes
|
128
|
+
# calling +obj#scan+, and you can return tokens by yielding them from +obj#scan+.
|
129
|
+
#
|
130
|
+
# == Debugging
|
131
|
+
#
|
132
|
+
# When debugging, "-v" or/and the "-g" option is helpful.
|
133
|
+
#
|
134
|
+
# "-v" creates verbose log file (.output).
|
135
|
+
# "-g" creates a "Verbose Parser".
|
136
|
+
# Verbose Parser prints the internal status when parsing.
|
137
|
+
# But it's _not_ automatic.
|
138
|
+
# You must use -g option and set +@yydebug+ to +true+ in order to get output.
|
139
|
+
# -g option only creates the verbose parser.
|
140
|
+
#
|
141
|
+
# === Racc reported syntax error.
|
142
|
+
#
|
143
|
+
# Isn't there too many "end"?
|
144
|
+
# grammar of racc file is changed in v0.10.
|
145
|
+
#
|
146
|
+
# Racc does not use '%' mark, while yacc uses huge number of '%' marks..
|
147
|
+
#
|
148
|
+
# === Racc reported "XXXX conflicts".
|
149
|
+
#
|
150
|
+
# Try "racc -v xxxx.y".
|
151
|
+
# It causes producing racc's internal log file, xxxx.output.
|
152
|
+
#
|
153
|
+
# === Generated parsers does not work correctly
|
154
|
+
#
|
155
|
+
# Try "racc -g xxxx.y".
|
156
|
+
# This command let racc generate "debugging parser".
|
157
|
+
# Then set @yydebug=true in your parser.
|
158
|
+
# It produces a working log of your parser.
|
159
|
+
#
|
160
|
+
# == Re-distributing Racc runtime
|
161
|
+
#
|
162
|
+
# A parser, which is created by Racc, requires the Racc runtime module;
|
163
|
+
# racc/parser.rb.
|
164
|
+
#
|
165
|
+
# Ruby 1.8.x comes with Racc runtime module,
|
166
|
+
# you need NOT distribute Racc runtime files.
|
167
|
+
#
|
168
|
+
# If you want to include the Racc runtime module with your parser.
|
169
|
+
# This can be done by using '-E' option:
|
170
|
+
#
|
171
|
+
# $ racc -E -omyparser.rb myparser.y
|
172
|
+
#
|
173
|
+
# This command creates myparser.rb which `includes' Racc runtime.
|
174
|
+
# Only you must do is to distribute your parser file (myparser.rb).
|
175
|
+
#
|
176
|
+
# Note: parser.rb is ruby license, but your parser is not.
|
177
|
+
# Your own parser is completely yours.
|
178
|
+
module Racc
|
179
|
+
|
180
|
+
unless defined?(Racc_No_Extensions)
|
181
|
+
Racc_No_Extensions = false # :nodoc:
|
182
|
+
end
|
183
|
+
|
184
|
+
class Parser
|
185
|
+
|
186
|
+
Racc_Runtime_Version = ::Racc::VERSION
|
187
|
+
Racc_Runtime_Core_Version_R = ::Racc::VERSION
|
188
|
+
|
189
|
+
begin
|
190
|
+
if Object.const_defined?(:RUBY_ENGINE) and RUBY_ENGINE == 'jruby'
|
191
|
+
require 'jruby'
|
192
|
+
require 'racc/cparse-jruby.jar'
|
193
|
+
com.headius.racc.Cparse.new.load(JRuby.runtime, false)
|
194
|
+
else
|
195
|
+
require 'racc/cparse'
|
196
|
+
end
|
197
|
+
|
198
|
+
unless new.respond_to?(:_racc_do_parse_c, true)
|
199
|
+
raise LoadError, 'old cparse.so'
|
200
|
+
end
|
201
|
+
if Racc_No_Extensions
|
202
|
+
raise LoadError, 'selecting ruby version of racc runtime core'
|
203
|
+
end
|
204
|
+
|
205
|
+
Racc_Main_Parsing_Routine = :_racc_do_parse_c # :nodoc:
|
206
|
+
Racc_YY_Parse_Method = :_racc_yyparse_c # :nodoc:
|
207
|
+
Racc_Runtime_Core_Version = Racc_Runtime_Core_Version_C # :nodoc:
|
208
|
+
Racc_Runtime_Type = 'c' # :nodoc:
|
209
|
+
rescue LoadError
|
210
|
+
Racc_Main_Parsing_Routine = :_racc_do_parse_rb
|
211
|
+
Racc_YY_Parse_Method = :_racc_yyparse_rb
|
212
|
+
Racc_Runtime_Core_Version = Racc_Runtime_Core_Version_R
|
213
|
+
Racc_Runtime_Type = 'ruby'
|
214
|
+
end
|
215
|
+
|
216
|
+
def Parser.racc_runtime_type # :nodoc:
|
217
|
+
Racc_Runtime_Type
|
218
|
+
end
|
219
|
+
|
220
|
+
def _racc_setup
|
221
|
+
@yydebug = false unless self.class::Racc_debug_parser
|
222
|
+
@yydebug = false unless defined?(@yydebug)
|
223
|
+
if @yydebug
|
224
|
+
@racc_debug_out = $stderr unless defined?(@racc_debug_out)
|
225
|
+
@racc_debug_out ||= $stderr
|
226
|
+
end
|
227
|
+
arg = self.class::Racc_arg
|
228
|
+
arg[13] = true if arg.size < 14
|
229
|
+
arg
|
230
|
+
end
|
231
|
+
|
232
|
+
def _racc_init_sysvars
|
233
|
+
@racc_state = [0]
|
234
|
+
@racc_tstack = []
|
235
|
+
@racc_vstack = []
|
236
|
+
|
237
|
+
@racc_t = nil
|
238
|
+
@racc_val = nil
|
239
|
+
|
240
|
+
@racc_read_next = true
|
241
|
+
|
242
|
+
@racc_user_yyerror = false
|
243
|
+
@racc_error_status = 0
|
244
|
+
end
|
245
|
+
|
246
|
+
# The entry point of the parser. This method is used with #next_token.
|
247
|
+
# If Racc wants to get token (and its value), calls next_token.
|
248
|
+
#
|
249
|
+
# Example:
|
250
|
+
# def parse
|
251
|
+
# @q = [[1,1],
|
252
|
+
# [2,2],
|
253
|
+
# [3,3],
|
254
|
+
# [false, '$']]
|
255
|
+
# do_parse
|
256
|
+
# end
|
257
|
+
#
|
258
|
+
# def next_token
|
259
|
+
# @q.shift
|
260
|
+
# end
|
261
|
+
class_eval <<~RUBY, __FILE__, __LINE__ + 1
|
262
|
+
def do_parse
|
263
|
+
#{Racc_Main_Parsing_Routine}(_racc_setup(), false)
|
264
|
+
end
|
265
|
+
RUBY
|
266
|
+
|
267
|
+
# The method to fetch next token.
|
268
|
+
# If you use #do_parse method, you must implement #next_token.
|
269
|
+
#
|
270
|
+
# The format of return value is [TOKEN_SYMBOL, VALUE].
|
271
|
+
# +token-symbol+ is represented by Ruby's symbol by default, e.g. :IDENT
|
272
|
+
# for 'IDENT'. ";" (String) for ';'.
|
273
|
+
#
|
274
|
+
# The final symbol (End of file) must be false.
|
275
|
+
def next_token
|
276
|
+
raise NotImplementedError, "#{self.class}\#next_token is not defined"
|
277
|
+
end
|
278
|
+
|
279
|
+
def _racc_do_parse_rb(arg, in_debug)
|
280
|
+
action_table, action_check, action_default, action_pointer,
|
281
|
+
_, _, _, _,
|
282
|
+
_, _, token_table, * = arg
|
283
|
+
|
284
|
+
_racc_init_sysvars
|
285
|
+
tok = act = i = nil
|
286
|
+
|
287
|
+
catch(:racc_end_parse) {
|
288
|
+
while true
|
289
|
+
if i = action_pointer[@racc_state[-1]]
|
290
|
+
if @racc_read_next
|
291
|
+
if @racc_t != 0 # not EOF
|
292
|
+
tok, @racc_val = next_token()
|
293
|
+
unless tok # EOF
|
294
|
+
@racc_t = 0
|
295
|
+
else
|
296
|
+
@racc_t = (token_table[tok] or 1) # error token
|
297
|
+
end
|
298
|
+
racc_read_token(@racc_t, tok, @racc_val) if @yydebug
|
299
|
+
@racc_read_next = false
|
300
|
+
end
|
301
|
+
end
|
302
|
+
i += @racc_t
|
303
|
+
unless i >= 0 and
|
304
|
+
act = action_table[i] and
|
305
|
+
action_check[i] == @racc_state[-1]
|
306
|
+
act = action_default[@racc_state[-1]]
|
307
|
+
end
|
308
|
+
else
|
309
|
+
act = action_default[@racc_state[-1]]
|
310
|
+
end
|
311
|
+
while act = _racc_evalact(act, arg)
|
312
|
+
;
|
313
|
+
end
|
314
|
+
end
|
315
|
+
}
|
316
|
+
end
|
317
|
+
|
318
|
+
# Another entry point for the parser.
|
319
|
+
# If you use this method, you must implement RECEIVER#METHOD_ID method.
|
320
|
+
#
|
321
|
+
# RECEIVER#METHOD_ID is a method to get next token.
|
322
|
+
# It must 'yield' the token, which format is [TOKEN-SYMBOL, VALUE].
|
323
|
+
class_eval <<~RUBY, __FILE__, __LINE__ + 1
|
324
|
+
def yyparse(recv, mid)
|
325
|
+
#{Racc_YY_Parse_Method}(recv, mid, _racc_setup(), false)
|
326
|
+
end
|
327
|
+
RUBY
|
328
|
+
|
329
|
+
def _racc_yyparse_rb(recv, mid, arg, c_debug)
|
330
|
+
action_table, action_check, action_default, action_pointer,
|
331
|
+
_, _, _, _,
|
332
|
+
_, _, token_table, * = arg
|
333
|
+
|
334
|
+
_racc_init_sysvars
|
335
|
+
|
336
|
+
catch(:racc_end_parse) {
|
337
|
+
until i = action_pointer[@racc_state[-1]]
|
338
|
+
while act = _racc_evalact(action_default[@racc_state[-1]], arg)
|
339
|
+
;
|
340
|
+
end
|
341
|
+
end
|
342
|
+
recv.__send__(mid) do |tok, val|
|
343
|
+
unless tok
|
344
|
+
@racc_t = 0
|
345
|
+
else
|
346
|
+
@racc_t = (token_table[tok] or 1) # error token
|
347
|
+
end
|
348
|
+
@racc_val = val
|
349
|
+
@racc_read_next = false
|
350
|
+
|
351
|
+
i += @racc_t
|
352
|
+
unless i >= 0 and
|
353
|
+
act = action_table[i] and
|
354
|
+
action_check[i] == @racc_state[-1]
|
355
|
+
act = action_default[@racc_state[-1]]
|
356
|
+
end
|
357
|
+
while act = _racc_evalact(act, arg)
|
358
|
+
;
|
359
|
+
end
|
360
|
+
|
361
|
+
while !(i = action_pointer[@racc_state[-1]]) ||
|
362
|
+
! @racc_read_next ||
|
363
|
+
@racc_t == 0 # $
|
364
|
+
unless i and i += @racc_t and
|
365
|
+
i >= 0 and
|
366
|
+
act = action_table[i] and
|
367
|
+
action_check[i] == @racc_state[-1]
|
368
|
+
act = action_default[@racc_state[-1]]
|
369
|
+
end
|
370
|
+
while act = _racc_evalact(act, arg)
|
371
|
+
;
|
372
|
+
end
|
373
|
+
end
|
374
|
+
end
|
375
|
+
}
|
376
|
+
end
|
377
|
+
|
378
|
+
###
|
379
|
+
### common
|
380
|
+
###
|
381
|
+
|
382
|
+
def _racc_evalact(act, arg)
|
383
|
+
action_table, action_check, _, action_pointer,
|
384
|
+
_, _, _, _,
|
385
|
+
_, _, _, shift_n,
|
386
|
+
reduce_n, * = arg
|
387
|
+
nerr = 0 # tmp
|
388
|
+
|
389
|
+
if act > 0 and act < shift_n
|
390
|
+
#
|
391
|
+
# shift
|
392
|
+
#
|
393
|
+
if @racc_error_status > 0
|
394
|
+
@racc_error_status -= 1 unless @racc_t <= 1 # error token or EOF
|
395
|
+
end
|
396
|
+
@racc_vstack.push @racc_val
|
397
|
+
@racc_state.push act
|
398
|
+
@racc_read_next = true
|
399
|
+
if @yydebug
|
400
|
+
@racc_tstack.push @racc_t
|
401
|
+
racc_shift @racc_t, @racc_tstack, @racc_vstack
|
402
|
+
end
|
403
|
+
|
404
|
+
elsif act < 0 and act > -reduce_n
|
405
|
+
#
|
406
|
+
# reduce
|
407
|
+
#
|
408
|
+
code = catch(:racc_jump) {
|
409
|
+
@racc_state.push _racc_do_reduce(arg, act)
|
410
|
+
false
|
411
|
+
}
|
412
|
+
if code
|
413
|
+
case code
|
414
|
+
when 1 # yyerror
|
415
|
+
@racc_user_yyerror = true # user_yyerror
|
416
|
+
return -reduce_n
|
417
|
+
when 2 # yyaccept
|
418
|
+
return shift_n
|
419
|
+
else
|
420
|
+
raise '[Racc Bug] unknown jump code'
|
421
|
+
end
|
422
|
+
end
|
423
|
+
|
424
|
+
elsif act == shift_n
|
425
|
+
#
|
426
|
+
# accept
|
427
|
+
#
|
428
|
+
racc_accept if @yydebug
|
429
|
+
throw :racc_end_parse, @racc_vstack[0]
|
430
|
+
|
431
|
+
elsif act == -reduce_n
|
432
|
+
#
|
433
|
+
# error
|
434
|
+
#
|
435
|
+
case @racc_error_status
|
436
|
+
when 0
|
437
|
+
unless arg[21] # user_yyerror
|
438
|
+
nerr += 1
|
439
|
+
on_error @racc_t, @racc_val, @racc_vstack
|
440
|
+
end
|
441
|
+
when 3
|
442
|
+
if @racc_t == 0 # is $
|
443
|
+
# We're at EOF, and another error occurred immediately after
|
444
|
+
# attempting auto-recovery
|
445
|
+
throw :racc_end_parse, nil
|
446
|
+
end
|
447
|
+
@racc_read_next = true
|
448
|
+
end
|
449
|
+
@racc_user_yyerror = false
|
450
|
+
@racc_error_status = 3
|
451
|
+
while true
|
452
|
+
if i = action_pointer[@racc_state[-1]]
|
453
|
+
i += 1 # error token
|
454
|
+
if i >= 0 and
|
455
|
+
(act = action_table[i]) and
|
456
|
+
action_check[i] == @racc_state[-1]
|
457
|
+
break
|
458
|
+
end
|
459
|
+
end
|
460
|
+
throw :racc_end_parse, nil if @racc_state.size <= 1
|
461
|
+
@racc_state.pop
|
462
|
+
@racc_vstack.pop
|
463
|
+
if @yydebug
|
464
|
+
@racc_tstack.pop
|
465
|
+
racc_e_pop @racc_state, @racc_tstack, @racc_vstack
|
466
|
+
end
|
467
|
+
end
|
468
|
+
return act
|
469
|
+
|
470
|
+
else
|
471
|
+
raise "[Racc Bug] unknown action #{act.inspect}"
|
472
|
+
end
|
473
|
+
|
474
|
+
racc_next_state(@racc_state[-1], @racc_state) if @yydebug
|
475
|
+
|
476
|
+
nil
|
477
|
+
end
|
478
|
+
|
479
|
+
def _racc_do_reduce(arg, act)
|
480
|
+
_, _, _, _,
|
481
|
+
goto_table, goto_check, goto_default, goto_pointer,
|
482
|
+
nt_base, reduce_table, _, _,
|
483
|
+
_, use_result, * = arg
|
484
|
+
|
485
|
+
state = @racc_state
|
486
|
+
vstack = @racc_vstack
|
487
|
+
tstack = @racc_tstack
|
488
|
+
|
489
|
+
i = act * -3
|
490
|
+
len = reduce_table[i]
|
491
|
+
reduce_to = reduce_table[i+1]
|
492
|
+
method_id = reduce_table[i+2]
|
493
|
+
void_array = []
|
494
|
+
|
495
|
+
tmp_t = tstack[-len, len] if @yydebug
|
496
|
+
tmp_v = vstack[-len, len]
|
497
|
+
tstack[-len, len] = void_array if @yydebug
|
498
|
+
vstack[-len, len] = void_array
|
499
|
+
state[-len, len] = void_array
|
500
|
+
|
501
|
+
# tstack must be updated AFTER method call
|
502
|
+
if use_result
|
503
|
+
vstack.push __send__(method_id, tmp_v, vstack, tmp_v[0])
|
504
|
+
else
|
505
|
+
vstack.push __send__(method_id, tmp_v, vstack)
|
506
|
+
end
|
507
|
+
tstack.push reduce_to
|
508
|
+
|
509
|
+
racc_reduce(tmp_t, reduce_to, tstack, vstack) if @yydebug
|
510
|
+
|
511
|
+
k1 = reduce_to - nt_base
|
512
|
+
if i = goto_pointer[k1]
|
513
|
+
i += state[-1]
|
514
|
+
if i >= 0 and (curstate = goto_table[i]) and goto_check[i] == k1
|
515
|
+
return curstate
|
516
|
+
end
|
517
|
+
end
|
518
|
+
goto_default[k1]
|
519
|
+
end
|
520
|
+
|
521
|
+
# This method is called when a parse error is found.
|
522
|
+
#
|
523
|
+
# ERROR_TOKEN_ID is an internal ID of token which caused error.
|
524
|
+
# You can get string representation of this ID by calling
|
525
|
+
# #token_to_str.
|
526
|
+
#
|
527
|
+
# ERROR_VALUE is a value of error token.
|
528
|
+
#
|
529
|
+
# value_stack is a stack of symbol values.
|
530
|
+
# DO NOT MODIFY this object.
|
531
|
+
#
|
532
|
+
# This method raises ParseError by default.
|
533
|
+
#
|
534
|
+
# If this method returns, parsers enter "error recovering mode".
|
535
|
+
def on_error(t, val, vstack)
|
536
|
+
raise ParseError, sprintf("parse error on value %s (%s)",
|
537
|
+
val.inspect, token_to_str(t) || '?')
|
538
|
+
end
|
539
|
+
|
540
|
+
# Enter error recovering mode.
|
541
|
+
# This method does not call #on_error.
|
542
|
+
def yyerror
|
543
|
+
throw :racc_jump, 1
|
544
|
+
end
|
545
|
+
|
546
|
+
# Exit parser.
|
547
|
+
# Return value is +Symbol_Value_Stack[0]+.
|
548
|
+
def yyaccept
|
549
|
+
throw :racc_jump, 2
|
550
|
+
end
|
551
|
+
|
552
|
+
# Leave error recovering mode.
|
553
|
+
def yyerrok
|
554
|
+
@racc_error_status = 0
|
555
|
+
end
|
556
|
+
|
557
|
+
# For debugging output
|
558
|
+
def racc_read_token(t, tok, val)
|
559
|
+
@racc_debug_out.print 'read '
|
560
|
+
@racc_debug_out.print tok.inspect, '(', racc_token2str(t), ') '
|
561
|
+
@racc_debug_out.puts val.inspect
|
562
|
+
@racc_debug_out.puts
|
563
|
+
end
|
564
|
+
|
565
|
+
def racc_shift(tok, tstack, vstack)
|
566
|
+
@racc_debug_out.puts "shift #{racc_token2str tok}"
|
567
|
+
racc_print_stacks tstack, vstack
|
568
|
+
@racc_debug_out.puts
|
569
|
+
end
|
570
|
+
|
571
|
+
def racc_reduce(toks, sim, tstack, vstack)
|
572
|
+
out = @racc_debug_out
|
573
|
+
out.print 'reduce '
|
574
|
+
if toks.empty?
|
575
|
+
out.print ' <none>'
|
576
|
+
else
|
577
|
+
toks.each {|t| out.print ' ', racc_token2str(t) }
|
578
|
+
end
|
579
|
+
out.puts " --> #{racc_token2str(sim)}"
|
580
|
+
racc_print_stacks tstack, vstack
|
581
|
+
@racc_debug_out.puts
|
582
|
+
end
|
583
|
+
|
584
|
+
def racc_accept
|
585
|
+
@racc_debug_out.puts 'accept'
|
586
|
+
@racc_debug_out.puts
|
587
|
+
end
|
588
|
+
|
589
|
+
def racc_e_pop(state, tstack, vstack)
|
590
|
+
@racc_debug_out.puts 'error recovering mode: pop token'
|
591
|
+
racc_print_states state
|
592
|
+
racc_print_stacks tstack, vstack
|
593
|
+
@racc_debug_out.puts
|
594
|
+
end
|
595
|
+
|
596
|
+
def racc_next_state(curstate, state)
|
597
|
+
@racc_debug_out.puts "goto #{curstate}"
|
598
|
+
racc_print_states state
|
599
|
+
@racc_debug_out.puts
|
600
|
+
end
|
601
|
+
|
602
|
+
def racc_print_stacks(t, v)
|
603
|
+
out = @racc_debug_out
|
604
|
+
out.print ' ['
|
605
|
+
t.each_index do |i|
|
606
|
+
out.print ' (', racc_token2str(t[i]), ' ', v[i].inspect, ')'
|
607
|
+
end
|
608
|
+
out.puts ' ]'
|
609
|
+
end
|
610
|
+
|
611
|
+
def racc_print_states(s)
|
612
|
+
out = @racc_debug_out
|
613
|
+
out.print ' ['
|
614
|
+
s.each {|st| out.print ' ', st }
|
615
|
+
out.puts ' ]'
|
616
|
+
end
|
617
|
+
|
618
|
+
def racc_token2str(tok)
|
619
|
+
self.class::Racc_token_to_s_table[tok] or
|
620
|
+
raise "[Racc Bug] can't convert token #{tok} to string"
|
621
|
+
end
|
622
|
+
|
623
|
+
# Convert internal ID of token symbol to the string.
|
624
|
+
def token_to_str(t)
|
625
|
+
self.class::Racc_token_to_s_table[t]
|
626
|
+
end
|
627
|
+
|
628
|
+
end
|
629
|
+
|
630
|
+
end
|