honeybadger 5.3.0 → 5.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/honeybadger/plugins/active_job.rb +28 -0
- data/lib/honeybadger/version.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/cucumber-9.1.0/lib/cucumber/deprecate.rb +14 -0
- data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/formatter/ast_lookup.rb +14 -6
- data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/formatter/console.rb +7 -2
- data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/formatter/json.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/formatter/message_builder.rb +14 -5
- data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/formatter/pretty.rb +6 -2
- data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/glue/proto_world.rb +17 -22
- data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/glue/registry_and_more.rb +7 -4
- data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/rake/task.rb +1 -5
- data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/runtime/for_programming_languages.rb +1 -2
- data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/runtime/meta_message_builder.rb +2 -2
- data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/runtime/user_interface.rb +2 -2
- data/vendor/bundle/ruby/3.2.0/gems/{cucumber-core-11.1.0 → cucumber-core-12.0.0}/lib/cucumber/core/event.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{cucumber-cucumber-expressions-16.1.2 → cucumber-cucumber-expressions-17.0.1}/lib/cucumber/cucumber_expressions/argument.rb +7 -3
- data/vendor/bundle/ruby/3.2.0/gems/{cucumber-cucumber-expressions-16.1.2 → cucumber-cucumber-expressions-17.0.1}/lib/cucumber/cucumber_expressions/ast.rb +24 -59
- data/vendor/bundle/ruby/3.2.0/gems/{cucumber-cucumber-expressions-16.1.2 → cucumber-cucumber-expressions-17.0.1}/lib/cucumber/cucumber_expressions/combinatorial_generated_expression_factory.rb +6 -13
- data/vendor/bundle/ruby/3.2.0/gems/{cucumber-cucumber-expressions-16.1.2 → cucumber-cucumber-expressions-17.0.1}/lib/cucumber/cucumber_expressions/cucumber_expression.rb +9 -11
- data/vendor/bundle/ruby/3.2.0/gems/{cucumber-cucumber-expressions-16.1.2 → cucumber-cucumber-expressions-17.0.1}/lib/cucumber/cucumber_expressions/cucumber_expression_generator.rb +11 -15
- data/vendor/bundle/ruby/3.2.0/gems/{cucumber-cucumber-expressions-16.1.2 → cucumber-cucumber-expressions-17.0.1}/lib/cucumber/cucumber_expressions/cucumber_expression_parser.rb +37 -53
- data/vendor/bundle/ruby/3.2.0/gems/{cucumber-cucumber-expressions-16.1.2 → cucumber-cucumber-expressions-17.0.1}/lib/cucumber/cucumber_expressions/cucumber_expression_tokenizer.rb +13 -18
- data/vendor/bundle/ruby/3.2.0/gems/cucumber-cucumber-expressions-17.0.1/lib/cucumber/cucumber_expressions/errors.rb +232 -0
- data/vendor/bundle/ruby/3.2.0/gems/{cucumber-cucumber-expressions-16.1.2 → cucumber-cucumber-expressions-17.0.1}/lib/cucumber/cucumber_expressions/expression_factory.rb +2 -0
- data/vendor/bundle/ruby/3.2.0/gems/{cucumber-cucumber-expressions-16.1.2 → cucumber-cucumber-expressions-17.0.1}/lib/cucumber/cucumber_expressions/generated_expression.rb +2 -0
- data/vendor/bundle/ruby/3.2.0/gems/{cucumber-cucumber-expressions-16.1.2 → cucumber-cucumber-expressions-17.0.1}/lib/cucumber/cucumber_expressions/group.rb +2 -0
- data/vendor/bundle/ruby/3.2.0/gems/{cucumber-cucumber-expressions-16.1.2 → cucumber-cucumber-expressions-17.0.1}/lib/cucumber/cucumber_expressions/group_builder.rb +3 -1
- data/vendor/bundle/ruby/3.2.0/gems/{cucumber-cucumber-expressions-16.1.2 → cucumber-cucumber-expressions-17.0.1}/lib/cucumber/cucumber_expressions/parameter_type.rb +13 -23
- data/vendor/bundle/ruby/3.2.0/gems/{cucumber-cucumber-expressions-16.1.2 → cucumber-cucumber-expressions-17.0.1}/lib/cucumber/cucumber_expressions/parameter_type_matcher.rb +8 -6
- data/vendor/bundle/ruby/3.2.0/gems/{cucumber-cucumber-expressions-16.1.2 → cucumber-cucumber-expressions-17.0.1}/lib/cucumber/cucumber_expressions/parameter_type_registry.rb +27 -22
- data/vendor/bundle/ruby/3.2.0/gems/{cucumber-cucumber-expressions-16.1.2 → cucumber-cucumber-expressions-17.0.1}/lib/cucumber/cucumber_expressions/regular_expression.rb +3 -2
- data/vendor/bundle/ruby/3.2.0/gems/{cucumber-cucumber-expressions-16.1.2 → cucumber-cucumber-expressions-17.0.1}/lib/cucumber/cucumber_expressions/tree_regexp.rb +8 -7
- data/vendor/bundle/ruby/3.2.0/gems/{cucumber-cucumber-expressions-16.1.2 → cucumber-cucumber-expressions-17.0.1}/spec/cucumber/cucumber_expressions/argument_spec.rb +4 -2
- data/vendor/bundle/ruby/3.2.0/gems/{cucumber-cucumber-expressions-16.1.2 → cucumber-cucumber-expressions-17.0.1}/spec/cucumber/cucumber_expressions/combinatorial_generated_expression_factory_test.rb +8 -7
- data/vendor/bundle/ruby/3.2.0/gems/cucumber-cucumber-expressions-17.0.1/spec/cucumber/cucumber_expressions/cucumber_expression_generator_spec.rb +234 -0
- data/vendor/bundle/ruby/3.2.0/gems/{cucumber-cucumber-expressions-16.1.2 → cucumber-cucumber-expressions-17.0.1}/spec/cucumber/cucumber_expressions/cucumber_expression_parser_spec.rb +2 -0
- data/vendor/bundle/ruby/3.2.0/gems/cucumber-cucumber-expressions-17.0.1/spec/cucumber/cucumber_expressions/cucumber_expression_spec.rb +178 -0
- data/vendor/bundle/ruby/3.2.0/gems/{cucumber-cucumber-expressions-16.1.2 → cucumber-cucumber-expressions-17.0.1}/spec/cucumber/cucumber_expressions/cucumber_expression_tokenizer_spec.rb +3 -1
- data/vendor/bundle/ruby/3.2.0/gems/{cucumber-cucumber-expressions-16.1.2 → cucumber-cucumber-expressions-17.0.1}/spec/cucumber/cucumber_expressions/cucumber_expression_transformation_spec.rb +2 -0
- data/vendor/bundle/ruby/3.2.0/gems/cucumber-cucumber-expressions-17.0.1/spec/cucumber/cucumber_expressions/custom_parameter_type_spec.rb +216 -0
- data/vendor/bundle/ruby/3.2.0/gems/{cucumber-cucumber-expressions-16.1.2 → cucumber-cucumber-expressions-17.0.1}/spec/cucumber/cucumber_expressions/expression_factory_spec.rb +2 -0
- data/vendor/bundle/ruby/3.2.0/gems/cucumber-cucumber-expressions-17.0.1/spec/cucumber/cucumber_expressions/parameter_type_registry_spec.rb +81 -0
- data/vendor/bundle/ruby/3.2.0/gems/{cucumber-cucumber-expressions-16.1.2 → cucumber-cucumber-expressions-17.0.1}/spec/cucumber/cucumber_expressions/parameter_type_spec.rb +5 -2
- data/vendor/bundle/ruby/3.2.0/gems/cucumber-cucumber-expressions-17.0.1/spec/cucumber/cucumber_expressions/regular_expression_spec.rb +93 -0
- data/vendor/bundle/ruby/3.2.0/gems/{cucumber-cucumber-expressions-16.1.2 → cucumber-cucumber-expressions-17.0.1}/spec/cucumber/cucumber_expressions/tree_regexp_spec.rb +23 -22
- data/vendor/bundle/ruby/3.2.0/gems/{cucumber-messages-21.0.1 → cucumber-messages-22.0.0}/lib/cucumber/messages.deserializers.rb +1 -0
- data/vendor/bundle/ruby/3.2.0/gems/{cucumber-messages-21.0.1 → cucumber-messages-22.0.0}/lib/cucumber/messages.dtos.rb +5 -1
- data/vendor/bundle/ruby/3.2.0/gems/{cucumber-tag-expressions-4.1.0 → cucumber-tag-expressions-5.0.6}/lib/cucumber/tag_expressions/expressions.rb +21 -2
- data/vendor/bundle/ruby/3.2.0/gems/{cucumber-tag-expressions-4.1.0 → cucumber-tag-expressions-5.0.6}/lib/cucumber/tag_expressions/parser.rb +48 -48
- data/vendor/bundle/ruby/3.2.0/gems/cucumber-tag-expressions-5.0.6/spec/errors_spec.rb +13 -0
- data/vendor/bundle/ruby/3.2.0/gems/cucumber-tag-expressions-5.0.6/spec/evaluations_spec.rb +17 -0
- data/vendor/bundle/ruby/3.2.0/gems/cucumber-tag-expressions-5.0.6/spec/parsing_spec.rb +14 -0
- data/vendor/bundle/ruby/3.2.0/gems/{lumberjack-1.2.9 → lumberjack-1.2.10}/lib/lumberjack/device/date_rolling_log_file.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{lumberjack-1.2.9 → lumberjack-1.2.10}/lib/lumberjack/device/log_file.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{lumberjack-1.2.9 → lumberjack-1.2.10}/lib/lumberjack/device/multi.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{lumberjack-1.2.9 → lumberjack-1.2.10}/lib/lumberjack/device/null.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{lumberjack-1.2.9 → lumberjack-1.2.10}/lib/lumberjack/device/rolling_log_file.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{lumberjack-1.2.9 → lumberjack-1.2.10}/lib/lumberjack/device/size_rolling_log_file.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{lumberjack-1.2.9 → lumberjack-1.2.10}/lib/lumberjack/device/writer.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{lumberjack-1.2.9 → lumberjack-1.2.10}/lib/lumberjack/device.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{lumberjack-1.2.9 → lumberjack-1.2.10}/lib/lumberjack/formatter/date_time_formatter.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{lumberjack-1.2.9 → lumberjack-1.2.10}/lib/lumberjack/formatter/exception_formatter.rb +2 -2
- data/vendor/bundle/ruby/3.2.0/gems/{lumberjack-1.2.9 → lumberjack-1.2.10}/lib/lumberjack/formatter/id_formatter.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{lumberjack-1.2.9 → lumberjack-1.2.10}/lib/lumberjack/formatter/inspect_formatter.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{lumberjack-1.2.9 → lumberjack-1.2.10}/lib/lumberjack/formatter/object_formatter.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{lumberjack-1.2.9 → lumberjack-1.2.10}/lib/lumberjack/formatter/pretty_print_formatter.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{lumberjack-1.2.9 → lumberjack-1.2.10}/lib/lumberjack/formatter/string_formatter.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{lumberjack-1.2.9 → lumberjack-1.2.10}/lib/lumberjack/formatter/strip_formatter.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{lumberjack-1.2.9 → lumberjack-1.2.10}/lib/lumberjack/formatter/structured_formatter.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{lumberjack-1.2.9 → lumberjack-1.2.10}/lib/lumberjack/formatter/truncate_formatter.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{lumberjack-1.2.9 → lumberjack-1.2.10}/lib/lumberjack/formatter.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{lumberjack-1.2.9 → lumberjack-1.2.10}/lib/lumberjack/log_entry.rb +2 -2
- data/vendor/bundle/ruby/3.2.0/gems/{lumberjack-1.2.9 → lumberjack-1.2.10}/lib/lumberjack/logger.rb +10 -6
- data/vendor/bundle/ruby/3.2.0/gems/{lumberjack-1.2.9 → lumberjack-1.2.10}/lib/lumberjack/rack/context.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{lumberjack-1.2.9 → lumberjack-1.2.10}/lib/lumberjack/rack/request_id.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{lumberjack-1.2.9 → lumberjack-1.2.10}/lib/lumberjack/rack/unit_of_work.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{lumberjack-1.2.9 → lumberjack-1.2.10}/lib/lumberjack/rack.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{lumberjack-1.2.9 → lumberjack-1.2.10}/lib/lumberjack/severity.rb +13 -1
- data/vendor/bundle/ruby/3.2.0/gems/{lumberjack-1.2.9 → lumberjack-1.2.10}/lib/lumberjack/template.rb +2 -2
- data/vendor/bundle/ruby/3.2.0/gems/{lumberjack-1.2.9 → lumberjack-1.2.10}/lib/lumberjack.rb +2 -1
- data/vendor/bundle/ruby/3.2.0/gems/{public_suffix-5.0.3 → public_suffix-5.0.4}/lib/public_suffix/version.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{rake-13.0.6 → rake-13.1.0}/lib/rake/application.rb +26 -2
- data/vendor/bundle/ruby/3.2.0/gems/{rake-13.0.6 → rake-13.1.0}/lib/rake/dsl_definition.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{rake-13.0.6 → rake-13.1.0}/lib/rake/file_task.rb +8 -4
- data/vendor/bundle/ruby/3.2.0/gems/{rake-13.0.6 → rake-13.1.0}/lib/rake/file_utils.rb +0 -2
- data/vendor/bundle/ruby/3.2.0/gems/{rake-13.0.6 → rake-13.1.0}/lib/rake/packagetask.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{rake-13.0.6 → rake-13.1.0}/lib/rake/task.rb +2 -2
- data/vendor/bundle/ruby/3.2.0/gems/{rake-13.0.6 → rake-13.1.0}/lib/rake/thread_pool.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/{rake-13.0.6 → rake-13.1.0}/lib/rake/version.rb +1 -1
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/alias.rb +111 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/anon_class.rb +10 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/any_method.rb +379 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/attr.rb +175 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/class_module.rb +801 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/code_object.rb +421 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/code_objects.rb +5 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/comment.rb +229 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/constant.rb +186 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/context/section.rb +233 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/context.rb +1264 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/cross_reference.rb +225 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/encoding.rb +131 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/erb_partial.rb +18 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/erbio.rb +37 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/extend.rb +9 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/generator/darkfish.rb +786 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/generator/json_index.rb +300 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/generator/markup.rb +159 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/generator/pot/message_extractor.rb +68 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/generator/pot/po.rb +84 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/generator/pot/po_entry.rb +141 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/generator/pot.rb +98 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/generator/ri.rb +30 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/generator.rb +51 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/ghost_method.rb +6 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/i18n/locale.rb +102 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/i18n/text.rb +126 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/i18n.rb +10 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/include.rb +9 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/known_classes.rb +74 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/markdown/entities.rb +2131 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/markdown/literals.rb +474 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/markdown.rb +16783 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/markup/attr_changer.rb +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/markup/attr_span.rb +35 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/markup/attribute_manager.rb +402 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/markup/attributes.rb +70 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/markup/blank_line.rb +27 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/markup/block_quote.rb +14 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/markup/document.rb +164 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/markup/formatter.rb +265 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/markup/hard_break.rb +31 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/markup/heading.rb +78 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/markup/include.rb +42 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/markup/indented_paragraph.rb +47 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/markup/list.rb +101 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/markup/list_item.rb +99 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/markup/paragraph.rb +28 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/markup/parser.rb +581 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/markup/pre_process.rb +298 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/markup/raw.rb +69 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/markup/regexp_handling.rb +40 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/markup/rule.rb +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/markup/table.rb +47 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/markup/to_ansi.rb +93 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/markup/to_bs.rb +77 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/markup/to_html.rb +449 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/markup/to_html_crossref.rb +175 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/markup/to_html_snippet.rb +284 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/markup/to_joined_paragraph.rb +46 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/markup/to_label.rb +74 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/markup/to_markdown.rb +191 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/markup/to_rdoc.rb +344 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/markup/to_table_of_contents.rb +88 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/markup/to_test.rb +69 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/markup/to_tt_only.rb +120 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/markup/verbatim.rb +83 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/markup.rb +235 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/meta_method.rb +6 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/method_attr.rb +418 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/mixin.rb +120 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/normal_class.rb +92 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/normal_module.rb +73 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/options.rb +1330 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/parser/c.rb +1225 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/parser/changelog.rb +334 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/parser/markdown.rb +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/parser/rd.rb +22 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/parser/ripper_state_lex.rb +590 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/parser/ruby.rb +2360 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/parser/ruby_tools.rb +165 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/parser/simple.rb +61 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/parser/text.rb +11 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/parser.rb +294 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/rd/block_parser.rb +1710 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/rd/inline.rb +71 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/rd/inline_parser.rb +1210 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/rd.rb +99 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/rdoc.rb +563 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/require.rb +51 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/ri/driver.rb +1513 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/ri/formatter.rb +6 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/ri/paths.rb +171 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/ri/store.rb +6 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/ri/task.rb +71 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/ri.rb +20 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/rubygems_hook.rb +248 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/servlet.rb +451 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/single_class.rb +30 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/stats/normal.rb +58 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/stats/quiet.rb +59 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/stats/verbose.rb +44 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/stats.rb +461 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/store.rb +979 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/task.rb +355 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/text.rb +312 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/token_stream.rb +118 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/tom_doc.rb +263 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/top_level.rb +288 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc/version.rb +10 -0
- data/vendor/bundle/ruby/3.2.0/gems/rdoc-6.6.0/lib/rdoc.rb +201 -0
- data/vendor/bundle/ruby/3.2.0/gems/sshkit-1.21.6/lib/sshkit/version.rb +3 -0
- data/vendor/bundle/ruby/3.2.0/gems/stringio-3.1.0/ext/stringio/extconf.rb +7 -0
- metadata +478 -386
- data/vendor/bundle/ruby/3.2.0/gems/cucumber-9.0.2/lib/cucumber/deprecate.rb +0 -55
- data/vendor/bundle/ruby/3.2.0/gems/cucumber-cucumber-expressions-16.1.2/lib/cucumber/cucumber_expressions/errors.rb +0 -214
- data/vendor/bundle/ruby/3.2.0/gems/cucumber-cucumber-expressions-16.1.2/spec/cucumber/cucumber_expressions/cucumber_expression_generator_spec.rb +0 -231
- data/vendor/bundle/ruby/3.2.0/gems/cucumber-cucumber-expressions-16.1.2/spec/cucumber/cucumber_expressions/cucumber_expression_spec.rb +0 -181
- data/vendor/bundle/ruby/3.2.0/gems/cucumber-cucumber-expressions-16.1.2/spec/cucumber/cucumber_expressions/custom_parameter_type_spec.rb +0 -197
- data/vendor/bundle/ruby/3.2.0/gems/cucumber-cucumber-expressions-16.1.2/spec/cucumber/cucumber_expressions/parameter_type_registry_spec.rb +0 -86
- data/vendor/bundle/ruby/3.2.0/gems/cucumber-cucumber-expressions-16.1.2/spec/cucumber/cucumber_expressions/regular_expression_spec.rb +0 -84
- data/vendor/bundle/ruby/3.2.0/gems/cucumber-messages-21.0.1/spec/capture_warnings.rb +0 -74
- data/vendor/bundle/ruby/3.2.0/gems/cucumber-tag-expressions-4.1.0/spec/capture_warnings.rb +0 -74
- data/vendor/bundle/ruby/3.2.0/gems/cucumber-tag-expressions-4.1.0/spec/expressions_spec.rb +0 -84
- data/vendor/bundle/ruby/3.2.0/gems/cucumber-tag-expressions-4.1.0/spec/parser_spec.rb +0 -50
- data/vendor/bundle/ruby/3.2.0/gems/public_suffix-5.0.3/test/acceptance_test.rb +0 -131
- data/vendor/bundle/ruby/3.2.0/gems/public_suffix-5.0.3/test/benchmarks/bm_find.rb +0 -66
- data/vendor/bundle/ruby/3.2.0/gems/public_suffix-5.0.3/test/benchmarks/bm_find_all.rb +0 -102
- data/vendor/bundle/ruby/3.2.0/gems/public_suffix-5.0.3/test/benchmarks/bm_names.rb +0 -91
- data/vendor/bundle/ruby/3.2.0/gems/public_suffix-5.0.3/test/benchmarks/bm_select.rb +0 -26
- data/vendor/bundle/ruby/3.2.0/gems/public_suffix-5.0.3/test/benchmarks/bm_select_incremental.rb +0 -25
- data/vendor/bundle/ruby/3.2.0/gems/public_suffix-5.0.3/test/benchmarks/bm_valid.rb +0 -101
- data/vendor/bundle/ruby/3.2.0/gems/public_suffix-5.0.3/test/profilers/domain_profiler.rb +0 -12
- data/vendor/bundle/ruby/3.2.0/gems/public_suffix-5.0.3/test/profilers/find_profiler.rb +0 -12
- data/vendor/bundle/ruby/3.2.0/gems/public_suffix-5.0.3/test/profilers/find_profiler_jp.rb +0 -12
- data/vendor/bundle/ruby/3.2.0/gems/public_suffix-5.0.3/test/profilers/initialization_profiler.rb +0 -11
- data/vendor/bundle/ruby/3.2.0/gems/public_suffix-5.0.3/test/profilers/list_profsize.rb +0 -11
- data/vendor/bundle/ruby/3.2.0/gems/public_suffix-5.0.3/test/profilers/object_binsize.rb +0 -57
- data/vendor/bundle/ruby/3.2.0/gems/public_suffix-5.0.3/test/psl_test.rb +0 -52
- data/vendor/bundle/ruby/3.2.0/gems/public_suffix-5.0.3/test/test_helper.rb +0 -10
- data/vendor/bundle/ruby/3.2.0/gems/public_suffix-5.0.3/test/unit/domain_test.rb +0 -106
- data/vendor/bundle/ruby/3.2.0/gems/public_suffix-5.0.3/test/unit/errors_test.rb +0 -25
- data/vendor/bundle/ruby/3.2.0/gems/public_suffix-5.0.3/test/unit/list_test.rb +0 -241
- data/vendor/bundle/ruby/3.2.0/gems/public_suffix-5.0.3/test/unit/public_suffix_test.rb +0 -188
- data/vendor/bundle/ruby/3.2.0/gems/public_suffix-5.0.3/test/unit/rule_test.rb +0 -222
- data/vendor/bundle/ruby/3.2.0/gems/sshkit-1.21.5/lib/sshkit/version.rb +0 -3
- data/vendor/bundle/ruby/3.2.0/gems/stringio-3.0.8/ext/stringio/extconf.rb +0 -3
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/autotest/cucumber.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/autotest/cucumber_mixin.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/autotest/cucumber_rails.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/autotest/cucumber_rails_rspec.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/autotest/cucumber_rails_rspec2.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/autotest/cucumber_rspec.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/autotest/cucumber_rspec2.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/autotest/discover.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/cli/configuration.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/cli/main.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/cli/options.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/cli/profile_loader.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/cli/rerun_file.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/configuration.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/constantize.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/encoding.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/errors.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/events/envelope.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/events/gherkin_source_parsed.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/events/gherkin_source_read.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/events/hook_test_step_created.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/events/step_activated.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/events/step_definition_registered.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/events/test_case_created.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/events/test_case_finished.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/events/test_case_ready.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/events/test_case_started.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/events/test_run_finished.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/events/test_run_started.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/events/test_step_created.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/events/test_step_finished.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/events/test_step_started.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/events/undefined_parameter_type.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/events.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/file_specs.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/filters/activate_steps.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/filters/apply_after_hooks.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/filters/apply_after_step_hooks.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/filters/apply_around_hooks.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/filters/apply_before_hooks.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/filters/broadcast_test_case_ready_event.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/filters/broadcast_test_run_started_event.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/filters/gated_receiver.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/filters/prepare_world.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/filters/quit.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/filters/randomizer.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/filters/retry.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/filters/tag_limits/test_case_index.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/filters/tag_limits/verifier.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/filters/tag_limits.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/filters.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/formatter/ansicolor.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/formatter/backtrace_filter.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/formatter/console_counts.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/formatter/console_issues.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/formatter/duration.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/formatter/duration_extractor.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/formatter/errors.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/formatter/fail_fast.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/formatter/fanout.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/formatter/html.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/formatter/http_io.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/formatter/ignore_missing_messages.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/formatter/interceptor.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/formatter/io.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/formatter/junit.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/formatter/message.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/formatter/progress.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/formatter/publish_banner_printer.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/formatter/query/hook_by_test_step.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/formatter/query/pickle_by_test.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/formatter/query/pickle_step_by_test_step.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/formatter/query/step_definitions_by_test_step.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/formatter/query/test_case_started_by_test_case.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/formatter/rerun.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/formatter/stepdefs.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/formatter/steps.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/formatter/summary.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/formatter/unicode.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/formatter/url_reporter.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/formatter/usage.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/gherkin/data_table_parser.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/gherkin/formatter/ansi_escapes.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/gherkin/formatter/escaping.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/gherkin/i18n.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/gherkin/steps_parser.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/glue/dsl.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/glue/hook.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/glue/invoke_in_world.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/glue/registry_wrapper.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/glue/snippet.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/glue/step_definition.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/glue/world_factory.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/hooks.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/load_path.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/multiline_argument/data_table/diff_matrices.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/multiline_argument/data_table.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/multiline_argument/doc_string.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/multiline_argument.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/platform.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/project_initializer.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/rspec/disable_option_parser.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/rspec/doubles.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/running_test_case.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/runtime/after_hooks.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/runtime/before_hooks.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/runtime/step_hooks.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/runtime/support_code.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/runtime.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/step_definition_light.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/step_definitions.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/step_match.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/step_match_search.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/term/ansicolor.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/term/banner.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber/unit.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/cucumber.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-9.0.2 → cucumber-9.1.0}/lib/simplecov_setup.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-core-11.1.0 → cucumber-core-12.0.0}/lib/cucumber/core/compiler.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-core-11.1.0 → cucumber-core-12.0.0}/lib/cucumber/core/event_bus.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-core-11.1.0 → cucumber-core-12.0.0}/lib/cucumber/core/events.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-core-11.1.0 → cucumber-core-12.0.0}/lib/cucumber/core/filter.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-core-11.1.0 → cucumber-core-12.0.0}/lib/cucumber/core/gherkin/document.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-core-11.1.0 → cucumber-core-12.0.0}/lib/cucumber/core/gherkin/parser.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-core-11.1.0 → cucumber-core-12.0.0}/lib/cucumber/core/gherkin/writer/helpers.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-core-11.1.0 → cucumber-core-12.0.0}/lib/cucumber/core/gherkin/writer.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-core-11.1.0 → cucumber-core-12.0.0}/lib/cucumber/core/platform.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-core-11.1.0 → cucumber-core-12.0.0}/lib/cucumber/core/report/summary.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-core-11.1.0 → cucumber-core-12.0.0}/lib/cucumber/core/test/action.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-core-11.1.0 → cucumber-core-12.0.0}/lib/cucumber/core/test/around_hook.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-core-11.1.0 → cucumber-core-12.0.0}/lib/cucumber/core/test/case.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-core-11.1.0 → cucumber-core-12.0.0}/lib/cucumber/core/test/data_table.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-core-11.1.0 → cucumber-core-12.0.0}/lib/cucumber/core/test/doc_string.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-core-11.1.0 → cucumber-core-12.0.0}/lib/cucumber/core/test/empty_multiline_argument.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-core-11.1.0 → cucumber-core-12.0.0}/lib/cucumber/core/test/filters/activate_steps_for_self_test.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-core-11.1.0 → cucumber-core-12.0.0}/lib/cucumber/core/test/filters/locations_filter.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-core-11.1.0 → cucumber-core-12.0.0}/lib/cucumber/core/test/filters/name_filter.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-core-11.1.0 → cucumber-core-12.0.0}/lib/cucumber/core/test/filters/tag_filter.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-core-11.1.0 → cucumber-core-12.0.0}/lib/cucumber/core/test/filters.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-core-11.1.0 → cucumber-core-12.0.0}/lib/cucumber/core/test/location.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-core-11.1.0 → cucumber-core-12.0.0}/lib/cucumber/core/test/result.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-core-11.1.0 → cucumber-core-12.0.0}/lib/cucumber/core/test/runner.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-core-11.1.0 → cucumber-core-12.0.0}/lib/cucumber/core/test/step.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-core-11.1.0 → cucumber-core-12.0.0}/lib/cucumber/core/test/tag.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-core-11.1.0 → cucumber-core-12.0.0}/lib/cucumber/core/test/timer.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-core-11.1.0 → cucumber-core-12.0.0}/lib/cucumber/core.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-messages-21.0.1 → cucumber-messages-22.0.0}/lib/cucumber/messages/id_generator.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-messages-21.0.1 → cucumber-messages-22.0.0}/lib/cucumber/messages/message/deserialization.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-messages-21.0.1 → cucumber-messages-22.0.0}/lib/cucumber/messages/message/serialization.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-messages-21.0.1 → cucumber-messages-22.0.0}/lib/cucumber/messages/message/utils.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-messages-21.0.1 → cucumber-messages-22.0.0}/lib/cucumber/messages/message.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-messages-21.0.1 → cucumber-messages-22.0.0}/lib/cucumber/messages/ndjson_to_message_enumerator.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-messages-21.0.1 → cucumber-messages-22.0.0}/lib/cucumber/messages/time_conversion.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-messages-21.0.1 → cucumber-messages-22.0.0}/lib/cucumber/messages.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-cucumber-expressions-16.1.2 → cucumber-messages-22.0.0}/spec/capture_warnings.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-messages-21.0.1 → cucumber-messages-22.0.0}/spec/cucumber/messages/acceptance_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-messages-21.0.1 → cucumber-messages-22.0.0}/spec/cucumber/messages/id_generator_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-messages-21.0.1 → cucumber-messages-22.0.0}/spec/cucumber/messages/message/deserialization_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-messages-21.0.1 → cucumber-messages-22.0.0}/spec/cucumber/messages/message/dummy_messages.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-messages-21.0.1 → cucumber-messages-22.0.0}/spec/cucumber/messages/message/serialization_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-messages-21.0.1 → cucumber-messages-22.0.0}/spec/cucumber/messages/message/utils_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-messages-21.0.1 → cucumber-messages-22.0.0}/spec/cucumber/messages/ndjson_serialization_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-messages-21.0.1 → cucumber-messages-22.0.0}/spec/cucumber/messages/time_conversion_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-messages-21.0.1 → cucumber-messages-22.0.0}/spec/cucumber/messages/version_spec.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{cucumber-tag-expressions-4.1.0 → cucumber-tag-expressions-5.0.6}/lib/cucumber/tag_expressions.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{lumberjack-1.2.9 → lumberjack-1.2.10}/lib/lumberjack/context.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{lumberjack-1.2.9 → lumberjack-1.2.10}/lib/lumberjack/tag_formatter.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{lumberjack-1.2.9 → lumberjack-1.2.10}/lib/lumberjack/tagged_logger_support.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{lumberjack-1.2.9 → lumberjack-1.2.10}/lib/lumberjack/tagged_logging.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{lumberjack-1.2.9 → lumberjack-1.2.10}/lib/lumberjack/tags.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{public_suffix-5.0.3 → public_suffix-5.0.4}/lib/public_suffix/domain.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{public_suffix-5.0.3 → public_suffix-5.0.4}/lib/public_suffix/errors.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{public_suffix-5.0.3 → public_suffix-5.0.4}/lib/public_suffix/list.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{public_suffix-5.0.3 → public_suffix-5.0.4}/lib/public_suffix/rule.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{public_suffix-5.0.3 → public_suffix-5.0.4}/lib/public_suffix.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{rake-13.0.6 → rake-13.1.0}/doc/jamis.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{rake-13.0.6 → rake-13.1.0}/lib/rake/backtrace.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{rake-13.0.6 → rake-13.1.0}/lib/rake/clean.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{rake-13.0.6 → rake-13.1.0}/lib/rake/cloneable.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{rake-13.0.6 → rake-13.1.0}/lib/rake/cpu_counter.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{rake-13.0.6 → rake-13.1.0}/lib/rake/default_loader.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{rake-13.0.6 → rake-13.1.0}/lib/rake/early_time.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{rake-13.0.6 → rake-13.1.0}/lib/rake/ext/core.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{rake-13.0.6 → rake-13.1.0}/lib/rake/ext/string.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{rake-13.0.6 → rake-13.1.0}/lib/rake/file_creation_task.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{rake-13.0.6 → rake-13.1.0}/lib/rake/file_list.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{rake-13.0.6 → rake-13.1.0}/lib/rake/file_utils_ext.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{rake-13.0.6 → rake-13.1.0}/lib/rake/invocation_chain.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{rake-13.0.6 → rake-13.1.0}/lib/rake/invocation_exception_mixin.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{rake-13.0.6 → rake-13.1.0}/lib/rake/late_time.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{rake-13.0.6 → rake-13.1.0}/lib/rake/linked_list.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{rake-13.0.6 → rake-13.1.0}/lib/rake/loaders/makefile.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{rake-13.0.6 → rake-13.1.0}/lib/rake/multi_task.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{rake-13.0.6 → rake-13.1.0}/lib/rake/name_space.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{rake-13.0.6 → rake-13.1.0}/lib/rake/phony.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{rake-13.0.6 → rake-13.1.0}/lib/rake/private_reader.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{rake-13.0.6 → rake-13.1.0}/lib/rake/promise.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{rake-13.0.6 → rake-13.1.0}/lib/rake/pseudo_status.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{rake-13.0.6 → rake-13.1.0}/lib/rake/rake_module.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{rake-13.0.6 → rake-13.1.0}/lib/rake/rake_test_loader.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{rake-13.0.6 → rake-13.1.0}/lib/rake/rule_recursion_overflow_error.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{rake-13.0.6 → rake-13.1.0}/lib/rake/scope.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{rake-13.0.6 → rake-13.1.0}/lib/rake/task_argument_error.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{rake-13.0.6 → rake-13.1.0}/lib/rake/task_arguments.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{rake-13.0.6 → rake-13.1.0}/lib/rake/task_manager.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{rake-13.0.6 → rake-13.1.0}/lib/rake/tasklib.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{rake-13.0.6 → rake-13.1.0}/lib/rake/testtask.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{rake-13.0.6 → rake-13.1.0}/lib/rake/thread_history_display.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{rake-13.0.6 → rake-13.1.0}/lib/rake/trace_output.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{rake-13.0.6 → rake-13.1.0}/lib/rake/win32.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{rake-13.0.6 → rake-13.1.0}/lib/rake.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/examples/simple_connection.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/lib/core_ext/array.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/lib/core_ext/hash.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/lib/sshkit/all.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/lib/sshkit/backends/abstract.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/lib/sshkit/backends/connection_pool/cache.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/lib/sshkit/backends/connection_pool/nil_cache.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/lib/sshkit/backends/connection_pool.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/lib/sshkit/backends/local.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/lib/sshkit/backends/netssh/known_hosts.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/lib/sshkit/backends/netssh.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/lib/sshkit/backends/printer.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/lib/sshkit/backends/skipper.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/lib/sshkit/color.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/lib/sshkit/command.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/lib/sshkit/command_map.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/lib/sshkit/configuration.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/lib/sshkit/coordinator.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/lib/sshkit/deprecation_logger.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/lib/sshkit/dsl.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/lib/sshkit/exception.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/lib/sshkit/formatters/abstract.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/lib/sshkit/formatters/black_hole.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/lib/sshkit/formatters/dot.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/lib/sshkit/formatters/pretty.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/lib/sshkit/formatters/simple_text.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/lib/sshkit/host.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/lib/sshkit/log_message.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/lib/sshkit/logger.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/lib/sshkit/mapping_interaction_handler.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/lib/sshkit/runners/abstract.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/lib/sshkit/runners/group.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/lib/sshkit/runners/null.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/lib/sshkit/runners/parallel.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/lib/sshkit/runners/sequential.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/lib/sshkit.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/test/functional/backends/test_local.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/test/functional/backends/test_netssh.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/test/functional/test_ssh_server_comes_up_for_functional_tests.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/test/helper.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/test/support/vagrant_wrapper.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/test/unit/backends/test_abstract.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/test/unit/backends/test_connection_pool.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/test/unit/backends/test_local.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/test/unit/backends/test_netssh.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/test/unit/backends/test_printer.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/test/unit/formatters/test_custom.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/test/unit/formatters/test_dot.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/test/unit/formatters/test_pretty.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/test/unit/formatters/test_simple_text.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/test/unit/runners/test_group.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/test/unit/runners/test_parallel.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/test/unit/runners/test_sequential.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/test/unit/test_color.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/test/unit/test_command.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/test/unit/test_command_map.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/test/unit/test_configuration.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/test/unit/test_coordinator.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/test/unit/test_deprecation_logger.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/test/unit/test_dsl.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/test/unit/test_host.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/test/unit/test_logger.rb +0 -0
- /data/vendor/bundle/ruby/3.2.0/gems/{sshkit-1.21.5 → sshkit-1.21.6}/test/unit/test_mapping_interaction_handler.rb +0 -0
@@ -0,0 +1,1710 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
#
|
3
|
+
# DO NOT MODIFY!!!!
|
4
|
+
# This file is automatically generated by Racc 1.7.3
|
5
|
+
# from Racc grammar file "block_parser.ry".
|
6
|
+
#
|
7
|
+
|
8
|
+
###### racc/parser.rb begin
|
9
|
+
unless $".find {|p| p.end_with?('/racc/parser.rb')}
|
10
|
+
$".push "#{__dir__}/racc/parser.rb"
|
11
|
+
#--
|
12
|
+
# Copyright (c) 1999-2006 Minero Aoki
|
13
|
+
#
|
14
|
+
# This program is free software.
|
15
|
+
# You can distribute/modify this program under the same terms of ruby.
|
16
|
+
#
|
17
|
+
# As a special exception, when this code is copied by Racc
|
18
|
+
# into a Racc output file, you may use that output file
|
19
|
+
# without restriction.
|
20
|
+
#++
|
21
|
+
|
22
|
+
unless $".find {|p| p.end_with?('/racc/info.rb')}
|
23
|
+
$".push "#{__dir__}/racc/info.rb"
|
24
|
+
|
25
|
+
module Racc
|
26
|
+
VERSION = '1.7.3'
|
27
|
+
Version = VERSION
|
28
|
+
Copyright = 'Copyright (c) 1999-2006 Minero Aoki'
|
29
|
+
end
|
30
|
+
|
31
|
+
end
|
32
|
+
|
33
|
+
|
34
|
+
unless defined?(NotImplementedError)
|
35
|
+
NotImplementedError = NotImplementError # :nodoc:
|
36
|
+
end
|
37
|
+
|
38
|
+
module Racc
|
39
|
+
class ParseError < StandardError; end
|
40
|
+
end
|
41
|
+
unless defined?(::ParseError)
|
42
|
+
ParseError = Racc::ParseError # :nodoc:
|
43
|
+
end
|
44
|
+
|
45
|
+
# Racc is a LALR(1) parser generator.
|
46
|
+
# It is written in Ruby itself, and generates Ruby programs.
|
47
|
+
#
|
48
|
+
# == Command-line Reference
|
49
|
+
#
|
50
|
+
# racc [-o<var>filename</var>] [--output-file=<var>filename</var>]
|
51
|
+
# [-e<var>rubypath</var>] [--executable=<var>rubypath</var>]
|
52
|
+
# [-v] [--verbose]
|
53
|
+
# [-O<var>filename</var>] [--log-file=<var>filename</var>]
|
54
|
+
# [-g] [--debug]
|
55
|
+
# [-E] [--embedded]
|
56
|
+
# [-l] [--no-line-convert]
|
57
|
+
# [-c] [--line-convert-all]
|
58
|
+
# [-a] [--no-omit-actions]
|
59
|
+
# [-C] [--check-only]
|
60
|
+
# [-S] [--output-status]
|
61
|
+
# [--version] [--copyright] [--help] <var>grammarfile</var>
|
62
|
+
#
|
63
|
+
# [+grammarfile+]
|
64
|
+
# Racc grammar file. Any extension is permitted.
|
65
|
+
# [-o+outfile+, --output-file=+outfile+]
|
66
|
+
# A filename for output. default is <+filename+>.tab.rb
|
67
|
+
# [-O+filename+, --log-file=+filename+]
|
68
|
+
# Place logging output in file +filename+.
|
69
|
+
# Default log file name is <+filename+>.output.
|
70
|
+
# [-e+rubypath+, --executable=+rubypath+]
|
71
|
+
# output executable file(mode 755). where +path+ is the Ruby interpreter.
|
72
|
+
# [-v, --verbose]
|
73
|
+
# verbose mode. create +filename+.output file, like yacc's y.output file.
|
74
|
+
# [-g, --debug]
|
75
|
+
# add debug code to parser class. To display debugging information,
|
76
|
+
# use this '-g' option and set @yydebug true in parser class.
|
77
|
+
# [-E, --embedded]
|
78
|
+
# Output parser which doesn't need runtime files (racc/parser.rb).
|
79
|
+
# [-F, --frozen]
|
80
|
+
# Output parser which declares frozen_string_literals: true
|
81
|
+
# [-C, --check-only]
|
82
|
+
# Check syntax of racc grammar file and quit.
|
83
|
+
# [-S, --output-status]
|
84
|
+
# Print messages time to time while compiling.
|
85
|
+
# [-l, --no-line-convert]
|
86
|
+
# turns off line number converting.
|
87
|
+
# [-c, --line-convert-all]
|
88
|
+
# Convert line number of actions, inner, header and footer.
|
89
|
+
# [-a, --no-omit-actions]
|
90
|
+
# Call all actions, even if an action is empty.
|
91
|
+
# [--version]
|
92
|
+
# print Racc version and quit.
|
93
|
+
# [--copyright]
|
94
|
+
# Print copyright and quit.
|
95
|
+
# [--help]
|
96
|
+
# Print usage and quit.
|
97
|
+
#
|
98
|
+
# == Generating Parser Using Racc
|
99
|
+
#
|
100
|
+
# To compile Racc grammar file, simply type:
|
101
|
+
#
|
102
|
+
# $ racc parse.y
|
103
|
+
#
|
104
|
+
# This creates Ruby script file "parse.tab.y". The -o option can change the output filename.
|
105
|
+
#
|
106
|
+
# == Writing A Racc Grammar File
|
107
|
+
#
|
108
|
+
# If you want your own parser, you have to write a grammar file.
|
109
|
+
# A grammar file contains the name of your parser class, grammar for the parser,
|
110
|
+
# user code, and anything else.
|
111
|
+
# When writing a grammar file, yacc's knowledge is helpful.
|
112
|
+
# If you have not used yacc before, Racc is not too difficult.
|
113
|
+
#
|
114
|
+
# Here's an example Racc grammar file.
|
115
|
+
#
|
116
|
+
# class Calcparser
|
117
|
+
# rule
|
118
|
+
# target: exp { print val[0] }
|
119
|
+
#
|
120
|
+
# exp: exp '+' exp
|
121
|
+
# | exp '*' exp
|
122
|
+
# | '(' exp ')'
|
123
|
+
# | NUMBER
|
124
|
+
# end
|
125
|
+
#
|
126
|
+
# Racc grammar files resemble yacc files.
|
127
|
+
# But (of course), this is Ruby code.
|
128
|
+
# yacc's $$ is the 'result', $0, $1... is
|
129
|
+
# an array called 'val', and $-1, $-2... is an array called '_values'.
|
130
|
+
#
|
131
|
+
# See the {Grammar File Reference}[rdoc-ref:lib/racc/rdoc/grammar.en.rdoc] for
|
132
|
+
# more information on grammar files.
|
133
|
+
#
|
134
|
+
# == Parser
|
135
|
+
#
|
136
|
+
# Then you must prepare the parse entry method. There are two types of
|
137
|
+
# parse methods in Racc, Racc::Parser#do_parse and Racc::Parser#yyparse
|
138
|
+
#
|
139
|
+
# Racc::Parser#do_parse is simple.
|
140
|
+
#
|
141
|
+
# It's yyparse() of yacc, and Racc::Parser#next_token is yylex().
|
142
|
+
# This method must returns an array like [TOKENSYMBOL, ITS_VALUE].
|
143
|
+
# EOF is [false, false].
|
144
|
+
# (TOKENSYMBOL is a Ruby symbol (taken from String#intern) by default.
|
145
|
+
# If you want to change this, see the grammar reference.
|
146
|
+
#
|
147
|
+
# Racc::Parser#yyparse is little complicated, but useful.
|
148
|
+
# It does not use Racc::Parser#next_token, instead it gets tokens from any iterator.
|
149
|
+
#
|
150
|
+
# For example, <code>yyparse(obj, :scan)</code> causes
|
151
|
+
# calling +obj#scan+, and you can return tokens by yielding them from +obj#scan+.
|
152
|
+
#
|
153
|
+
# == Debugging
|
154
|
+
#
|
155
|
+
# When debugging, "-v" or/and the "-g" option is helpful.
|
156
|
+
#
|
157
|
+
# "-v" creates verbose log file (.output).
|
158
|
+
# "-g" creates a "Verbose Parser".
|
159
|
+
# Verbose Parser prints the internal status when parsing.
|
160
|
+
# But it's _not_ automatic.
|
161
|
+
# You must use -g option and set +@yydebug+ to +true+ in order to get output.
|
162
|
+
# -g option only creates the verbose parser.
|
163
|
+
#
|
164
|
+
# === Racc reported syntax error.
|
165
|
+
#
|
166
|
+
# Isn't there too many "end"?
|
167
|
+
# grammar of racc file is changed in v0.10.
|
168
|
+
#
|
169
|
+
# Racc does not use '%' mark, while yacc uses huge number of '%' marks..
|
170
|
+
#
|
171
|
+
# === Racc reported "XXXX conflicts".
|
172
|
+
#
|
173
|
+
# Try "racc -v xxxx.y".
|
174
|
+
# It causes producing racc's internal log file, xxxx.output.
|
175
|
+
#
|
176
|
+
# === Generated parsers does not work correctly
|
177
|
+
#
|
178
|
+
# Try "racc -g xxxx.y".
|
179
|
+
# This command let racc generate "debugging parser".
|
180
|
+
# Then set @yydebug=true in your parser.
|
181
|
+
# It produces a working log of your parser.
|
182
|
+
#
|
183
|
+
# == Re-distributing Racc runtime
|
184
|
+
#
|
185
|
+
# A parser, which is created by Racc, requires the Racc runtime module;
|
186
|
+
# racc/parser.rb.
|
187
|
+
#
|
188
|
+
# Ruby 1.8.x comes with Racc runtime module,
|
189
|
+
# you need NOT distribute Racc runtime files.
|
190
|
+
#
|
191
|
+
# If you want to include the Racc runtime module with your parser.
|
192
|
+
# This can be done by using '-E' option:
|
193
|
+
#
|
194
|
+
# $ racc -E -omyparser.rb myparser.y
|
195
|
+
#
|
196
|
+
# This command creates myparser.rb which `includes' Racc runtime.
|
197
|
+
# Only you must do is to distribute your parser file (myparser.rb).
|
198
|
+
#
|
199
|
+
# Note: parser.rb is ruby license, but your parser is not.
|
200
|
+
# Your own parser is completely yours.
|
201
|
+
module Racc
|
202
|
+
|
203
|
+
unless defined?(Racc_No_Extensions)
|
204
|
+
Racc_No_Extensions = false # :nodoc:
|
205
|
+
end
|
206
|
+
|
207
|
+
class Parser
|
208
|
+
|
209
|
+
Racc_Runtime_Version = ::Racc::VERSION
|
210
|
+
Racc_Runtime_Core_Version_R = ::Racc::VERSION
|
211
|
+
|
212
|
+
begin
|
213
|
+
if Object.const_defined?(:RUBY_ENGINE) and RUBY_ENGINE == 'jruby'
|
214
|
+
require 'jruby'
|
215
|
+
require 'racc/cparse-jruby.jar'
|
216
|
+
com.headius.racc.Cparse.new.load(JRuby.runtime, false)
|
217
|
+
else
|
218
|
+
require 'racc/cparse'
|
219
|
+
end
|
220
|
+
|
221
|
+
unless new.respond_to?(:_racc_do_parse_c, true)
|
222
|
+
raise LoadError, 'old cparse.so'
|
223
|
+
end
|
224
|
+
if Racc_No_Extensions
|
225
|
+
raise LoadError, 'selecting ruby version of racc runtime core'
|
226
|
+
end
|
227
|
+
|
228
|
+
Racc_Main_Parsing_Routine = :_racc_do_parse_c # :nodoc:
|
229
|
+
Racc_YY_Parse_Method = :_racc_yyparse_c # :nodoc:
|
230
|
+
Racc_Runtime_Core_Version = Racc_Runtime_Core_Version_C # :nodoc:
|
231
|
+
Racc_Runtime_Type = 'c' # :nodoc:
|
232
|
+
rescue LoadError
|
233
|
+
Racc_Main_Parsing_Routine = :_racc_do_parse_rb
|
234
|
+
Racc_YY_Parse_Method = :_racc_yyparse_rb
|
235
|
+
Racc_Runtime_Core_Version = Racc_Runtime_Core_Version_R
|
236
|
+
Racc_Runtime_Type = 'ruby'
|
237
|
+
end
|
238
|
+
|
239
|
+
def Parser.racc_runtime_type # :nodoc:
|
240
|
+
Racc_Runtime_Type
|
241
|
+
end
|
242
|
+
|
243
|
+
def _racc_setup
|
244
|
+
@yydebug = false unless self.class::Racc_debug_parser
|
245
|
+
@yydebug = false unless defined?(@yydebug)
|
246
|
+
if @yydebug
|
247
|
+
@racc_debug_out = $stderr unless defined?(@racc_debug_out)
|
248
|
+
@racc_debug_out ||= $stderr
|
249
|
+
end
|
250
|
+
arg = self.class::Racc_arg
|
251
|
+
arg[13] = true if arg.size < 14
|
252
|
+
arg
|
253
|
+
end
|
254
|
+
|
255
|
+
def _racc_init_sysvars
|
256
|
+
@racc_state = [0]
|
257
|
+
@racc_tstack = []
|
258
|
+
@racc_vstack = []
|
259
|
+
|
260
|
+
@racc_t = nil
|
261
|
+
@racc_val = nil
|
262
|
+
|
263
|
+
@racc_read_next = true
|
264
|
+
|
265
|
+
@racc_user_yyerror = false
|
266
|
+
@racc_error_status = 0
|
267
|
+
end
|
268
|
+
|
269
|
+
# The entry point of the parser. This method is used with #next_token.
|
270
|
+
# If Racc wants to get token (and its value), calls next_token.
|
271
|
+
#
|
272
|
+
# Example:
|
273
|
+
# def parse
|
274
|
+
# @q = [[1,1],
|
275
|
+
# [2,2],
|
276
|
+
# [3,3],
|
277
|
+
# [false, '$']]
|
278
|
+
# do_parse
|
279
|
+
# end
|
280
|
+
#
|
281
|
+
# def next_token
|
282
|
+
# @q.shift
|
283
|
+
# end
|
284
|
+
class_eval <<~RUBY, __FILE__, __LINE__ + 1
|
285
|
+
def do_parse
|
286
|
+
#{Racc_Main_Parsing_Routine}(_racc_setup(), false)
|
287
|
+
end
|
288
|
+
RUBY
|
289
|
+
|
290
|
+
# The method to fetch next token.
|
291
|
+
# If you use #do_parse method, you must implement #next_token.
|
292
|
+
#
|
293
|
+
# The format of return value is [TOKEN_SYMBOL, VALUE].
|
294
|
+
# +token-symbol+ is represented by Ruby's symbol by default, e.g. :IDENT
|
295
|
+
# for 'IDENT'. ";" (String) for ';'.
|
296
|
+
#
|
297
|
+
# The final symbol (End of file) must be false.
|
298
|
+
def next_token
|
299
|
+
raise NotImplementedError, "#{self.class}\#next_token is not defined"
|
300
|
+
end
|
301
|
+
|
302
|
+
def _racc_do_parse_rb(arg, in_debug)
|
303
|
+
action_table, action_check, action_default, action_pointer,
|
304
|
+
_, _, _, _,
|
305
|
+
_, _, token_table, * = arg
|
306
|
+
|
307
|
+
_racc_init_sysvars
|
308
|
+
tok = act = i = nil
|
309
|
+
|
310
|
+
catch(:racc_end_parse) {
|
311
|
+
while true
|
312
|
+
if i = action_pointer[@racc_state[-1]]
|
313
|
+
if @racc_read_next
|
314
|
+
if @racc_t != 0 # not EOF
|
315
|
+
tok, @racc_val = next_token()
|
316
|
+
unless tok # EOF
|
317
|
+
@racc_t = 0
|
318
|
+
else
|
319
|
+
@racc_t = (token_table[tok] or 1) # error token
|
320
|
+
end
|
321
|
+
racc_read_token(@racc_t, tok, @racc_val) if @yydebug
|
322
|
+
@racc_read_next = false
|
323
|
+
end
|
324
|
+
end
|
325
|
+
i += @racc_t
|
326
|
+
unless i >= 0 and
|
327
|
+
act = action_table[i] and
|
328
|
+
action_check[i] == @racc_state[-1]
|
329
|
+
act = action_default[@racc_state[-1]]
|
330
|
+
end
|
331
|
+
else
|
332
|
+
act = action_default[@racc_state[-1]]
|
333
|
+
end
|
334
|
+
while act = _racc_evalact(act, arg)
|
335
|
+
;
|
336
|
+
end
|
337
|
+
end
|
338
|
+
}
|
339
|
+
end
|
340
|
+
|
341
|
+
# Another entry point for the parser.
|
342
|
+
# If you use this method, you must implement RECEIVER#METHOD_ID method.
|
343
|
+
#
|
344
|
+
# RECEIVER#METHOD_ID is a method to get next token.
|
345
|
+
# It must 'yield' the token, which format is [TOKEN-SYMBOL, VALUE].
|
346
|
+
class_eval <<~RUBY, __FILE__, __LINE__ + 1
|
347
|
+
def yyparse(recv, mid)
|
348
|
+
#{Racc_YY_Parse_Method}(recv, mid, _racc_setup(), false)
|
349
|
+
end
|
350
|
+
RUBY
|
351
|
+
|
352
|
+
def _racc_yyparse_rb(recv, mid, arg, c_debug)
|
353
|
+
action_table, action_check, action_default, action_pointer,
|
354
|
+
_, _, _, _,
|
355
|
+
_, _, token_table, * = arg
|
356
|
+
|
357
|
+
_racc_init_sysvars
|
358
|
+
|
359
|
+
catch(:racc_end_parse) {
|
360
|
+
until i = action_pointer[@racc_state[-1]]
|
361
|
+
while act = _racc_evalact(action_default[@racc_state[-1]], arg)
|
362
|
+
;
|
363
|
+
end
|
364
|
+
end
|
365
|
+
recv.__send__(mid) do |tok, val|
|
366
|
+
unless tok
|
367
|
+
@racc_t = 0
|
368
|
+
else
|
369
|
+
@racc_t = (token_table[tok] or 1) # error token
|
370
|
+
end
|
371
|
+
@racc_val = val
|
372
|
+
@racc_read_next = false
|
373
|
+
|
374
|
+
i += @racc_t
|
375
|
+
unless i >= 0 and
|
376
|
+
act = action_table[i] and
|
377
|
+
action_check[i] == @racc_state[-1]
|
378
|
+
act = action_default[@racc_state[-1]]
|
379
|
+
end
|
380
|
+
while act = _racc_evalact(act, arg)
|
381
|
+
;
|
382
|
+
end
|
383
|
+
|
384
|
+
while !(i = action_pointer[@racc_state[-1]]) ||
|
385
|
+
! @racc_read_next ||
|
386
|
+
@racc_t == 0 # $
|
387
|
+
unless i and i += @racc_t and
|
388
|
+
i >= 0 and
|
389
|
+
act = action_table[i] and
|
390
|
+
action_check[i] == @racc_state[-1]
|
391
|
+
act = action_default[@racc_state[-1]]
|
392
|
+
end
|
393
|
+
while act = _racc_evalact(act, arg)
|
394
|
+
;
|
395
|
+
end
|
396
|
+
end
|
397
|
+
end
|
398
|
+
}
|
399
|
+
end
|
400
|
+
|
401
|
+
###
|
402
|
+
### common
|
403
|
+
###
|
404
|
+
|
405
|
+
def _racc_evalact(act, arg)
|
406
|
+
action_table, action_check, _, action_pointer,
|
407
|
+
_, _, _, _,
|
408
|
+
_, _, _, shift_n,
|
409
|
+
reduce_n, * = arg
|
410
|
+
nerr = 0 # tmp
|
411
|
+
|
412
|
+
if act > 0 and act < shift_n
|
413
|
+
#
|
414
|
+
# shift
|
415
|
+
#
|
416
|
+
if @racc_error_status > 0
|
417
|
+
@racc_error_status -= 1 unless @racc_t <= 1 # error token or EOF
|
418
|
+
end
|
419
|
+
@racc_vstack.push @racc_val
|
420
|
+
@racc_state.push act
|
421
|
+
@racc_read_next = true
|
422
|
+
if @yydebug
|
423
|
+
@racc_tstack.push @racc_t
|
424
|
+
racc_shift @racc_t, @racc_tstack, @racc_vstack
|
425
|
+
end
|
426
|
+
|
427
|
+
elsif act < 0 and act > -reduce_n
|
428
|
+
#
|
429
|
+
# reduce
|
430
|
+
#
|
431
|
+
code = catch(:racc_jump) {
|
432
|
+
@racc_state.push _racc_do_reduce(arg, act)
|
433
|
+
false
|
434
|
+
}
|
435
|
+
if code
|
436
|
+
case code
|
437
|
+
when 1 # yyerror
|
438
|
+
@racc_user_yyerror = true # user_yyerror
|
439
|
+
return -reduce_n
|
440
|
+
when 2 # yyaccept
|
441
|
+
return shift_n
|
442
|
+
else
|
443
|
+
raise '[Racc Bug] unknown jump code'
|
444
|
+
end
|
445
|
+
end
|
446
|
+
|
447
|
+
elsif act == shift_n
|
448
|
+
#
|
449
|
+
# accept
|
450
|
+
#
|
451
|
+
racc_accept if @yydebug
|
452
|
+
throw :racc_end_parse, @racc_vstack[0]
|
453
|
+
|
454
|
+
elsif act == -reduce_n
|
455
|
+
#
|
456
|
+
# error
|
457
|
+
#
|
458
|
+
case @racc_error_status
|
459
|
+
when 0
|
460
|
+
unless arg[21] # user_yyerror
|
461
|
+
nerr += 1
|
462
|
+
on_error @racc_t, @racc_val, @racc_vstack
|
463
|
+
end
|
464
|
+
when 3
|
465
|
+
if @racc_t == 0 # is $
|
466
|
+
# We're at EOF, and another error occurred immediately after
|
467
|
+
# attempting auto-recovery
|
468
|
+
throw :racc_end_parse, nil
|
469
|
+
end
|
470
|
+
@racc_read_next = true
|
471
|
+
end
|
472
|
+
@racc_user_yyerror = false
|
473
|
+
@racc_error_status = 3
|
474
|
+
while true
|
475
|
+
if i = action_pointer[@racc_state[-1]]
|
476
|
+
i += 1 # error token
|
477
|
+
if i >= 0 and
|
478
|
+
(act = action_table[i]) and
|
479
|
+
action_check[i] == @racc_state[-1]
|
480
|
+
break
|
481
|
+
end
|
482
|
+
end
|
483
|
+
throw :racc_end_parse, nil if @racc_state.size <= 1
|
484
|
+
@racc_state.pop
|
485
|
+
@racc_vstack.pop
|
486
|
+
if @yydebug
|
487
|
+
@racc_tstack.pop
|
488
|
+
racc_e_pop @racc_state, @racc_tstack, @racc_vstack
|
489
|
+
end
|
490
|
+
end
|
491
|
+
return act
|
492
|
+
|
493
|
+
else
|
494
|
+
raise "[Racc Bug] unknown action #{act.inspect}"
|
495
|
+
end
|
496
|
+
|
497
|
+
racc_next_state(@racc_state[-1], @racc_state) if @yydebug
|
498
|
+
|
499
|
+
nil
|
500
|
+
end
|
501
|
+
|
502
|
+
def _racc_do_reduce(arg, act)
|
503
|
+
_, _, _, _,
|
504
|
+
goto_table, goto_check, goto_default, goto_pointer,
|
505
|
+
nt_base, reduce_table, _, _,
|
506
|
+
_, use_result, * = arg
|
507
|
+
|
508
|
+
state = @racc_state
|
509
|
+
vstack = @racc_vstack
|
510
|
+
tstack = @racc_tstack
|
511
|
+
|
512
|
+
i = act * -3
|
513
|
+
len = reduce_table[i]
|
514
|
+
reduce_to = reduce_table[i+1]
|
515
|
+
method_id = reduce_table[i+2]
|
516
|
+
void_array = []
|
517
|
+
|
518
|
+
tmp_t = tstack[-len, len] if @yydebug
|
519
|
+
tmp_v = vstack[-len, len]
|
520
|
+
tstack[-len, len] = void_array if @yydebug
|
521
|
+
vstack[-len, len] = void_array
|
522
|
+
state[-len, len] = void_array
|
523
|
+
|
524
|
+
# tstack must be updated AFTER method call
|
525
|
+
if use_result
|
526
|
+
vstack.push __send__(method_id, tmp_v, vstack, tmp_v[0])
|
527
|
+
else
|
528
|
+
vstack.push __send__(method_id, tmp_v, vstack)
|
529
|
+
end
|
530
|
+
tstack.push reduce_to
|
531
|
+
|
532
|
+
racc_reduce(tmp_t, reduce_to, tstack, vstack) if @yydebug
|
533
|
+
|
534
|
+
k1 = reduce_to - nt_base
|
535
|
+
if i = goto_pointer[k1]
|
536
|
+
i += state[-1]
|
537
|
+
if i >= 0 and (curstate = goto_table[i]) and goto_check[i] == k1
|
538
|
+
return curstate
|
539
|
+
end
|
540
|
+
end
|
541
|
+
goto_default[k1]
|
542
|
+
end
|
543
|
+
|
544
|
+
# This method is called when a parse error is found.
|
545
|
+
#
|
546
|
+
# ERROR_TOKEN_ID is an internal ID of token which caused error.
|
547
|
+
# You can get string representation of this ID by calling
|
548
|
+
# #token_to_str.
|
549
|
+
#
|
550
|
+
# ERROR_VALUE is a value of error token.
|
551
|
+
#
|
552
|
+
# value_stack is a stack of symbol values.
|
553
|
+
# DO NOT MODIFY this object.
|
554
|
+
#
|
555
|
+
# This method raises ParseError by default.
|
556
|
+
#
|
557
|
+
# If this method returns, parsers enter "error recovering mode".
|
558
|
+
def on_error(t, val, vstack)
|
559
|
+
raise ParseError, sprintf("parse error on value %s (%s)",
|
560
|
+
val.inspect, token_to_str(t) || '?')
|
561
|
+
end
|
562
|
+
|
563
|
+
# Enter error recovering mode.
|
564
|
+
# This method does not call #on_error.
|
565
|
+
def yyerror
|
566
|
+
throw :racc_jump, 1
|
567
|
+
end
|
568
|
+
|
569
|
+
# Exit parser.
|
570
|
+
# Return value is +Symbol_Value_Stack[0]+.
|
571
|
+
def yyaccept
|
572
|
+
throw :racc_jump, 2
|
573
|
+
end
|
574
|
+
|
575
|
+
# Leave error recovering mode.
|
576
|
+
def yyerrok
|
577
|
+
@racc_error_status = 0
|
578
|
+
end
|
579
|
+
|
580
|
+
# For debugging output
|
581
|
+
def racc_read_token(t, tok, val)
|
582
|
+
@racc_debug_out.print 'read '
|
583
|
+
@racc_debug_out.print tok.inspect, '(', racc_token2str(t), ') '
|
584
|
+
@racc_debug_out.puts val.inspect
|
585
|
+
@racc_debug_out.puts
|
586
|
+
end
|
587
|
+
|
588
|
+
def racc_shift(tok, tstack, vstack)
|
589
|
+
@racc_debug_out.puts "shift #{racc_token2str tok}"
|
590
|
+
racc_print_stacks tstack, vstack
|
591
|
+
@racc_debug_out.puts
|
592
|
+
end
|
593
|
+
|
594
|
+
def racc_reduce(toks, sim, tstack, vstack)
|
595
|
+
out = @racc_debug_out
|
596
|
+
out.print 'reduce '
|
597
|
+
if toks.empty?
|
598
|
+
out.print ' <none>'
|
599
|
+
else
|
600
|
+
toks.each {|t| out.print ' ', racc_token2str(t) }
|
601
|
+
end
|
602
|
+
out.puts " --> #{racc_token2str(sim)}"
|
603
|
+
racc_print_stacks tstack, vstack
|
604
|
+
@racc_debug_out.puts
|
605
|
+
end
|
606
|
+
|
607
|
+
def racc_accept
|
608
|
+
@racc_debug_out.puts 'accept'
|
609
|
+
@racc_debug_out.puts
|
610
|
+
end
|
611
|
+
|
612
|
+
def racc_e_pop(state, tstack, vstack)
|
613
|
+
@racc_debug_out.puts 'error recovering mode: pop token'
|
614
|
+
racc_print_states state
|
615
|
+
racc_print_stacks tstack, vstack
|
616
|
+
@racc_debug_out.puts
|
617
|
+
end
|
618
|
+
|
619
|
+
def racc_next_state(curstate, state)
|
620
|
+
@racc_debug_out.puts "goto #{curstate}"
|
621
|
+
racc_print_states state
|
622
|
+
@racc_debug_out.puts
|
623
|
+
end
|
624
|
+
|
625
|
+
def racc_print_stacks(t, v)
|
626
|
+
out = @racc_debug_out
|
627
|
+
out.print ' ['
|
628
|
+
t.each_index do |i|
|
629
|
+
out.print ' (', racc_token2str(t[i]), ' ', v[i].inspect, ')'
|
630
|
+
end
|
631
|
+
out.puts ' ]'
|
632
|
+
end
|
633
|
+
|
634
|
+
def racc_print_states(s)
|
635
|
+
out = @racc_debug_out
|
636
|
+
out.print ' ['
|
637
|
+
s.each {|st| out.print ' ', st }
|
638
|
+
out.puts ' ]'
|
639
|
+
end
|
640
|
+
|
641
|
+
def racc_token2str(tok)
|
642
|
+
self.class::Racc_token_to_s_table[tok] or
|
643
|
+
raise "[Racc Bug] can't convert token #{tok} to string"
|
644
|
+
end
|
645
|
+
|
646
|
+
# Convert internal ID of token symbol to the string.
|
647
|
+
def token_to_str(t)
|
648
|
+
self.class::Racc_token_to_s_table[t]
|
649
|
+
end
|
650
|
+
|
651
|
+
end
|
652
|
+
|
653
|
+
end
|
654
|
+
|
655
|
+
end
|
656
|
+
###### racc/parser.rb end
|
657
|
+
|
658
|
+
class RDoc::RD
|
659
|
+
|
660
|
+
##
|
661
|
+
# RD format parser for headings, paragraphs, lists, verbatim sections that
|
662
|
+
# exist as blocks.
|
663
|
+
|
664
|
+
class BlockParser < Racc::Parser
|
665
|
+
|
666
|
+
|
667
|
+
# :stopdoc:
|
668
|
+
|
669
|
+
MARK_TO_LEVEL = {
|
670
|
+
'=' => 1,
|
671
|
+
'==' => 2,
|
672
|
+
'===' => 3,
|
673
|
+
'====' => 4,
|
674
|
+
'+' => 5,
|
675
|
+
'++' => 6,
|
676
|
+
}
|
677
|
+
|
678
|
+
# :startdoc:
|
679
|
+
|
680
|
+
##
|
681
|
+
# Footnotes for this document
|
682
|
+
|
683
|
+
attr_reader :footnotes
|
684
|
+
|
685
|
+
##
|
686
|
+
# Labels for items in this document
|
687
|
+
|
688
|
+
attr_reader :labels
|
689
|
+
|
690
|
+
##
|
691
|
+
# Path to find included files in
|
692
|
+
|
693
|
+
attr_accessor :include_path
|
694
|
+
|
695
|
+
##
|
696
|
+
# Creates a new RDoc::RD::BlockParser. Use #parse to parse an rd-format
|
697
|
+
# document.
|
698
|
+
|
699
|
+
def initialize
|
700
|
+
@inline_parser = RDoc::RD::InlineParser.new self
|
701
|
+
@include_path = []
|
702
|
+
|
703
|
+
# for testing
|
704
|
+
@footnotes = []
|
705
|
+
@labels = {}
|
706
|
+
end
|
707
|
+
|
708
|
+
##
|
709
|
+
# Parses +src+ and returns an RDoc::Markup::Document.
|
710
|
+
|
711
|
+
def parse src
|
712
|
+
@src = src
|
713
|
+
@src.push false
|
714
|
+
|
715
|
+
@footnotes = []
|
716
|
+
@labels = {}
|
717
|
+
|
718
|
+
# @i: index(line no.) of src
|
719
|
+
@i = 0
|
720
|
+
|
721
|
+
# stack for current indentation
|
722
|
+
@indent_stack = []
|
723
|
+
|
724
|
+
# how indented.
|
725
|
+
@current_indent = @indent_stack.join("")
|
726
|
+
|
727
|
+
# RDoc::RD::BlockParser for tmp src
|
728
|
+
@subparser = nil
|
729
|
+
|
730
|
+
# which part is in now
|
731
|
+
@in_part = nil
|
732
|
+
@part_content = []
|
733
|
+
|
734
|
+
@in_verbatim = false
|
735
|
+
|
736
|
+
@yydebug = true
|
737
|
+
|
738
|
+
document = do_parse
|
739
|
+
|
740
|
+
unless @footnotes.empty? then
|
741
|
+
blankline = document.parts.pop
|
742
|
+
|
743
|
+
document.parts << RDoc::Markup::Rule.new(1)
|
744
|
+
document.parts.concat @footnotes
|
745
|
+
|
746
|
+
document.parts.push blankline
|
747
|
+
end
|
748
|
+
|
749
|
+
document
|
750
|
+
end
|
751
|
+
|
752
|
+
##
|
753
|
+
# Returns the next token from the document
|
754
|
+
|
755
|
+
def next_token # :nodoc:
|
756
|
+
# preprocessing
|
757
|
+
# if it is not in RD part
|
758
|
+
# => method
|
759
|
+
while @in_part != "rd"
|
760
|
+
line = @src[@i]
|
761
|
+
@i += 1 # next line
|
762
|
+
|
763
|
+
case line
|
764
|
+
# src end
|
765
|
+
when false
|
766
|
+
return [false, false]
|
767
|
+
# RD part begin
|
768
|
+
when /^=begin\s*(?:\bRD\b.*)?\s*$/
|
769
|
+
if @in_part # if in non-RD part
|
770
|
+
@part_content.push(line)
|
771
|
+
else
|
772
|
+
@in_part = "rd"
|
773
|
+
return [:WHITELINE, "=begin\n"] # <= for textblockand
|
774
|
+
end
|
775
|
+
# non-RD part begin
|
776
|
+
when /^=begin\s+(\w+)/
|
777
|
+
part = $1
|
778
|
+
=begin # not imported to RDoc
|
779
|
+
if @in_part # if in non-RD part
|
780
|
+
@part_content.push(line)
|
781
|
+
else
|
782
|
+
@in_part = part if @tree.filter[part] # if filter exists
|
783
|
+
# p "BEGIN_PART: #{@in_part}" # DEBUG
|
784
|
+
end
|
785
|
+
=end
|
786
|
+
@in_part = part
|
787
|
+
# non-RD part end
|
788
|
+
when /^=end(?:$|[\s\0\C-d\C-z])/
|
789
|
+
if @in_part # if in non-RD part
|
790
|
+
=begin # not imported to RDoc
|
791
|
+
# p "END_PART: #{@in_part}" # DEBUG
|
792
|
+
# make Part-in object
|
793
|
+
part = RDoc::RD::Part.new(@part_content.join(""), @tree, "r")
|
794
|
+
@part_content.clear
|
795
|
+
# call filter, part_out is output(Part object)
|
796
|
+
part_out = @tree.filter[@in_part].call(part)
|
797
|
+
|
798
|
+
if @tree.filter[@in_part].mode == :rd # if output is RD formatted
|
799
|
+
subtree = parse_subtree(part_out.to_a)
|
800
|
+
else # if output is target formatted
|
801
|
+
basename = Tempfile.create(["rdtmp", ".#{@in_part}"], @tree.tmp_dir) do |tmpfile|
|
802
|
+
tmpfile.print(part_out)
|
803
|
+
File.basename(tmpfile.path)
|
804
|
+
end
|
805
|
+
subtree = parse_subtree(["=begin\n", "<<< #{basename}\n", "=end\n"])
|
806
|
+
end
|
807
|
+
@in_part = nil
|
808
|
+
return [:SUBTREE, subtree]
|
809
|
+
=end
|
810
|
+
end
|
811
|
+
else
|
812
|
+
=begin # not imported to RDoc
|
813
|
+
if @in_part # if in non-RD part
|
814
|
+
@part_content.push(line)
|
815
|
+
end
|
816
|
+
=end
|
817
|
+
end
|
818
|
+
end
|
819
|
+
|
820
|
+
@current_indent = @indent_stack.join("")
|
821
|
+
line = @src[@i]
|
822
|
+
case line
|
823
|
+
when false
|
824
|
+
if_current_indent_equal("") do
|
825
|
+
[false, false]
|
826
|
+
end
|
827
|
+
when /^=end/
|
828
|
+
if_current_indent_equal("") do
|
829
|
+
@in_part = nil
|
830
|
+
[:WHITELINE, "=end"] # MUST CHANGE??
|
831
|
+
end
|
832
|
+
when /^\s*$/
|
833
|
+
@i += 1 # next line
|
834
|
+
return [:WHITELINE, ':WHITELINE']
|
835
|
+
when /^\#/ # comment line
|
836
|
+
@i += 1 # next line
|
837
|
+
self.next_token()
|
838
|
+
when /^(={1,4})(?!=)\s*(?=\S)/, /^(\+{1,2})(?!\+)\s*(?=\S)/
|
839
|
+
rest = $' # '
|
840
|
+
rest.strip!
|
841
|
+
mark = $1
|
842
|
+
if_current_indent_equal("") do
|
843
|
+
return [:HEADLINE, [MARK_TO_LEVEL[mark], rest]]
|
844
|
+
end
|
845
|
+
when /^<<<\s*(\S+)/
|
846
|
+
file = $1
|
847
|
+
if_current_indent_equal("") do
|
848
|
+
suffix = file[-3 .. -1]
|
849
|
+
if suffix == ".rd" or suffix == ".rb"
|
850
|
+
subtree = parse_subtree(get_included(file))
|
851
|
+
[:SUBTREE, subtree]
|
852
|
+
else
|
853
|
+
[:INCLUDE, file]
|
854
|
+
end
|
855
|
+
end
|
856
|
+
when /^(\s*)\*(\s*)/
|
857
|
+
rest = $' # '
|
858
|
+
newIndent = $2
|
859
|
+
if_current_indent_equal($1) do
|
860
|
+
if @in_verbatim
|
861
|
+
[:STRINGLINE, line]
|
862
|
+
else
|
863
|
+
@indent_stack.push("\s" + newIndent)
|
864
|
+
[:ITEMLISTLINE, rest]
|
865
|
+
end
|
866
|
+
end
|
867
|
+
when /^(\s*)(\(\d+\))(\s*)/
|
868
|
+
rest = $' # '
|
869
|
+
mark = $2
|
870
|
+
newIndent = $3
|
871
|
+
if_current_indent_equal($1) do
|
872
|
+
if @in_verbatim
|
873
|
+
[:STRINGLINE, line]
|
874
|
+
else
|
875
|
+
@indent_stack.push("\s" * mark.size + newIndent)
|
876
|
+
[:ENUMLISTLINE, rest]
|
877
|
+
end
|
878
|
+
end
|
879
|
+
when /^(\s*):(\s*)/
|
880
|
+
rest = $' # '
|
881
|
+
newIndent = $2
|
882
|
+
if_current_indent_equal($1) do
|
883
|
+
if @in_verbatim
|
884
|
+
[:STRINGLINE, line]
|
885
|
+
else
|
886
|
+
@indent_stack.push("\s#{$2}")
|
887
|
+
[:DESCLISTLINE, rest]
|
888
|
+
end
|
889
|
+
end
|
890
|
+
when /^(\s*)---(?!-|\s*$)/
|
891
|
+
indent = $1
|
892
|
+
rest = $'
|
893
|
+
/\s*/ === rest
|
894
|
+
term = $'
|
895
|
+
new_indent = $&
|
896
|
+
if_current_indent_equal(indent) do
|
897
|
+
if @in_verbatim
|
898
|
+
[:STRINGLINE, line]
|
899
|
+
else
|
900
|
+
@indent_stack.push("\s\s\s" + new_indent)
|
901
|
+
[:METHODLISTLINE, term]
|
902
|
+
end
|
903
|
+
end
|
904
|
+
when /^(\s*)/
|
905
|
+
if_current_indent_equal($1) do
|
906
|
+
[:STRINGLINE, line]
|
907
|
+
end
|
908
|
+
else
|
909
|
+
raise "[BUG] parsing error may occurred."
|
910
|
+
end
|
911
|
+
end
|
912
|
+
|
913
|
+
##
|
914
|
+
# Yields to the given block if +indent+ matches the current indent, otherwise
|
915
|
+
# an indentation token is processed.
|
916
|
+
|
917
|
+
def if_current_indent_equal(indent)
|
918
|
+
indent = indent.sub(/\t/, "\s" * 8)
|
919
|
+
if @current_indent == indent
|
920
|
+
@i += 1 # next line
|
921
|
+
yield
|
922
|
+
elsif indent.index(@current_indent) == 0
|
923
|
+
@indent_stack.push(indent[@current_indent.size .. -1])
|
924
|
+
[:INDENT, ":INDENT"]
|
925
|
+
else
|
926
|
+
@indent_stack.pop
|
927
|
+
[:DEDENT, ":DEDENT"]
|
928
|
+
end
|
929
|
+
end
|
930
|
+
private :if_current_indent_equal
|
931
|
+
|
932
|
+
##
|
933
|
+
# Cuts off excess whitespace in +src+
|
934
|
+
|
935
|
+
def cut_off(src)
|
936
|
+
ret = []
|
937
|
+
whiteline_buf = []
|
938
|
+
|
939
|
+
line = src.shift
|
940
|
+
/^\s*/ =~ line
|
941
|
+
|
942
|
+
indent = Regexp.quote($&)
|
943
|
+
ret.push($')
|
944
|
+
|
945
|
+
while line = src.shift
|
946
|
+
if /^(\s*)$/ =~ line
|
947
|
+
whiteline_buf.push(line)
|
948
|
+
elsif /^#{indent}/ =~ line
|
949
|
+
unless whiteline_buf.empty?
|
950
|
+
ret.concat(whiteline_buf)
|
951
|
+
whiteline_buf.clear
|
952
|
+
end
|
953
|
+
ret.push($')
|
954
|
+
else
|
955
|
+
raise "[BUG]: probably Parser Error while cutting off.\n"
|
956
|
+
end
|
957
|
+
end
|
958
|
+
ret
|
959
|
+
end
|
960
|
+
private :cut_off
|
961
|
+
|
962
|
+
def set_term_to_element(parent, term)
|
963
|
+
# parent.set_term_under_document_struct(term, @tree.document_struct)
|
964
|
+
parent.set_term_without_document_struct(term)
|
965
|
+
end
|
966
|
+
private :set_term_to_element
|
967
|
+
|
968
|
+
##
|
969
|
+
# Raises a ParseError when invalid formatting is found
|
970
|
+
|
971
|
+
def on_error(et, ev, _values)
|
972
|
+
prv, cur, nxt = format_line_num(@i, @i+1, @i+2)
|
973
|
+
|
974
|
+
raise ParseError, <<Msg
|
975
|
+
|
976
|
+
RD syntax error: line #{@i+1}:
|
977
|
+
#{prv} |#{@src[@i-1].chomp}
|
978
|
+
#{cur}=>|#{@src[@i].chomp}
|
979
|
+
#{nxt} |#{@src[@i+1].chomp}
|
980
|
+
|
981
|
+
Msg
|
982
|
+
end
|
983
|
+
|
984
|
+
##
|
985
|
+
# Current line number
|
986
|
+
|
987
|
+
def line_index
|
988
|
+
@i
|
989
|
+
end
|
990
|
+
|
991
|
+
##
|
992
|
+
# Parses subtree +src+
|
993
|
+
|
994
|
+
def parse_subtree src
|
995
|
+
@subparser ||= RDoc::RD::BlockParser.new
|
996
|
+
|
997
|
+
@subparser.parse src
|
998
|
+
end
|
999
|
+
private :parse_subtree
|
1000
|
+
|
1001
|
+
##
|
1002
|
+
# Retrieves the content for +file+ from the include_path
|
1003
|
+
|
1004
|
+
def get_included(file)
|
1005
|
+
included = []
|
1006
|
+
|
1007
|
+
@include_path.each do |dir|
|
1008
|
+
file_name = File.join dir, file
|
1009
|
+
|
1010
|
+
if File.exist? file_name then
|
1011
|
+
included = File.readlines file_name
|
1012
|
+
break
|
1013
|
+
end
|
1014
|
+
end
|
1015
|
+
|
1016
|
+
included
|
1017
|
+
end
|
1018
|
+
private :get_included
|
1019
|
+
|
1020
|
+
##
|
1021
|
+
# Formats line numbers +line_numbers+ prettily
|
1022
|
+
|
1023
|
+
def format_line_num(*line_numbers)
|
1024
|
+
width = line_numbers.collect{|i| i.to_s.length }.max
|
1025
|
+
line_numbers.collect{|i| sprintf("%#{width}d", i) }
|
1026
|
+
end
|
1027
|
+
private :format_line_num
|
1028
|
+
|
1029
|
+
##
|
1030
|
+
# Retrieves the content of +values+ as a single String
|
1031
|
+
|
1032
|
+
def content values
|
1033
|
+
values.map { |value| value.content }.join
|
1034
|
+
end
|
1035
|
+
|
1036
|
+
##
|
1037
|
+
# Creates a paragraph for +value+
|
1038
|
+
|
1039
|
+
def paragraph value
|
1040
|
+
content = cut_off(value).join(' ').rstrip
|
1041
|
+
contents = @inline_parser.parse content
|
1042
|
+
|
1043
|
+
RDoc::Markup::Paragraph.new(*contents)
|
1044
|
+
end
|
1045
|
+
|
1046
|
+
##
|
1047
|
+
# Adds footnote +content+ to the document
|
1048
|
+
|
1049
|
+
def add_footnote content
|
1050
|
+
index = @footnotes.length / 2 + 1
|
1051
|
+
|
1052
|
+
footmark_link = "{^#{index}}[rdoc-label:footmark-#{index}:foottext-#{index}]"
|
1053
|
+
|
1054
|
+
@footnotes << RDoc::Markup::Paragraph.new(footmark_link, ' ', *content)
|
1055
|
+
@footnotes << RDoc::Markup::BlankLine.new
|
1056
|
+
|
1057
|
+
index
|
1058
|
+
end
|
1059
|
+
|
1060
|
+
##
|
1061
|
+
# Adds label +label+ to the document
|
1062
|
+
|
1063
|
+
def add_label label
|
1064
|
+
@labels[label] = true
|
1065
|
+
|
1066
|
+
label
|
1067
|
+
end
|
1068
|
+
|
1069
|
+
# :stopdoc:
|
1070
|
+
|
1071
|
+
##### State transition tables begin ###
|
1072
|
+
|
1073
|
+
racc_action_table = [
|
1074
|
+
34, 35, 30, 33, 40, 34, 35, 30, 33, 40,
|
1075
|
+
65, 34, 35, 30, 33, 14, 73, 36, 38, 34,
|
1076
|
+
15, 88, 34, 35, 30, 33, 14, 9, 10, 11,
|
1077
|
+
12, 15, 34, 35, 30, 33, 14, 9, 10, 11,
|
1078
|
+
12, 15, 34, 35, 30, 33, 35, 47, 30, 54,
|
1079
|
+
33, 15, 34, 35, 30, 33, 54, 47, 14, 14,
|
1080
|
+
59, 15, 34, 35, 30, 33, 14, 73, 67, 76,
|
1081
|
+
77, 15, 34, 35, 30, 33, 14, 73, 54, 81,
|
1082
|
+
38, 15, 34, 35, 30, 33, 14, 73, 38, 40,
|
1083
|
+
83, 15, 34, 35, 30, 33, 14, 73, nil, nil,
|
1084
|
+
nil, 15, 34, 35, 30, 33, 14, 73, nil, nil,
|
1085
|
+
nil, 15, 34, 35, 30, 33, 14, 73, nil, nil,
|
1086
|
+
nil, 15, 34, 35, 30, 33, 14, 73, nil, nil,
|
1087
|
+
nil, 15, 34, 35, 30, 33, 14, 73, nil, nil,
|
1088
|
+
nil, 15, 34, 35, 30, 33, 14, 73, 61, 63,
|
1089
|
+
nil, 15, 14, 62, 60, 61, 63, 79, 61, 63,
|
1090
|
+
62, 87, nil, 62, 34, 35, 30, 33 ]
|
1091
|
+
|
1092
|
+
racc_action_check = [
|
1093
|
+
41, 41, 41, 41, 41, 15, 15, 15, 15, 15,
|
1094
|
+
41, 86, 86, 86, 86, 86, 86, 1, 13, 22,
|
1095
|
+
86, 86, 0, 0, 0, 0, 0, 0, 0, 0,
|
1096
|
+
0, 0, 2, 2, 2, 2, 2, 2, 2, 2,
|
1097
|
+
2, 2, 24, 24, 24, 24, 25, 24, 28, 30,
|
1098
|
+
31, 24, 27, 27, 27, 27, 33, 27, 34, 35,
|
1099
|
+
36, 27, 45, 45, 45, 45, 45, 45, 44, 49,
|
1100
|
+
51, 45, 46, 46, 46, 46, 46, 46, 54, 56,
|
1101
|
+
57, 46, 47, 47, 47, 47, 47, 47, 58, 62,
|
1102
|
+
66, 47, 68, 68, 68, 68, 68, 68, nil, nil,
|
1103
|
+
nil, 68, 74, 74, 74, 74, 74, 74, nil, nil,
|
1104
|
+
nil, 74, 75, 75, 75, 75, 75, 75, nil, nil,
|
1105
|
+
nil, 75, 78, 78, 78, 78, 78, 78, nil, nil,
|
1106
|
+
nil, 78, 79, 79, 79, 79, 79, 79, nil, nil,
|
1107
|
+
nil, 79, 85, 85, 85, 85, 85, 85, 39, 39,
|
1108
|
+
nil, 85, 52, 39, 39, 82, 82, 52, 64, 64,
|
1109
|
+
82, 82, nil, 64, 20, 20, 20, 20 ]
|
1110
|
+
|
1111
|
+
racc_action_pointer = [
|
1112
|
+
19, 17, 29, nil, nil, nil, nil, nil, nil, nil,
|
1113
|
+
nil, nil, nil, 11, nil, 2, nil, nil, nil, nil,
|
1114
|
+
161, nil, 16, nil, 39, 42, nil, 49, 43, nil,
|
1115
|
+
41, 44, nil, 48, 51, 52, 60, nil, nil, 141,
|
1116
|
+
nil, -3, nil, nil, 55, 59, 69, 79, nil, 56,
|
1117
|
+
nil, 57, 145, nil, 70, nil, 66, 73, 81, nil,
|
1118
|
+
nil, nil, 82, nil, 151, nil, 77, nil, 89, nil,
|
1119
|
+
nil, nil, nil, nil, 99, 109, nil, nil, 119, 129,
|
1120
|
+
nil, nil, 148, nil, nil, 139, 8, nil, nil ]
|
1121
|
+
|
1122
|
+
racc_action_default = [
|
1123
|
+
-2, -73, -1, -4, -5, -6, -7, -8, -9, -10,
|
1124
|
+
-11, -12, -13, -14, -16, -73, -23, -24, -25, -26,
|
1125
|
+
-27, -31, -32, -34, -72, -36, -38, -72, -40, -42,
|
1126
|
+
-59, -44, -46, -59, -63, -65, -73, -3, -15, -73,
|
1127
|
+
-22, -73, -30, -33, -73, -69, -70, -71, -37, -73,
|
1128
|
+
-41, -73, -51, -58, -61, -45, -73, -62, -64, 89,
|
1129
|
+
-17, -19, -73, -21, -18, -28, -73, -35, -66, -53,
|
1130
|
+
-54, -55, -56, -57, -67, -68, -39, -43, -49, -73,
|
1131
|
+
-60, -47, -73, -29, -52, -48, -73, -20, -50 ]
|
1132
|
+
|
1133
|
+
racc_goto_table = [
|
1134
|
+
4, 39, 4, 68, 74, 75, 5, 6, 5, 6,
|
1135
|
+
44, 42, 51, 49, 3, 56, 37, 57, 58, 1,
|
1136
|
+
2, 66, 84, 41, 43, 48, 50, 64, 84, 84,
|
1137
|
+
45, 46, 42, 45, 46, 55, 85, 86, 80, 84,
|
1138
|
+
84, nil, nil, nil, nil, nil, nil, nil, 82, nil,
|
1139
|
+
nil, nil, 78 ]
|
1140
|
+
|
1141
|
+
racc_goto_check = [
|
1142
|
+
4, 10, 4, 31, 31, 31, 5, 6, 5, 6,
|
1143
|
+
21, 12, 27, 21, 3, 27, 3, 9, 9, 1,
|
1144
|
+
2, 11, 32, 17, 19, 23, 26, 10, 32, 32,
|
1145
|
+
5, 6, 12, 5, 6, 29, 31, 31, 33, 32,
|
1146
|
+
32, nil, nil, nil, nil, nil, nil, nil, 10, nil,
|
1147
|
+
nil, nil, 4 ]
|
1148
|
+
|
1149
|
+
racc_goto_pointer = [
|
1150
|
+
nil, 19, 20, 14, 0, 6, 7, nil, nil, -17,
|
1151
|
+
-14, -20, -9, nil, nil, nil, nil, 8, nil, 2,
|
1152
|
+
nil, -14, nil, 0, nil, nil, -2, -18, nil, 4,
|
1153
|
+
nil, -42, -46, -16 ]
|
1154
|
+
|
1155
|
+
racc_goto_default = [
|
1156
|
+
nil, nil, nil, nil, 70, 71, 72, 7, 8, 13,
|
1157
|
+
nil, nil, 21, 16, 17, 18, 19, 20, 22, 23,
|
1158
|
+
24, nil, 25, 26, 27, 28, 29, nil, 31, 32,
|
1159
|
+
52, nil, 69, 53 ]
|
1160
|
+
|
1161
|
+
racc_reduce_table = [
|
1162
|
+
0, 0, :racc_error,
|
1163
|
+
1, 15, :_reduce_1,
|
1164
|
+
0, 15, :_reduce_2,
|
1165
|
+
2, 16, :_reduce_3,
|
1166
|
+
1, 16, :_reduce_4,
|
1167
|
+
1, 17, :_reduce_5,
|
1168
|
+
1, 17, :_reduce_6,
|
1169
|
+
1, 17, :_reduce_none,
|
1170
|
+
1, 17, :_reduce_8,
|
1171
|
+
1, 17, :_reduce_9,
|
1172
|
+
1, 17, :_reduce_10,
|
1173
|
+
1, 17, :_reduce_11,
|
1174
|
+
1, 21, :_reduce_12,
|
1175
|
+
1, 22, :_reduce_13,
|
1176
|
+
1, 18, :_reduce_14,
|
1177
|
+
2, 23, :_reduce_15,
|
1178
|
+
1, 23, :_reduce_16,
|
1179
|
+
3, 19, :_reduce_17,
|
1180
|
+
1, 25, :_reduce_18,
|
1181
|
+
2, 24, :_reduce_19,
|
1182
|
+
4, 24, :_reduce_20,
|
1183
|
+
2, 24, :_reduce_21,
|
1184
|
+
1, 24, :_reduce_22,
|
1185
|
+
1, 26, :_reduce_none,
|
1186
|
+
1, 26, :_reduce_none,
|
1187
|
+
1, 26, :_reduce_none,
|
1188
|
+
1, 26, :_reduce_none,
|
1189
|
+
1, 20, :_reduce_27,
|
1190
|
+
3, 20, :_reduce_28,
|
1191
|
+
4, 20, :_reduce_29,
|
1192
|
+
2, 31, :_reduce_30,
|
1193
|
+
1, 31, :_reduce_31,
|
1194
|
+
1, 27, :_reduce_32,
|
1195
|
+
2, 32, :_reduce_33,
|
1196
|
+
1, 32, :_reduce_34,
|
1197
|
+
3, 33, :_reduce_35,
|
1198
|
+
1, 28, :_reduce_36,
|
1199
|
+
2, 36, :_reduce_37,
|
1200
|
+
1, 36, :_reduce_38,
|
1201
|
+
3, 37, :_reduce_39,
|
1202
|
+
1, 29, :_reduce_40,
|
1203
|
+
2, 39, :_reduce_41,
|
1204
|
+
1, 39, :_reduce_42,
|
1205
|
+
3, 40, :_reduce_43,
|
1206
|
+
1, 30, :_reduce_44,
|
1207
|
+
2, 42, :_reduce_45,
|
1208
|
+
1, 42, :_reduce_46,
|
1209
|
+
3, 43, :_reduce_47,
|
1210
|
+
3, 41, :_reduce_48,
|
1211
|
+
2, 41, :_reduce_49,
|
1212
|
+
4, 41, :_reduce_50,
|
1213
|
+
1, 41, :_reduce_51,
|
1214
|
+
2, 45, :_reduce_52,
|
1215
|
+
1, 45, :_reduce_none,
|
1216
|
+
1, 46, :_reduce_54,
|
1217
|
+
1, 46, :_reduce_55,
|
1218
|
+
1, 46, :_reduce_none,
|
1219
|
+
1, 46, :_reduce_57,
|
1220
|
+
1, 44, :_reduce_none,
|
1221
|
+
0, 44, :_reduce_none,
|
1222
|
+
2, 47, :_reduce_none,
|
1223
|
+
1, 47, :_reduce_none,
|
1224
|
+
2, 34, :_reduce_62,
|
1225
|
+
1, 34, :_reduce_63,
|
1226
|
+
2, 38, :_reduce_64,
|
1227
|
+
1, 38, :_reduce_65,
|
1228
|
+
2, 35, :_reduce_66,
|
1229
|
+
2, 35, :_reduce_67,
|
1230
|
+
2, 35, :_reduce_68,
|
1231
|
+
1, 35, :_reduce_69,
|
1232
|
+
1, 35, :_reduce_none,
|
1233
|
+
1, 35, :_reduce_71,
|
1234
|
+
0, 35, :_reduce_72 ]
|
1235
|
+
|
1236
|
+
racc_reduce_n = 73
|
1237
|
+
|
1238
|
+
racc_shift_n = 89
|
1239
|
+
|
1240
|
+
racc_token_table = {
|
1241
|
+
false => 0,
|
1242
|
+
:error => 1,
|
1243
|
+
:DUMMY => 2,
|
1244
|
+
:ITEMLISTLINE => 3,
|
1245
|
+
:ENUMLISTLINE => 4,
|
1246
|
+
:DESCLISTLINE => 5,
|
1247
|
+
:METHODLISTLINE => 6,
|
1248
|
+
:STRINGLINE => 7,
|
1249
|
+
:WHITELINE => 8,
|
1250
|
+
:SUBTREE => 9,
|
1251
|
+
:HEADLINE => 10,
|
1252
|
+
:INCLUDE => 11,
|
1253
|
+
:INDENT => 12,
|
1254
|
+
:DEDENT => 13 }
|
1255
|
+
|
1256
|
+
racc_nt_base = 14
|
1257
|
+
|
1258
|
+
racc_use_result_var = true
|
1259
|
+
|
1260
|
+
Racc_arg = [
|
1261
|
+
racc_action_table,
|
1262
|
+
racc_action_check,
|
1263
|
+
racc_action_default,
|
1264
|
+
racc_action_pointer,
|
1265
|
+
racc_goto_table,
|
1266
|
+
racc_goto_check,
|
1267
|
+
racc_goto_default,
|
1268
|
+
racc_goto_pointer,
|
1269
|
+
racc_nt_base,
|
1270
|
+
racc_reduce_table,
|
1271
|
+
racc_token_table,
|
1272
|
+
racc_shift_n,
|
1273
|
+
racc_reduce_n,
|
1274
|
+
racc_use_result_var ]
|
1275
|
+
Ractor.make_shareable(Racc_arg) if defined?(Ractor)
|
1276
|
+
|
1277
|
+
Racc_token_to_s_table = [
|
1278
|
+
"$end",
|
1279
|
+
"error",
|
1280
|
+
"DUMMY",
|
1281
|
+
"ITEMLISTLINE",
|
1282
|
+
"ENUMLISTLINE",
|
1283
|
+
"DESCLISTLINE",
|
1284
|
+
"METHODLISTLINE",
|
1285
|
+
"STRINGLINE",
|
1286
|
+
"WHITELINE",
|
1287
|
+
"SUBTREE",
|
1288
|
+
"HEADLINE",
|
1289
|
+
"INCLUDE",
|
1290
|
+
"INDENT",
|
1291
|
+
"DEDENT",
|
1292
|
+
"$start",
|
1293
|
+
"document",
|
1294
|
+
"blocks",
|
1295
|
+
"block",
|
1296
|
+
"textblock",
|
1297
|
+
"verbatim",
|
1298
|
+
"lists",
|
1299
|
+
"headline",
|
1300
|
+
"include",
|
1301
|
+
"textblockcontent",
|
1302
|
+
"verbatimcontent",
|
1303
|
+
"verbatim_after_lists",
|
1304
|
+
"list",
|
1305
|
+
"itemlist",
|
1306
|
+
"enumlist",
|
1307
|
+
"desclist",
|
1308
|
+
"methodlist",
|
1309
|
+
"lists2",
|
1310
|
+
"itemlistitems",
|
1311
|
+
"itemlistitem",
|
1312
|
+
"first_textblock_in_itemlist",
|
1313
|
+
"other_blocks_in_list",
|
1314
|
+
"enumlistitems",
|
1315
|
+
"enumlistitem",
|
1316
|
+
"first_textblock_in_enumlist",
|
1317
|
+
"desclistitems",
|
1318
|
+
"desclistitem",
|
1319
|
+
"description_part",
|
1320
|
+
"methodlistitems",
|
1321
|
+
"methodlistitem",
|
1322
|
+
"whitelines",
|
1323
|
+
"blocks_in_list",
|
1324
|
+
"block_in_list",
|
1325
|
+
"whitelines2" ]
|
1326
|
+
Ractor.make_shareable(Racc_token_to_s_table) if defined?(Ractor)
|
1327
|
+
|
1328
|
+
Racc_debug_parser = false
|
1329
|
+
|
1330
|
+
##### State transition tables end #####
|
1331
|
+
|
1332
|
+
# reduce 0 omitted
|
1333
|
+
|
1334
|
+
def _reduce_1(val, _values, result)
|
1335
|
+
result = RDoc::Markup::Document.new(*val[0])
|
1336
|
+
result
|
1337
|
+
end
|
1338
|
+
|
1339
|
+
def _reduce_2(val, _values, result)
|
1340
|
+
raise ParseError, "file empty"
|
1341
|
+
result
|
1342
|
+
end
|
1343
|
+
|
1344
|
+
def _reduce_3(val, _values, result)
|
1345
|
+
result = val[0].concat val[1]
|
1346
|
+
result
|
1347
|
+
end
|
1348
|
+
|
1349
|
+
def _reduce_4(val, _values, result)
|
1350
|
+
result = val[0]
|
1351
|
+
result
|
1352
|
+
end
|
1353
|
+
|
1354
|
+
def _reduce_5(val, _values, result)
|
1355
|
+
result = val
|
1356
|
+
result
|
1357
|
+
end
|
1358
|
+
|
1359
|
+
def _reduce_6(val, _values, result)
|
1360
|
+
result = val
|
1361
|
+
result
|
1362
|
+
end
|
1363
|
+
|
1364
|
+
# reduce 7 omitted
|
1365
|
+
|
1366
|
+
def _reduce_8(val, _values, result)
|
1367
|
+
result = val
|
1368
|
+
result
|
1369
|
+
end
|
1370
|
+
|
1371
|
+
def _reduce_9(val, _values, result)
|
1372
|
+
result = val
|
1373
|
+
result
|
1374
|
+
end
|
1375
|
+
|
1376
|
+
def _reduce_10(val, _values, result)
|
1377
|
+
result = [RDoc::Markup::BlankLine.new]
|
1378
|
+
result
|
1379
|
+
end
|
1380
|
+
|
1381
|
+
def _reduce_11(val, _values, result)
|
1382
|
+
result = val[0].parts
|
1383
|
+
result
|
1384
|
+
end
|
1385
|
+
|
1386
|
+
def _reduce_12(val, _values, result)
|
1387
|
+
# val[0] is like [level, title]
|
1388
|
+
title = @inline_parser.parse(val[0][1])
|
1389
|
+
result = RDoc::Markup::Heading.new(val[0][0], title)
|
1390
|
+
|
1391
|
+
result
|
1392
|
+
end
|
1393
|
+
|
1394
|
+
def _reduce_13(val, _values, result)
|
1395
|
+
result = RDoc::Markup::Include.new val[0], @include_path
|
1396
|
+
|
1397
|
+
result
|
1398
|
+
end
|
1399
|
+
|
1400
|
+
def _reduce_14(val, _values, result)
|
1401
|
+
# val[0] is Array of String
|
1402
|
+
result = paragraph val[0]
|
1403
|
+
|
1404
|
+
result
|
1405
|
+
end
|
1406
|
+
|
1407
|
+
def _reduce_15(val, _values, result)
|
1408
|
+
result << val[1].rstrip
|
1409
|
+
result
|
1410
|
+
end
|
1411
|
+
|
1412
|
+
def _reduce_16(val, _values, result)
|
1413
|
+
result = [val[0].rstrip]
|
1414
|
+
result
|
1415
|
+
end
|
1416
|
+
|
1417
|
+
def _reduce_17(val, _values, result)
|
1418
|
+
# val[1] is Array of String
|
1419
|
+
content = cut_off val[1]
|
1420
|
+
result = RDoc::Markup::Verbatim.new(*content)
|
1421
|
+
|
1422
|
+
# imform to lexer.
|
1423
|
+
@in_verbatim = false
|
1424
|
+
|
1425
|
+
result
|
1426
|
+
end
|
1427
|
+
|
1428
|
+
def _reduce_18(val, _values, result)
|
1429
|
+
# val[0] is Array of String
|
1430
|
+
content = cut_off val[0]
|
1431
|
+
result = RDoc::Markup::Verbatim.new(*content)
|
1432
|
+
|
1433
|
+
# imform to lexer.
|
1434
|
+
@in_verbatim = false
|
1435
|
+
|
1436
|
+
result
|
1437
|
+
end
|
1438
|
+
|
1439
|
+
def _reduce_19(val, _values, result)
|
1440
|
+
result << val[1]
|
1441
|
+
|
1442
|
+
result
|
1443
|
+
end
|
1444
|
+
|
1445
|
+
def _reduce_20(val, _values, result)
|
1446
|
+
result.concat val[2]
|
1447
|
+
|
1448
|
+
result
|
1449
|
+
end
|
1450
|
+
|
1451
|
+
def _reduce_21(val, _values, result)
|
1452
|
+
result << "\n"
|
1453
|
+
|
1454
|
+
result
|
1455
|
+
end
|
1456
|
+
|
1457
|
+
def _reduce_22(val, _values, result)
|
1458
|
+
result = val
|
1459
|
+
# inform to lexer.
|
1460
|
+
@in_verbatim = true
|
1461
|
+
|
1462
|
+
result
|
1463
|
+
end
|
1464
|
+
|
1465
|
+
# reduce 23 omitted
|
1466
|
+
|
1467
|
+
# reduce 24 omitted
|
1468
|
+
|
1469
|
+
# reduce 25 omitted
|
1470
|
+
|
1471
|
+
# reduce 26 omitted
|
1472
|
+
|
1473
|
+
def _reduce_27(val, _values, result)
|
1474
|
+
result = val[0]
|
1475
|
+
|
1476
|
+
result
|
1477
|
+
end
|
1478
|
+
|
1479
|
+
def _reduce_28(val, _values, result)
|
1480
|
+
result = val[1]
|
1481
|
+
|
1482
|
+
result
|
1483
|
+
end
|
1484
|
+
|
1485
|
+
def _reduce_29(val, _values, result)
|
1486
|
+
result = val[1].push(val[2])
|
1487
|
+
|
1488
|
+
result
|
1489
|
+
end
|
1490
|
+
|
1491
|
+
def _reduce_30(val, _values, result)
|
1492
|
+
result = val[0] << val[1]
|
1493
|
+
result
|
1494
|
+
end
|
1495
|
+
|
1496
|
+
def _reduce_31(val, _values, result)
|
1497
|
+
result = [val[0]]
|
1498
|
+
result
|
1499
|
+
end
|
1500
|
+
|
1501
|
+
def _reduce_32(val, _values, result)
|
1502
|
+
result = RDoc::Markup::List.new :BULLET, *val[0]
|
1503
|
+
|
1504
|
+
result
|
1505
|
+
end
|
1506
|
+
|
1507
|
+
def _reduce_33(val, _values, result)
|
1508
|
+
result.push(val[1])
|
1509
|
+
result
|
1510
|
+
end
|
1511
|
+
|
1512
|
+
def _reduce_34(val, _values, result)
|
1513
|
+
result = val
|
1514
|
+
result
|
1515
|
+
end
|
1516
|
+
|
1517
|
+
def _reduce_35(val, _values, result)
|
1518
|
+
result = RDoc::Markup::ListItem.new nil, val[0], *val[1]
|
1519
|
+
|
1520
|
+
result
|
1521
|
+
end
|
1522
|
+
|
1523
|
+
def _reduce_36(val, _values, result)
|
1524
|
+
result = RDoc::Markup::List.new :NUMBER, *val[0]
|
1525
|
+
|
1526
|
+
result
|
1527
|
+
end
|
1528
|
+
|
1529
|
+
def _reduce_37(val, _values, result)
|
1530
|
+
result.push(val[1])
|
1531
|
+
result
|
1532
|
+
end
|
1533
|
+
|
1534
|
+
def _reduce_38(val, _values, result)
|
1535
|
+
result = val
|
1536
|
+
result
|
1537
|
+
end
|
1538
|
+
|
1539
|
+
def _reduce_39(val, _values, result)
|
1540
|
+
result = RDoc::Markup::ListItem.new nil, val[0], *val[1]
|
1541
|
+
|
1542
|
+
result
|
1543
|
+
end
|
1544
|
+
|
1545
|
+
def _reduce_40(val, _values, result)
|
1546
|
+
result = RDoc::Markup::List.new :NOTE, *val[0]
|
1547
|
+
|
1548
|
+
result
|
1549
|
+
end
|
1550
|
+
|
1551
|
+
def _reduce_41(val, _values, result)
|
1552
|
+
result.push(val[1])
|
1553
|
+
result
|
1554
|
+
end
|
1555
|
+
|
1556
|
+
def _reduce_42(val, _values, result)
|
1557
|
+
result = val
|
1558
|
+
result
|
1559
|
+
end
|
1560
|
+
|
1561
|
+
def _reduce_43(val, _values, result)
|
1562
|
+
term = @inline_parser.parse val[0].strip
|
1563
|
+
|
1564
|
+
result = RDoc::Markup::ListItem.new term, *val[1]
|
1565
|
+
|
1566
|
+
result
|
1567
|
+
end
|
1568
|
+
|
1569
|
+
def _reduce_44(val, _values, result)
|
1570
|
+
result = RDoc::Markup::List.new :LABEL, *val[0]
|
1571
|
+
|
1572
|
+
result
|
1573
|
+
end
|
1574
|
+
|
1575
|
+
def _reduce_45(val, _values, result)
|
1576
|
+
result.push(val[1])
|
1577
|
+
result
|
1578
|
+
end
|
1579
|
+
|
1580
|
+
def _reduce_46(val, _values, result)
|
1581
|
+
result = val
|
1582
|
+
result
|
1583
|
+
end
|
1584
|
+
|
1585
|
+
def _reduce_47(val, _values, result)
|
1586
|
+
result = RDoc::Markup::ListItem.new "<tt>#{val[0].strip}</tt>", *val[1]
|
1587
|
+
|
1588
|
+
result
|
1589
|
+
end
|
1590
|
+
|
1591
|
+
def _reduce_48(val, _values, result)
|
1592
|
+
result = [val[1]].concat(val[2])
|
1593
|
+
|
1594
|
+
result
|
1595
|
+
end
|
1596
|
+
|
1597
|
+
def _reduce_49(val, _values, result)
|
1598
|
+
result = [val[1]]
|
1599
|
+
|
1600
|
+
result
|
1601
|
+
end
|
1602
|
+
|
1603
|
+
def _reduce_50(val, _values, result)
|
1604
|
+
result = val[2]
|
1605
|
+
|
1606
|
+
result
|
1607
|
+
end
|
1608
|
+
|
1609
|
+
def _reduce_51(val, _values, result)
|
1610
|
+
result = []
|
1611
|
+
|
1612
|
+
result
|
1613
|
+
end
|
1614
|
+
|
1615
|
+
def _reduce_52(val, _values, result)
|
1616
|
+
result.concat val[1]
|
1617
|
+
result
|
1618
|
+
end
|
1619
|
+
|
1620
|
+
# reduce 53 omitted
|
1621
|
+
|
1622
|
+
def _reduce_54(val, _values, result)
|
1623
|
+
result = val
|
1624
|
+
result
|
1625
|
+
end
|
1626
|
+
|
1627
|
+
def _reduce_55(val, _values, result)
|
1628
|
+
result = val
|
1629
|
+
result
|
1630
|
+
end
|
1631
|
+
|
1632
|
+
# reduce 56 omitted
|
1633
|
+
|
1634
|
+
def _reduce_57(val, _values, result)
|
1635
|
+
result = []
|
1636
|
+
result
|
1637
|
+
end
|
1638
|
+
|
1639
|
+
# reduce 58 omitted
|
1640
|
+
|
1641
|
+
# reduce 59 omitted
|
1642
|
+
|
1643
|
+
# reduce 60 omitted
|
1644
|
+
|
1645
|
+
# reduce 61 omitted
|
1646
|
+
|
1647
|
+
def _reduce_62(val, _values, result)
|
1648
|
+
result = paragraph [val[0]].concat(val[1])
|
1649
|
+
|
1650
|
+
result
|
1651
|
+
end
|
1652
|
+
|
1653
|
+
def _reduce_63(val, _values, result)
|
1654
|
+
result = paragraph [val[0]]
|
1655
|
+
|
1656
|
+
result
|
1657
|
+
end
|
1658
|
+
|
1659
|
+
def _reduce_64(val, _values, result)
|
1660
|
+
result = paragraph [val[0]].concat(val[1])
|
1661
|
+
|
1662
|
+
result
|
1663
|
+
end
|
1664
|
+
|
1665
|
+
def _reduce_65(val, _values, result)
|
1666
|
+
result = paragraph [val[0]]
|
1667
|
+
|
1668
|
+
result
|
1669
|
+
end
|
1670
|
+
|
1671
|
+
def _reduce_66(val, _values, result)
|
1672
|
+
result = [val[0]].concat(val[1])
|
1673
|
+
|
1674
|
+
result
|
1675
|
+
end
|
1676
|
+
|
1677
|
+
def _reduce_67(val, _values, result)
|
1678
|
+
result.concat val[1]
|
1679
|
+
result
|
1680
|
+
end
|
1681
|
+
|
1682
|
+
def _reduce_68(val, _values, result)
|
1683
|
+
result = val[1]
|
1684
|
+
result
|
1685
|
+
end
|
1686
|
+
|
1687
|
+
def _reduce_69(val, _values, result)
|
1688
|
+
result = val
|
1689
|
+
result
|
1690
|
+
end
|
1691
|
+
|
1692
|
+
# reduce 70 omitted
|
1693
|
+
|
1694
|
+
def _reduce_71(val, _values, result)
|
1695
|
+
result = []
|
1696
|
+
result
|
1697
|
+
end
|
1698
|
+
|
1699
|
+
def _reduce_72(val, _values, result)
|
1700
|
+
result = []
|
1701
|
+
result
|
1702
|
+
end
|
1703
|
+
|
1704
|
+
def _reduce_none(val, _values, result)
|
1705
|
+
val[0]
|
1706
|
+
end
|
1707
|
+
|
1708
|
+
end # class BlockParser
|
1709
|
+
|
1710
|
+
end
|