@appthreat/atom-parsetools 1.1.4 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/astgen.js +1067 -101
- package/package.json +9 -11
- package/plugins/bin/ruby_ast_gen +1 -1
- package/plugins/composer/installed.php +6 -6
- package/plugins/rubyastgen/Gemfile +3 -3
- package/plugins/rubyastgen/Gemfile.lock +7 -7
- package/plugins/rubyastgen/bundle/bundler/setup.rb +4 -4
- package/plugins/rubyastgen/bundle/ruby/4.0.0/bundler/gems/{ruby_ast_gen-e58f82cd4b36 → ruby_ast_gen-cc312ebf06b4}/exe/ruby_ast_gen +4 -1
- package/plugins/rubyastgen/bundle/ruby/4.0.0/bundler/gems/{ruby_ast_gen-e58f82cd4b36 → ruby_ast_gen-cc312ebf06b4}/lib/ruby_ast_gen/node_handling.rb +24 -8
- package/plugins/rubyastgen/bundle/ruby/4.0.0/bundler/gems/{ruby_ast_gen-e58f82cd4b36 → ruby_ast_gen-cc312ebf06b4}/lib/ruby_ast_gen/version.rb +1 -1
- package/plugins/rubyastgen/bundle/ruby/4.0.0/bundler/gems/{ruby_ast_gen-e58f82cd4b36 → ruby_ast_gen-cc312ebf06b4}/lib/ruby_ast_gen.rb +63 -14
- package/plugins/rubyastgen/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/{prism-1.7.0 → prism-1.9.0}/gem_make.out +12 -12
- package/plugins/rubyastgen/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/{prism-1.7.0 → prism-1.9.0}/mkmf.log +6 -6
- package/plugins/rubyastgen/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/prism-1.9.0/prism/prism.so +0 -0
- package/plugins/rubyastgen/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/racc-1.8.1/gem_make.out +5 -5
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/current.rb +2 -2
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/meta.rb +1 -1
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/version.rb +1 -1
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/Makefile +7 -1
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/ext/prism/Makefile +1 -1
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/ext/prism/extension.h +1 -1
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/include/prism/ast.h +4 -4
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/include/prism/version.h +2 -2
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/lib/prism/compiler.rb +152 -152
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/lib/prism/lex_compat.rb +133 -150
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/lib/prism/node.rb +1131 -20
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/lib/prism/parse_result.rb +9 -0
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.9.0/lib/prism/prism.so +0 -0
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/lib/prism/serialize.rb +1 -1
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/lib/prism/translation/parser_current.rb +1 -1
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.9.0/lib/prism/translation/parser_versions.rb +36 -0
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.9.0/lib/prism/translation/ripper/filter.rb +53 -0
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.9.0/lib/prism/translation/ripper/lexer.rb +135 -0
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/lib/prism/translation/ripper.rb +84 -38
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/lib/prism/translation/ruby_parser.rb +1 -1
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/lib/prism/translation.rb +5 -5
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/lib/prism/visitor.rb +152 -152
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/lib/prism.rb +1 -14
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/rbi/prism/node.rbi +3 -0
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.9.0/rbi/prism/translation/parser_versions.rbi +23 -0
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/rbi/prism.rbi +0 -3
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/sig/prism/node.rbs +4 -0
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/sig/prism/parse_result.rbs +1 -0
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/sig/prism.rbs +54 -40
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/src/prism.c +48 -27
- package/plugins/rubyastgen/setup.ps1 +13 -2
- package/plugins/rubyastgen/setup.sh +11 -0
- package/plugins/nikic/php-parser/README.md +0 -233
- package/plugins/rubyastgen/bundle/ruby/4.0.0/bundler/gems/ruby_ast_gen-e58f82cd4b36/Gemfile +0 -11
- package/plugins/rubyastgen/bundle/ruby/4.0.0/bundler/gems/ruby_ast_gen-e58f82cd4b36/LICENSE.txt +0 -213
- package/plugins/rubyastgen/bundle/ruby/4.0.0/bundler/gems/ruby_ast_gen-e58f82cd4b36/README.md +0 -49
- package/plugins/rubyastgen/bundle/ruby/4.0.0/bundler/gems/ruby_ast_gen-e58f82cd4b36/Rakefile +0 -8
- package/plugins/rubyastgen/bundle/ruby/4.0.0/bundler/gems/ruby_ast_gen-e58f82cd4b36/ruby_ast_gen.gemspec +0 -25
- package/plugins/rubyastgen/bundle/ruby/4.0.0/bundler/gems/ruby_ast_gen-e58f82cd4b36/spec/ruby_ast_gen_spec.rb +0 -440
- package/plugins/rubyastgen/bundle/ruby/4.0.0/bundler/gems/ruby_ast_gen-e58f82cd4b36/spec/spec_helper.rb +0 -15
- package/plugins/rubyastgen/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/prism-1.7.0/prism/prism.so +0 -0
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/ast-2.4.3/README.YARD.md +0 -12
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/bundler-2.6.7/CHANGELOG.md +0 -5239
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/bundler-2.6.7/LICENSE.md +0 -22
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/bundler-2.6.7/README.md +0 -58
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/bundler-2.6.7/bundler.gemspec +0 -46
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/bundler-2.6.7/lib/bundler/man/index.txt +0 -33
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/bundler-2.6.7/lib/bundler/templates/Gemfile +0 -5
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/bundler-2.6.7/lib/bundler/templates/newgem/Gemfile.tt +0 -24
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/bundler-2.6.7/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt +0 -11
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/bundler-2.6.7/lib/bundler/templates/newgem/spec/spec_helper.rb.tt +0 -15
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/bundler-2.6.7/lib/bundler/templates/newgem/test/minitest/test_helper.rb.tt +0 -6
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/bundler-2.6.7/lib/bundler/templates/newgem/test/minitest/test_newgem.rb.tt +0 -13
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/bundler-2.6.7/lib/bundler/templates/newgem/test/test-unit/newgem_test.rb.tt +0 -15
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/bundler-2.6.7/lib/bundler/templates/newgem/test/test-unit/test_helper.rb.tt +0 -6
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/bundler-2.6.7/lib/bundler/vendor/pub_grub/LICENSE.txt +0 -21
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/bundler-2.6.7/lib/bundler/vendor/thor/LICENSE.md +0 -20
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/bundler-2.6.7/lib/bundler/vendor/tsort/LICENSE.txt +0 -22
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/ostruct-0.6.3/Gemfile +0 -10
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/ostruct-0.6.3/README.md +0 -69
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/ostruct-0.6.3/Rakefile +0 -18
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/ostruct-0.6.3/ostruct.gemspec +0 -26
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/parser-3.3.10.0/LICENSE.txt +0 -26
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/parser-3.3.10.0/parser.gemspec +0 -43
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/CHANGELOG.md +0 -756
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/CODE_OF_CONDUCT.md +0 -76
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/CONTRIBUTING.md +0 -58
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/LICENSE.md +0 -7
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/README.md +0 -143
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/config.yml +0 -4739
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/docs/build_system.md +0 -119
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/docs/configuration.md +0 -68
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/docs/cruby_compilation.md +0 -27
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/docs/design.md +0 -53
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/docs/encoding.md +0 -121
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/docs/fuzzing.md +0 -88
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/docs/heredocs.md +0 -36
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/docs/javascript.md +0 -118
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/docs/local_variable_depth.md +0 -229
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/docs/mapping.md +0 -117
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/docs/parser_translation.md +0 -24
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/docs/parsing_rules.md +0 -22
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/docs/releasing.md +0 -77
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/docs/relocation.md +0 -34
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/docs/ripper_translation.md +0 -72
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/docs/ruby_api.md +0 -44
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/docs/ruby_parser_translation.md +0 -19
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/docs/serialization.md +0 -233
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/docs/testing.md +0 -55
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/lib/prism/prism.so +0 -0
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/lib/prism/translation/parser33.rb +0 -13
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/lib/prism/translation/parser34.rb +0 -13
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/lib/prism/translation/parser35.rb +0 -8
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/lib/prism/translation/parser40.rb +0 -13
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/lib/prism/translation/parser41.rb +0 -13
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/prism.gemspec +0 -178
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/rbi/prism/translation/parser33.rbi +0 -6
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/rbi/prism/translation/parser34.rbi +0 -6
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/rbi/prism/translation/parser35.rbi +0 -4
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/rbi/prism/translation/parser40.rbi +0 -6
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/prism-1.7.0/rbi/prism/translation/parser41.rbi +0 -6
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/racc-1.8.1/doc/en/grammar.en.rdoc +0 -218
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/racc-1.8.1/doc/en/grammar2.en.rdoc +0 -219
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/racc-1.8.1/doc/ja/command.ja.html +0 -99
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/racc-1.8.1/doc/ja/debug.ja.rdoc +0 -36
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/racc-1.8.1/doc/ja/grammar.ja.rdoc +0 -348
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/racc-1.8.1/doc/ja/index.ja.html +0 -10
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/racc-1.8.1/doc/ja/parser.ja.rdoc +0 -125
- package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/racc-1.8.1/doc/ja/usage.ja.html +0 -414
- package/plugins/rubyastgen/bundle/ruby/4.0.0/specifications/ast-2.4.3.gemspec +0 -29
- package/plugins/rubyastgen/bundle/ruby/4.0.0/specifications/bundler-2.6.7.gemspec +0 -25
- package/plugins/rubyastgen/bundle/ruby/4.0.0/specifications/ostruct-0.6.3.gemspec +0 -22
- package/plugins/rubyastgen/bundle/ruby/4.0.0/specifications/parser-3.3.10.0.gemspec +0 -37
- package/plugins/rubyastgen/bundle/ruby/4.0.0/specifications/prism-1.7.0.gemspec +0 -24
- package/plugins/rubyastgen/bundle/ruby/4.0.0/specifications/racc-1.8.1.gemspec +0 -28
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/bundler/gems/{ruby_ast_gen-e58f82cd4b36 → ruby_ast_gen-cc312ebf06b4}/.rspec +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/bundler/gems/{ruby_ast_gen-e58f82cd4b36 → ruby_ast_gen-cc312ebf06b4}/bin/console +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/bundler/gems/{ruby_ast_gen-e58f82cd4b36 → ruby_ast_gen-cc312ebf06b4}/bin/setup +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/bundler/gems/{ruby_ast_gen-e58f82cd4b36 → ruby_ast_gen-cc312ebf06b4}/update_version.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/extensions/x86_64-linux/4.0.0/{prism-1.7.0 → prism-1.9.0}/gem.build_complete +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/bin/ruby-parse +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/bin/ruby-rewrite +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/gauntlet_parser.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/all.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/ast/node.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/ast/processor.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/base.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/builders/default.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/clobbering_error.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/color.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/context.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/current_arg_stack.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/deprecation.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/diagnostic/engine.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/diagnostic.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/lexer/dedenter.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/lexer/explanation.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/lexer/literal.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/lexer/stack_state.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/lexer-F0.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/lexer-F1.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/lexer-strings.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/macruby.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/max_numparam_stack.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/messages.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/rewriter.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/ruby18.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/ruby19.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/ruby20.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/ruby21.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/ruby22.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/ruby23.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/ruby24.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/ruby25.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/ruby26.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/ruby27.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/ruby30.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/ruby31.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/ruby32.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/ruby33.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/ruby34.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/rubymotion.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/runner/ruby_parse.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/runner/ruby_rewrite.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/runner.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/source/buffer.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/source/comment/associator.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/source/comment.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/source/map/collection.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/source/map/condition.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/source/map/constant.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/source/map/definition.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/source/map/for.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/source/map/heredoc.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/source/map/index.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/source/map/keyword.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/source/map/method_definition.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/source/map/objc_kwarg.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/source/map/operator.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/source/map/rescue_body.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/source/map/send.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/source/map/ternary.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/source/map/variable.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/source/map.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/source/range.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/source/rewriter/action.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/source/rewriter.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/source/tree_rewriter/action.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/source/tree_rewriter.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/static_environment.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/syntax_error.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/tree_rewriter.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/unknown_encoding_in_magic_comment_error.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser/variables_stack.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{parser-3.3.10.0 → parser-3.3.11.1}/lib/parser.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/BSDmakefile +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/ext/prism/api_node.c +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/ext/prism/api_pack.c +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/ext/prism/extconf.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/ext/prism/extension.c +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/include/prism/defines.h +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/include/prism/diagnostic.h +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/include/prism/encoding.h +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/include/prism/node.h +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/include/prism/options.h +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/include/prism/pack.h +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/include/prism/parser.h +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/include/prism/prettyprint.h +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/include/prism/regexp.h +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/include/prism/static_literals.h +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/include/prism/util/pm_buffer.h +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/include/prism/util/pm_char.h +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/include/prism/util/pm_constant_pool.h +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/include/prism/util/pm_integer.h +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/include/prism/util/pm_list.h +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/include/prism/util/pm_memchr.h +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/include/prism/util/pm_newline_list.h +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/include/prism/util/pm_string.h +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/include/prism/util/pm_strncasecmp.h +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/include/prism/util/pm_strpbrk.h +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/include/prism.h +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/lib/prism/desugar_compiler.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/lib/prism/dispatcher.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/lib/prism/dot_visitor.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/lib/prism/dsl.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/lib/prism/ffi.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/lib/prism/inspect_visitor.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/lib/prism/mutation_compiler.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/lib/prism/node_ext.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/lib/prism/pack.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/lib/prism/parse_result/comments.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/lib/prism/parse_result/errors.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/lib/prism/parse_result/newlines.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/lib/prism/pattern.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/lib/prism/polyfill/append_as_bytes.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/lib/prism/polyfill/byteindex.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/lib/prism/polyfill/scan_byte.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/lib/prism/polyfill/unpack1.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/lib/prism/polyfill/warn.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/lib/prism/reflection.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/lib/prism/relocation.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/lib/prism/string_query.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/lib/prism/translation/parser/builder.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/lib/prism/translation/parser/compiler.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/lib/prism/translation/parser/lexer.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/lib/prism/translation/parser.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/lib/prism/translation/ripper/sexp.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/lib/prism/translation/ripper/shim.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/rbi/prism/compiler.rbi +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/rbi/prism/dsl.rbi +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/rbi/prism/inspect_visitor.rbi +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/rbi/prism/node_ext.rbi +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/rbi/prism/parse_result.rbi +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/rbi/prism/reflection.rbi +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/rbi/prism/string_query.rbi +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/rbi/prism/translation/parser.rbi +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/rbi/prism/translation/ripper.rbi +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/rbi/prism/visitor.rbi +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/sig/prism/compiler.rbs +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/sig/prism/dispatcher.rbs +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/sig/prism/dot_visitor.rbs +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/sig/prism/dsl.rbs +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/sig/prism/inspect_visitor.rbs +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/sig/prism/lex_compat.rbs +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/sig/prism/mutation_compiler.rbs +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/sig/prism/node_ext.rbs +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/sig/prism/pack.rbs +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/sig/prism/parse_result/comments.rbs +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/sig/prism/pattern.rbs +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/sig/prism/reflection.rbs +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/sig/prism/relocation.rbs +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/sig/prism/serialize.rbs +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/sig/prism/string_query.rbs +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/sig/prism/visitor.rbs +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/src/diagnostic.c +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/src/encoding.c +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/src/node.c +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/src/options.c +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/src/pack.c +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/src/prettyprint.c +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/src/regexp.c +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/src/serialize.c +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/src/static_literals.c +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/src/token_type.c +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/src/util/pm_buffer.c +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/src/util/pm_char.c +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/src/util/pm_constant_pool.c +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/src/util/pm_integer.c +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/src/util/pm_list.c +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/src/util/pm_memchr.c +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/src/util/pm_newline_list.c +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/src/util/pm_string.c +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/src/util/pm_strncasecmp.c +0 -0
- /package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/src/util/pm_strpbrk.c +0 -0
|
@@ -20,7 +20,6 @@ module Prism
|
|
|
20
20
|
autoload :DSL, "prism/dsl"
|
|
21
21
|
autoload :InspectVisitor, "prism/inspect_visitor"
|
|
22
22
|
autoload :LexCompat, "prism/lex_compat"
|
|
23
|
-
autoload :LexRipper, "prism/lex_compat"
|
|
24
23
|
autoload :MutationCompiler, "prism/mutation_compiler"
|
|
25
24
|
autoload :Pack, "prism/pack"
|
|
26
25
|
autoload :Pattern, "prism/pattern"
|
|
@@ -35,7 +34,6 @@ module Prism
|
|
|
35
34
|
# private here.
|
|
36
35
|
|
|
37
36
|
private_constant :LexCompat
|
|
38
|
-
private_constant :LexRipper
|
|
39
37
|
|
|
40
38
|
# Raised when requested to parse as the currently running Ruby version but Prism has no support for it.
|
|
41
39
|
class CurrentVersionError < ArgumentError
|
|
@@ -61,24 +59,13 @@ module Prism
|
|
|
61
59
|
# Prism::lex_compat(source, **options) -> LexCompat::Result
|
|
62
60
|
#
|
|
63
61
|
# Returns a parse result whose value is an array of tokens that closely
|
|
64
|
-
# resembles the return value of Ripper::lex.
|
|
65
|
-
# `:on_sp` token is not emitted.
|
|
62
|
+
# resembles the return value of Ripper::lex.
|
|
66
63
|
#
|
|
67
64
|
# For supported options, see Prism::parse.
|
|
68
65
|
def self.lex_compat(source, **options)
|
|
69
66
|
LexCompat.new(source, **options).result # steep:ignore
|
|
70
67
|
end
|
|
71
68
|
|
|
72
|
-
# :call-seq:
|
|
73
|
-
# Prism::lex_ripper(source) -> Array
|
|
74
|
-
#
|
|
75
|
-
# This lexes with the Ripper lex. It drops any space events but otherwise
|
|
76
|
-
# returns the same tokens. Raises SyntaxError if the syntax in source is
|
|
77
|
-
# invalid.
|
|
78
|
-
def self.lex_ripper(source)
|
|
79
|
-
LexRipper.new(source).result # steep:ignore
|
|
80
|
-
end
|
|
81
|
-
|
|
82
69
|
# :call-seq:
|
|
83
70
|
# Prism::load(source, serialized, freeze) -> ParseResult
|
|
84
71
|
#
|
package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/rbi/prism/node.rbi
RENAMED
|
@@ -57,6 +57,9 @@ class Prism::Node
|
|
|
57
57
|
sig { params(block: T.proc.params(node: Prism::Node).returns(T::Boolean)).returns(T.nilable(Prism::Node)) }
|
|
58
58
|
def breadth_first_search(&block); end
|
|
59
59
|
|
|
60
|
+
sig { params(block: T.proc.params(node: Prism::Node).returns(T::Boolean)).returns(T::Array[Prism::Node]) }
|
|
61
|
+
def breadth_first_search_all(&block); end
|
|
62
|
+
|
|
60
63
|
sig { abstract.params(visitor: Prism::Visitor).returns(T.untyped) }
|
|
61
64
|
def accept(visitor); end
|
|
62
65
|
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# typed: strict
|
|
2
|
+
|
|
3
|
+
class Prism::Translation::Parser33 < Prism::Translation::Parser
|
|
4
|
+
sig { override.returns(Integer) }
|
|
5
|
+
def version; end
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
class Prism::Translation::Parser34 < Prism::Translation::Parser
|
|
9
|
+
sig { override.returns(Integer) }
|
|
10
|
+
def version; end
|
|
11
|
+
end
|
|
12
|
+
|
|
13
|
+
class Prism::Translation::Parser40 < Prism::Translation::Parser
|
|
14
|
+
sig { override.returns(Integer) }
|
|
15
|
+
def version; end
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
Prism::Translation::Parser35 = Prism::Translation::Parser40
|
|
19
|
+
|
|
20
|
+
class Prism::Translation::Parser40 < Prism::Translation::Parser
|
|
21
|
+
sig { override.returns(Integer) }
|
|
22
|
+
def version; end
|
|
23
|
+
end
|
|
@@ -16,9 +16,6 @@ module Prism
|
|
|
16
16
|
sig { params(source: String, options: T::Hash[Symbol, T.untyped]).returns(Prism::LexCompat::Result) }
|
|
17
17
|
def self.lex_compat(source, **options); end
|
|
18
18
|
|
|
19
|
-
sig { params(source: String).returns(T::Array[T.untyped]) }
|
|
20
|
-
def self.lex_ripper(source); end
|
|
21
|
-
|
|
22
19
|
sig { params(source: String, serialized: String, freeze: T.nilable(T::Boolean)).returns(Prism::ParseResult) }
|
|
23
20
|
def self.load(source, serialized, freeze = false); end
|
|
24
21
|
|
package/plugins/rubyastgen/bundle/ruby/4.0.0/gems/{prism-1.7.0 → prism-1.9.0}/sig/prism/node.rbs
RENAMED
|
@@ -16,6 +16,7 @@ module Prism
|
|
|
16
16
|
def child_nodes: () -> Array[Prism::node?]
|
|
17
17
|
def comment_targets: () -> Array[Prism::node | Location]
|
|
18
18
|
def compact_child_nodes: () -> Array[Prism::node]
|
|
19
|
+
def each_child_node: () { (Prism::node) -> void } -> void | () -> Enumerator[Prism::node]
|
|
19
20
|
def self.fields: () -> Array[Prism::Reflection::Field]
|
|
20
21
|
def type: () -> Symbol
|
|
21
22
|
def self.type: () -> Symbol
|
|
@@ -28,6 +29,9 @@ module Prism
|
|
|
28
29
|
def to_dot: () -> String
|
|
29
30
|
def tunnel: (Integer line, Integer column) -> Array[Prism::node]
|
|
30
31
|
def breadth_first_search: () { (Prism::node) -> bool } -> Prism::node?
|
|
32
|
+
alias find breadth_first_search
|
|
33
|
+
def breadth_first_search_all: () { (Prism::node) -> bool } -> Array[Prism::node]
|
|
34
|
+
alias find_all breadth_first_search_all
|
|
31
35
|
def newline!: (Array[untyped]) -> void
|
|
32
36
|
|
|
33
37
|
def save: (_Repository repository) -> void
|
|
@@ -14,6 +14,7 @@ module Prism
|
|
|
14
14
|
def encoding: () -> Encoding
|
|
15
15
|
def lines: () -> Array[String]
|
|
16
16
|
def slice: (Integer byte_offset, Integer length) -> String
|
|
17
|
+
def byte_offset: (Integer line, Integer column) -> Integer
|
|
17
18
|
def line: (Integer byte_offset) -> Integer
|
|
18
19
|
def line_start: (Integer byte_offset) -> Integer
|
|
19
20
|
def line_end: (Integer byte_offset) -> Integer
|
|
@@ -14,119 +14,128 @@ module Prism
|
|
|
14
14
|
|
|
15
15
|
def self.parse: (
|
|
16
16
|
String source,
|
|
17
|
+
?command_line: String,
|
|
17
18
|
?encoding: Encoding | false,
|
|
18
19
|
?filepath: String,
|
|
19
20
|
?freeze: bool,
|
|
20
21
|
?frozen_string_literal: bool,
|
|
21
22
|
?line: Integer,
|
|
22
23
|
?main_script: bool,
|
|
23
|
-
?
|
|
24
|
+
?partial_script: bool,
|
|
24
25
|
?scopes: Array[Array[Symbol]],
|
|
25
|
-
?
|
|
26
|
+
?version: String
|
|
26
27
|
) -> ParseResult
|
|
27
28
|
|
|
28
29
|
def self.profile: (
|
|
29
30
|
String source,
|
|
31
|
+
?command_line: String,
|
|
30
32
|
?encoding: Encoding | false,
|
|
31
33
|
?filepath: String,
|
|
32
34
|
?freeze: bool,
|
|
33
35
|
?frozen_string_literal: bool,
|
|
34
36
|
?line: Integer,
|
|
35
37
|
?main_script: bool,
|
|
36
|
-
?
|
|
38
|
+
?partial_script: bool,
|
|
37
39
|
?scopes: Array[Array[Symbol]],
|
|
38
|
-
?
|
|
40
|
+
?version: String
|
|
39
41
|
) -> nil
|
|
40
42
|
|
|
41
43
|
def self.lex: (
|
|
42
44
|
String source,
|
|
45
|
+
?command_line: String,
|
|
43
46
|
?encoding: Encoding | false,
|
|
44
47
|
?filepath: String,
|
|
45
48
|
?freeze: bool,
|
|
46
49
|
?frozen_string_literal: bool,
|
|
47
50
|
?line: Integer,
|
|
48
51
|
?main_script: bool,
|
|
49
|
-
?
|
|
52
|
+
?partial_script: bool,
|
|
50
53
|
?scopes: Array[Array[Symbol]],
|
|
51
|
-
?
|
|
54
|
+
?version: String
|
|
52
55
|
) -> LexResult
|
|
53
56
|
|
|
54
57
|
def self.lex_compat: (
|
|
55
58
|
String source,
|
|
59
|
+
?command_line: String,
|
|
56
60
|
?encoding: Encoding | false,
|
|
57
61
|
?filepath: String,
|
|
58
62
|
?freeze: bool,
|
|
59
63
|
?frozen_string_literal: bool,
|
|
60
64
|
?line: Integer,
|
|
61
65
|
?main_script: bool,
|
|
62
|
-
?
|
|
66
|
+
?partial_script: bool,
|
|
63
67
|
?scopes: Array[Array[Symbol]],
|
|
64
|
-
?
|
|
68
|
+
?version: String
|
|
65
69
|
) -> LexCompat::Result
|
|
66
70
|
|
|
67
71
|
def self.parse_lex: (
|
|
68
72
|
String source,
|
|
73
|
+
?command_line: String,
|
|
69
74
|
?encoding: Encoding | false,
|
|
70
75
|
?filepath: String,
|
|
71
76
|
?freeze: bool,
|
|
72
77
|
?frozen_string_literal: bool,
|
|
73
78
|
?line: Integer,
|
|
74
79
|
?main_script: bool,
|
|
75
|
-
?
|
|
80
|
+
?partial_script: bool,
|
|
76
81
|
?scopes: Array[Array[Symbol]],
|
|
77
|
-
?
|
|
82
|
+
?version: String
|
|
78
83
|
) -> ParseLexResult
|
|
79
84
|
|
|
80
85
|
def self.dump: (
|
|
81
86
|
String source,
|
|
87
|
+
?command_line: String,
|
|
82
88
|
?encoding: Encoding | false,
|
|
83
89
|
?filepath: String,
|
|
84
90
|
?freeze: bool,
|
|
85
91
|
?frozen_string_literal: bool,
|
|
86
92
|
?line: Integer,
|
|
87
93
|
?main_script: bool,
|
|
88
|
-
?
|
|
94
|
+
?partial_script: bool,
|
|
89
95
|
?scopes: Array[Array[Symbol]],
|
|
90
|
-
?
|
|
96
|
+
?version: String
|
|
91
97
|
) -> String
|
|
92
98
|
|
|
93
99
|
def self.parse_comments: (
|
|
94
100
|
String source,
|
|
101
|
+
?command_line: String,
|
|
95
102
|
?encoding: Encoding | false,
|
|
96
103
|
?filepath: String,
|
|
97
104
|
?freeze: bool,
|
|
98
105
|
?frozen_string_literal: bool,
|
|
99
106
|
?line: Integer,
|
|
100
107
|
?main_script: bool,
|
|
101
|
-
?
|
|
108
|
+
?partial_script: bool,
|
|
102
109
|
?scopes: Array[Array[Symbol]],
|
|
103
|
-
?
|
|
110
|
+
?version: String
|
|
104
111
|
) -> Array[comment]
|
|
105
112
|
|
|
106
113
|
def self.parse_success?: (
|
|
107
114
|
String source,
|
|
115
|
+
?command_line: String,
|
|
108
116
|
?encoding: Encoding | false,
|
|
109
117
|
?filepath: String,
|
|
110
118
|
?freeze: bool,
|
|
111
119
|
?frozen_string_literal: bool,
|
|
112
120
|
?line: Integer,
|
|
113
121
|
?main_script: bool,
|
|
114
|
-
?
|
|
122
|
+
?partial_script: bool,
|
|
115
123
|
?scopes: Array[Array[Symbol]],
|
|
116
|
-
?
|
|
124
|
+
?version: String
|
|
117
125
|
) -> bool
|
|
118
126
|
|
|
119
127
|
def self.parse_failure?: (
|
|
120
128
|
String source,
|
|
129
|
+
?command_line: String,
|
|
121
130
|
?encoding: Encoding | false,
|
|
122
131
|
?filepath: String,
|
|
123
132
|
?freeze: bool,
|
|
124
133
|
?frozen_string_literal: bool,
|
|
125
134
|
?line: Integer,
|
|
126
135
|
?main_script: bool,
|
|
127
|
-
?
|
|
136
|
+
?partial_script: bool,
|
|
128
137
|
?scopes: Array[Array[Symbol]],
|
|
129
|
-
?
|
|
138
|
+
?version: String
|
|
130
139
|
) -> bool
|
|
131
140
|
|
|
132
141
|
def self.load: (
|
|
@@ -135,106 +144,110 @@ module Prism
|
|
|
135
144
|
?bool freeze
|
|
136
145
|
) -> ParseResult
|
|
137
146
|
|
|
138
|
-
def self.lex_ripper: (
|
|
139
|
-
String source
|
|
140
|
-
) -> Array[[[Integer, Integer], Symbol, String, untyped]]
|
|
141
|
-
|
|
142
147
|
# Methods taking a path to a Ruby file:
|
|
143
148
|
|
|
144
149
|
def self.parse_file: (
|
|
145
150
|
String filepath,
|
|
151
|
+
?command_line: String,
|
|
146
152
|
?encoding: Encoding | false,
|
|
147
153
|
?freeze: bool,
|
|
148
154
|
?frozen_string_literal: bool,
|
|
149
155
|
?line: Integer,
|
|
150
156
|
?main_script: bool,
|
|
151
|
-
?
|
|
157
|
+
?partial_script: bool,
|
|
152
158
|
?scopes: Array[Array[Symbol]],
|
|
153
|
-
?
|
|
159
|
+
?version: String
|
|
154
160
|
) -> ParseResult
|
|
155
161
|
|
|
156
162
|
def self.profile_file: (
|
|
157
163
|
String filepath,
|
|
164
|
+
?command_line: String,
|
|
158
165
|
?encoding: Encoding | false,
|
|
159
166
|
?freeze: bool,
|
|
160
167
|
?frozen_string_literal: bool,
|
|
161
168
|
?line: Integer,
|
|
162
169
|
?main_script: bool,
|
|
163
|
-
?
|
|
170
|
+
?partial_script: bool,
|
|
164
171
|
?scopes: Array[Array[Symbol]],
|
|
165
|
-
?
|
|
172
|
+
?version: String
|
|
166
173
|
) -> nil
|
|
167
174
|
|
|
168
175
|
def self.lex_file: (
|
|
169
176
|
String filepath,
|
|
177
|
+
?command_line: String,
|
|
170
178
|
?encoding: Encoding | false,
|
|
171
179
|
?freeze: bool,
|
|
172
180
|
?frozen_string_literal: bool,
|
|
173
181
|
?line: Integer,
|
|
174
182
|
?main_script: bool,
|
|
175
|
-
?
|
|
183
|
+
?partial_script: bool,
|
|
176
184
|
?scopes: Array[Array[Symbol]],
|
|
177
|
-
?
|
|
185
|
+
?version: String
|
|
178
186
|
) -> LexResult
|
|
179
187
|
|
|
180
188
|
def self.parse_lex_file: (
|
|
181
189
|
String filepath,
|
|
190
|
+
?command_line: String,
|
|
182
191
|
?encoding: Encoding | false,
|
|
183
192
|
?freeze: bool,
|
|
184
193
|
?frozen_string_literal: bool,
|
|
185
194
|
?line: Integer,
|
|
186
195
|
?main_script: bool,
|
|
187
|
-
?
|
|
196
|
+
?partial_script: bool,
|
|
188
197
|
?scopes: Array[Array[Symbol]],
|
|
189
|
-
?
|
|
198
|
+
?version: String
|
|
190
199
|
) -> ParseLexResult
|
|
191
200
|
|
|
192
201
|
def self.dump_file: (
|
|
193
202
|
String filepath,
|
|
203
|
+
?command_line: String,
|
|
194
204
|
?encoding: Encoding | false,
|
|
195
205
|
?freeze: bool,
|
|
196
206
|
?frozen_string_literal: bool,
|
|
197
207
|
?line: Integer,
|
|
198
208
|
?main_script: bool,
|
|
199
|
-
?
|
|
209
|
+
?partial_script: bool,
|
|
200
210
|
?scopes: Array[Array[Symbol]],
|
|
201
|
-
?
|
|
211
|
+
?version: String
|
|
202
212
|
) -> String
|
|
203
213
|
|
|
204
214
|
def self.parse_file_comments: (
|
|
205
215
|
String filepath,
|
|
216
|
+
?command_line: String,
|
|
206
217
|
?encoding: Encoding | false,
|
|
207
218
|
?freeze: bool,
|
|
208
219
|
?frozen_string_literal: bool,
|
|
209
220
|
?line: Integer,
|
|
210
221
|
?main_script: bool,
|
|
211
|
-
?
|
|
222
|
+
?partial_script: bool,
|
|
212
223
|
?scopes: Array[Array[Symbol]],
|
|
213
|
-
?
|
|
224
|
+
?version: String
|
|
214
225
|
) -> Array[comment]
|
|
215
226
|
|
|
216
227
|
def self.parse_file_success?: (
|
|
217
228
|
String filepath,
|
|
229
|
+
?command_line: String,
|
|
218
230
|
?encoding: Encoding | false,
|
|
219
231
|
?freeze: bool,
|
|
220
232
|
?frozen_string_literal: bool,
|
|
221
233
|
?line: Integer,
|
|
222
234
|
?main_script: bool,
|
|
223
|
-
?
|
|
235
|
+
?partial_script: bool,
|
|
224
236
|
?scopes: Array[Array[Symbol]],
|
|
225
|
-
?
|
|
237
|
+
?version: String
|
|
226
238
|
) -> bool
|
|
227
239
|
|
|
228
240
|
def self.parse_file_failure?: (
|
|
229
241
|
String filepath,
|
|
242
|
+
?command_line: String,
|
|
230
243
|
?encoding: Encoding | false,
|
|
231
244
|
?freeze: bool,
|
|
232
245
|
?frozen_string_literal: bool,
|
|
233
246
|
?line: Integer,
|
|
234
247
|
?main_script: bool,
|
|
235
|
-
?
|
|
248
|
+
?partial_script: bool,
|
|
236
249
|
?scopes: Array[Array[Symbol]],
|
|
237
|
-
?
|
|
250
|
+
?version: String
|
|
238
251
|
) -> bool
|
|
239
252
|
|
|
240
253
|
interface _Stream
|
|
@@ -243,15 +256,16 @@ module Prism
|
|
|
243
256
|
|
|
244
257
|
def self.parse_stream: (
|
|
245
258
|
_Stream stream,
|
|
259
|
+
?command_line: String,
|
|
246
260
|
?encoding: Encoding | false,
|
|
247
261
|
?filepath: String,
|
|
248
262
|
?freeze: bool,
|
|
249
263
|
?frozen_string_literal: bool,
|
|
250
264
|
?line: Integer,
|
|
251
265
|
?main_script: bool,
|
|
252
|
-
?
|
|
266
|
+
?partial_script: bool,
|
|
253
267
|
?scopes: Array[Array[Symbol]],
|
|
254
|
-
?
|
|
268
|
+
?version: String
|
|
255
269
|
) -> ParseResult
|
|
256
270
|
|
|
257
271
|
def self.scope: (?locals: Array[Symbol], ?forwarding: Array[Symbol]) -> Scope
|
|
@@ -3962,9 +3962,13 @@ pm_float_node_rational_create(pm_parser_t *parser, const pm_token_t *token) {
|
|
|
3962
3962
|
memcpy(digits + (point - start), point + 1, (unsigned long) (end - point - 1));
|
|
3963
3963
|
pm_integer_parse(&node->numerator, PM_INTEGER_BASE_DEFAULT, digits, digits + length - 1);
|
|
3964
3964
|
|
|
3965
|
+
size_t fract_length = 0;
|
|
3966
|
+
for (const uint8_t *fract = point; fract < end; ++fract) {
|
|
3967
|
+
if (*fract != '_') ++fract_length;
|
|
3968
|
+
}
|
|
3965
3969
|
digits[0] = '1';
|
|
3966
|
-
if (
|
|
3967
|
-
pm_integer_parse(&node->denominator, PM_INTEGER_BASE_DEFAULT, digits, digits +
|
|
3970
|
+
if (fract_length > 1) memset(digits + 1, '0', fract_length - 1);
|
|
3971
|
+
pm_integer_parse(&node->denominator, PM_INTEGER_BASE_DEFAULT, digits, digits + fract_length);
|
|
3968
3972
|
xfree(digits);
|
|
3969
3973
|
|
|
3970
3974
|
pm_integers_reduce(&node->numerator, &node->denominator);
|
|
@@ -12422,6 +12426,22 @@ expect1_heredoc_term(pm_parser_t *parser, const uint8_t *ident_start, size_t ide
|
|
|
12422
12426
|
}
|
|
12423
12427
|
}
|
|
12424
12428
|
|
|
12429
|
+
/**
|
|
12430
|
+
* A special expect1 that attaches the error to the opening token location
|
|
12431
|
+
* rather than the current position. This is useful for errors about missing
|
|
12432
|
+
* closing tokens, where we want to point to the line with the opening token
|
|
12433
|
+
* (e.g., `def`, `class`, `if`, `{`) rather than the end of the file.
|
|
12434
|
+
*/
|
|
12435
|
+
static void
|
|
12436
|
+
expect1_opening(pm_parser_t *parser, pm_token_type_t type, pm_diagnostic_id_t diag_id, const pm_token_t *opening) {
|
|
12437
|
+
if (accept1(parser, type)) return;
|
|
12438
|
+
|
|
12439
|
+
pm_parser_err(parser, opening->start, opening->end, diag_id);
|
|
12440
|
+
|
|
12441
|
+
parser->previous.start = parser->previous.end;
|
|
12442
|
+
parser->previous.type = PM_TOKEN_MISSING;
|
|
12443
|
+
}
|
|
12444
|
+
|
|
12425
12445
|
static pm_node_t *
|
|
12426
12446
|
parse_expression(pm_parser_t *parser, pm_binding_power_t binding_power, bool accepts_command_call, bool accepts_label, pm_diagnostic_id_t diag_id, uint16_t depth);
|
|
12427
12447
|
|
|
@@ -14764,7 +14784,7 @@ parse_block(pm_parser_t *parser, uint16_t depth) {
|
|
|
14764
14784
|
statements = UP(parse_statements(parser, PM_CONTEXT_BLOCK_BRACES, (uint16_t) (depth + 1)));
|
|
14765
14785
|
}
|
|
14766
14786
|
|
|
14767
|
-
|
|
14787
|
+
expect1_opening(parser, PM_TOKEN_BRACE_RIGHT, PM_ERR_BLOCK_TERM_BRACE, &opening);
|
|
14768
14788
|
} else {
|
|
14769
14789
|
if (!match1(parser, PM_TOKEN_KEYWORD_END)) {
|
|
14770
14790
|
if (!match3(parser, PM_TOKEN_KEYWORD_RESCUE, PM_TOKEN_KEYWORD_ELSE, PM_TOKEN_KEYWORD_ENSURE)) {
|
|
@@ -14779,7 +14799,7 @@ parse_block(pm_parser_t *parser, uint16_t depth) {
|
|
|
14779
14799
|
}
|
|
14780
14800
|
}
|
|
14781
14801
|
|
|
14782
|
-
|
|
14802
|
+
expect1_opening(parser, PM_TOKEN_KEYWORD_END, PM_ERR_BLOCK_TERM_END, &opening);
|
|
14783
14803
|
}
|
|
14784
14804
|
|
|
14785
14805
|
pm_constant_id_list_t locals;
|
|
@@ -15204,7 +15224,7 @@ parse_conditional(pm_parser_t *parser, pm_context_t context, size_t opening_newl
|
|
|
15204
15224
|
|
|
15205
15225
|
accept2(parser, PM_TOKEN_NEWLINE, PM_TOKEN_SEMICOLON);
|
|
15206
15226
|
parser_warn_indentation_mismatch(parser, opening_newline_index, &else_keyword, false, false);
|
|
15207
|
-
|
|
15227
|
+
expect1_opening(parser, PM_TOKEN_KEYWORD_END, PM_ERR_CONDITIONAL_TERM_ELSE, &keyword);
|
|
15208
15228
|
|
|
15209
15229
|
pm_else_node_t *else_node = pm_else_node_create(parser, &else_keyword, else_statements, &parser->previous);
|
|
15210
15230
|
|
|
@@ -15221,7 +15241,7 @@ parse_conditional(pm_parser_t *parser, pm_context_t context, size_t opening_newl
|
|
|
15221
15241
|
}
|
|
15222
15242
|
} else {
|
|
15223
15243
|
parser_warn_indentation_mismatch(parser, opening_newline_index, &keyword, if_after_else, false);
|
|
15224
|
-
|
|
15244
|
+
expect1_opening(parser, PM_TOKEN_KEYWORD_END, PM_ERR_CONDITIONAL_TERM, &keyword);
|
|
15225
15245
|
}
|
|
15226
15246
|
|
|
15227
15247
|
// Set the appropriate end location for all of the nodes in the subtree.
|
|
@@ -16202,7 +16222,7 @@ parse_pattern_constant_path(pm_parser_t *parser, pm_constant_id_list_t *captures
|
|
|
16202
16222
|
if (!accept1(parser, PM_TOKEN_BRACKET_RIGHT)) {
|
|
16203
16223
|
inner = parse_pattern(parser, captures, PM_PARSE_PATTERN_TOP | PM_PARSE_PATTERN_MULTI, PM_ERR_PATTERN_EXPRESSION_AFTER_BRACKET, (uint16_t) (depth + 1));
|
|
16204
16224
|
accept1(parser, PM_TOKEN_NEWLINE);
|
|
16205
|
-
|
|
16225
|
+
expect1_opening(parser, PM_TOKEN_BRACKET_RIGHT, PM_ERR_PATTERN_TERM_BRACKET, &opening);
|
|
16206
16226
|
}
|
|
16207
16227
|
|
|
16208
16228
|
closing = parser->previous;
|
|
@@ -16214,7 +16234,7 @@ parse_pattern_constant_path(pm_parser_t *parser, pm_constant_id_list_t *captures
|
|
|
16214
16234
|
if (!accept1(parser, PM_TOKEN_PARENTHESIS_RIGHT)) {
|
|
16215
16235
|
inner = parse_pattern(parser, captures, PM_PARSE_PATTERN_TOP | PM_PARSE_PATTERN_MULTI, PM_ERR_PATTERN_EXPRESSION_AFTER_PAREN, (uint16_t) (depth + 1));
|
|
16216
16236
|
accept1(parser, PM_TOKEN_NEWLINE);
|
|
16217
|
-
|
|
16237
|
+
expect1_opening(parser, PM_TOKEN_PARENTHESIS_RIGHT, PM_ERR_PATTERN_TERM_PAREN, &opening);
|
|
16218
16238
|
}
|
|
16219
16239
|
|
|
16220
16240
|
closing = parser->previous;
|
|
@@ -16594,7 +16614,7 @@ parse_pattern_primitive(pm_parser_t *parser, pm_constant_id_list_t *captures, pm
|
|
|
16594
16614
|
pm_node_t *inner = parse_pattern(parser, captures, PM_PARSE_PATTERN_MULTI, PM_ERR_PATTERN_EXPRESSION_AFTER_BRACKET, (uint16_t) (depth + 1));
|
|
16595
16615
|
|
|
16596
16616
|
accept1(parser, PM_TOKEN_NEWLINE);
|
|
16597
|
-
|
|
16617
|
+
expect1_opening(parser, PM_TOKEN_BRACKET_RIGHT, PM_ERR_PATTERN_TERM_BRACKET, &opening);
|
|
16598
16618
|
pm_token_t closing = parser->previous;
|
|
16599
16619
|
|
|
16600
16620
|
switch (PM_NODE_TYPE(inner)) {
|
|
@@ -16672,7 +16692,7 @@ parse_pattern_primitive(pm_parser_t *parser, pm_constant_id_list_t *captures, pm
|
|
|
16672
16692
|
node = parse_pattern_hash(parser, captures, first_node, (uint16_t) (depth + 1));
|
|
16673
16693
|
|
|
16674
16694
|
accept1(parser, PM_TOKEN_NEWLINE);
|
|
16675
|
-
|
|
16695
|
+
expect1_opening(parser, PM_TOKEN_BRACE_RIGHT, PM_ERR_PATTERN_TERM_BRACE, &opening);
|
|
16676
16696
|
pm_token_t closing = parser->previous;
|
|
16677
16697
|
|
|
16678
16698
|
node->base.location.start = opening.start;
|
|
@@ -16798,7 +16818,7 @@ parse_pattern_primitive(pm_parser_t *parser, pm_constant_id_list_t *captures, pm
|
|
|
16798
16818
|
parser->pattern_matching_newlines = previous_pattern_matching_newlines;
|
|
16799
16819
|
|
|
16800
16820
|
accept1(parser, PM_TOKEN_NEWLINE);
|
|
16801
|
-
|
|
16821
|
+
expect1_opening(parser, PM_TOKEN_PARENTHESIS_RIGHT, PM_ERR_PATTERN_TERM_PAREN, &lparen);
|
|
16802
16822
|
return UP(pm_pinned_expression_node_create(parser, expression, &operator, &lparen, &parser->previous));
|
|
16803
16823
|
}
|
|
16804
16824
|
default: {
|
|
@@ -16896,7 +16916,7 @@ parse_pattern_primitives(pm_parser_t *parser, pm_constant_id_list_t *captures, p
|
|
|
16896
16916
|
|
|
16897
16917
|
pm_node_t *body = parse_pattern(parser, captures, PM_PARSE_PATTERN_SINGLE, PM_ERR_PATTERN_EXPRESSION_AFTER_PAREN, (uint16_t) (depth + 1));
|
|
16898
16918
|
accept1(parser, PM_TOKEN_NEWLINE);
|
|
16899
|
-
|
|
16919
|
+
expect1_opening(parser, PM_TOKEN_PARENTHESIS_RIGHT, PM_ERR_PATTERN_TERM_PAREN, &opening);
|
|
16900
16920
|
pm_node_t *right = UP(pm_parentheses_node_create(parser, &opening, body, &parser->previous, 0));
|
|
16901
16921
|
|
|
16902
16922
|
if (!alternation) {
|
|
@@ -17748,7 +17768,8 @@ parse_expression_prefix(pm_parser_t *parser, pm_binding_power_t binding_power, b
|
|
|
17748
17768
|
pm_accepts_block_stack_push(parser, true);
|
|
17749
17769
|
parser_lex(parser);
|
|
17750
17770
|
|
|
17751
|
-
|
|
17771
|
+
pm_token_t opening = parser->previous;
|
|
17772
|
+
pm_hash_node_t *node = pm_hash_node_create(parser, &opening);
|
|
17752
17773
|
|
|
17753
17774
|
if (!match2(parser, PM_TOKEN_BRACE_RIGHT, PM_TOKEN_EOF)) {
|
|
17754
17775
|
if (current_hash_keys != NULL) {
|
|
@@ -17763,7 +17784,7 @@ parse_expression_prefix(pm_parser_t *parser, pm_binding_power_t binding_power, b
|
|
|
17763
17784
|
}
|
|
17764
17785
|
|
|
17765
17786
|
pm_accepts_block_stack_pop(parser);
|
|
17766
|
-
|
|
17787
|
+
expect1_opening(parser, PM_TOKEN_BRACE_RIGHT, PM_ERR_HASH_TERM, &opening);
|
|
17767
17788
|
pm_hash_node_closing_loc_set(node, &parser->previous);
|
|
17768
17789
|
|
|
17769
17790
|
return UP(node);
|
|
@@ -18380,7 +18401,7 @@ parse_expression_prefix(pm_parser_t *parser, pm_binding_power_t binding_power, b
|
|
|
18380
18401
|
}
|
|
18381
18402
|
|
|
18382
18403
|
parser_warn_indentation_mismatch(parser, opening_newline_index, &case_keyword, false, false);
|
|
18383
|
-
|
|
18404
|
+
expect1_opening(parser, PM_TOKEN_KEYWORD_END, PM_ERR_CASE_TERM, &case_keyword);
|
|
18384
18405
|
|
|
18385
18406
|
if (PM_NODE_TYPE_P(node, PM_CASE_NODE)) {
|
|
18386
18407
|
pm_case_node_end_keyword_loc_set((pm_case_node_t *) node, &parser->previous);
|
|
@@ -18413,7 +18434,7 @@ parse_expression_prefix(pm_parser_t *parser, pm_binding_power_t binding_power, b
|
|
|
18413
18434
|
|
|
18414
18435
|
pm_begin_node_t *begin_node = pm_begin_node_create(parser, &begin_keyword, begin_statements);
|
|
18415
18436
|
parse_rescues(parser, opening_newline_index, &begin_keyword, begin_node, PM_RESCUES_BEGIN, (uint16_t) (depth + 1));
|
|
18416
|
-
|
|
18437
|
+
expect1_opening(parser, PM_TOKEN_KEYWORD_END, PM_ERR_BEGIN_TERM, &begin_keyword);
|
|
18417
18438
|
|
|
18418
18439
|
begin_node->base.location.end = parser->previous.end;
|
|
18419
18440
|
pm_begin_node_end_keyword_set(begin_node, &parser->previous);
|
|
@@ -18438,7 +18459,7 @@ parse_expression_prefix(pm_parser_t *parser, pm_binding_power_t binding_power, b
|
|
|
18438
18459
|
pm_token_t opening = parser->previous;
|
|
18439
18460
|
pm_statements_node_t *statements = parse_statements(parser, PM_CONTEXT_PREEXE, (uint16_t) (depth + 1));
|
|
18440
18461
|
|
|
18441
|
-
|
|
18462
|
+
expect1_opening(parser, PM_TOKEN_BRACE_RIGHT, PM_ERR_BEGIN_UPCASE_TERM, &opening);
|
|
18442
18463
|
pm_context_t context = parser->current_context->context;
|
|
18443
18464
|
if ((context != PM_CONTEXT_MAIN) && (context != PM_CONTEXT_PREEXE)) {
|
|
18444
18465
|
pm_parser_err_token(parser, &keyword, PM_ERR_BEGIN_UPCASE_TOPLEVEL);
|
|
@@ -18568,7 +18589,7 @@ parse_expression_prefix(pm_parser_t *parser, pm_binding_power_t binding_power, b
|
|
|
18568
18589
|
parser_warn_indentation_mismatch(parser, opening_newline_index, &class_keyword, false, false);
|
|
18569
18590
|
}
|
|
18570
18591
|
|
|
18571
|
-
|
|
18592
|
+
expect1_opening(parser, PM_TOKEN_KEYWORD_END, PM_ERR_CLASS_TERM, &class_keyword);
|
|
18572
18593
|
|
|
18573
18594
|
pm_constant_id_list_t locals;
|
|
18574
18595
|
pm_locals_order(parser, &parser->current_scope->locals, &locals, false);
|
|
@@ -18626,7 +18647,7 @@ parse_expression_prefix(pm_parser_t *parser, pm_binding_power_t binding_power, b
|
|
|
18626
18647
|
parser_warn_indentation_mismatch(parser, opening_newline_index, &class_keyword, false, false);
|
|
18627
18648
|
}
|
|
18628
18649
|
|
|
18629
|
-
|
|
18650
|
+
expect1_opening(parser, PM_TOKEN_KEYWORD_END, PM_ERR_CLASS_TERM, &class_keyword);
|
|
18630
18651
|
|
|
18631
18652
|
if (context_def_p(parser)) {
|
|
18632
18653
|
pm_parser_err_token(parser, &class_keyword, PM_ERR_CLASS_IN_METHOD);
|
|
@@ -18936,7 +18957,7 @@ parse_expression_prefix(pm_parser_t *parser, pm_binding_power_t binding_power, b
|
|
|
18936
18957
|
pm_accepts_block_stack_pop(parser);
|
|
18937
18958
|
pm_do_loop_stack_pop(parser);
|
|
18938
18959
|
|
|
18939
|
-
|
|
18960
|
+
expect1_opening(parser, PM_TOKEN_KEYWORD_END, PM_ERR_DEF_TERM, &def_keyword);
|
|
18940
18961
|
end_keyword = parser->previous;
|
|
18941
18962
|
}
|
|
18942
18963
|
|
|
@@ -19030,7 +19051,7 @@ parse_expression_prefix(pm_parser_t *parser, pm_binding_power_t binding_power, b
|
|
|
19030
19051
|
pm_token_t opening = parser->previous;
|
|
19031
19052
|
pm_statements_node_t *statements = parse_statements(parser, PM_CONTEXT_POSTEXE, (uint16_t) (depth + 1));
|
|
19032
19053
|
|
|
19033
|
-
|
|
19054
|
+
expect1_opening(parser, PM_TOKEN_BRACE_RIGHT, PM_ERR_END_UPCASE_TERM, &opening);
|
|
19034
19055
|
return UP(pm_post_execution_node_create(parser, &keyword, &opening, statements, &parser->previous));
|
|
19035
19056
|
}
|
|
19036
19057
|
case PM_TOKEN_KEYWORD_FALSE:
|
|
@@ -19094,7 +19115,7 @@ parse_expression_prefix(pm_parser_t *parser, pm_binding_power_t binding_power, b
|
|
|
19094
19115
|
}
|
|
19095
19116
|
|
|
19096
19117
|
parser_warn_indentation_mismatch(parser, opening_newline_index, &for_keyword, false, false);
|
|
19097
|
-
|
|
19118
|
+
expect1_opening(parser, PM_TOKEN_KEYWORD_END, PM_ERR_FOR_TERM, &for_keyword);
|
|
19098
19119
|
|
|
19099
19120
|
return UP(pm_for_node_create(parser, index, collection, statements, &for_keyword, &in_keyword, &do_keyword, &parser->previous));
|
|
19100
19121
|
}
|
|
@@ -19245,7 +19266,7 @@ parse_expression_prefix(pm_parser_t *parser, pm_binding_power_t binding_power, b
|
|
|
19245
19266
|
pm_locals_order(parser, &parser->current_scope->locals, &locals, false);
|
|
19246
19267
|
|
|
19247
19268
|
pm_parser_scope_pop(parser);
|
|
19248
|
-
|
|
19269
|
+
expect1_opening(parser, PM_TOKEN_KEYWORD_END, PM_ERR_MODULE_TERM, &module_keyword);
|
|
19249
19270
|
|
|
19250
19271
|
if (context_def_p(parser)) {
|
|
19251
19272
|
pm_parser_err_token(parser, &module_keyword, PM_ERR_MODULE_IN_METHOD);
|
|
@@ -19311,7 +19332,7 @@ parse_expression_prefix(pm_parser_t *parser, pm_binding_power_t binding_power, b
|
|
|
19311
19332
|
}
|
|
19312
19333
|
|
|
19313
19334
|
parser_warn_indentation_mismatch(parser, opening_newline_index, &keyword, false, false);
|
|
19314
|
-
|
|
19335
|
+
expect1_opening(parser, PM_TOKEN_KEYWORD_END, PM_ERR_UNTIL_TERM, &keyword);
|
|
19315
19336
|
|
|
19316
19337
|
return UP(pm_until_node_create(parser, &keyword, &do_keyword, &parser->previous, predicate, statements, 0));
|
|
19317
19338
|
}
|
|
@@ -19345,7 +19366,7 @@ parse_expression_prefix(pm_parser_t *parser, pm_binding_power_t binding_power, b
|
|
|
19345
19366
|
}
|
|
19346
19367
|
|
|
19347
19368
|
parser_warn_indentation_mismatch(parser, opening_newline_index, &keyword, false, false);
|
|
19348
|
-
|
|
19369
|
+
expect1_opening(parser, PM_TOKEN_KEYWORD_END, PM_ERR_WHILE_TERM, &keyword);
|
|
19349
19370
|
|
|
19350
19371
|
return UP(pm_while_node_create(parser, &keyword, &do_keyword, &parser->previous, predicate, statements, 0));
|
|
19351
19372
|
}
|
|
@@ -20091,7 +20112,7 @@ parse_expression_prefix(pm_parser_t *parser, pm_binding_power_t binding_power, b
|
|
|
20091
20112
|
}
|
|
20092
20113
|
|
|
20093
20114
|
parser_warn_indentation_mismatch(parser, opening_newline_index, &operator, false, false);
|
|
20094
|
-
|
|
20115
|
+
expect1_opening(parser, PM_TOKEN_BRACE_RIGHT, PM_ERR_LAMBDA_TERM_BRACE, &opening);
|
|
20095
20116
|
} else {
|
|
20096
20117
|
expect1(parser, PM_TOKEN_KEYWORD_DO, PM_ERR_LAMBDA_OPEN);
|
|
20097
20118
|
opening = parser->previous;
|
|
@@ -20109,7 +20130,7 @@ parse_expression_prefix(pm_parser_t *parser, pm_binding_power_t binding_power, b
|
|
|
20109
20130
|
parser_warn_indentation_mismatch(parser, opening_newline_index, &operator, false, false);
|
|
20110
20131
|
}
|
|
20111
20132
|
|
|
20112
|
-
|
|
20133
|
+
expect1_opening(parser, PM_TOKEN_KEYWORD_END, PM_ERR_LAMBDA_TERM_END, &operator);
|
|
20113
20134
|
}
|
|
20114
20135
|
|
|
20115
20136
|
pm_constant_id_list_t locals;
|