dirwatch 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/bin/dirwatch +1 -1
- data/lib/dirwatch/templates/linux/latex.yml +2 -2
- data/lib/dirwatch/templates/mac/latex.yml +2 -2
- data/lib/dirwatch/templates/windows/latex.yml +1 -1
- data/lib/dirwatch/version.rb +1 -1
- data/vendor/bundle/ruby/2.5.0/bin/cc-tddium-post-worker +27 -0
- data/vendor/bundle/ruby/2.5.0/bin/codeclimate-test-reporter +27 -0
- data/vendor/bundle/ruby/2.5.0/bin/dirwatch +27 -0
- data/vendor/bundle/ruby/2.5.0/bin/htmldiff +29 -0
- data/vendor/bundle/ruby/2.5.0/bin/ldiff +29 -0
- data/vendor/bundle/ruby/2.5.0/bin/rake +27 -0
- data/vendor/bundle/ruby/2.5.0/bin/rspec +27 -0
- data/vendor/bundle/ruby/2.5.0/bin/rubocop +27 -0
- data/vendor/bundle/ruby/2.5.0/bin/ruby-parse +27 -0
- data/vendor/bundle/ruby/2.5.0/bin/ruby-rewrite +27 -0
- data/vendor/bundle/ruby/2.5.0/cache/ast-2.3.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/codeclimate-test-reporter-1.0.8.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/diff-lcs-1.3.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/docile-1.1.5.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/parser-2.4.0.2.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/powerpack-0.1.1.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rainbow-2.2.2.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rake-12.3.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-3.7.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-core-3.7.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-expectations-3.7.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-mocks-3.7.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rspec-support-3.7.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/rubocop-0.46.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/ruby-progressbar-1.9.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/simplecov-0.13.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/simplecov-html-0.10.2.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/cache/unicode-display_width-1.3.0.gem +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/rainbow-2.2.2/gem.build_complete +0 -0
- data/vendor/bundle/ruby/2.5.0/extensions/x86_64-linux/2.5.0/rainbow-2.2.2/gem_make.out +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/ast-2.3.0/CHANGELOG.md +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/ast-2.3.0/Gemfile +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/ast-2.3.0/LICENSE.MIT +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/ast-2.3.0/README.YARD.md +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/ast-2.3.0/README.md +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/ast-2.3.0/Rakefile +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/ast-2.3.0/ast.gemspec +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/ast-2.3.0/lib/ast.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/ast-2.3.0/lib/ast/node.rb +253 -0
- data/vendor/bundle/ruby/2.5.0/gems/ast-2.3.0/lib/ast/processor.rb +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/ast-2.3.0/lib/ast/processor/mixin.rb +288 -0
- data/vendor/bundle/ruby/2.5.0/gems/ast-2.3.0/lib/ast/sexp.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/ast-2.3.0/test/helper.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/ast-2.3.0/test/test_ast.rb +264 -0
- data/vendor/bundle/ruby/2.5.0/gems/codeclimate-test-reporter-1.0.8/LICENSE.txt +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/codeclimate-test-reporter-1.0.8/README.md +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/codeclimate-test-reporter-1.0.8/bin/cc-tddium-post-worker +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/codeclimate-test-reporter-1.0.8/bin/ci +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/codeclimate-test-reporter-1.0.8/bin/codeclimate-test-reporter +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/codeclimate-test-reporter-1.0.8/config/cacert.pem +3895 -0
- data/vendor/bundle/ruby/2.5.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter.rb +71 -0
- data/vendor/bundle/ruby/2.5.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/calculate_blob.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/ci.rb +106 -0
- data/vendor/bundle/ruby/2.5.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/client.rb +103 -0
- data/vendor/bundle/ruby/2.5.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/configuration.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/exception_message.rb +72 -0
- data/vendor/bundle/ruby/2.5.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/formatter.rb +104 -0
- data/vendor/bundle/ruby/2.5.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/git.rb +85 -0
- data/vendor/bundle/ruby/2.5.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/payload_validator.rb +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/post_results.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/shorten_filename.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/codeclimate-test-reporter-1.0.8/lib/code_climate/test_reporter/version.rb +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/codeclimate-test-reporter-1.0.8/lib/codeclimate-test-reporter.rb +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/Code-of-Conduct.md +74 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/Contributing.md +83 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/History.md +220 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/License.md +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/Manifest.txt +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/README.rdoc +84 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/Rakefile +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/autotest/discover.rb +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/bin/htmldiff +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/bin/ldiff +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/docs/COPYING.txt +339 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/docs/artistic.txt +127 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff-lcs.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs.rb +725 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/array.rb +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/block.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/callbacks.rb +322 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/change.rb +181 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/htmldiff.rb +149 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/hunk.rb +276 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/internals.rb +307 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/ldiff.rb +167 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/lib/diff/lcs/string.rb +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/change_spec.rb +65 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/diff_spec.rb +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/fixtures/ds1.csv +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/fixtures/ds2.csv +51 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/hunk_spec.rb +72 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/issues_spec.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/lcs_spec.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/ldiff_spec.rb +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/patch_spec.rb +422 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/sdiff_spec.rb +214 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/spec_helper.rb +321 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/traverse_balanced_spec.rb +310 -0
- data/vendor/bundle/ruby/2.5.0/gems/diff-lcs-1.3/spec/traverse_sequences_spec.rb +139 -0
- data/vendor/bundle/ruby/2.5.0/gems/docile-1.1.5/Gemfile +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/docile-1.1.5/HISTORY.md +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/docile-1.1.5/LICENSE +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/docile-1.1.5/README.md +241 -0
- data/vendor/bundle/ruby/2.5.0/gems/docile-1.1.5/Rakefile +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/docile-1.1.5/docile.gemspec +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/docile-1.1.5/lib/docile.rb +84 -0
- data/vendor/bundle/ruby/2.5.0/gems/docile-1.1.5/lib/docile/chaining_fallback_context_proxy.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/docile-1.1.5/lib/docile/execution.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/docile-1.1.5/lib/docile/fallback_context_proxy.rb +63 -0
- data/vendor/bundle/ruby/2.5.0/gems/docile-1.1.5/lib/docile/version.rb +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/docile-1.1.5/on_what.rb +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/docile-1.1.5/spec/docile_spec.rb +339 -0
- data/vendor/bundle/ruby/2.5.0/gems/docile-1.1.5/spec/spec_helper.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/CHANGELOG.md +823 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/CONTRIBUTING.md +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/Gemfile +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/LICENSE.txt +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/README.md +300 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/Rakefile +163 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/bin/ruby-parse +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/bin/ruby-rewrite +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/doc/AST_FORMAT.md +1678 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/doc/CUSTOMIZATION.md +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/doc/INTERNALS.md +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/doc/css/common.css +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/gauntlet_parser.rb +121 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser.rb +81 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/all.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/ast/node.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/ast/processor.rb +234 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/base.rb +268 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/builders/default.rb +1621 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/clobbering_error.rb +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/compatibility/ruby1_8.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/compatibility/ruby1_9.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/current.rb +90 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/diagnostic.rb +163 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/diagnostic/engine.rb +103 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/lexer.rb +21892 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/lexer.rl +2265 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/lexer/dedenter.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/lexer/explanation.rb +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/lexer/literal.rb +262 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/lexer/stack_state.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/macruby.rb +6103 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/macruby.y +2183 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/messages.rb +70 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/meta.rb +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/rewriter.rb +119 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/ruby18.rb +5647 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/ruby18.y +1927 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/ruby19.rb +6050 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/ruby19.y +2160 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/ruby20.rb +6487 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/ruby20.y +2338 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/ruby21.rb +6552 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/ruby21.y +2342 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/ruby22.rb +6585 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/ruby22.y +2349 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/ruby23.rb +6595 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/ruby23.y +2355 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/ruby24.rb +6631 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/ruby24.y +2366 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/ruby25.rb +6617 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/ruby25.y +2362 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/rubymotion.rb +6056 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/rubymotion.y +2167 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/runner.rb +246 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/runner/ruby_parse.rb +146 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/runner/ruby_rewrite.rb +99 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/source/buffer.rb +333 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/source/comment.rb +119 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/source/comment/associator.rb +208 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/source/map.rb +184 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/source/map/collection.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/source/map/condition.rb +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/source/map/constant.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/source/map/definition.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/source/map/for.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/source/map/heredoc.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/source/map/keyword.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/source/map/objc_kwarg.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/source/map/operator.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/source/map/rescue_body.rb +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/source/map/send.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/source/map/ternary.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/source/map/variable.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/source/range.rb +242 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/source/rewriter.rb +475 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/source/rewriter/action.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/static_environment.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/syntax_error.rb +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/lib/parser/version.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/parser.gemspec +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/bug_163/fixtures/input.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/bug_163/fixtures/output.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/bug_163/rewriter.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/bug_163/test_runner_rewrite.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/helper.rb +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/parse_helper.rb +264 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/racc_coverage_helper.rb +131 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/test_base.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/test_current.rb +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/test_diagnostic.rb +94 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/test_diagnostic_engine.rb +60 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/test_encoding.rb +78 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/test_lexer.rb +3414 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/test_lexer_stack_state.rb +76 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/test_parse_helper.rb +80 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/test_parser.rb +6024 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/test_source_buffer.rb +144 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/test_source_comment.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/test_source_comment_associator.rb +365 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/test_source_map.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/test_source_range.rb +125 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/test_source_rewriter.rb +539 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/test_source_rewriter_action.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/parser-2.4.0.2/test/test_static_environment.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/CHANGELOG.md +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/Gemfile +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/LICENSE.txt +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/README.md +99 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/Rakefile +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack.rb +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/array.rb +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/array/butfirst.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/array/butlast.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/enumerable.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/enumerable/average.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/enumerable/drop_last.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/enumerable/drop_last_while.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/enumerable/exactly.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/enumerable/frequencies.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/enumerable/several.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/enumerable/sum.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/enumerable/take_last.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/enumerable/take_last_while.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/hash.rb +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/hash/symbolize_keys.rb +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/numeric.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/numeric/neg.rb +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/numeric/pos.rb +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/numeric/scale.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/string.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/string/ascii_only.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/string/blank.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/string/format.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/string/remove.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/string/remove_prefix.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/string/remove_suffix.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/string/squish.rb +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/string/strip_indent.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/string/strip_margin.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/lib/powerpack/version.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/powerpack.gemspec +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/array/butfirst_spec.rb +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/array/butlast_spec.rb +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/enumerable/average_spec.rb +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/enumerable/drop_last_spec.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/enumerable/drop_last_while_spec.rb +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/enumerable/exactly_spec.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/enumerable/frequencies_spec.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/enumerable/several_spec.rb +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/enumerable/sum_spec.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/enumerable/take_last_spec.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/enumerable/take_last_while_spec.rb +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/hash/symbolize_keys_spec.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/numeric/neg_spec.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/numeric/pos_spec.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/numeric/scale_spec.rb +139 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/string/ascii_only_spec.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/string/blank_spec.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/string/format_spec.rb +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/string/remove_prefix_spec.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/string/remove_spec.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/string/remove_suffix_spec.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/string/squish_spec.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/string/strip_indent_spec.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/powerpack/string/strip_margin_spec.rb +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/powerpack-0.1.1/spec/spec_helper.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/Changelog.md +87 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/Gemfile +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/Guardfile +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/LICENSE +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/README.markdown +217 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/Rakefile +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/ext/Rakefile +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/ext/mkrf_conf.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/lib/rainbow.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/lib/rainbow/color.rb +144 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/lib/rainbow/ext/string.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/lib/rainbow/global.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/lib/rainbow/legacy.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/lib/rainbow/null_presenter.rb +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/lib/rainbow/presenter.rb +135 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/lib/rainbow/string_utils.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/lib/rainbow/version.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/lib/rainbow/wrapper.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/lib/rainbow/x11_color_names.rb +152 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/rainbow.gemspec +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/spec/integration/instance_spec.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/spec/integration/rainbow_spec.rb +160 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/spec/integration/string_spec.rb +84 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/spec/spec_helper.rb +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/spec/support/presenter_shared_examples.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/spec/unit/color_spec.rb +301 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/spec/unit/namespace_spec.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/spec/unit/null_presenter_spec.rb +111 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/spec/unit/presenter_spec.rb +201 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/spec/unit/string_utils_spec.rb +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/rainbow-2.2.2/spec/unit/wrapper_spec.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/CONTRIBUTING.rdoc +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/Gemfile +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/History.rdoc +2299 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/MIT-LICENSE +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/README.rdoc +156 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/Rakefile +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/bin/console +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/bin/setup +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/doc/command_line_usage.rdoc +158 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/doc/example/Rakefile1 +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/doc/example/Rakefile2 +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/doc/example/a.c +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/doc/example/b.c +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/doc/example/main.c +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/doc/glossary.rdoc +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/doc/jamis.rb +592 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/doc/proto_rake.rdoc +127 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/doc/rake.1 +156 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/doc/rakefile.rdoc +622 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/doc/rational.rdoc +151 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/exe/rake +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake.rb +71 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/application.rb +824 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/backtrace.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/clean.rb +78 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/cloneable.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/cpu_counter.rb +107 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/default_loader.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/dsl_definition.rb +195 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/early_time.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/ext/core.rb +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/ext/string.rb +176 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/file_creation_task.rb +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/file_list.rb +435 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/file_task.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/file_utils.rb +137 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/file_utils_ext.rb +145 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/invocation_chain.rb +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/invocation_exception_mixin.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/late_time.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/linked_list.rb +112 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/loaders/makefile.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/multi_task.rb +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/name_space.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/packagetask.rb +211 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/phony.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/private_reader.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/promise.rb +100 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/pseudo_status.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/rake_module.rb +67 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/rake_test_loader.rb +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/scope.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/task.rb +391 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/task_argument_error.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/task_arguments.rb +109 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/task_manager.rb +319 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/tasklib.rb +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/testtask.rb +224 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/thread_history_display.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/thread_pool.rb +163 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/trace_output.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/version.rb +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/lib/rake/win32.rb +51 -0
- data/vendor/bundle/ruby/2.5.0/gems/rake-12.3.0/rake.gemspec +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-3.7.0/LICENSE.md +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-3.7.0/README.md +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-3.7.0/lib/rspec.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-3.7.0/lib/rspec/version.rb +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/Changelog.md +2187 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/LICENSE.md +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/README.md +384 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/exe/rspec +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/autorun.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core.rb +185 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/backtrace_formatter.rb +65 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/bisect/coordinator.rb +66 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/bisect/example_minimizer.rb +169 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/bisect/runner.rb +169 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/bisect/server.rb +70 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/configuration.rb +2179 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/configuration_options.rb +196 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/drb.rb +113 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/dsl.rb +98 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/example.rb +653 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/example_group.rb +884 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/example_status_persister.rb +235 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/filter_manager.rb +231 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/flat_map.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters.rb +265 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/base_formatter.rb +70 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/base_text_formatter.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/bisect_formatter.rb +69 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/bisect_progress_formatter.rb +144 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/console_codes.rb +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/deprecation_formatter.rb +221 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/documentation_formatter.rb +70 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/exception_presenter.rb +496 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/fallback_message_formatter.rb +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/helpers.rb +110 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/html_formatter.rb +153 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/html_printer.rb +416 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/html_snippet_extractor.rb +120 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/json_formatter.rb +102 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/profile_formatter.rb +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/progress_formatter.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/protocol.rb +182 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/snippet_extractor.rb +134 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/formatters/syntax_highlighter.rb +91 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/hooks.rb +626 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/invocations.rb +85 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/memoized_helpers.rb +535 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/metadata.rb +499 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/metadata_filter.rb +255 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/minitest_assertions_adapter.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/mocking_adapters/flexmock.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/mocking_adapters/mocha.rb +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/mocking_adapters/null.rb +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/mocking_adapters/rr.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/mocking_adapters/rspec.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/notifications.rb +521 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/option_parser.rb +309 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/ordering.rb +158 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/output_wrapper.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/pending.rb +165 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/profiler.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/project_initializer.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/project_initializer/spec/spec_helper.rb +100 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/rake_task.rb +168 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/reporter.rb +260 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/ruby_project.rb +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/runner.rb +193 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/sandbox.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/set.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/shared_context.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/shared_example_group.rb +271 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/shell_escape.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/test_unit_assertions_adapter.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/version.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/warnings.rb +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-core-3.7.0/lib/rspec/core/world.rb +264 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/Changelog.md +1083 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/LICENSE.md +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/README.md +305 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations.rb +82 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/block_snippet_extractor.rb +253 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/configuration.rb +201 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/expectation_target.rb +127 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/fail_with.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/failure_aggregator.rb +194 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/handler.rb +170 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/minitest_integration.rb +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/syntax.rb +132 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/expectations/version.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers.rb +1031 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/aliased_matcher.rb +116 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in.rb +52 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/all.rb +85 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/base_matcher.rb +193 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/be.rb +288 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/be_between.rb +77 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/be_instance_of.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/be_kind_of.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/be_within.rb +72 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/change.rb +387 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/compound.rb +272 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/contain_exactly.rb +301 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/cover.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/eq.rb +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/eql.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/equal.rb +81 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/exist.rb +90 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/has.rb +103 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/have_attributes.rb +114 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/include.rb +143 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/match.rb +106 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/operators.rb +128 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/output.rb +200 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/raise_error.rb +230 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/respond_to.rb +165 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/satisfy.rb +60 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/start_or_end_with.rb +94 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/throw_symbol.rb +132 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/built_in/yield.rb +432 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/composable.rb +169 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/dsl.rb +527 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/english_phrasing.rb +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/expecteds_for_multiple_diffs.rb +73 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/fail_matchers.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/generated_descriptions.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/matcher_delegator.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-expectations-3.7.0/lib/rspec/matchers/matcher_protocol.rb +99 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/Changelog.md +1089 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/LICENSE.md +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/README.md +460 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks.rb +130 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance.rb +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/chain.rb +110 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/error_generator.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/expect_chain_chain.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/expectation_chain.rb +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/message_chains.rb +83 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/proxy.rb +116 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/recorder.rb +289 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/stub_chain.rb +51 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/any_instance/stub_chain_chain.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/argument_list_matcher.rb +100 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/argument_matchers.rb +320 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/configuration.rb +212 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/error_generator.rb +369 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/example_methods.rb +434 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/instance_method_stasher.rb +146 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/marshal_extension.rb +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/matchers/expectation_customization.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/matchers/have_received.rb +130 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/matchers/receive.rb +132 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/matchers/receive_message_chain.rb +82 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/matchers/receive_messages.rb +77 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/message_chain.rb +87 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/message_expectation.rb +740 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/method_double.rb +287 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/method_reference.rb +202 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/minitest_integration.rb +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/mutate_const.rb +339 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/object_reference.rb +149 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/order_group.rb +81 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/proxy.rb +484 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/space.rb +238 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/standalone.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/syntax.rb +325 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/targets.rb +124 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/test_double.rb +171 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/verifying_double.rb +129 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/verifying_message_expectation.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/verifying_proxy.rb +220 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-mocks-3.7.0/lib/rspec/mocks/version.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/Changelog.md +229 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/LICENSE.md +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/README.md +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support.rb +149 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/caller_filter.rb +83 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/comparable_version.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/differ.rb +215 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/directory_maker.rb +63 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/encoded_string.rb +165 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/fuzzy_matcher.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/hunk_generator.rb +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/matcher_definition.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/method_signature_verifier.rb +392 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/mutex.rb +73 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/object_formatter.rb +267 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/recursive_const_methods.rb +76 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/reentrant_mutex.rb +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/ruby_features.rb +162 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/source.rb +75 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/source/location.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/source/node.rb +107 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/source/token.rb +87 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/spec.rb +81 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/spec/deprecation_helpers.rb +64 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/spec/formatting_support.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/spec/in_sub_process.rb +69 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/spec/library_wide_checks.rb +150 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/spec/shell_out.rb +84 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/spec/stderr_splitter.rb +63 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/spec/string_matcher.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/spec/with_isolated_directory.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/spec/with_isolated_stderr.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/version.rb +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/rspec-support-3.7.0/lib/rspec/support/warnings.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/LICENSE.txt +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/README.md +128 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/assets/logo.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/assets/output.html.erb +261 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/bin/rubocop +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/config/default.yml +1338 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/config/disabled.yml +115 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/config/enabled.yml +1588 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop.rb +452 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/ast_node.rb +624 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/ast_node/builder.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/ast_node/sexp.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/ast_node/traversal.rb +171 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cached_data.rb +63 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cli.rb +185 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/comment_config.rb +157 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/config.rb +346 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/config_loader.rb +205 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/config_loader_resolver.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/config_store.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/autocorrect_logic.rb +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/bundler/duplicated_gem.rb +69 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/bundler/ordered_gems.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/commissioner.rb +103 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/cop.rb +304 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/corrector.rb +135 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/force.rb +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/ignored_node.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/ambiguous_operator.rb +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/ambiguous_regexp_literal.rb +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/assignment_in_condition.rb +66 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/block_alignment.rb +198 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/circular_argument_reference.rb +69 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/condition_position.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/debugger.rb +52 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/def_end_alignment.rb +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/deprecated_class_methods.rb +80 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/duplicate_case_condition.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/duplicate_methods.rb +137 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/duplicated_key.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/each_with_object_argument.rb +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/else_layout.rb +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/empty_ensure.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/empty_expression.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/empty_interpolation.rb +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/empty_when.rb +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/end_alignment.rb +137 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/end_in_method.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/ensure_return.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/eval.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/float_out_of_range.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/format_parameter_mismatch.rb +155 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/handle_exceptions.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/implicit_string_concatenation.rb +90 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/ineffective_access_modifier.rb +134 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/inherit_exception.rb +83 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/invalid_character_literal.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/literal_in_condition.rb +129 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/literal_in_interpolation.rb +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/loop.rb +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/nested_method_definition.rb +60 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/next_without_accumulator.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/non_local_exit_from_iterator.rb +77 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/parentheses_as_grouped_expression.rb +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/percent_string_array.rb +70 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/percent_symbol_array.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/rand_one.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/require_parentheses.rb +66 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/rescue_exception.rb +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/shadowed_exception.rb +131 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/shadowing_outer_local_variable.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/string_conversion_in_interpolation.rb +51 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/syntax.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/underscore_prefixed_variable_name.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/unified_integer.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/unneeded_disable.rb +207 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/unneeded_splat_expansion.rb +136 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/unreachable_code.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/unused_block_argument.rb +143 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/unused_method_argument.rb +51 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/useless_access_modifier.rb +202 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/useless_assignment.rb +113 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/useless_comparison.rb +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/useless_else_without_rescue.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/useless_setter_call.rb +150 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/lint/void.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/abc_size.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/block_length.rb +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/block_nesting.rb +52 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/class_length.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/cyclomatic_complexity.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/line_length.rb +168 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/method_length.rb +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/module_length.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/parameter_lists.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/metrics/perceived_complexity.rb +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/access_modifier_node.rb +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/annotation_comment.rb +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/array_hash_indentation.rb +82 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/array_syntax.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/autocorrect_alignment.rb +149 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/check_assignment.rb +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/classish_length.rb +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/code_length.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/configurable_enforced_style.rb +91 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/configurable_max.rb +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/configurable_naming.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/configurable_numbering.rb +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/def_node.rb +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/documentation_comment.rb +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/empty_lines_around_body.rb +161 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/end_keyword_alignment.rb +85 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/first_element_line_break.rb +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/frozen_string_literal.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/hash_node.rb +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/if_node.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/integer_node.rb +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/match_range.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/method_complexity.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/method_preference.rb +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/min_body_length.rb +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/multiline_expression_indentation.rb +191 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/multiline_literal_brace_layout.rb +152 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/negative_conditional.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/on_method_def.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/on_normal_if_unless.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/parentheses.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/parser_diagnostic.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/percent_literal.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/preceding_following_alignment.rb +89 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/safe_assignment.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/safe_mode.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/space_after_punctuation.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/space_before_punctuation.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/space_inside.rb +76 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/statement_modifier.rb +73 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/string_help.rb +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/string_literals_help.rb +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/surrounding_space.rb +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/too_many_lines.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/trailing_comma.rb +162 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/mixin/unused_argument.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/offense.rb +188 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/case_when_splat.rb +179 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/casecmp.rb +107 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/compare_with_block.rb +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/count.rb +98 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/detect.rb +106 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/double_start_end_with.rb +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/end_with.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/fixed_size.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/flat_map.rb +73 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/hash_each_methods.rb +84 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/lstrip_rstrip.rb +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/range_include.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/redundant_block_call.rb +93 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/redundant_match.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/redundant_merge.rb +152 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/redundant_sort_by.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/reverse_each.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/sample.rb +140 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/size.rb +76 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/start_with.rb +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/string_replacement.rb +175 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/performance/times_map.rb +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/action_filter.rb +96 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/date.rb +130 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/delegate.rb +106 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/delegate_allow_blank.rb +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/dynamic_find_by.rb +77 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/enum_uniqueness.rb +71 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/exit.rb +61 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/find_by.rb +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/find_each.rb +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/has_and_belongs_to_many.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/http_positional_arguments.rb +92 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/not_null_column.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/output.rb +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/output_safety.rb +58 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/pluralization_grammar.rb +105 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/read_write_attribute.rb +74 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/request_referer.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/safe_navigation.rb +88 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/save_bang.rb +155 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/scope_args.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/time_zone.rb +195 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/uniq_before_pluck.rb +90 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/rails/validation.rb +67 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/security/json_load.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/severity.rb +76 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/access_modifier_indentation.rb +80 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/accessor_method_name.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/alias.rb +119 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/align_array.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/align_hash.rb +266 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/align_parameters.rb +69 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/and_or.rb +140 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/array_join.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/ascii_comments.rb +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/ascii_identifiers.rb +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/attr.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/auto_resource_cleanup.rb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/bare_percent_literals.rb +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/begin_block.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/block_comments.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/block_delimiters.rb +230 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/block_end_newline.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/braces_around_hash_parameters.rb +113 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/case_equality.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/case_indentation.rb +89 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/character_literal.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/class_and_module_camel_case.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/class_and_module_children.rb +69 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/class_check.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/class_methods.rb +67 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/class_vars.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/closing_parenthesis_indentation.rb +87 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/collection_methods.rb +51 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/colon_method_call.rb +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/command_literal.rb +119 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/comment_annotation.rb +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/comment_indentation.rb +71 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/conditional_assignment.rb +681 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/constant_name.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/copyright.rb +89 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/def_with_parentheses.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/documentation.rb +79 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/documentation_method.rb +79 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/dot_position.rb +88 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/double_negation.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/each_for_simple_loop.rb +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/each_with_object.rb +88 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/else_alignment.rb +111 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_case_condition.rb +93 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_else.rb +140 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_line_between_defs.rb +73 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_lines.rb +60 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_lines_around_access_modifier.rb +95 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_lines_around_block_body.rb +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_lines_around_class_body.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_lines_around_method_body.rb +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_lines_around_module_body.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_literal.rb +100 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/empty_method.rb +96 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/encoding.rb +92 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/end_block.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/end_of_line.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/even_odd.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/extra_spacing.rb +237 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/file_name.rb +163 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/first_array_element_line_break.rb +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/first_hash_element_line_break.rb +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/first_method_argument_line_break.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/first_method_parameter_line_break.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/first_parameter_indentation.rb +111 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/flip_flop.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/for.rb +52 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/format_string.rb +76 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/frozen_string_literal_comment.rb +67 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/global_vars.rb +70 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/guard_clause.rb +96 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/hash_syntax.rb +232 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/identical_conditional_branches.rb +92 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/if_inside_else.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/if_unless_modifier.rb +89 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/if_unless_modifier_of_if_unless.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/if_with_semicolon.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/implicit_runtime_error.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/indent_array.rb +114 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/indent_assignment.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/indent_hash.rb +133 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/indentation_consistency.rb +51 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/indentation_width.rb +302 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/infinite_loop.rb +92 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/initial_indentation.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/inline_comment.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/lambda.rb +209 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/lambda_call.rb +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/leading_comment_space.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/line_end_concatenation.rb +115 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/method_call_parentheses.rb +78 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/method_called_on_do_end_block.rb +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/method_def_parentheses.rb +83 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/method_missing.rb +81 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/method_name.rb +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/missing_else.rb +73 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/module_function.rb +64 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_array_brace_layout.rb +81 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_assignment_layout.rb +88 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_block_chain.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_block_layout.rb +134 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_hash_brace_layout.rb +81 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_if_modifier.rb +73 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_if_then.rb +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_memoization.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_method_call_brace_layout.rb +98 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_method_call_indentation.rb +196 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_method_definition_brace_layout.rb +82 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_operation_indentation.rb +88 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/multiline_ternary_operator.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/mutable_constant.rb +63 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/negated_if.rb +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/negated_while.rb +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/nested_modifier.rb +114 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/nested_parenthesized_calls.rb +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/nested_ternary_operator.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/next.rb +223 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/nil_comparison.rb +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/non_nil_check.rb +125 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/not.rb +72 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/numeric_literal_prefix.rb +97 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/numeric_literals.rb +79 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/numeric_predicate.rb +140 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/one_line_conditional.rb +85 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/op_method.rb +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/option_hash.rb +69 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/optional_arguments.rb +62 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/parallel_assignment.rb +295 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/parentheses_around_condition.rb +60 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/percent_literal_delimiters.rb +85 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/percent_q_literals.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/perl_backrefs.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/predicate_name.rb +67 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/preferred_hash_methods.rb +78 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/proc.rb +26 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/raise_args.rb +136 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/redundant_begin.rb +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/redundant_exception.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/redundant_freeze.rb +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/redundant_parentheses.rb +177 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/redundant_return.rb +125 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/redundant_self.rb +163 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/regexp_literal.rb +114 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/rescue_ensure_alignment.rb +86 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/rescue_modifier.rb +49 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/safe_navigation.rb +138 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/self_assignment.rb +93 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/semicolon.rb +70 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/send.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/signal_exception.rb +109 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/single_line_block_params.rb +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/single_line_methods.rb +77 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_after_colon.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_after_comma.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_after_method_name.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_after_not.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_after_semicolon.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_around_block_parameters.rb +109 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_around_equals_in_parameter_default.rb +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_around_keyword.rb +225 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_around_operators.rb +136 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_before_block_braces.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_before_comma.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_before_comment.rb +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_before_first_arg.rb +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_before_semicolon.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_in_lambda_literal.rb +87 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_inside_array_percent_literal.rb +53 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_inside_block_braces.rb +158 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_inside_brackets.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_inside_hash_literal_braces.rb +150 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_inside_parens.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_inside_percent_literal_delimiters.rb +64 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_inside_range_literal.rb +63 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/space_inside_string_interpolation.rb +65 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/special_global_vars.rb +156 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/stabby_lambda_parentheses.rb +112 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/string_literals.rb +102 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/string_literals_in_interpolation.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/string_methods.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/struct_inheritance.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/symbol_array.rb +106 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/symbol_literal.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/symbol_proc.rb +143 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/tab.rb +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/ternary_parentheses.rb +172 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/trailing_blank_lines.rb +78 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/trailing_comma_in_arguments.rb +70 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/trailing_comma_in_literal.rb +56 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/trailing_underscore_variable.rb +110 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/trailing_whitespace.rb +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/trivial_accessors.rb +176 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/unless_else.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/unneeded_capital_w.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/unneeded_interpolation.rb +98 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/unneeded_percent_q.rb +96 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/variable_interpolation.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/variable_name.rb +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/variable_number.rb +78 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/when_then.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/while_until_do.rb +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/while_until_modifier.rb +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/word_array.rb +160 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/style/zero_length_predicate.rb +83 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/team.rb +189 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/util.rb +276 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/variable_force.rb +458 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/variable_force/assignment.rb +97 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/variable_force/locatable.rb +200 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/variable_force/reference.rb +51 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/variable_force/scope.rb +91 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/variable_force/variable.rb +102 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/cop/variable_force/variable_table.rb +128 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/error.rb +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/formatter/base_formatter.rb +123 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/formatter/clang_style_formatter.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/formatter/colorizable.rb +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/formatter/disabled_config_formatter.rb +180 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/formatter/disabled_lines_formatter.rb +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/formatter/emacs_style_formatter.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/formatter/file_list_formatter.rb +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/formatter/formatter_set.rb +102 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/formatter/fuubar_style_formatter.rb +80 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/formatter/html_formatter.rb +133 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/formatter/json_formatter.rb +74 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/formatter/offense_count_formatter.rb +55 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/formatter/progress_formatter.rb +63 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/formatter/simple_text_formatter.rb +134 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/formatter/text_util.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/formatter/worst_offenders_formatter.rb +60 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/name_similarity.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/node_pattern.rb +542 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/options.rb +320 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/path_util.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/processed_source.rb +151 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/rake_task.rb +86 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/remote_config.rb +66 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/result_cache.rb +176 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/rspec/cop_helper.rb +87 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/rspec/host_environment_simulation_helper.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/rspec/shared_contexts.rb +78 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/rspec/shared_examples.rb +100 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/rspec/support.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/runner.rb +323 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/string_interpreter.rb +57 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/string_util.rb +156 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/target_finder.rb +139 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/token.rb +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/version.rb +21 -0
- data/vendor/bundle/ruby/2.5.0/gems/rubocop-0.46.0/lib/rubocop/warning.rb +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/LICENSE.txt +19 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/README.md +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/Rakefile +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/base.rb +183 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/calculators/length.rb +99 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/calculators/running_average.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/components.rb +5 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/components/bar.rb +96 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/components/percentage.rb +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/components/rate.rb +43 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/components/time.rb +107 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/components/title.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/errors/invalid_progress_error.rb +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/format.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/format/formatter.rb +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/format/molecule.rb +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/format/string.rb +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/output.rb +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/outputs/non_tty.rb +47 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/outputs/null.rb +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/outputs/tty.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/progress.rb +118 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/refinements.rb +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/refinements/enumerator.rb +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/throttle.rb +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/time.rb +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/timer.rb +72 -0
- data/vendor/bundle/ruby/2.5.0/gems/ruby-progressbar-1.9.0/lib/ruby-progressbar/version.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/CHANGELOG.md +411 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/CONTRIBUTING.md +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/Gemfile +38 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/MIT-LICENSE +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/README.md +633 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/Rakefile +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/cucumber.yml +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/doc/alternate-formatters.md +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/doc/commercial-services.md +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/doc/editor-integration.md +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/config_autoload.feature +46 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/config_command_name.feature +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/config_coverage_dir.feature +33 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/config_deactivate_merging.feature +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/config_formatters.feature +77 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/config_merge_timeout.feature +39 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/config_nocov_token.feature +79 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/config_profiles.feature +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/config_project_name.feature +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/config_styles.feature +121 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/config_tracked_files.feature +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/cucumber_basic.feature +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/maximum_coverage_drop.feature +36 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/merging_test_unit_and_rspec.feature +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/minimum_coverage.feature +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/refuse_coverage_drop.feature +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/rspec_basic.feature +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/rspec_fails_on_initialization.feature +14 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/rspec_groups_and_filters_basic.feature +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/rspec_groups_and_filters_complex.feature +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/rspec_groups_using_filter_class.feature +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/rspec_without_simplecov.feature +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/skipping_code_blocks_manually.feature +70 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/step_definitions/html_steps.rb +44 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/step_definitions/simplecov_steps.rb +68 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/step_definitions/transformers.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/step_definitions/web_steps.rb +64 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/support/env.rb +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/test_unit_basic.feature +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/test_unit_groups_and_filters_basic.feature +29 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/test_unit_groups_and_filters_complex.feature +35 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/test_unit_groups_using_filter_class.feature +40 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/test_unit_without_simplecov.feature +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/features/unicode_compatiblity.feature +67 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/lib/simplecov.rb +184 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/lib/simplecov/command_guesser.rb +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/lib/simplecov/configuration.rb +296 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/lib/simplecov/defaults.rb +122 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/lib/simplecov/exit_codes.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/lib/simplecov/file_list.rb +59 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/lib/simplecov/filter.rb +54 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/lib/simplecov/formatter.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/lib/simplecov/formatter/multi_formatter.rb +32 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/lib/simplecov/formatter/simple_formatter.rb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/lib/simplecov/jruby_fix.rb +42 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/lib/simplecov/last_run.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/lib/simplecov/merge_helpers.rb +37 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/lib/simplecov/no_defaults.rb +2 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/lib/simplecov/profiles.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/lib/simplecov/railtie.rb +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/lib/simplecov/railties/tasks.rake +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/lib/simplecov/result.rb +87 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/lib/simplecov/result_merger.rb +88 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/lib/simplecov/source_file.rb +194 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/lib/simplecov/version.rb +25 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/simplecov.gemspec +27 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/1_8_fallbacks_spec.rb +31 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/command_guesser_spec.rb +48 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/deleted_source_spec.rb +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/faked_project/Gemfile +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/faked_project/Rakefile +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/faked_project/cucumber.yml +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/faked_project/features/step_definitions/my_steps.rb +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/faked_project/features/support/env.rb +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/faked_project/features/test_stuff.feature +6 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/faked_project/lib/faked_project.rb +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/faked_project/lib/faked_project/framework_specific.rb +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/faked_project/lib/faked_project/meta_magic.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/faked_project/lib/faked_project/some_class.rb +28 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/faked_project/lib/faked_project/untested_class.rb +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/faked_project/spec/faked_spec.rb +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/faked_project/spec/forking_spec.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/faked_project/spec/meta_magic_spec.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/faked_project/spec/some_class_spec.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/faked_project/spec/spec_helper.rb +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/faked_project/test/faked_test.rb +11 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/faked_project/test/meta_magic_test.rb +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/faked_project/test/some_class_test.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/faked_project/test/test_helper.rb +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/file_list_spec.rb +50 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/filters_spec.rb +98 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/fixtures/app/controllers/sample_controller.rb +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/fixtures/app/models/user.rb +10 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/fixtures/deleted_source_sample.rb +15 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/fixtures/frameworks/rspec_bad.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/fixtures/frameworks/rspec_good.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/fixtures/frameworks/testunit_bad.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/fixtures/frameworks/testunit_good.rb +9 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/fixtures/iso-8859.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/fixtures/resultset1.rb +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/fixtures/resultset2.rb +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/fixtures/sample.rb +16 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/fixtures/utf-8.rb +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/helper.rb +24 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/merge_helpers_spec.rb +126 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/multi_formatter_spec.rb +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/result_spec.rb +209 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/return_codes_spec.rb +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/source_file_line_spec.rb +155 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-0.13.0/spec/source_file_spec.rb +77 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/CHANGELOG.md +13 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/Gemfile +34 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/Guardfile +12 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/LICENSE +20 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/README.md +30 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/Rakefile +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/assets/javascripts/application.js +127 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/assets/javascripts/libraries/jquery-1.6.2.min.js +18 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/assets/javascripts/plugins/highlight.pack.js +1 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/assets/javascripts/plugins/jquery.colorbox.js +1090 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/assets/javascripts/plugins/jquery.dataTables.min.js +152 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/assets/javascripts/plugins/jquery.timeago.js +141 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/assets/javascripts/plugins/jquery.url.js +174 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/assets/stylesheets/application.css +3 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/assets/stylesheets/plugins/highlight.css +129 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/assets/stylesheets/plugins/jquery-ui-1.8.4.custom.css +295 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/assets/stylesheets/plugins/jquery.colorbox.css +52 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/assets/stylesheets/reset.css +103 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/assets/stylesheets/screen.css.sass +220 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/lib/simplecov-html.rb +110 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/lib/simplecov-html/version.rb +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/application.css +799 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/application.js +1707 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/colorbox/border.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/colorbox/controls.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/colorbox/loading.gif +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/colorbox/loading_background.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/favicon_green.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/favicon_red.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/favicon_yellow.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/loading.gif +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/magnify.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/public/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/simplecov-html.gemspec +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/test/helper.rb +4 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/test/test_simple_cov-html.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/views/file_list.erb +45 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/views/layout.erb +41 -0
- data/vendor/bundle/ruby/2.5.0/gems/simplecov-html-0.10.2/views/source_file.erb +23 -0
- data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.3.0/CHANGELOG.md +96 -0
- data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.3.0/MIT-LICENSE.txt +22 -0
- data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.3.0/README.md +120 -0
- data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.3.0/Rakefile +64 -0
- data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.3.0/data/display_width.marshal.gz +0 -0
- data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.3.0/lib/unicode/display_width.rb +51 -0
- data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.3.0/lib/unicode/display_width/constants.rb +8 -0
- data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.3.0/lib/unicode/display_width/index.rb +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.3.0/lib/unicode/display_width/no_string_ext.rb +7 -0
- data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.3.0/lib/unicode/display_width/string_ext.rb +17 -0
- data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.3.0/spec/display_width_spec.rb +156 -0
- data/vendor/bundle/ruby/2.5.0/gems/unicode-display_width-1.3.0/unicode-display_width.gemspec +18 -0
- data/vendor/bundle/ruby/2.5.0/specifications/ast-2.3.0.gemspec +59 -0
- data/vendor/bundle/ruby/2.5.0/specifications/codeclimate-test-reporter-1.0.8.gemspec +50 -0
- data/vendor/bundle/ruby/2.5.0/specifications/diff-lcs-1.3.gemspec +61 -0
- data/vendor/bundle/ruby/2.5.0/specifications/docile-1.1.5.gemspec +48 -0
- data/vendor/bundle/ruby/2.5.0/specifications/parser-2.4.0.2.gemspec +61 -0
- data/vendor/bundle/ruby/2.5.0/specifications/powerpack-0.1.1.gemspec +41 -0
- data/vendor/bundle/ruby/2.5.0/specifications/rainbow-2.2.2.gemspec +39 -0
- data/vendor/bundle/ruby/2.5.0/specifications/rake-12.3.0.gemspec +49 -0
- data/vendor/bundle/ruby/2.5.0/specifications/rspec-3.7.0.gemspec +42 -0
- data/vendor/bundle/ruby/2.5.0/specifications/rspec-core-3.7.0.gemspec +62 -0
- data/vendor/bundle/ruby/2.5.0/specifications/rspec-expectations-3.7.0.gemspec +50 -0
- data/vendor/bundle/ruby/2.5.0/specifications/rspec-mocks-3.7.0.gemspec +50 -0
- data/vendor/bundle/ruby/2.5.0/specifications/rspec-support-3.7.0.gemspec +41 -0
- data/vendor/bundle/ruby/2.5.0/specifications/rubocop-0.46.0.gemspec +51 -0
- data/vendor/bundle/ruby/2.5.0/specifications/ruby-progressbar-1.9.0.gemspec +46 -0
- data/vendor/bundle/ruby/2.5.0/specifications/simplecov-0.13.0.gemspec +42 -0
- data/vendor/bundle/ruby/2.5.0/specifications/simplecov-html-0.10.2.gemspec +33 -0
- data/vendor/bundle/ruby/2.5.0/specifications/unicode-display_width-1.3.0.gemspec +38 -0
- metadata +1244 -3
@@ -0,0 +1,2338 @@
|
|
1
|
+
class Parser::Ruby20
|
2
|
+
|
3
|
+
token kCLASS kMODULE kDEF kUNDEF kBEGIN kRESCUE kENSURE kEND kIF kUNLESS
|
4
|
+
kTHEN kELSIF kELSE kCASE kWHEN kWHILE kUNTIL kFOR kBREAK kNEXT
|
5
|
+
kREDO kRETRY kIN kDO kDO_COND kDO_BLOCK kDO_LAMBDA kRETURN kYIELD kSUPER
|
6
|
+
kSELF kNIL kTRUE kFALSE kAND kOR kNOT kIF_MOD kUNLESS_MOD kWHILE_MOD
|
7
|
+
kUNTIL_MOD kRESCUE_MOD kALIAS kDEFINED klBEGIN klEND k__LINE__
|
8
|
+
k__FILE__ k__ENCODING__ tIDENTIFIER tFID tGVAR tIVAR tCONSTANT
|
9
|
+
tLABEL tCVAR tNTH_REF tBACK_REF tSTRING_CONTENT tINTEGER tFLOAT
|
10
|
+
tUPLUS tUMINUS tUNARY_NUM tPOW tCMP tEQ tEQQ tNEQ
|
11
|
+
tGEQ tLEQ tANDOP tOROP tMATCH tNMATCH tDOT tDOT2 tDOT3 tAREF
|
12
|
+
tASET tLSHFT tRSHFT tCOLON2 tCOLON3 tOP_ASGN tASSOC tLPAREN
|
13
|
+
tLPAREN2 tRPAREN tLPAREN_ARG tLBRACK tLBRACK2 tRBRACK tLBRACE
|
14
|
+
tLBRACE_ARG tSTAR tSTAR2 tAMPER tAMPER2 tTILDE tPERCENT tDIVIDE
|
15
|
+
tDSTAR tPLUS tMINUS tLT tGT tPIPE tBANG tCARET tLCURLY tRCURLY
|
16
|
+
tBACK_REF2 tSYMBEG tSTRING_BEG tXSTRING_BEG tREGEXP_BEG tREGEXP_OPT
|
17
|
+
tWORDS_BEG tQWORDS_BEG tSYMBOLS_BEG tQSYMBOLS_BEG tSTRING_DBEG
|
18
|
+
tSTRING_DVAR tSTRING_END tSTRING_DEND tSTRING tSYMBOL
|
19
|
+
tNL tEH tCOLON tCOMMA tSPACE tSEMI tLAMBDA tLAMBEG tCHARACTER
|
20
|
+
|
21
|
+
prechigh
|
22
|
+
right tBANG tTILDE tUPLUS
|
23
|
+
right tPOW
|
24
|
+
right tUNARY_NUM tUMINUS
|
25
|
+
left tSTAR2 tDIVIDE tPERCENT
|
26
|
+
left tPLUS tMINUS
|
27
|
+
left tLSHFT tRSHFT
|
28
|
+
left tAMPER2
|
29
|
+
left tPIPE tCARET
|
30
|
+
left tGT tGEQ tLT tLEQ
|
31
|
+
nonassoc tCMP tEQ tEQQ tNEQ tMATCH tNMATCH
|
32
|
+
left tANDOP
|
33
|
+
left tOROP
|
34
|
+
nonassoc tDOT2 tDOT3
|
35
|
+
right tEH tCOLON
|
36
|
+
left kRESCUE_MOD
|
37
|
+
right tEQL tOP_ASGN
|
38
|
+
nonassoc kDEFINED
|
39
|
+
right kNOT
|
40
|
+
left kOR kAND
|
41
|
+
nonassoc kIF_MOD kUNLESS_MOD kWHILE_MOD kUNTIL_MOD
|
42
|
+
nonassoc tLBRACE_ARG
|
43
|
+
nonassoc tLOWEST
|
44
|
+
preclow
|
45
|
+
|
46
|
+
rule
|
47
|
+
|
48
|
+
program: top_compstmt
|
49
|
+
|
50
|
+
top_compstmt: top_stmts opt_terms
|
51
|
+
{
|
52
|
+
result = @builder.compstmt(val[0])
|
53
|
+
}
|
54
|
+
|
55
|
+
top_stmts: # nothing
|
56
|
+
{
|
57
|
+
result = []
|
58
|
+
}
|
59
|
+
| top_stmt
|
60
|
+
{
|
61
|
+
result = [ val[0] ]
|
62
|
+
}
|
63
|
+
| top_stmts terms top_stmt
|
64
|
+
{
|
65
|
+
result = val[0] << val[2]
|
66
|
+
}
|
67
|
+
| error top_stmt
|
68
|
+
{
|
69
|
+
result = [ val[1] ]
|
70
|
+
}
|
71
|
+
|
72
|
+
top_stmt: stmt
|
73
|
+
| klBEGIN tLCURLY top_compstmt tRCURLY
|
74
|
+
{
|
75
|
+
result = @builder.preexe(val[0], val[1], val[2], val[3])
|
76
|
+
}
|
77
|
+
|
78
|
+
bodystmt: compstmt opt_rescue opt_else opt_ensure
|
79
|
+
{
|
80
|
+
rescue_bodies = val[1]
|
81
|
+
else_t, else_ = val[2]
|
82
|
+
ensure_t, ensure_ = val[3]
|
83
|
+
|
84
|
+
if rescue_bodies.empty? && !else_.nil?
|
85
|
+
diagnostic :warning, :useless_else, nil, else_t
|
86
|
+
end
|
87
|
+
|
88
|
+
result = @builder.begin_body(val[0],
|
89
|
+
rescue_bodies,
|
90
|
+
else_t, else_,
|
91
|
+
ensure_t, ensure_)
|
92
|
+
}
|
93
|
+
|
94
|
+
compstmt: stmts opt_terms
|
95
|
+
{
|
96
|
+
result = @builder.compstmt(val[0])
|
97
|
+
}
|
98
|
+
|
99
|
+
stmts: # nothing
|
100
|
+
{
|
101
|
+
result = []
|
102
|
+
}
|
103
|
+
| stmt_or_begin
|
104
|
+
{
|
105
|
+
result = [ val[0] ]
|
106
|
+
}
|
107
|
+
| stmts terms stmt_or_begin
|
108
|
+
{
|
109
|
+
result = val[0] << val[2]
|
110
|
+
}
|
111
|
+
| error stmt
|
112
|
+
{
|
113
|
+
result = [ val[1] ]
|
114
|
+
}
|
115
|
+
|
116
|
+
stmt_or_begin: stmt
|
117
|
+
| klBEGIN tLCURLY top_compstmt tRCURLY
|
118
|
+
{
|
119
|
+
if in_def?
|
120
|
+
diagnostic :error, :begin_in_method, nil, val[0]
|
121
|
+
end
|
122
|
+
|
123
|
+
result = @builder.preexe(val[0], val[1], val[2], val[3])
|
124
|
+
}
|
125
|
+
|
126
|
+
stmt: kALIAS fitem
|
127
|
+
{
|
128
|
+
@lexer.state = :expr_fname
|
129
|
+
}
|
130
|
+
fitem
|
131
|
+
{
|
132
|
+
result = @builder.alias(val[0], val[1], val[3])
|
133
|
+
}
|
134
|
+
| kALIAS tGVAR tGVAR
|
135
|
+
{
|
136
|
+
result = @builder.alias(val[0],
|
137
|
+
@builder.gvar(val[1]),
|
138
|
+
@builder.gvar(val[2]))
|
139
|
+
}
|
140
|
+
| kALIAS tGVAR tBACK_REF
|
141
|
+
{
|
142
|
+
result = @builder.alias(val[0],
|
143
|
+
@builder.gvar(val[1]),
|
144
|
+
@builder.back_ref(val[2]))
|
145
|
+
}
|
146
|
+
| kALIAS tGVAR tNTH_REF
|
147
|
+
{
|
148
|
+
diagnostic :error, :nth_ref_alias, nil, val[2]
|
149
|
+
}
|
150
|
+
| kUNDEF undef_list
|
151
|
+
{
|
152
|
+
result = @builder.undef_method(val[0], val[1])
|
153
|
+
}
|
154
|
+
| stmt kIF_MOD expr_value
|
155
|
+
{
|
156
|
+
result = @builder.condition_mod(val[0], nil,
|
157
|
+
val[1], val[2])
|
158
|
+
}
|
159
|
+
| stmt kUNLESS_MOD expr_value
|
160
|
+
{
|
161
|
+
result = @builder.condition_mod(nil, val[0],
|
162
|
+
val[1], val[2])
|
163
|
+
}
|
164
|
+
| stmt kWHILE_MOD expr_value
|
165
|
+
{
|
166
|
+
result = @builder.loop_mod(:while, val[0], val[1], val[2])
|
167
|
+
}
|
168
|
+
| stmt kUNTIL_MOD expr_value
|
169
|
+
{
|
170
|
+
result = @builder.loop_mod(:until, val[0], val[1], val[2])
|
171
|
+
}
|
172
|
+
| stmt kRESCUE_MOD stmt
|
173
|
+
{
|
174
|
+
rescue_body = @builder.rescue_body(val[1],
|
175
|
+
nil, nil, nil,
|
176
|
+
nil, val[2])
|
177
|
+
|
178
|
+
result = @builder.begin_body(val[0], [ rescue_body ])
|
179
|
+
}
|
180
|
+
| klEND tLCURLY compstmt tRCURLY
|
181
|
+
{
|
182
|
+
result = @builder.postexe(val[0], val[1], val[2], val[3])
|
183
|
+
}
|
184
|
+
| command_asgn
|
185
|
+
| mlhs tEQL command_call
|
186
|
+
{
|
187
|
+
result = @builder.multi_assign(val[0], val[1], val[2])
|
188
|
+
}
|
189
|
+
| var_lhs tOP_ASGN command_call
|
190
|
+
{
|
191
|
+
result = @builder.op_assign(val[0], val[1], val[2])
|
192
|
+
}
|
193
|
+
| primary_value tLBRACK2 opt_call_args rbracket tOP_ASGN command_call
|
194
|
+
{
|
195
|
+
result = @builder.op_assign(
|
196
|
+
@builder.index(
|
197
|
+
val[0], val[1], val[2], val[3]),
|
198
|
+
val[4], val[5])
|
199
|
+
}
|
200
|
+
| primary_value tDOT tIDENTIFIER tOP_ASGN command_call
|
201
|
+
{
|
202
|
+
result = @builder.op_assign(
|
203
|
+
@builder.call_method(
|
204
|
+
val[0], val[1], val[2]),
|
205
|
+
val[3], val[4])
|
206
|
+
}
|
207
|
+
| primary_value tDOT tCONSTANT tOP_ASGN command_call
|
208
|
+
{
|
209
|
+
result = @builder.op_assign(
|
210
|
+
@builder.call_method(
|
211
|
+
val[0], val[1], val[2]),
|
212
|
+
val[3], val[4])
|
213
|
+
}
|
214
|
+
| primary_value tCOLON2 tCONSTANT tOP_ASGN command_call
|
215
|
+
{
|
216
|
+
const = @builder.const_op_assignable(
|
217
|
+
@builder.const_fetch(val[0], val[1], val[2]))
|
218
|
+
result = @builder.op_assign(const, val[3], val[4])
|
219
|
+
}
|
220
|
+
| primary_value tCOLON2 tIDENTIFIER tOP_ASGN command_call
|
221
|
+
{
|
222
|
+
result = @builder.op_assign(
|
223
|
+
@builder.call_method(
|
224
|
+
val[0], val[1], val[2]),
|
225
|
+
val[3], val[4])
|
226
|
+
}
|
227
|
+
| backref tOP_ASGN command_call
|
228
|
+
{
|
229
|
+
@builder.op_assign(val[0], val[1], val[2])
|
230
|
+
}
|
231
|
+
| lhs tEQL mrhs
|
232
|
+
{
|
233
|
+
result = @builder.assign(val[0], val[1],
|
234
|
+
@builder.array(nil, val[2], nil))
|
235
|
+
}
|
236
|
+
| mlhs tEQL arg_value
|
237
|
+
{
|
238
|
+
result = @builder.multi_assign(val[0], val[1], val[2])
|
239
|
+
}
|
240
|
+
| mlhs tEQL mrhs
|
241
|
+
{
|
242
|
+
result = @builder.multi_assign(val[0], val[1],
|
243
|
+
@builder.array(nil, val[2], nil))
|
244
|
+
}
|
245
|
+
| expr
|
246
|
+
|
247
|
+
command_asgn: lhs tEQL command_call
|
248
|
+
{
|
249
|
+
result = @builder.assign(val[0], val[1], val[2])
|
250
|
+
}
|
251
|
+
| lhs tEQL command_asgn
|
252
|
+
{
|
253
|
+
result = @builder.assign(val[0], val[1], val[2])
|
254
|
+
}
|
255
|
+
|
256
|
+
expr: command_call
|
257
|
+
| expr kAND expr
|
258
|
+
{
|
259
|
+
result = @builder.logical_op(:and, val[0], val[1], val[2])
|
260
|
+
}
|
261
|
+
| expr kOR expr
|
262
|
+
{
|
263
|
+
result = @builder.logical_op(:or, val[0], val[1], val[2])
|
264
|
+
}
|
265
|
+
| kNOT opt_nl expr
|
266
|
+
{
|
267
|
+
result = @builder.not_op(val[0], nil, val[2], nil)
|
268
|
+
}
|
269
|
+
| tBANG command_call
|
270
|
+
{
|
271
|
+
result = @builder.not_op(val[0], nil, val[1], nil)
|
272
|
+
}
|
273
|
+
| arg
|
274
|
+
|
275
|
+
expr_value: expr
|
276
|
+
|
277
|
+
command_call: command
|
278
|
+
| block_command
|
279
|
+
|
280
|
+
block_command: block_call
|
281
|
+
| block_call dot_or_colon operation2 command_args
|
282
|
+
{
|
283
|
+
result = @builder.call_method(val[0], val[1], val[2],
|
284
|
+
nil, val[3], nil)
|
285
|
+
}
|
286
|
+
|
287
|
+
cmd_brace_block: tLBRACE_ARG
|
288
|
+
{
|
289
|
+
@static_env.extend_dynamic
|
290
|
+
}
|
291
|
+
opt_block_param compstmt tRCURLY
|
292
|
+
{
|
293
|
+
result = [ val[0], val[2], val[3], val[4] ]
|
294
|
+
|
295
|
+
@static_env.unextend
|
296
|
+
}
|
297
|
+
|
298
|
+
fcall: operation
|
299
|
+
|
300
|
+
command: fcall command_args =tLOWEST
|
301
|
+
{
|
302
|
+
result = @builder.call_method(nil, nil, val[0],
|
303
|
+
nil, val[1], nil)
|
304
|
+
}
|
305
|
+
| fcall command_args cmd_brace_block
|
306
|
+
{
|
307
|
+
method_call = @builder.call_method(nil, nil, val[0],
|
308
|
+
nil, val[1], nil)
|
309
|
+
|
310
|
+
begin_t, args, body, end_t = val[2]
|
311
|
+
result = @builder.block(method_call,
|
312
|
+
begin_t, args, body, end_t)
|
313
|
+
}
|
314
|
+
| primary_value tDOT operation2 command_args =tLOWEST
|
315
|
+
{
|
316
|
+
result = @builder.call_method(val[0], val[1], val[2],
|
317
|
+
nil, val[3], nil)
|
318
|
+
}
|
319
|
+
| primary_value tDOT operation2 command_args cmd_brace_block
|
320
|
+
{
|
321
|
+
method_call = @builder.call_method(val[0], val[1], val[2],
|
322
|
+
nil, val[3], nil)
|
323
|
+
|
324
|
+
begin_t, args, body, end_t = val[4]
|
325
|
+
result = @builder.block(method_call,
|
326
|
+
begin_t, args, body, end_t)
|
327
|
+
}
|
328
|
+
| primary_value tCOLON2 operation2 command_args =tLOWEST
|
329
|
+
{
|
330
|
+
result = @builder.call_method(val[0], val[1], val[2],
|
331
|
+
nil, val[3], nil)
|
332
|
+
}
|
333
|
+
| primary_value tCOLON2 operation2 command_args cmd_brace_block
|
334
|
+
{
|
335
|
+
method_call = @builder.call_method(val[0], val[1], val[2],
|
336
|
+
nil, val[3], nil)
|
337
|
+
|
338
|
+
begin_t, args, body, end_t = val[4]
|
339
|
+
result = @builder.block(method_call,
|
340
|
+
begin_t, args, body, end_t)
|
341
|
+
}
|
342
|
+
| kSUPER command_args
|
343
|
+
{
|
344
|
+
result = @builder.keyword_cmd(:super, val[0],
|
345
|
+
nil, val[1], nil)
|
346
|
+
}
|
347
|
+
| kYIELD command_args
|
348
|
+
{
|
349
|
+
result = @builder.keyword_cmd(:yield, val[0],
|
350
|
+
nil, val[1], nil)
|
351
|
+
}
|
352
|
+
| kRETURN call_args
|
353
|
+
{
|
354
|
+
result = @builder.keyword_cmd(:return, val[0],
|
355
|
+
nil, val[1], nil)
|
356
|
+
}
|
357
|
+
| kBREAK call_args
|
358
|
+
{
|
359
|
+
result = @builder.keyword_cmd(:break, val[0],
|
360
|
+
nil, val[1], nil)
|
361
|
+
}
|
362
|
+
| kNEXT call_args
|
363
|
+
{
|
364
|
+
result = @builder.keyword_cmd(:next, val[0],
|
365
|
+
nil, val[1], nil)
|
366
|
+
}
|
367
|
+
|
368
|
+
mlhs: mlhs_basic
|
369
|
+
{
|
370
|
+
result = @builder.multi_lhs(nil, val[0], nil)
|
371
|
+
}
|
372
|
+
| tLPAREN mlhs_inner rparen
|
373
|
+
{
|
374
|
+
result = @builder.begin(val[0], val[1], val[2])
|
375
|
+
}
|
376
|
+
|
377
|
+
mlhs_inner: mlhs_basic
|
378
|
+
{
|
379
|
+
result = @builder.multi_lhs(nil, val[0], nil)
|
380
|
+
}
|
381
|
+
| tLPAREN mlhs_inner rparen
|
382
|
+
{
|
383
|
+
result = @builder.multi_lhs(val[0], val[1], val[2])
|
384
|
+
}
|
385
|
+
|
386
|
+
mlhs_basic: mlhs_head
|
387
|
+
| mlhs_head mlhs_item
|
388
|
+
{
|
389
|
+
result = val[0].
|
390
|
+
push(val[1])
|
391
|
+
}
|
392
|
+
| mlhs_head tSTAR mlhs_node
|
393
|
+
{
|
394
|
+
result = val[0].
|
395
|
+
push(@builder.splat(val[1], val[2]))
|
396
|
+
}
|
397
|
+
| mlhs_head tSTAR mlhs_node tCOMMA mlhs_post
|
398
|
+
{
|
399
|
+
result = val[0].
|
400
|
+
push(@builder.splat(val[1], val[2])).
|
401
|
+
concat(val[4])
|
402
|
+
}
|
403
|
+
| mlhs_head tSTAR
|
404
|
+
{
|
405
|
+
result = val[0].
|
406
|
+
push(@builder.splat(val[1]))
|
407
|
+
}
|
408
|
+
| mlhs_head tSTAR tCOMMA mlhs_post
|
409
|
+
{
|
410
|
+
result = val[0].
|
411
|
+
push(@builder.splat(val[1])).
|
412
|
+
concat(val[3])
|
413
|
+
}
|
414
|
+
| tSTAR mlhs_node
|
415
|
+
{
|
416
|
+
result = [ @builder.splat(val[0], val[1]) ]
|
417
|
+
}
|
418
|
+
| tSTAR mlhs_node tCOMMA mlhs_post
|
419
|
+
{
|
420
|
+
result = [ @builder.splat(val[0], val[1]),
|
421
|
+
*val[3] ]
|
422
|
+
}
|
423
|
+
| tSTAR
|
424
|
+
{
|
425
|
+
result = [ @builder.splat(val[0]) ]
|
426
|
+
}
|
427
|
+
| tSTAR tCOMMA mlhs_post
|
428
|
+
{
|
429
|
+
result = [ @builder.splat(val[0]),
|
430
|
+
*val[2] ]
|
431
|
+
}
|
432
|
+
|
433
|
+
mlhs_item: mlhs_node
|
434
|
+
| tLPAREN mlhs_inner rparen
|
435
|
+
{
|
436
|
+
result = @builder.begin(val[0], val[1], val[2])
|
437
|
+
}
|
438
|
+
|
439
|
+
mlhs_head: mlhs_item tCOMMA
|
440
|
+
{
|
441
|
+
result = [ val[0] ]
|
442
|
+
}
|
443
|
+
| mlhs_head mlhs_item tCOMMA
|
444
|
+
{
|
445
|
+
result = val[0] << val[1]
|
446
|
+
}
|
447
|
+
|
448
|
+
mlhs_post: mlhs_item
|
449
|
+
{
|
450
|
+
result = [ val[0] ]
|
451
|
+
}
|
452
|
+
| mlhs_post tCOMMA mlhs_item
|
453
|
+
{
|
454
|
+
result = val[0] << val[2]
|
455
|
+
}
|
456
|
+
|
457
|
+
mlhs_node: user_variable
|
458
|
+
{
|
459
|
+
result = @builder.assignable(val[0])
|
460
|
+
}
|
461
|
+
| keyword_variable
|
462
|
+
{
|
463
|
+
result = @builder.assignable(val[0])
|
464
|
+
}
|
465
|
+
| primary_value tLBRACK2 opt_call_args rbracket
|
466
|
+
{
|
467
|
+
result = @builder.index_asgn(val[0], val[1], val[2], val[3])
|
468
|
+
}
|
469
|
+
| primary_value tDOT tIDENTIFIER
|
470
|
+
{
|
471
|
+
result = @builder.attr_asgn(val[0], val[1], val[2])
|
472
|
+
}
|
473
|
+
| primary_value tCOLON2 tIDENTIFIER
|
474
|
+
{
|
475
|
+
result = @builder.attr_asgn(val[0], val[1], val[2])
|
476
|
+
}
|
477
|
+
| primary_value tDOT tCONSTANT
|
478
|
+
{
|
479
|
+
result = @builder.attr_asgn(val[0], val[1], val[2])
|
480
|
+
}
|
481
|
+
| primary_value tCOLON2 tCONSTANT
|
482
|
+
{
|
483
|
+
result = @builder.assignable(
|
484
|
+
@builder.const_fetch(val[0], val[1], val[2]))
|
485
|
+
}
|
486
|
+
| tCOLON3 tCONSTANT
|
487
|
+
{
|
488
|
+
result = @builder.assignable(
|
489
|
+
@builder.const_global(val[0], val[1]))
|
490
|
+
}
|
491
|
+
| backref
|
492
|
+
{
|
493
|
+
result = @builder.assignable(val[0])
|
494
|
+
}
|
495
|
+
|
496
|
+
lhs: user_variable
|
497
|
+
{
|
498
|
+
result = @builder.assignable(val[0])
|
499
|
+
}
|
500
|
+
| keyword_variable
|
501
|
+
{
|
502
|
+
result = @builder.assignable(val[0])
|
503
|
+
}
|
504
|
+
| primary_value tLBRACK2 opt_call_args rbracket
|
505
|
+
{
|
506
|
+
result = @builder.index_asgn(val[0], val[1], val[2], val[3])
|
507
|
+
}
|
508
|
+
| primary_value tDOT tIDENTIFIER
|
509
|
+
{
|
510
|
+
result = @builder.attr_asgn(val[0], val[1], val[2])
|
511
|
+
}
|
512
|
+
| primary_value tCOLON2 tIDENTIFIER
|
513
|
+
{
|
514
|
+
result = @builder.attr_asgn(val[0], val[1], val[2])
|
515
|
+
}
|
516
|
+
| primary_value tDOT tCONSTANT
|
517
|
+
{
|
518
|
+
result = @builder.attr_asgn(val[0], val[1], val[2])
|
519
|
+
}
|
520
|
+
| primary_value tCOLON2 tCONSTANT
|
521
|
+
{
|
522
|
+
result = @builder.assignable(
|
523
|
+
@builder.const_fetch(val[0], val[1], val[2]))
|
524
|
+
}
|
525
|
+
| tCOLON3 tCONSTANT
|
526
|
+
{
|
527
|
+
result = @builder.assignable(
|
528
|
+
@builder.const_global(val[0], val[1]))
|
529
|
+
}
|
530
|
+
| backref
|
531
|
+
{
|
532
|
+
result = @builder.assignable(val[0])
|
533
|
+
}
|
534
|
+
|
535
|
+
cname: tIDENTIFIER
|
536
|
+
{
|
537
|
+
diagnostic :error, :module_name_const, nil, val[0]
|
538
|
+
}
|
539
|
+
| tCONSTANT
|
540
|
+
|
541
|
+
cpath: tCOLON3 cname
|
542
|
+
{
|
543
|
+
result = @builder.const_global(val[0], val[1])
|
544
|
+
}
|
545
|
+
| cname
|
546
|
+
{
|
547
|
+
result = @builder.const(val[0])
|
548
|
+
}
|
549
|
+
| primary_value tCOLON2 cname
|
550
|
+
{
|
551
|
+
result = @builder.const_fetch(val[0], val[1], val[2])
|
552
|
+
}
|
553
|
+
|
554
|
+
fname: tIDENTIFIER | tCONSTANT | tFID
|
555
|
+
| op
|
556
|
+
| reswords
|
557
|
+
|
558
|
+
fsym: fname
|
559
|
+
{
|
560
|
+
result = @builder.symbol(val[0])
|
561
|
+
}
|
562
|
+
| symbol
|
563
|
+
|
564
|
+
fitem: fsym
|
565
|
+
| dsym
|
566
|
+
|
567
|
+
undef_list: fitem
|
568
|
+
{
|
569
|
+
result = [ val[0] ]
|
570
|
+
}
|
571
|
+
| undef_list tCOMMA
|
572
|
+
{
|
573
|
+
@lexer.state = :expr_fname
|
574
|
+
}
|
575
|
+
fitem
|
576
|
+
{
|
577
|
+
result = val[0] << val[3]
|
578
|
+
}
|
579
|
+
|
580
|
+
op: tPIPE | tCARET | tAMPER2 | tCMP | tEQ | tEQQ
|
581
|
+
| tMATCH | tNMATCH | tGT | tGEQ | tLT | tLEQ
|
582
|
+
| tNEQ | tLSHFT | tRSHFT | tPLUS | tMINUS | tSTAR2
|
583
|
+
| tSTAR | tDIVIDE | tPERCENT | tPOW | tBANG | tTILDE
|
584
|
+
| tUPLUS | tUMINUS | tAREF | tASET | tDSTAR | tBACK_REF2
|
585
|
+
|
586
|
+
reswords: k__LINE__ | k__FILE__ | k__ENCODING__ | klBEGIN | klEND
|
587
|
+
| kALIAS | kAND | kBEGIN | kBREAK | kCASE
|
588
|
+
| kCLASS | kDEF | kDEFINED | kDO | kELSE
|
589
|
+
| kELSIF | kEND | kENSURE | kFALSE | kFOR
|
590
|
+
| kIN | kMODULE | kNEXT | kNIL | kNOT
|
591
|
+
| kOR | kREDO | kRESCUE | kRETRY | kRETURN
|
592
|
+
| kSELF | kSUPER | kTHEN | kTRUE | kUNDEF
|
593
|
+
| kWHEN | kYIELD | kIF | kUNLESS | kWHILE
|
594
|
+
| kUNTIL
|
595
|
+
|
596
|
+
arg: lhs tEQL arg
|
597
|
+
{
|
598
|
+
result = @builder.assign(val[0], val[1], val[2])
|
599
|
+
}
|
600
|
+
| lhs tEQL arg kRESCUE_MOD arg
|
601
|
+
{
|
602
|
+
rescue_body = @builder.rescue_body(val[3],
|
603
|
+
nil, nil, nil,
|
604
|
+
nil, val[4])
|
605
|
+
|
606
|
+
rescue_ = @builder.begin_body(val[2], [ rescue_body ])
|
607
|
+
|
608
|
+
result = @builder.assign(val[0], val[1], rescue_)
|
609
|
+
}
|
610
|
+
| var_lhs tOP_ASGN arg
|
611
|
+
{
|
612
|
+
result = @builder.op_assign(val[0], val[1], val[2])
|
613
|
+
}
|
614
|
+
| var_lhs tOP_ASGN arg kRESCUE_MOD arg
|
615
|
+
{
|
616
|
+
rescue_body = @builder.rescue_body(val[3],
|
617
|
+
nil, nil, nil,
|
618
|
+
nil, val[4])
|
619
|
+
|
620
|
+
rescue_ = @builder.begin_body(val[2], [ rescue_body ])
|
621
|
+
|
622
|
+
result = @builder.op_assign(val[0], val[1], rescue_)
|
623
|
+
}
|
624
|
+
| primary_value tLBRACK2 opt_call_args rbracket tOP_ASGN arg
|
625
|
+
{
|
626
|
+
result = @builder.op_assign(
|
627
|
+
@builder.index(
|
628
|
+
val[0], val[1], val[2], val[3]),
|
629
|
+
val[4], val[5])
|
630
|
+
}
|
631
|
+
| primary_value tDOT tIDENTIFIER tOP_ASGN arg
|
632
|
+
{
|
633
|
+
result = @builder.op_assign(
|
634
|
+
@builder.call_method(
|
635
|
+
val[0], val[1], val[2]),
|
636
|
+
val[3], val[4])
|
637
|
+
}
|
638
|
+
| primary_value tDOT tCONSTANT tOP_ASGN arg
|
639
|
+
{
|
640
|
+
result = @builder.op_assign(
|
641
|
+
@builder.call_method(
|
642
|
+
val[0], val[1], val[2]),
|
643
|
+
val[3], val[4])
|
644
|
+
}
|
645
|
+
| primary_value tCOLON2 tIDENTIFIER tOP_ASGN arg
|
646
|
+
{
|
647
|
+
result = @builder.op_assign(
|
648
|
+
@builder.call_method(
|
649
|
+
val[0], val[1], val[2]),
|
650
|
+
val[3], val[4])
|
651
|
+
}
|
652
|
+
| primary_value tCOLON2 tCONSTANT tOP_ASGN arg
|
653
|
+
{
|
654
|
+
const = @builder.const_op_assignable(
|
655
|
+
@builder.const_fetch(val[0], val[1], val[2]))
|
656
|
+
result = @builder.op_assign(const, val[3], val[4])
|
657
|
+
}
|
658
|
+
| tCOLON3 tCONSTANT tOP_ASGN arg
|
659
|
+
{
|
660
|
+
const = @builder.const_op_assignable(
|
661
|
+
@builder.const_global(val[0], val[1]))
|
662
|
+
result = @builder.op_assign(const, val[2], val[3])
|
663
|
+
}
|
664
|
+
| backref tOP_ASGN arg
|
665
|
+
{
|
666
|
+
result = @builder.op_assign(val[0], val[1], val[2])
|
667
|
+
}
|
668
|
+
| arg tDOT2 arg
|
669
|
+
{
|
670
|
+
result = @builder.range_inclusive(val[0], val[1], val[2])
|
671
|
+
}
|
672
|
+
| arg tDOT3 arg
|
673
|
+
{
|
674
|
+
result = @builder.range_exclusive(val[0], val[1], val[2])
|
675
|
+
}
|
676
|
+
| arg tPLUS arg
|
677
|
+
{
|
678
|
+
result = @builder.binary_op(val[0], val[1], val[2])
|
679
|
+
}
|
680
|
+
| arg tMINUS arg
|
681
|
+
{
|
682
|
+
result = @builder.binary_op(val[0], val[1], val[2])
|
683
|
+
}
|
684
|
+
| arg tSTAR2 arg
|
685
|
+
{
|
686
|
+
result = @builder.binary_op(val[0], val[1], val[2])
|
687
|
+
}
|
688
|
+
| arg tDIVIDE arg
|
689
|
+
{
|
690
|
+
result = @builder.binary_op(val[0], val[1], val[2])
|
691
|
+
}
|
692
|
+
| arg tPERCENT arg
|
693
|
+
{
|
694
|
+
result = @builder.binary_op(val[0], val[1], val[2])
|
695
|
+
}
|
696
|
+
| arg tPOW arg
|
697
|
+
{
|
698
|
+
result = @builder.binary_op(val[0], val[1], val[2])
|
699
|
+
}
|
700
|
+
| tUNARY_NUM tINTEGER tPOW arg
|
701
|
+
{
|
702
|
+
result = @builder.unary_op(val[0],
|
703
|
+
@builder.binary_op(
|
704
|
+
@builder.integer(val[1]),
|
705
|
+
val[2], val[3]))
|
706
|
+
}
|
707
|
+
| tUNARY_NUM tFLOAT tPOW arg
|
708
|
+
{
|
709
|
+
result = @builder.unary_op(val[0],
|
710
|
+
@builder.binary_op(
|
711
|
+
@builder.float(val[1]),
|
712
|
+
val[2], val[3]))
|
713
|
+
}
|
714
|
+
| tUPLUS arg
|
715
|
+
{
|
716
|
+
result = @builder.unary_op(val[0], val[1])
|
717
|
+
}
|
718
|
+
| tUMINUS arg
|
719
|
+
{
|
720
|
+
result = @builder.unary_op(val[0], val[1])
|
721
|
+
}
|
722
|
+
| arg tPIPE arg
|
723
|
+
{
|
724
|
+
result = @builder.binary_op(val[0], val[1], val[2])
|
725
|
+
}
|
726
|
+
| arg tCARET arg
|
727
|
+
{
|
728
|
+
result = @builder.binary_op(val[0], val[1], val[2])
|
729
|
+
}
|
730
|
+
| arg tAMPER2 arg
|
731
|
+
{
|
732
|
+
result = @builder.binary_op(val[0], val[1], val[2])
|
733
|
+
}
|
734
|
+
| arg tCMP arg
|
735
|
+
{
|
736
|
+
result = @builder.binary_op(val[0], val[1], val[2])
|
737
|
+
}
|
738
|
+
| arg tGT arg
|
739
|
+
{
|
740
|
+
result = @builder.binary_op(val[0], val[1], val[2])
|
741
|
+
}
|
742
|
+
| arg tGEQ arg
|
743
|
+
{
|
744
|
+
result = @builder.binary_op(val[0], val[1], val[2])
|
745
|
+
}
|
746
|
+
| arg tLT arg
|
747
|
+
{
|
748
|
+
result = @builder.binary_op(val[0], val[1], val[2])
|
749
|
+
}
|
750
|
+
| arg tLEQ arg
|
751
|
+
{
|
752
|
+
result = @builder.binary_op(val[0], val[1], val[2])
|
753
|
+
}
|
754
|
+
| arg tEQ arg
|
755
|
+
{
|
756
|
+
result = @builder.binary_op(val[0], val[1], val[2])
|
757
|
+
}
|
758
|
+
| arg tEQQ arg
|
759
|
+
{
|
760
|
+
result = @builder.binary_op(val[0], val[1], val[2])
|
761
|
+
}
|
762
|
+
| arg tNEQ arg
|
763
|
+
{
|
764
|
+
result = @builder.binary_op(val[0], val[1], val[2])
|
765
|
+
}
|
766
|
+
| arg tMATCH arg
|
767
|
+
{
|
768
|
+
result = @builder.match_op(val[0], val[1], val[2])
|
769
|
+
}
|
770
|
+
| arg tNMATCH arg
|
771
|
+
{
|
772
|
+
result = @builder.binary_op(val[0], val[1], val[2])
|
773
|
+
}
|
774
|
+
| tBANG arg
|
775
|
+
{
|
776
|
+
result = @builder.not_op(val[0], nil, val[1], nil)
|
777
|
+
}
|
778
|
+
| tTILDE arg
|
779
|
+
{
|
780
|
+
result = @builder.unary_op(val[0], val[1])
|
781
|
+
}
|
782
|
+
| arg tLSHFT arg
|
783
|
+
{
|
784
|
+
result = @builder.binary_op(val[0], val[1], val[2])
|
785
|
+
}
|
786
|
+
| arg tRSHFT arg
|
787
|
+
{
|
788
|
+
result = @builder.binary_op(val[0], val[1], val[2])
|
789
|
+
}
|
790
|
+
| arg tANDOP arg
|
791
|
+
{
|
792
|
+
result = @builder.logical_op(:and, val[0], val[1], val[2])
|
793
|
+
}
|
794
|
+
| arg tOROP arg
|
795
|
+
{
|
796
|
+
result = @builder.logical_op(:or, val[0], val[1], val[2])
|
797
|
+
}
|
798
|
+
| kDEFINED opt_nl arg
|
799
|
+
{
|
800
|
+
result = @builder.keyword_cmd(:defined?, val[0], nil, [ val[2] ], nil)
|
801
|
+
}
|
802
|
+
|
803
|
+
| arg tEH arg opt_nl tCOLON arg
|
804
|
+
{
|
805
|
+
result = @builder.ternary(val[0], val[1],
|
806
|
+
val[2], val[4], val[5])
|
807
|
+
}
|
808
|
+
| primary
|
809
|
+
|
810
|
+
arg_value: arg
|
811
|
+
|
812
|
+
aref_args: none
|
813
|
+
| args trailer
|
814
|
+
| args tCOMMA assocs trailer
|
815
|
+
{
|
816
|
+
result = val[0] << @builder.associate(nil, val[2], nil)
|
817
|
+
}
|
818
|
+
| assocs trailer
|
819
|
+
{
|
820
|
+
result = [ @builder.associate(nil, val[0], nil) ]
|
821
|
+
}
|
822
|
+
|
823
|
+
paren_args: tLPAREN2 opt_call_args rparen
|
824
|
+
{
|
825
|
+
result = val
|
826
|
+
}
|
827
|
+
|
828
|
+
opt_paren_args: # nothing
|
829
|
+
{
|
830
|
+
result = [ nil, [], nil ]
|
831
|
+
}
|
832
|
+
| paren_args
|
833
|
+
|
834
|
+
opt_call_args: # nothing
|
835
|
+
{
|
836
|
+
result = []
|
837
|
+
}
|
838
|
+
| call_args
|
839
|
+
| args tCOMMA
|
840
|
+
| args tCOMMA assocs tCOMMA
|
841
|
+
{
|
842
|
+
result = val[0] << @builder.associate(nil, val[2], nil)
|
843
|
+
}
|
844
|
+
| assocs tCOMMA
|
845
|
+
{
|
846
|
+
result = [ @builder.associate(nil, val[0], nil) ]
|
847
|
+
}
|
848
|
+
|
849
|
+
call_args: command
|
850
|
+
{
|
851
|
+
result = [ val[0] ]
|
852
|
+
}
|
853
|
+
| args opt_block_arg
|
854
|
+
{
|
855
|
+
result = val[0].concat(val[1])
|
856
|
+
}
|
857
|
+
| assocs opt_block_arg
|
858
|
+
{
|
859
|
+
result = [ @builder.associate(nil, val[0], nil) ]
|
860
|
+
result.concat(val[1])
|
861
|
+
}
|
862
|
+
| args tCOMMA assocs opt_block_arg
|
863
|
+
{
|
864
|
+
assocs = @builder.associate(nil, val[2], nil)
|
865
|
+
result = val[0] << assocs
|
866
|
+
result.concat(val[3])
|
867
|
+
}
|
868
|
+
| block_arg
|
869
|
+
{
|
870
|
+
result = [ val[0] ]
|
871
|
+
}
|
872
|
+
|
873
|
+
command_args: {
|
874
|
+
result = @lexer.cmdarg.dup
|
875
|
+
@lexer.cmdarg.push(true)
|
876
|
+
}
|
877
|
+
call_args
|
878
|
+
{
|
879
|
+
@lexer.cmdarg = val[0]
|
880
|
+
|
881
|
+
result = val[1]
|
882
|
+
}
|
883
|
+
|
884
|
+
block_arg: tAMPER arg_value
|
885
|
+
{
|
886
|
+
result = @builder.block_pass(val[0], val[1])
|
887
|
+
}
|
888
|
+
|
889
|
+
opt_block_arg: tCOMMA block_arg
|
890
|
+
{
|
891
|
+
result = [ val[1] ]
|
892
|
+
}
|
893
|
+
| # nothing
|
894
|
+
{
|
895
|
+
result = []
|
896
|
+
}
|
897
|
+
|
898
|
+
args: arg_value
|
899
|
+
{
|
900
|
+
result = [ val[0] ]
|
901
|
+
}
|
902
|
+
| tSTAR arg_value
|
903
|
+
{
|
904
|
+
result = [ @builder.splat(val[0], val[1]) ]
|
905
|
+
}
|
906
|
+
| args tCOMMA arg_value
|
907
|
+
{
|
908
|
+
result = val[0] << val[2]
|
909
|
+
}
|
910
|
+
| args tCOMMA tSTAR arg_value
|
911
|
+
{
|
912
|
+
result = val[0] << @builder.splat(val[2], val[3])
|
913
|
+
}
|
914
|
+
|
915
|
+
mrhs: args tCOMMA arg_value
|
916
|
+
{
|
917
|
+
result = val[0] << val[2]
|
918
|
+
}
|
919
|
+
| args tCOMMA tSTAR arg_value
|
920
|
+
{
|
921
|
+
result = val[0] << @builder.splat(val[2], val[3])
|
922
|
+
}
|
923
|
+
| tSTAR arg_value
|
924
|
+
{
|
925
|
+
result = [ @builder.splat(val[0], val[1]) ]
|
926
|
+
}
|
927
|
+
|
928
|
+
primary: literal
|
929
|
+
| strings
|
930
|
+
| xstring
|
931
|
+
| regexp
|
932
|
+
| words
|
933
|
+
| qwords
|
934
|
+
| symbols
|
935
|
+
| qsymbols
|
936
|
+
| var_ref
|
937
|
+
| backref
|
938
|
+
| tFID
|
939
|
+
{
|
940
|
+
result = @builder.call_method(nil, nil, val[0])
|
941
|
+
}
|
942
|
+
| kBEGIN
|
943
|
+
{
|
944
|
+
result = @lexer.cmdarg.dup
|
945
|
+
@lexer.cmdarg.clear
|
946
|
+
}
|
947
|
+
bodystmt kEND
|
948
|
+
{
|
949
|
+
@lexer.cmdarg = val[1]
|
950
|
+
|
951
|
+
result = @builder.begin_keyword(val[0], val[2], val[3])
|
952
|
+
}
|
953
|
+
| tLPAREN_ARG
|
954
|
+
{
|
955
|
+
result = @lexer.cmdarg.dup
|
956
|
+
@lexer.cmdarg.clear
|
957
|
+
}
|
958
|
+
expr
|
959
|
+
{
|
960
|
+
@lexer.state = :expr_endarg
|
961
|
+
}
|
962
|
+
opt_nl tRPAREN
|
963
|
+
{
|
964
|
+
@lexer.cmdarg = val[1]
|
965
|
+
|
966
|
+
result = @builder.begin(val[0], val[2], val[5])
|
967
|
+
}
|
968
|
+
| tLPAREN_ARG
|
969
|
+
{
|
970
|
+
@lexer.state = :expr_endarg
|
971
|
+
}
|
972
|
+
opt_nl tRPAREN
|
973
|
+
{
|
974
|
+
result = @builder.begin(val[0], nil, val[3])
|
975
|
+
}
|
976
|
+
| tLPAREN compstmt tRPAREN
|
977
|
+
{
|
978
|
+
result = @builder.begin(val[0], val[1], val[2])
|
979
|
+
}
|
980
|
+
| primary_value tCOLON2 tCONSTANT
|
981
|
+
{
|
982
|
+
result = @builder.const_fetch(val[0], val[1], val[2])
|
983
|
+
}
|
984
|
+
| tCOLON3 tCONSTANT
|
985
|
+
{
|
986
|
+
result = @builder.const_global(val[0], val[1])
|
987
|
+
}
|
988
|
+
| tLBRACK aref_args tRBRACK
|
989
|
+
{
|
990
|
+
result = @builder.array(val[0], val[1], val[2])
|
991
|
+
}
|
992
|
+
| tLBRACE assoc_list tRCURLY
|
993
|
+
{
|
994
|
+
result = @builder.associate(val[0], val[1], val[2])
|
995
|
+
}
|
996
|
+
| kRETURN
|
997
|
+
{
|
998
|
+
result = @builder.keyword_cmd(:return, val[0])
|
999
|
+
}
|
1000
|
+
| kYIELD tLPAREN2 call_args rparen
|
1001
|
+
{
|
1002
|
+
result = @builder.keyword_cmd(:yield, val[0], val[1], val[2], val[3])
|
1003
|
+
}
|
1004
|
+
| kYIELD tLPAREN2 rparen
|
1005
|
+
{
|
1006
|
+
result = @builder.keyword_cmd(:yield, val[0], val[1], [], val[2])
|
1007
|
+
}
|
1008
|
+
| kYIELD
|
1009
|
+
{
|
1010
|
+
result = @builder.keyword_cmd(:yield, val[0])
|
1011
|
+
}
|
1012
|
+
| kDEFINED opt_nl tLPAREN2 expr rparen
|
1013
|
+
{
|
1014
|
+
result = @builder.keyword_cmd(:defined?, val[0],
|
1015
|
+
val[2], [ val[3] ], val[4])
|
1016
|
+
}
|
1017
|
+
| kNOT tLPAREN2 expr rparen
|
1018
|
+
{
|
1019
|
+
result = @builder.not_op(val[0], val[1], val[2], val[3])
|
1020
|
+
}
|
1021
|
+
| kNOT tLPAREN2 rparen
|
1022
|
+
{
|
1023
|
+
result = @builder.not_op(val[0], val[1], nil, val[2])
|
1024
|
+
}
|
1025
|
+
| fcall brace_block
|
1026
|
+
{
|
1027
|
+
method_call = @builder.call_method(nil, nil, val[0])
|
1028
|
+
|
1029
|
+
begin_t, args, body, end_t = val[1]
|
1030
|
+
result = @builder.block(method_call,
|
1031
|
+
begin_t, args, body, end_t)
|
1032
|
+
}
|
1033
|
+
| method_call
|
1034
|
+
| method_call brace_block
|
1035
|
+
{
|
1036
|
+
begin_t, args, body, end_t = val[1]
|
1037
|
+
result = @builder.block(val[0],
|
1038
|
+
begin_t, args, body, end_t)
|
1039
|
+
}
|
1040
|
+
| tLAMBDA lambda
|
1041
|
+
{
|
1042
|
+
lambda_call = @builder.call_lambda(val[0])
|
1043
|
+
|
1044
|
+
args, (begin_t, body, end_t) = val[1]
|
1045
|
+
result = @builder.block(lambda_call,
|
1046
|
+
begin_t, args, body, end_t)
|
1047
|
+
}
|
1048
|
+
| kIF expr_value then compstmt if_tail kEND
|
1049
|
+
{
|
1050
|
+
else_t, else_ = val[4]
|
1051
|
+
result = @builder.condition(val[0], val[1], val[2],
|
1052
|
+
val[3], else_t,
|
1053
|
+
else_, val[5])
|
1054
|
+
}
|
1055
|
+
| kUNLESS expr_value then compstmt opt_else kEND
|
1056
|
+
{
|
1057
|
+
else_t, else_ = val[4]
|
1058
|
+
result = @builder.condition(val[0], val[1], val[2],
|
1059
|
+
else_, else_t,
|
1060
|
+
val[3], val[5])
|
1061
|
+
}
|
1062
|
+
| kWHILE
|
1063
|
+
{
|
1064
|
+
@lexer.cond.push(true)
|
1065
|
+
}
|
1066
|
+
expr_value do
|
1067
|
+
{
|
1068
|
+
@lexer.cond.pop
|
1069
|
+
}
|
1070
|
+
compstmt kEND
|
1071
|
+
{
|
1072
|
+
result = @builder.loop(:while, val[0], val[2], val[3],
|
1073
|
+
val[5], val[6])
|
1074
|
+
}
|
1075
|
+
| kUNTIL
|
1076
|
+
{
|
1077
|
+
@lexer.cond.push(true)
|
1078
|
+
}
|
1079
|
+
expr_value do
|
1080
|
+
{
|
1081
|
+
@lexer.cond.pop
|
1082
|
+
}
|
1083
|
+
compstmt kEND
|
1084
|
+
{
|
1085
|
+
result = @builder.loop(:until, val[0], val[2], val[3],
|
1086
|
+
val[5], val[6])
|
1087
|
+
}
|
1088
|
+
| kCASE expr_value opt_terms case_body kEND
|
1089
|
+
{
|
1090
|
+
*when_bodies, (else_t, else_body) = *val[3]
|
1091
|
+
|
1092
|
+
result = @builder.case(val[0], val[1],
|
1093
|
+
when_bodies, else_t, else_body,
|
1094
|
+
val[4])
|
1095
|
+
}
|
1096
|
+
| kCASE opt_terms case_body kEND
|
1097
|
+
{
|
1098
|
+
*when_bodies, (else_t, else_body) = *val[2]
|
1099
|
+
|
1100
|
+
result = @builder.case(val[0], nil,
|
1101
|
+
when_bodies, else_t, else_body,
|
1102
|
+
val[3])
|
1103
|
+
}
|
1104
|
+
| kFOR for_var kIN
|
1105
|
+
{
|
1106
|
+
@lexer.cond.push(true)
|
1107
|
+
}
|
1108
|
+
expr_value do
|
1109
|
+
{
|
1110
|
+
@lexer.cond.pop
|
1111
|
+
}
|
1112
|
+
compstmt kEND
|
1113
|
+
{
|
1114
|
+
result = @builder.for(val[0], val[1],
|
1115
|
+
val[2], val[4],
|
1116
|
+
val[5], val[7], val[8])
|
1117
|
+
}
|
1118
|
+
| kCLASS cpath superclass
|
1119
|
+
{
|
1120
|
+
@static_env.extend_static
|
1121
|
+
@lexer.push_cmdarg
|
1122
|
+
}
|
1123
|
+
bodystmt kEND
|
1124
|
+
{
|
1125
|
+
if in_def?
|
1126
|
+
diagnostic :error, :class_in_def, nil, val[0]
|
1127
|
+
end
|
1128
|
+
|
1129
|
+
lt_t, superclass = val[2]
|
1130
|
+
result = @builder.def_class(val[0], val[1],
|
1131
|
+
lt_t, superclass,
|
1132
|
+
val[4], val[5])
|
1133
|
+
|
1134
|
+
@lexer.pop_cmdarg
|
1135
|
+
@static_env.unextend
|
1136
|
+
}
|
1137
|
+
| kCLASS tLSHFT expr term
|
1138
|
+
{
|
1139
|
+
result = @def_level
|
1140
|
+
@def_level = 0
|
1141
|
+
|
1142
|
+
@static_env.extend_static
|
1143
|
+
@lexer.push_cmdarg
|
1144
|
+
}
|
1145
|
+
bodystmt kEND
|
1146
|
+
{
|
1147
|
+
result = @builder.def_sclass(val[0], val[1], val[2],
|
1148
|
+
val[5], val[6])
|
1149
|
+
|
1150
|
+
@lexer.pop_cmdarg
|
1151
|
+
@static_env.unextend
|
1152
|
+
|
1153
|
+
@def_level = val[4]
|
1154
|
+
}
|
1155
|
+
| kMODULE cpath
|
1156
|
+
{
|
1157
|
+
@static_env.extend_static
|
1158
|
+
@lexer.push_cmdarg
|
1159
|
+
}
|
1160
|
+
bodystmt kEND
|
1161
|
+
{
|
1162
|
+
if in_def?
|
1163
|
+
diagnostic :error, :module_in_def, nil, val[0]
|
1164
|
+
end
|
1165
|
+
|
1166
|
+
result = @builder.def_module(val[0], val[1],
|
1167
|
+
val[3], val[4])
|
1168
|
+
|
1169
|
+
@lexer.pop_cmdarg
|
1170
|
+
@static_env.unextend
|
1171
|
+
}
|
1172
|
+
| kDEF fname
|
1173
|
+
{
|
1174
|
+
@def_level += 1
|
1175
|
+
@static_env.extend_static
|
1176
|
+
@lexer.push_cmdarg
|
1177
|
+
}
|
1178
|
+
f_arglist bodystmt kEND
|
1179
|
+
{
|
1180
|
+
result = @builder.def_method(val[0], val[1],
|
1181
|
+
val[3], val[4], val[5])
|
1182
|
+
|
1183
|
+
@lexer.pop_cmdarg
|
1184
|
+
@static_env.unextend
|
1185
|
+
@def_level -= 1
|
1186
|
+
}
|
1187
|
+
| kDEF singleton dot_or_colon
|
1188
|
+
{
|
1189
|
+
@lexer.state = :expr_fname
|
1190
|
+
}
|
1191
|
+
fname
|
1192
|
+
{
|
1193
|
+
@def_level += 1
|
1194
|
+
@static_env.extend_static
|
1195
|
+
@lexer.push_cmdarg
|
1196
|
+
}
|
1197
|
+
f_arglist bodystmt kEND
|
1198
|
+
{
|
1199
|
+
result = @builder.def_singleton(val[0], val[1], val[2],
|
1200
|
+
val[4], val[6], val[7], val[8])
|
1201
|
+
|
1202
|
+
@lexer.pop_cmdarg
|
1203
|
+
@static_env.unextend
|
1204
|
+
@def_level -= 1
|
1205
|
+
}
|
1206
|
+
| kBREAK
|
1207
|
+
{
|
1208
|
+
result = @builder.keyword_cmd(:break, val[0])
|
1209
|
+
}
|
1210
|
+
| kNEXT
|
1211
|
+
{
|
1212
|
+
result = @builder.keyword_cmd(:next, val[0])
|
1213
|
+
}
|
1214
|
+
| kREDO
|
1215
|
+
{
|
1216
|
+
result = @builder.keyword_cmd(:redo, val[0])
|
1217
|
+
}
|
1218
|
+
| kRETRY
|
1219
|
+
{
|
1220
|
+
result = @builder.keyword_cmd(:retry, val[0])
|
1221
|
+
}
|
1222
|
+
|
1223
|
+
primary_value: primary
|
1224
|
+
|
1225
|
+
then: term
|
1226
|
+
| kTHEN
|
1227
|
+
| term kTHEN
|
1228
|
+
{
|
1229
|
+
result = val[1]
|
1230
|
+
}
|
1231
|
+
|
1232
|
+
do: term
|
1233
|
+
| kDO_COND
|
1234
|
+
|
1235
|
+
if_tail: opt_else
|
1236
|
+
| kELSIF expr_value then compstmt if_tail
|
1237
|
+
{
|
1238
|
+
else_t, else_ = val[4]
|
1239
|
+
result = [ val[0],
|
1240
|
+
@builder.condition(val[0], val[1], val[2],
|
1241
|
+
val[3], else_t,
|
1242
|
+
else_, nil),
|
1243
|
+
]
|
1244
|
+
}
|
1245
|
+
|
1246
|
+
opt_else: none
|
1247
|
+
| kELSE compstmt
|
1248
|
+
{
|
1249
|
+
result = val
|
1250
|
+
}
|
1251
|
+
|
1252
|
+
for_var: lhs
|
1253
|
+
| mlhs
|
1254
|
+
|
1255
|
+
f_marg: f_norm_arg
|
1256
|
+
{
|
1257
|
+
@static_env.declare val[0][0]
|
1258
|
+
|
1259
|
+
result = @builder.arg(val[0])
|
1260
|
+
}
|
1261
|
+
| tLPAREN f_margs rparen
|
1262
|
+
{
|
1263
|
+
result = @builder.multi_lhs(val[0], val[1], val[2])
|
1264
|
+
}
|
1265
|
+
|
1266
|
+
f_marg_list: f_marg
|
1267
|
+
{
|
1268
|
+
result = [ val[0] ]
|
1269
|
+
}
|
1270
|
+
| f_marg_list tCOMMA f_marg
|
1271
|
+
{
|
1272
|
+
result = val[0] << val[2]
|
1273
|
+
}
|
1274
|
+
|
1275
|
+
f_margs: f_marg_list
|
1276
|
+
| f_marg_list tCOMMA tSTAR f_norm_arg
|
1277
|
+
{
|
1278
|
+
@static_env.declare val[3][0]
|
1279
|
+
|
1280
|
+
result = val[0].
|
1281
|
+
push(@builder.restarg(val[2], val[3]))
|
1282
|
+
}
|
1283
|
+
| f_marg_list tCOMMA tSTAR f_norm_arg tCOMMA f_marg_list
|
1284
|
+
{
|
1285
|
+
@static_env.declare val[3][0]
|
1286
|
+
|
1287
|
+
result = val[0].
|
1288
|
+
push(@builder.restarg(val[2], val[3])).
|
1289
|
+
concat(val[5])
|
1290
|
+
}
|
1291
|
+
| f_marg_list tCOMMA tSTAR
|
1292
|
+
{
|
1293
|
+
result = val[0].
|
1294
|
+
push(@builder.restarg(val[2]))
|
1295
|
+
}
|
1296
|
+
| f_marg_list tCOMMA tSTAR tCOMMA f_marg_list
|
1297
|
+
{
|
1298
|
+
result = val[0].
|
1299
|
+
push(@builder.restarg(val[2])).
|
1300
|
+
concat(val[4])
|
1301
|
+
}
|
1302
|
+
| tSTAR f_norm_arg
|
1303
|
+
{
|
1304
|
+
@static_env.declare val[1][0]
|
1305
|
+
|
1306
|
+
result = [ @builder.restarg(val[0], val[1]) ]
|
1307
|
+
}
|
1308
|
+
| tSTAR f_norm_arg tCOMMA f_marg_list
|
1309
|
+
{
|
1310
|
+
@static_env.declare val[1][0]
|
1311
|
+
|
1312
|
+
result = [ @builder.restarg(val[0], val[1]),
|
1313
|
+
*val[3] ]
|
1314
|
+
}
|
1315
|
+
| tSTAR
|
1316
|
+
{
|
1317
|
+
result = [ @builder.restarg(val[0]) ]
|
1318
|
+
}
|
1319
|
+
| tSTAR tCOMMA f_marg_list
|
1320
|
+
{
|
1321
|
+
result = [ @builder.restarg(val[0]),
|
1322
|
+
*val[2] ]
|
1323
|
+
}
|
1324
|
+
|
1325
|
+
block_args_tail: f_block_kwarg tCOMMA f_kwrest opt_f_block_arg
|
1326
|
+
{
|
1327
|
+
result = val[0].concat(val[2]).concat(val[3])
|
1328
|
+
}
|
1329
|
+
| f_block_kwarg opt_f_block_arg
|
1330
|
+
{
|
1331
|
+
result = val[0].concat(val[1])
|
1332
|
+
}
|
1333
|
+
| f_kwrest opt_f_block_arg
|
1334
|
+
{
|
1335
|
+
result = val[0].concat(val[1])
|
1336
|
+
}
|
1337
|
+
| f_block_arg
|
1338
|
+
{
|
1339
|
+
result = [ val[0] ]
|
1340
|
+
}
|
1341
|
+
|
1342
|
+
opt_block_args_tail:
|
1343
|
+
tCOMMA block_args_tail
|
1344
|
+
{
|
1345
|
+
result = val[1]
|
1346
|
+
}
|
1347
|
+
| # nothing
|
1348
|
+
{
|
1349
|
+
result = []
|
1350
|
+
}
|
1351
|
+
|
1352
|
+
block_param: f_arg tCOMMA f_block_optarg tCOMMA f_rest_arg opt_block_args_tail
|
1353
|
+
{
|
1354
|
+
result = val[0].
|
1355
|
+
concat(val[2]).
|
1356
|
+
concat(val[4]).
|
1357
|
+
concat(val[5])
|
1358
|
+
}
|
1359
|
+
| f_arg tCOMMA f_block_optarg tCOMMA f_rest_arg tCOMMA f_arg opt_block_args_tail
|
1360
|
+
{
|
1361
|
+
result = val[0].
|
1362
|
+
concat(val[2]).
|
1363
|
+
concat(val[4]).
|
1364
|
+
concat(val[6]).
|
1365
|
+
concat(val[7])
|
1366
|
+
}
|
1367
|
+
| f_arg tCOMMA f_block_optarg opt_block_args_tail
|
1368
|
+
{
|
1369
|
+
result = val[0].
|
1370
|
+
concat(val[2]).
|
1371
|
+
concat(val[3])
|
1372
|
+
}
|
1373
|
+
| f_arg tCOMMA f_block_optarg tCOMMA f_arg opt_block_args_tail
|
1374
|
+
{
|
1375
|
+
result = val[0].
|
1376
|
+
concat(val[2]).
|
1377
|
+
concat(val[4]).
|
1378
|
+
concat(val[5])
|
1379
|
+
}
|
1380
|
+
| f_arg tCOMMA f_rest_arg opt_block_args_tail
|
1381
|
+
{
|
1382
|
+
result = val[0].
|
1383
|
+
concat(val[2]).
|
1384
|
+
concat(val[3])
|
1385
|
+
}
|
1386
|
+
| f_arg tCOMMA
|
1387
|
+
| f_arg tCOMMA f_rest_arg tCOMMA f_arg opt_block_args_tail
|
1388
|
+
{
|
1389
|
+
result = val[0].
|
1390
|
+
concat(val[2]).
|
1391
|
+
concat(val[4]).
|
1392
|
+
concat(val[5])
|
1393
|
+
}
|
1394
|
+
| f_arg opt_block_args_tail
|
1395
|
+
{
|
1396
|
+
if val[1].empty? && val[0].size == 1
|
1397
|
+
result = [@builder.procarg0(val[0][0])]
|
1398
|
+
else
|
1399
|
+
result = val[0].concat(val[1])
|
1400
|
+
end
|
1401
|
+
}
|
1402
|
+
| f_block_optarg tCOMMA f_rest_arg opt_block_args_tail
|
1403
|
+
{
|
1404
|
+
result = val[0].
|
1405
|
+
concat(val[2]).
|
1406
|
+
concat(val[3])
|
1407
|
+
}
|
1408
|
+
| f_block_optarg tCOMMA f_rest_arg tCOMMA f_arg opt_block_args_tail
|
1409
|
+
{
|
1410
|
+
result = val[0].
|
1411
|
+
concat(val[2]).
|
1412
|
+
concat(val[4]).
|
1413
|
+
concat(val[5])
|
1414
|
+
}
|
1415
|
+
| f_block_optarg opt_block_args_tail
|
1416
|
+
{
|
1417
|
+
result = val[0].
|
1418
|
+
concat(val[1])
|
1419
|
+
}
|
1420
|
+
| f_block_optarg tCOMMA f_arg opt_block_args_tail
|
1421
|
+
{
|
1422
|
+
result = val[0].
|
1423
|
+
concat(val[2]).
|
1424
|
+
concat(val[3])
|
1425
|
+
}
|
1426
|
+
| f_rest_arg opt_block_args_tail
|
1427
|
+
{
|
1428
|
+
result = val[0].
|
1429
|
+
concat(val[1])
|
1430
|
+
}
|
1431
|
+
| f_rest_arg tCOMMA f_arg opt_block_args_tail
|
1432
|
+
{
|
1433
|
+
result = val[0].
|
1434
|
+
concat(val[2]).
|
1435
|
+
concat(val[3])
|
1436
|
+
}
|
1437
|
+
| block_args_tail
|
1438
|
+
|
1439
|
+
opt_block_param: # nothing
|
1440
|
+
{
|
1441
|
+
result = @builder.args(nil, [], nil)
|
1442
|
+
}
|
1443
|
+
| block_param_def
|
1444
|
+
{
|
1445
|
+
@lexer.state = :expr_value
|
1446
|
+
}
|
1447
|
+
|
1448
|
+
block_param_def: tPIPE opt_bv_decl tPIPE
|
1449
|
+
{
|
1450
|
+
result = @builder.args(val[0], val[1], val[2])
|
1451
|
+
}
|
1452
|
+
| tOROP
|
1453
|
+
{
|
1454
|
+
result = @builder.args(val[0], [], val[0])
|
1455
|
+
}
|
1456
|
+
| tPIPE block_param opt_bv_decl tPIPE
|
1457
|
+
{
|
1458
|
+
result = @builder.args(val[0], val[1].concat(val[2]), val[3])
|
1459
|
+
}
|
1460
|
+
|
1461
|
+
opt_bv_decl: opt_nl
|
1462
|
+
{
|
1463
|
+
result = []
|
1464
|
+
}
|
1465
|
+
| opt_nl tSEMI bv_decls opt_nl
|
1466
|
+
{
|
1467
|
+
result = val[2]
|
1468
|
+
}
|
1469
|
+
|
1470
|
+
bv_decls: bvar
|
1471
|
+
{
|
1472
|
+
result = [ val[0] ]
|
1473
|
+
}
|
1474
|
+
| bv_decls tCOMMA bvar
|
1475
|
+
{
|
1476
|
+
result = val[0] << val[2]
|
1477
|
+
}
|
1478
|
+
|
1479
|
+
bvar: tIDENTIFIER
|
1480
|
+
{
|
1481
|
+
@static_env.declare val[0][0]
|
1482
|
+
result = @builder.shadowarg(val[0])
|
1483
|
+
}
|
1484
|
+
| f_bad_arg
|
1485
|
+
|
1486
|
+
lambda: {
|
1487
|
+
@static_env.extend_dynamic
|
1488
|
+
}
|
1489
|
+
f_larglist lambda_body
|
1490
|
+
{
|
1491
|
+
result = [ val[1], val[2] ]
|
1492
|
+
|
1493
|
+
@static_env.unextend
|
1494
|
+
}
|
1495
|
+
|
1496
|
+
f_larglist: tLPAREN2 f_args opt_bv_decl tRPAREN
|
1497
|
+
{
|
1498
|
+
result = @builder.args(val[0], val[1].concat(val[2]), val[3])
|
1499
|
+
}
|
1500
|
+
| f_args
|
1501
|
+
{
|
1502
|
+
result = @builder.args(nil, val[0], nil)
|
1503
|
+
}
|
1504
|
+
|
1505
|
+
lambda_body: tLAMBEG compstmt tRCURLY
|
1506
|
+
{
|
1507
|
+
result = [ val[0], val[1], val[2] ]
|
1508
|
+
}
|
1509
|
+
| kDO_LAMBDA compstmt kEND
|
1510
|
+
{
|
1511
|
+
result = [ val[0], val[1], val[2] ]
|
1512
|
+
}
|
1513
|
+
|
1514
|
+
do_block: kDO_BLOCK
|
1515
|
+
{
|
1516
|
+
@static_env.extend_dynamic
|
1517
|
+
}
|
1518
|
+
opt_block_param compstmt kEND
|
1519
|
+
{
|
1520
|
+
result = [ val[0], val[2], val[3], val[4] ]
|
1521
|
+
|
1522
|
+
@static_env.unextend
|
1523
|
+
}
|
1524
|
+
|
1525
|
+
block_call: command do_block
|
1526
|
+
{
|
1527
|
+
begin_t, block_args, body, end_t = val[1]
|
1528
|
+
result = @builder.block(val[0],
|
1529
|
+
begin_t, block_args, body, end_t)
|
1530
|
+
}
|
1531
|
+
| block_call dot_or_colon operation2 opt_paren_args
|
1532
|
+
{
|
1533
|
+
lparen_t, args, rparen_t = val[3]
|
1534
|
+
result = @builder.call_method(val[0], val[1], val[2],
|
1535
|
+
lparen_t, args, rparen_t)
|
1536
|
+
}
|
1537
|
+
| block_call dot_or_colon operation2 opt_paren_args brace_block
|
1538
|
+
{
|
1539
|
+
lparen_t, args, rparen_t = val[3]
|
1540
|
+
method_call = @builder.call_method(val[0], val[1], val[2],
|
1541
|
+
lparen_t, args, rparen_t)
|
1542
|
+
|
1543
|
+
begin_t, args, body, end_t = val[4]
|
1544
|
+
result = @builder.block(method_call,
|
1545
|
+
begin_t, args, body, end_t)
|
1546
|
+
}
|
1547
|
+
| block_call dot_or_colon operation2 command_args do_block
|
1548
|
+
{
|
1549
|
+
method_call = @builder.call_method(val[0], val[1], val[2],
|
1550
|
+
nil, val[3], nil)
|
1551
|
+
|
1552
|
+
begin_t, args, body, end_t = val[4]
|
1553
|
+
result = @builder.block(method_call,
|
1554
|
+
begin_t, args, body, end_t)
|
1555
|
+
}
|
1556
|
+
|
1557
|
+
method_call: fcall paren_args
|
1558
|
+
{
|
1559
|
+
lparen_t, args, rparen_t = val[1]
|
1560
|
+
result = @builder.call_method(nil, nil, val[0],
|
1561
|
+
lparen_t, args, rparen_t)
|
1562
|
+
}
|
1563
|
+
| primary_value tDOT operation2 opt_paren_args
|
1564
|
+
{
|
1565
|
+
lparen_t, args, rparen_t = val[3]
|
1566
|
+
result = @builder.call_method(val[0], val[1], val[2],
|
1567
|
+
lparen_t, args, rparen_t)
|
1568
|
+
}
|
1569
|
+
| primary_value tCOLON2 operation2 paren_args
|
1570
|
+
{
|
1571
|
+
lparen_t, args, rparen_t = val[3]
|
1572
|
+
result = @builder.call_method(val[0], val[1], val[2],
|
1573
|
+
lparen_t, args, rparen_t)
|
1574
|
+
}
|
1575
|
+
| primary_value tCOLON2 operation3
|
1576
|
+
{
|
1577
|
+
result = @builder.call_method(val[0], val[1], val[2])
|
1578
|
+
}
|
1579
|
+
| primary_value tDOT paren_args
|
1580
|
+
{
|
1581
|
+
lparen_t, args, rparen_t = val[2]
|
1582
|
+
result = @builder.call_method(val[0], val[1], nil,
|
1583
|
+
lparen_t, args, rparen_t)
|
1584
|
+
}
|
1585
|
+
| primary_value tCOLON2 paren_args
|
1586
|
+
{
|
1587
|
+
lparen_t, args, rparen_t = val[2]
|
1588
|
+
result = @builder.call_method(val[0], val[1], nil,
|
1589
|
+
lparen_t, args, rparen_t)
|
1590
|
+
}
|
1591
|
+
| kSUPER paren_args
|
1592
|
+
{
|
1593
|
+
lparen_t, args, rparen_t = val[1]
|
1594
|
+
result = @builder.keyword_cmd(:super, val[0],
|
1595
|
+
lparen_t, args, rparen_t)
|
1596
|
+
}
|
1597
|
+
| kSUPER
|
1598
|
+
{
|
1599
|
+
result = @builder.keyword_cmd(:zsuper, val[0])
|
1600
|
+
}
|
1601
|
+
| primary_value tLBRACK2 opt_call_args rbracket
|
1602
|
+
{
|
1603
|
+
result = @builder.index(val[0], val[1], val[2], val[3])
|
1604
|
+
}
|
1605
|
+
|
1606
|
+
brace_block: tLCURLY
|
1607
|
+
{
|
1608
|
+
@static_env.extend_dynamic
|
1609
|
+
}
|
1610
|
+
opt_block_param compstmt tRCURLY
|
1611
|
+
{
|
1612
|
+
result = [ val[0], val[2], val[3], val[4] ]
|
1613
|
+
|
1614
|
+
@static_env.unextend
|
1615
|
+
}
|
1616
|
+
| kDO
|
1617
|
+
{
|
1618
|
+
@static_env.extend_dynamic
|
1619
|
+
}
|
1620
|
+
opt_block_param compstmt kEND
|
1621
|
+
{
|
1622
|
+
result = [ val[0], val[2], val[3], val[4] ]
|
1623
|
+
|
1624
|
+
@static_env.unextend
|
1625
|
+
}
|
1626
|
+
|
1627
|
+
case_body: kWHEN args then compstmt cases
|
1628
|
+
{
|
1629
|
+
result = [ @builder.when(val[0], val[1], val[2], val[3]),
|
1630
|
+
*val[4] ]
|
1631
|
+
}
|
1632
|
+
|
1633
|
+
cases: opt_else
|
1634
|
+
{
|
1635
|
+
result = [ val[0] ]
|
1636
|
+
}
|
1637
|
+
| case_body
|
1638
|
+
|
1639
|
+
opt_rescue: kRESCUE exc_list exc_var then compstmt opt_rescue
|
1640
|
+
{
|
1641
|
+
assoc_t, exc_var = val[2]
|
1642
|
+
|
1643
|
+
if val[1]
|
1644
|
+
exc_list = @builder.array(nil, val[1], nil)
|
1645
|
+
end
|
1646
|
+
|
1647
|
+
result = [ @builder.rescue_body(val[0],
|
1648
|
+
exc_list, assoc_t, exc_var,
|
1649
|
+
val[3], val[4]),
|
1650
|
+
*val[5] ]
|
1651
|
+
}
|
1652
|
+
|
|
1653
|
+
{
|
1654
|
+
result = []
|
1655
|
+
}
|
1656
|
+
|
1657
|
+
exc_list: arg_value
|
1658
|
+
{
|
1659
|
+
result = [ val[0] ]
|
1660
|
+
}
|
1661
|
+
| mrhs
|
1662
|
+
| none
|
1663
|
+
|
1664
|
+
exc_var: tASSOC lhs
|
1665
|
+
{
|
1666
|
+
result = [ val[0], val[1] ]
|
1667
|
+
}
|
1668
|
+
| none
|
1669
|
+
|
1670
|
+
opt_ensure: kENSURE compstmt
|
1671
|
+
{
|
1672
|
+
result = [ val[0], val[1] ]
|
1673
|
+
}
|
1674
|
+
| none
|
1675
|
+
|
1676
|
+
literal: numeric
|
1677
|
+
| symbol
|
1678
|
+
| dsym
|
1679
|
+
|
1680
|
+
strings: string
|
1681
|
+
{
|
1682
|
+
result = @builder.string_compose(nil, val[0], nil)
|
1683
|
+
}
|
1684
|
+
|
1685
|
+
string: string1
|
1686
|
+
{
|
1687
|
+
result = [ val[0] ]
|
1688
|
+
}
|
1689
|
+
| string string1
|
1690
|
+
{
|
1691
|
+
result = val[0] << val[1]
|
1692
|
+
}
|
1693
|
+
|
1694
|
+
string1: tSTRING_BEG string_contents tSTRING_END
|
1695
|
+
{
|
1696
|
+
result = @builder.string_compose(val[0], val[1], val[2])
|
1697
|
+
}
|
1698
|
+
| tSTRING
|
1699
|
+
{
|
1700
|
+
result = @builder.string(val[0])
|
1701
|
+
}
|
1702
|
+
| tCHARACTER
|
1703
|
+
{
|
1704
|
+
result = @builder.character(val[0])
|
1705
|
+
}
|
1706
|
+
|
1707
|
+
xstring: tXSTRING_BEG xstring_contents tSTRING_END
|
1708
|
+
{
|
1709
|
+
result = @builder.xstring_compose(val[0], val[1], val[2])
|
1710
|
+
}
|
1711
|
+
|
1712
|
+
regexp: tREGEXP_BEG regexp_contents tSTRING_END tREGEXP_OPT
|
1713
|
+
{
|
1714
|
+
opts = @builder.regexp_options(val[3])
|
1715
|
+
result = @builder.regexp_compose(val[0], val[1], val[2], opts)
|
1716
|
+
}
|
1717
|
+
|
1718
|
+
words: tWORDS_BEG word_list tSTRING_END
|
1719
|
+
{
|
1720
|
+
result = @builder.words_compose(val[0], val[1], val[2])
|
1721
|
+
}
|
1722
|
+
|
1723
|
+
word_list: # nothing
|
1724
|
+
{
|
1725
|
+
result = []
|
1726
|
+
}
|
1727
|
+
| word_list word tSPACE
|
1728
|
+
{
|
1729
|
+
result = val[0] << @builder.word(val[1])
|
1730
|
+
}
|
1731
|
+
|
1732
|
+
word: string_content
|
1733
|
+
{
|
1734
|
+
result = [ val[0] ]
|
1735
|
+
}
|
1736
|
+
| word string_content
|
1737
|
+
{
|
1738
|
+
result = val[0] << val[1]
|
1739
|
+
}
|
1740
|
+
|
1741
|
+
symbols: tSYMBOLS_BEG symbol_list tSTRING_END
|
1742
|
+
{
|
1743
|
+
result = @builder.symbols_compose(val[0], val[1], val[2])
|
1744
|
+
}
|
1745
|
+
|
1746
|
+
symbol_list: # nothing
|
1747
|
+
{
|
1748
|
+
result = []
|
1749
|
+
}
|
1750
|
+
| symbol_list word tSPACE
|
1751
|
+
{
|
1752
|
+
result = val[0] << @builder.word(val[1])
|
1753
|
+
}
|
1754
|
+
|
1755
|
+
qwords: tQWORDS_BEG qword_list tSTRING_END
|
1756
|
+
{
|
1757
|
+
result = @builder.words_compose(val[0], val[1], val[2])
|
1758
|
+
}
|
1759
|
+
|
1760
|
+
qsymbols: tQSYMBOLS_BEG qsym_list tSTRING_END
|
1761
|
+
{
|
1762
|
+
result = @builder.symbols_compose(val[0], val[1], val[2])
|
1763
|
+
}
|
1764
|
+
|
1765
|
+
qword_list: # nothing
|
1766
|
+
{
|
1767
|
+
result = []
|
1768
|
+
}
|
1769
|
+
| qword_list tSTRING_CONTENT tSPACE
|
1770
|
+
{
|
1771
|
+
result = val[0] << @builder.string_internal(val[1])
|
1772
|
+
}
|
1773
|
+
|
1774
|
+
qsym_list: # nothing
|
1775
|
+
{
|
1776
|
+
result = []
|
1777
|
+
}
|
1778
|
+
| qsym_list tSTRING_CONTENT tSPACE
|
1779
|
+
{
|
1780
|
+
result = val[0] << @builder.symbol_internal(val[1])
|
1781
|
+
}
|
1782
|
+
|
1783
|
+
string_contents: # nothing
|
1784
|
+
{
|
1785
|
+
result = []
|
1786
|
+
}
|
1787
|
+
| string_contents string_content
|
1788
|
+
{
|
1789
|
+
result = val[0] << val[1]
|
1790
|
+
}
|
1791
|
+
|
1792
|
+
xstring_contents: # nothing
|
1793
|
+
{
|
1794
|
+
result = []
|
1795
|
+
}
|
1796
|
+
| xstring_contents string_content
|
1797
|
+
{
|
1798
|
+
result = val[0] << val[1]
|
1799
|
+
}
|
1800
|
+
|
1801
|
+
regexp_contents: # nothing
|
1802
|
+
{
|
1803
|
+
result = []
|
1804
|
+
}
|
1805
|
+
| regexp_contents string_content
|
1806
|
+
{
|
1807
|
+
result = val[0] << val[1]
|
1808
|
+
}
|
1809
|
+
|
1810
|
+
string_content: tSTRING_CONTENT
|
1811
|
+
{
|
1812
|
+
result = @builder.string_internal(val[0])
|
1813
|
+
}
|
1814
|
+
| tSTRING_DVAR string_dvar
|
1815
|
+
{
|
1816
|
+
result = val[1]
|
1817
|
+
}
|
1818
|
+
| tSTRING_DBEG
|
1819
|
+
{
|
1820
|
+
@lexer.cond.push(false)
|
1821
|
+
@lexer.cmdarg.push(false)
|
1822
|
+
}
|
1823
|
+
compstmt tSTRING_DEND
|
1824
|
+
{
|
1825
|
+
@lexer.cond.lexpop
|
1826
|
+
@lexer.cmdarg.lexpop
|
1827
|
+
|
1828
|
+
result = @builder.begin(val[0], val[2], val[3])
|
1829
|
+
}
|
1830
|
+
|
1831
|
+
string_dvar: tGVAR
|
1832
|
+
{
|
1833
|
+
result = @builder.gvar(val[0])
|
1834
|
+
}
|
1835
|
+
| tIVAR
|
1836
|
+
{
|
1837
|
+
result = @builder.ivar(val[0])
|
1838
|
+
}
|
1839
|
+
| tCVAR
|
1840
|
+
{
|
1841
|
+
result = @builder.cvar(val[0])
|
1842
|
+
}
|
1843
|
+
| backref
|
1844
|
+
|
1845
|
+
|
1846
|
+
symbol: tSYMBOL
|
1847
|
+
{
|
1848
|
+
result = @builder.symbol(val[0])
|
1849
|
+
}
|
1850
|
+
|
1851
|
+
dsym: tSYMBEG xstring_contents tSTRING_END
|
1852
|
+
{
|
1853
|
+
result = @builder.symbol_compose(val[0], val[1], val[2])
|
1854
|
+
}
|
1855
|
+
|
1856
|
+
numeric: tINTEGER
|
1857
|
+
{
|
1858
|
+
result = @builder.integer(val[0])
|
1859
|
+
}
|
1860
|
+
| tFLOAT
|
1861
|
+
{
|
1862
|
+
result = @builder.float(val[0])
|
1863
|
+
}
|
1864
|
+
| tUNARY_NUM tINTEGER =tLOWEST
|
1865
|
+
{
|
1866
|
+
num = @builder.integer(val[1])
|
1867
|
+
if @builder.respond_to? :negate
|
1868
|
+
# AST builder interface compatibility
|
1869
|
+
result = @builder.negate(val[0], num)
|
1870
|
+
else
|
1871
|
+
result = @builder.unary_num(val[0], num)
|
1872
|
+
end
|
1873
|
+
}
|
1874
|
+
| tUNARY_NUM tFLOAT =tLOWEST
|
1875
|
+
{
|
1876
|
+
num = @builder.float(val[1])
|
1877
|
+
if @builder.respond_to? :negate
|
1878
|
+
# AST builder interface compatibility
|
1879
|
+
result = @builder.negate(val[0], num)
|
1880
|
+
else
|
1881
|
+
result = @builder.unary_num(val[0], num)
|
1882
|
+
end
|
1883
|
+
}
|
1884
|
+
|
1885
|
+
user_variable: tIDENTIFIER
|
1886
|
+
{
|
1887
|
+
result = @builder.ident(val[0])
|
1888
|
+
}
|
1889
|
+
| tIVAR
|
1890
|
+
{
|
1891
|
+
result = @builder.ivar(val[0])
|
1892
|
+
}
|
1893
|
+
| tGVAR
|
1894
|
+
{
|
1895
|
+
result = @builder.gvar(val[0])
|
1896
|
+
}
|
1897
|
+
| tCONSTANT
|
1898
|
+
{
|
1899
|
+
result = @builder.const(val[0])
|
1900
|
+
}
|
1901
|
+
| tCVAR
|
1902
|
+
{
|
1903
|
+
result = @builder.cvar(val[0])
|
1904
|
+
}
|
1905
|
+
|
1906
|
+
keyword_variable: kNIL
|
1907
|
+
{
|
1908
|
+
result = @builder.nil(val[0])
|
1909
|
+
}
|
1910
|
+
| kSELF
|
1911
|
+
{
|
1912
|
+
result = @builder.self(val[0])
|
1913
|
+
}
|
1914
|
+
| kTRUE
|
1915
|
+
{
|
1916
|
+
result = @builder.true(val[0])
|
1917
|
+
}
|
1918
|
+
| kFALSE
|
1919
|
+
{
|
1920
|
+
result = @builder.false(val[0])
|
1921
|
+
}
|
1922
|
+
| k__FILE__
|
1923
|
+
{
|
1924
|
+
result = @builder.__FILE__(val[0])
|
1925
|
+
}
|
1926
|
+
| k__LINE__
|
1927
|
+
{
|
1928
|
+
result = @builder.__LINE__(val[0])
|
1929
|
+
}
|
1930
|
+
| k__ENCODING__
|
1931
|
+
{
|
1932
|
+
result = @builder.__ENCODING__(val[0])
|
1933
|
+
}
|
1934
|
+
|
1935
|
+
var_ref: user_variable
|
1936
|
+
{
|
1937
|
+
result = @builder.accessible(val[0])
|
1938
|
+
}
|
1939
|
+
| keyword_variable
|
1940
|
+
{
|
1941
|
+
result = @builder.accessible(val[0])
|
1942
|
+
}
|
1943
|
+
|
1944
|
+
var_lhs: user_variable
|
1945
|
+
{
|
1946
|
+
result = @builder.assignable(val[0])
|
1947
|
+
}
|
1948
|
+
| keyword_variable
|
1949
|
+
{
|
1950
|
+
result = @builder.assignable(val[0])
|
1951
|
+
}
|
1952
|
+
|
1953
|
+
backref: tNTH_REF
|
1954
|
+
{
|
1955
|
+
result = @builder.nth_ref(val[0])
|
1956
|
+
}
|
1957
|
+
| tBACK_REF
|
1958
|
+
{
|
1959
|
+
result = @builder.back_ref(val[0])
|
1960
|
+
}
|
1961
|
+
|
1962
|
+
superclass: term
|
1963
|
+
{
|
1964
|
+
result = nil
|
1965
|
+
}
|
1966
|
+
| tLT
|
1967
|
+
{
|
1968
|
+
@lexer.state = :expr_value
|
1969
|
+
}
|
1970
|
+
expr_value term
|
1971
|
+
{
|
1972
|
+
result = [ val[0], val[2] ]
|
1973
|
+
}
|
1974
|
+
| error term
|
1975
|
+
{
|
1976
|
+
yyerrok
|
1977
|
+
result = nil
|
1978
|
+
}
|
1979
|
+
|
1980
|
+
f_arglist: tLPAREN2 f_args rparen
|
1981
|
+
{
|
1982
|
+
result = @builder.args(val[0], val[1], val[2])
|
1983
|
+
|
1984
|
+
@lexer.state = :expr_value
|
1985
|
+
}
|
1986
|
+
| f_args term
|
1987
|
+
{
|
1988
|
+
result = @builder.args(nil, val[0], nil)
|
1989
|
+
}
|
1990
|
+
|
1991
|
+
args_tail: f_kwarg tCOMMA f_kwrest opt_f_block_arg
|
1992
|
+
{
|
1993
|
+
result = val[0].concat(val[2]).concat(val[3])
|
1994
|
+
}
|
1995
|
+
| f_kwarg opt_f_block_arg
|
1996
|
+
{
|
1997
|
+
result = val[0].concat(val[1])
|
1998
|
+
}
|
1999
|
+
| f_kwrest opt_f_block_arg
|
2000
|
+
{
|
2001
|
+
result = val[0].concat(val[1])
|
2002
|
+
}
|
2003
|
+
| f_block_arg
|
2004
|
+
{
|
2005
|
+
result = [ val[0] ]
|
2006
|
+
}
|
2007
|
+
|
2008
|
+
opt_args_tail: tCOMMA args_tail
|
2009
|
+
{
|
2010
|
+
result = val[1]
|
2011
|
+
}
|
2012
|
+
| # nothing
|
2013
|
+
{
|
2014
|
+
result = []
|
2015
|
+
}
|
2016
|
+
|
2017
|
+
f_args: f_arg tCOMMA f_optarg tCOMMA f_rest_arg opt_args_tail
|
2018
|
+
{
|
2019
|
+
result = val[0].
|
2020
|
+
concat(val[2]).
|
2021
|
+
concat(val[4]).
|
2022
|
+
concat(val[5])
|
2023
|
+
}
|
2024
|
+
| f_arg tCOMMA f_optarg tCOMMA f_rest_arg tCOMMA f_arg opt_args_tail
|
2025
|
+
{
|
2026
|
+
result = val[0].
|
2027
|
+
concat(val[2]).
|
2028
|
+
concat(val[4]).
|
2029
|
+
concat(val[6]).
|
2030
|
+
concat(val[7])
|
2031
|
+
}
|
2032
|
+
| f_arg tCOMMA f_optarg opt_args_tail
|
2033
|
+
{
|
2034
|
+
result = val[0].
|
2035
|
+
concat(val[2]).
|
2036
|
+
concat(val[3])
|
2037
|
+
}
|
2038
|
+
| f_arg tCOMMA f_optarg tCOMMA f_arg opt_args_tail
|
2039
|
+
{
|
2040
|
+
result = val[0].
|
2041
|
+
concat(val[2]).
|
2042
|
+
concat(val[4]).
|
2043
|
+
concat(val[5])
|
2044
|
+
}
|
2045
|
+
| f_arg tCOMMA f_rest_arg opt_args_tail
|
2046
|
+
{
|
2047
|
+
result = val[0].
|
2048
|
+
concat(val[2]).
|
2049
|
+
concat(val[3])
|
2050
|
+
}
|
2051
|
+
| f_arg tCOMMA f_rest_arg tCOMMA f_arg opt_args_tail
|
2052
|
+
{
|
2053
|
+
result = val[0].
|
2054
|
+
concat(val[2]).
|
2055
|
+
concat(val[4]).
|
2056
|
+
concat(val[5])
|
2057
|
+
}
|
2058
|
+
| f_arg opt_args_tail
|
2059
|
+
{
|
2060
|
+
result = val[0].
|
2061
|
+
concat(val[1])
|
2062
|
+
}
|
2063
|
+
| f_optarg tCOMMA f_rest_arg opt_args_tail
|
2064
|
+
{
|
2065
|
+
result = val[0].
|
2066
|
+
concat(val[2]).
|
2067
|
+
concat(val[3])
|
2068
|
+
}
|
2069
|
+
| f_optarg tCOMMA f_rest_arg tCOMMA f_arg opt_args_tail
|
2070
|
+
{
|
2071
|
+
result = val[0].
|
2072
|
+
concat(val[2]).
|
2073
|
+
concat(val[4]).
|
2074
|
+
concat(val[5])
|
2075
|
+
}
|
2076
|
+
| f_optarg opt_args_tail
|
2077
|
+
{
|
2078
|
+
result = val[0].
|
2079
|
+
concat(val[1])
|
2080
|
+
}
|
2081
|
+
| f_optarg tCOMMA f_arg opt_args_tail
|
2082
|
+
{
|
2083
|
+
result = val[0].
|
2084
|
+
concat(val[2]).
|
2085
|
+
concat(val[3])
|
2086
|
+
}
|
2087
|
+
| f_rest_arg opt_args_tail
|
2088
|
+
{
|
2089
|
+
result = val[0].
|
2090
|
+
concat(val[1])
|
2091
|
+
}
|
2092
|
+
| f_rest_arg tCOMMA f_arg opt_args_tail
|
2093
|
+
{
|
2094
|
+
result = val[0].
|
2095
|
+
concat(val[2]).
|
2096
|
+
concat(val[3])
|
2097
|
+
}
|
2098
|
+
| args_tail
|
2099
|
+
{
|
2100
|
+
result = val[0]
|
2101
|
+
}
|
2102
|
+
| # nothing
|
2103
|
+
{
|
2104
|
+
result = []
|
2105
|
+
}
|
2106
|
+
|
2107
|
+
f_bad_arg: tCONSTANT
|
2108
|
+
{
|
2109
|
+
diagnostic :error, :argument_const, nil, val[0]
|
2110
|
+
}
|
2111
|
+
| tIVAR
|
2112
|
+
{
|
2113
|
+
diagnostic :error, :argument_ivar, nil, val[0]
|
2114
|
+
}
|
2115
|
+
| tGVAR
|
2116
|
+
{
|
2117
|
+
diagnostic :error, :argument_gvar, nil, val[0]
|
2118
|
+
}
|
2119
|
+
| tCVAR
|
2120
|
+
{
|
2121
|
+
diagnostic :error, :argument_cvar, nil, val[0]
|
2122
|
+
}
|
2123
|
+
|
2124
|
+
f_norm_arg: f_bad_arg
|
2125
|
+
| tIDENTIFIER
|
2126
|
+
|
2127
|
+
f_arg_item: f_norm_arg
|
2128
|
+
{
|
2129
|
+
@static_env.declare val[0][0]
|
2130
|
+
|
2131
|
+
result = @builder.arg(val[0])
|
2132
|
+
}
|
2133
|
+
| tLPAREN f_margs rparen
|
2134
|
+
{
|
2135
|
+
result = @builder.multi_lhs(val[0], val[1], val[2])
|
2136
|
+
}
|
2137
|
+
|
2138
|
+
f_arg: f_arg_item
|
2139
|
+
{
|
2140
|
+
result = [ val[0] ]
|
2141
|
+
}
|
2142
|
+
| f_arg tCOMMA f_arg_item
|
2143
|
+
{
|
2144
|
+
result = val[0] << val[2]
|
2145
|
+
}
|
2146
|
+
|
2147
|
+
f_kw: tLABEL arg_value
|
2148
|
+
{
|
2149
|
+
check_kwarg_name(val[0])
|
2150
|
+
|
2151
|
+
@static_env.declare val[0][0]
|
2152
|
+
|
2153
|
+
result = @builder.kwoptarg(val[0], val[1])
|
2154
|
+
}
|
2155
|
+
|
2156
|
+
f_block_kw: tLABEL primary_value
|
2157
|
+
{
|
2158
|
+
check_kwarg_name(val[0])
|
2159
|
+
|
2160
|
+
@static_env.declare val[0][0]
|
2161
|
+
|
2162
|
+
result = @builder.kwoptarg(val[0], val[1])
|
2163
|
+
}
|
2164
|
+
|
2165
|
+
f_block_kwarg: f_block_kw
|
2166
|
+
{
|
2167
|
+
result = [ val[0] ]
|
2168
|
+
}
|
2169
|
+
| f_block_kwarg tCOMMA f_block_kw
|
2170
|
+
{
|
2171
|
+
result = val[0] << val[2]
|
2172
|
+
}
|
2173
|
+
|
2174
|
+
f_kwarg: f_kw
|
2175
|
+
{
|
2176
|
+
result = [ val[0] ]
|
2177
|
+
}
|
2178
|
+
| f_kwarg tCOMMA f_kw
|
2179
|
+
{
|
2180
|
+
result = val[0] << val[2]
|
2181
|
+
}
|
2182
|
+
|
2183
|
+
kwrest_mark: tPOW | tDSTAR
|
2184
|
+
|
2185
|
+
f_kwrest: kwrest_mark tIDENTIFIER
|
2186
|
+
{
|
2187
|
+
@static_env.declare val[1][0]
|
2188
|
+
|
2189
|
+
result = [ @builder.kwrestarg(val[0], val[1]) ]
|
2190
|
+
}
|
2191
|
+
| kwrest_mark
|
2192
|
+
{
|
2193
|
+
result = [ @builder.kwrestarg(val[0]) ]
|
2194
|
+
}
|
2195
|
+
|
2196
|
+
f_opt: tIDENTIFIER tEQL arg_value
|
2197
|
+
{
|
2198
|
+
@static_env.declare val[0][0]
|
2199
|
+
|
2200
|
+
result = @builder.optarg(val[0], val[1], val[2])
|
2201
|
+
}
|
2202
|
+
|
2203
|
+
f_block_opt: tIDENTIFIER tEQL primary_value
|
2204
|
+
{
|
2205
|
+
@static_env.declare val[0][0]
|
2206
|
+
|
2207
|
+
result = @builder.optarg(val[0], val[1], val[2])
|
2208
|
+
}
|
2209
|
+
|
2210
|
+
f_block_optarg: f_block_opt
|
2211
|
+
{
|
2212
|
+
result = [ val[0] ]
|
2213
|
+
}
|
2214
|
+
| f_block_optarg tCOMMA f_block_opt
|
2215
|
+
{
|
2216
|
+
result = val[0] << val[2]
|
2217
|
+
}
|
2218
|
+
|
2219
|
+
f_optarg: f_opt
|
2220
|
+
{
|
2221
|
+
result = [ val[0] ]
|
2222
|
+
}
|
2223
|
+
| f_optarg tCOMMA f_opt
|
2224
|
+
{
|
2225
|
+
result = val[0] << val[2]
|
2226
|
+
}
|
2227
|
+
|
2228
|
+
restarg_mark: tSTAR2 | tSTAR
|
2229
|
+
|
2230
|
+
f_rest_arg: restarg_mark tIDENTIFIER
|
2231
|
+
{
|
2232
|
+
@static_env.declare val[1][0]
|
2233
|
+
|
2234
|
+
result = [ @builder.restarg(val[0], val[1]) ]
|
2235
|
+
}
|
2236
|
+
| restarg_mark
|
2237
|
+
{
|
2238
|
+
result = [ @builder.restarg(val[0]) ]
|
2239
|
+
}
|
2240
|
+
|
2241
|
+
blkarg_mark: tAMPER2 | tAMPER
|
2242
|
+
|
2243
|
+
f_block_arg: blkarg_mark tIDENTIFIER
|
2244
|
+
{
|
2245
|
+
@static_env.declare val[1][0]
|
2246
|
+
|
2247
|
+
result = @builder.blockarg(val[0], val[1])
|
2248
|
+
}
|
2249
|
+
|
2250
|
+
opt_f_block_arg: tCOMMA f_block_arg
|
2251
|
+
{
|
2252
|
+
result = [ val[1] ]
|
2253
|
+
}
|
2254
|
+
|
|
2255
|
+
{
|
2256
|
+
result = []
|
2257
|
+
}
|
2258
|
+
|
2259
|
+
singleton: var_ref
|
2260
|
+
| tLPAREN2 expr rparen
|
2261
|
+
{
|
2262
|
+
result = val[1]
|
2263
|
+
}
|
2264
|
+
|
2265
|
+
assoc_list: # nothing
|
2266
|
+
{
|
2267
|
+
result = []
|
2268
|
+
}
|
2269
|
+
| assocs trailer
|
2270
|
+
|
2271
|
+
assocs: assoc
|
2272
|
+
{
|
2273
|
+
result = [ val[0] ]
|
2274
|
+
}
|
2275
|
+
| assocs tCOMMA assoc
|
2276
|
+
{
|
2277
|
+
result = val[0] << val[2]
|
2278
|
+
}
|
2279
|
+
|
2280
|
+
assoc: arg_value tASSOC arg_value
|
2281
|
+
{
|
2282
|
+
result = @builder.pair(val[0], val[1], val[2])
|
2283
|
+
}
|
2284
|
+
| tLABEL arg_value
|
2285
|
+
{
|
2286
|
+
result = @builder.pair_keyword(val[0], val[1])
|
2287
|
+
}
|
2288
|
+
| tDSTAR arg_value
|
2289
|
+
{
|
2290
|
+
result = @builder.kwsplat(val[0], val[1])
|
2291
|
+
}
|
2292
|
+
|
2293
|
+
operation: tIDENTIFIER | tCONSTANT | tFID
|
2294
|
+
operation2: tIDENTIFIER | tCONSTANT | tFID | op
|
2295
|
+
operation3: tIDENTIFIER | tFID | op
|
2296
|
+
dot_or_colon: tDOT | tCOLON2
|
2297
|
+
opt_terms: | terms
|
2298
|
+
opt_nl: | tNL
|
2299
|
+
rparen: opt_nl tRPAREN
|
2300
|
+
{
|
2301
|
+
result = val[1]
|
2302
|
+
}
|
2303
|
+
rbracket: opt_nl tRBRACK
|
2304
|
+
{
|
2305
|
+
result = val[1]
|
2306
|
+
}
|
2307
|
+
trailer: | tNL | tCOMMA
|
2308
|
+
|
2309
|
+
term: tSEMI
|
2310
|
+
{
|
2311
|
+
yyerrok
|
2312
|
+
}
|
2313
|
+
| tNL
|
2314
|
+
|
2315
|
+
terms: term
|
2316
|
+
| terms tSEMI
|
2317
|
+
|
2318
|
+
none: # nothing
|
2319
|
+
{
|
2320
|
+
result = nil
|
2321
|
+
}
|
2322
|
+
end
|
2323
|
+
|
2324
|
+
---- header
|
2325
|
+
|
2326
|
+
require 'parser'
|
2327
|
+
|
2328
|
+
Parser.check_for_encoding_support
|
2329
|
+
|
2330
|
+
---- inner
|
2331
|
+
|
2332
|
+
def version
|
2333
|
+
20
|
2334
|
+
end
|
2335
|
+
|
2336
|
+
def default_encoding
|
2337
|
+
Encoding::UTF_8
|
2338
|
+
end
|