@appthreat/atom-parsetools 1.0.12 → 1.0.13
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/package.json +4 -4
- package/plugins/autoload.php +1 -1
- package/plugins/bin/ruby_ast_gen +1 -1
- package/plugins/composer/autoload_classmap.php +4 -0
- package/plugins/composer/autoload_real.php +4 -4
- package/plugins/composer/autoload_static.php +8 -4
- package/plugins/composer/installed.json +8 -8
- package/plugins/composer/installed.php +9 -9
- package/plugins/nikic/php-parser/composer.json +1 -1
- package/plugins/nikic/php-parser/lib/PhpParser/ConstExprEvaluator.php +3 -0
- package/plugins/nikic/php-parser/lib/PhpParser/Lexer/Emulative.php +4 -0
- package/plugins/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/PipeOperatorEmulator.php +45 -0
- package/plugins/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/VoidCastEmulator.php +98 -0
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/ArrayItem.php +5 -1
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Pipe.php +15 -0
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/CallLike.php +25 -0
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/Bool_.php +4 -0
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/Int_.php +4 -0
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/String_.php +4 -0
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/Void_.php +11 -0
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/ClosureUse.php +5 -1
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Param.php +5 -1
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Scalar/DNumber.php +5 -1
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Scalar/Encapsed.php +5 -1
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Scalar/EncapsedStringPart.php +5 -1
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Scalar/LNumber.php +5 -1
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Scalar/String_.php +1 -1
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/DeclareDeclare.php +5 -1
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/PropertyProperty.php +5 -1
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/StaticVar.php +5 -1
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/UseUse.php +5 -1
- package/plugins/nikic/php-parser/lib/PhpParser/Parser/Php7.php +1396 -1273
- package/plugins/nikic/php-parser/lib/PhpParser/Parser/Php8.php +1390 -1295
- package/plugins/nikic/php-parser/lib/PhpParser/ParserAbstract.php +28 -1
- package/plugins/nikic/php-parser/lib/PhpParser/PhpVersion.php +1 -1
- package/plugins/nikic/php-parser/lib/PhpParser/PrettyPrinter/Standard.php +8 -0
- package/plugins/nikic/php-parser/lib/PhpParser/PrettyPrinterAbstract.php +7 -2
- package/plugins/nikic/php-parser/lib/PhpParser/compatibility_tokens.php +3 -0
- 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/3.4.0/bundler/gems/ruby_ast_gen-e7cf7549b7ea/Gemfile +11 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/bundler/gems/{ruby_ast_gen-8738b155eb4f → ruby_ast_gen-e7cf7549b7ea}/lib/ruby_ast_gen/version.rb +1 -1
- package/plugins/rubyastgen/bundle/ruby/3.4.0/bundler/gems/{ruby_ast_gen-8738b155eb4f → ruby_ast_gen-e7cf7549b7ea}/ruby_ast_gen.gemspec +2 -2
- package/plugins/rubyastgen/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/{prism-1.4.0 → prism-1.6.0}/gem_make.out +13 -13
- package/plugins/rubyastgen/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/{prism-1.4.0 → prism-1.6.0}/mkmf.log +8 -8
- package/plugins/rubyastgen/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/prism-1.6.0/prism/prism.so +0 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/racc-1.8.1/gem_make.out +6 -6
- package/plugins/rubyastgen/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/racc-1.8.1/racc/cparse.so +0 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/current.rb +2 -2
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/version.rb +1 -1
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/CHANGELOG.md +51 -1
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/Makefile +4 -2
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/README.md +2 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/config.yml +266 -38
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/docs/design.md +2 -2
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/prism-1.6.0/docs/parser_translation.md +24 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/docs/releasing.md +5 -24
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/docs/ripper_translation.md +1 -1
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/ext/prism/Makefile +4 -4
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/ext/prism/api_node.c +2 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/ext/prism/extension.c +25 -3
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/ext/prism/extension.h +1 -1
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/include/prism/ast.h +306 -50
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/include/prism/diagnostic.h +5 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/include/prism/options.h +43 -3
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/include/prism/regexp.h +2 -2
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/include/prism/util/pm_buffer.h +8 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/include/prism/util/pm_integer.h +4 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/include/prism/util/pm_list.h +6 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/include/prism/util/pm_string.h +12 -2
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/include/prism/version.h +2 -2
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/include/prism.h +39 -14
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/prism-1.6.0/lib/prism/compiler.rb +801 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/lib/prism/desugar_compiler.rb +1 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/lib/prism/dispatcher.rb +16 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/lib/prism/dot_visitor.rb +5 -1
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/lib/prism/dsl.rb +3 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/lib/prism/ffi.rb +25 -9
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/lib/prism/inspect_visitor.rb +3 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/lib/prism/lex_compat.rb +1 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/lib/prism/mutation_compiler.rb +3 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/lib/prism/node.rb +507 -336
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/lib/prism/node_ext.rb +4 -1
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/lib/prism/pack.rb +2 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/lib/prism/parse_result/comments.rb +1 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/lib/prism/parse_result/errors.rb +1 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/lib/prism/parse_result/newlines.rb +1 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/lib/prism/parse_result.rb +1 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/lib/prism/pattern.rb +1 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/prism-1.6.0/lib/prism/polyfill/scan_byte.rb +14 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/prism-1.6.0/lib/prism/polyfill/warn.rb +36 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/prism-1.6.0/lib/prism/prism.so +0 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/lib/prism/reflection.rb +3 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/lib/prism/relocation.rb +1 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/lib/prism/serialize.rb +25 -19
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/lib/prism/string_query.rb +1 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/lib/prism/translation/parser/builder.rb +1 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/lib/prism/translation/parser/compiler.rb +47 -25
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/lib/prism/translation/parser/lexer.rb +29 -21
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/lib/prism/translation/parser.rb +21 -2
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/lib/prism/translation/parser33.rb +1 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/lib/prism/translation/parser34.rb +1 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/lib/prism/translation/parser35.rb +1 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/prism-1.6.0/lib/prism/translation/parser_current.rb +24 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/lib/prism/translation/ripper/sexp.rb +1 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/lib/prism/translation/ripper.rb +17 -1
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/lib/prism/translation/ruby_parser.rb +287 -4
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/lib/prism/translation.rb +2 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/prism-1.6.0/lib/prism/visitor.rb +813 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/lib/prism.rb +23 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/prism.gemspec +5 -1
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/rbi/prism/dsl.rbi +3 -3
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/rbi/prism/node.rbi +21 -9
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/sig/prism/dispatcher.rbs +3 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/sig/prism/dsl.rbs +3 -3
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/sig/prism/node.rbs +444 -30
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/prism-1.6.0/sig/prism/node_ext.rbs +149 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/prism-1.6.0/sig/prism/parse_result/comments.rbs +38 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/sig/prism/parse_result.rbs +4 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/sig/prism/reflection.rbs +1 -1
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/sig/prism.rbs +4 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/src/diagnostic.c +9 -1
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/src/node.c +2 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/src/options.c +2 -2
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/src/prettyprint.c +2 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/src/prism.c +324 -147
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/src/serialize.c +2 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/src/token_type.c +36 -34
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/src/util/pm_string.c +6 -8
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/racc-1.8.1/ext/racc/cparse/Makefile +3 -3
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/racc-1.8.1/lib/racc/cparse.so +0 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/specifications/{parser-3.3.8.0.gemspec → parser-3.3.10.0.gemspec} +4 -4
- package/plugins/rubyastgen/bundle/ruby/3.4.0/specifications/{prism-1.4.0.gemspec → prism-1.6.0.gemspec} +4 -4
- package/rbastgen.js +1 -1
- package/plugins/rubyastgen/bundle/ruby/3.4.0/bundler/gems/ruby_ast_gen-8738b155eb4f/Gemfile +0 -11
- package/plugins/rubyastgen/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/prism-1.4.0/prism/prism.so +0 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/prism-1.4.0/docs/parser_translation.md +0 -39
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/prism-1.4.0/lib/prism/compiler.rb +0 -496
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/prism-1.4.0/lib/prism/prism.so +0 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/prism-1.4.0/lib/prism/visitor.rb +0 -508
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/prism-1.4.0/sig/prism/node_ext.rbs +0 -82
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/bundler/gems/{ruby_ast_gen-8738b155eb4f → ruby_ast_gen-e7cf7549b7ea}/.rspec +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/bundler/gems/{ruby_ast_gen-8738b155eb4f → ruby_ast_gen-e7cf7549b7ea}/LICENSE.txt +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/bundler/gems/{ruby_ast_gen-8738b155eb4f → ruby_ast_gen-e7cf7549b7ea}/README.md +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/bundler/gems/{ruby_ast_gen-8738b155eb4f → ruby_ast_gen-e7cf7549b7ea}/Rakefile +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/bundler/gems/{ruby_ast_gen-8738b155eb4f → ruby_ast_gen-e7cf7549b7ea}/bin/console +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/bundler/gems/{ruby_ast_gen-8738b155eb4f → ruby_ast_gen-e7cf7549b7ea}/bin/setup +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/bundler/gems/{ruby_ast_gen-8738b155eb4f → ruby_ast_gen-e7cf7549b7ea}/exe/ruby_ast_gen +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/bundler/gems/{ruby_ast_gen-8738b155eb4f → ruby_ast_gen-e7cf7549b7ea}/lib/ruby_ast_gen/node_handling.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/bundler/gems/{ruby_ast_gen-8738b155eb4f → ruby_ast_gen-e7cf7549b7ea}/lib/ruby_ast_gen.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/bundler/gems/{ruby_ast_gen-8738b155eb4f → ruby_ast_gen-e7cf7549b7ea}/spec/ruby_ast_gen_spec.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/bundler/gems/{ruby_ast_gen-8738b155eb4f → ruby_ast_gen-e7cf7549b7ea}/spec/spec_helper.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/bundler/gems/{ruby_ast_gen-8738b155eb4f → ruby_ast_gen-e7cf7549b7ea}/update_version.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/{prism-1.4.0 → prism-1.6.0}/gem.build_complete +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/LICENSE.txt +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/bin/ruby-parse +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/bin/ruby-rewrite +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/gauntlet_parser.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/all.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/ast/node.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/ast/processor.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/base.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/builders/default.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/clobbering_error.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/color.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/context.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/current_arg_stack.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/deprecation.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/diagnostic/engine.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/diagnostic.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/lexer/dedenter.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/lexer/explanation.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/lexer/literal.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/lexer/stack_state.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/lexer-F0.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/lexer-F1.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/lexer-strings.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/macruby.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/max_numparam_stack.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/messages.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/meta.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/rewriter.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/ruby18.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/ruby19.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/ruby20.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/ruby21.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/ruby22.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/ruby23.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/ruby24.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/ruby25.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/ruby26.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/ruby27.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/ruby30.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/ruby31.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/ruby32.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/ruby33.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/ruby34.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/rubymotion.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/runner/ruby_parse.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/runner/ruby_rewrite.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/runner.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/source/buffer.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/source/comment/associator.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/source/comment.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/source/map/collection.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/source/map/condition.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/source/map/constant.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/source/map/definition.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/source/map/for.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/source/map/heredoc.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/source/map/index.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/source/map/keyword.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/source/map/method_definition.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/source/map/objc_kwarg.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/source/map/operator.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/source/map/rescue_body.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/source/map/send.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/source/map/ternary.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/source/map/variable.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/source/map.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/source/range.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/source/rewriter/action.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/source/rewriter.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/source/tree_rewriter/action.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/source/tree_rewriter.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/static_environment.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/syntax_error.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/tree_rewriter.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/unknown_encoding_in_magic_comment_error.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser/variables_stack.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/lib/parser.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{parser-3.3.8.0 → parser-3.3.10.0}/parser.gemspec +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/BSDmakefile +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/CODE_OF_CONDUCT.md +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/CONTRIBUTING.md +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/LICENSE.md +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/docs/build_system.md +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/docs/configuration.md +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/docs/cruby_compilation.md +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/docs/encoding.md +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/docs/fuzzing.md +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/docs/heredocs.md +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/docs/javascript.md +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/docs/local_variable_depth.md +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/docs/mapping.md +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/docs/parsing_rules.md +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/docs/relocation.md +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/docs/ruby_api.md +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/docs/ruby_parser_translation.md +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/docs/serialization.md +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/docs/testing.md +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/ext/prism/api_pack.c +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/ext/prism/extconf.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/include/prism/defines.h +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/include/prism/encoding.h +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/include/prism/node.h +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/include/prism/pack.h +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/include/prism/parser.h +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/include/prism/prettyprint.h +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/include/prism/static_literals.h +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/include/prism/util/pm_char.h +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/include/prism/util/pm_constant_pool.h +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/include/prism/util/pm_memchr.h +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/include/prism/util/pm_newline_list.h +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/include/prism/util/pm_strncasecmp.h +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/include/prism/util/pm_strpbrk.h +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/lib/prism/polyfill/append_as_bytes.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/lib/prism/polyfill/byteindex.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/lib/prism/polyfill/unpack1.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/lib/prism/translation/ripper/shim.rb +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/rbi/prism/compiler.rbi +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/rbi/prism/inspect_visitor.rbi +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/rbi/prism/node_ext.rbi +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/rbi/prism/parse_result.rbi +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/rbi/prism/reflection.rbi +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/rbi/prism/string_query.rbi +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/rbi/prism/translation/parser.rbi +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/rbi/prism/translation/parser33.rbi +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/rbi/prism/translation/parser34.rbi +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/rbi/prism/translation/parser35.rbi +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/rbi/prism/translation/ripper.rbi +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/rbi/prism/visitor.rbi +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/rbi/prism.rbi +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/sig/prism/compiler.rbs +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/sig/prism/dot_visitor.rbs +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/sig/prism/inspect_visitor.rbs +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/sig/prism/lex_compat.rbs +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/sig/prism/mutation_compiler.rbs +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/sig/prism/pack.rbs +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/sig/prism/pattern.rbs +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/sig/prism/relocation.rbs +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/sig/prism/serialize.rbs +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/sig/prism/string_query.rbs +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/sig/prism/visitor.rbs +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/src/encoding.c +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/src/pack.c +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/src/regexp.c +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/src/static_literals.c +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/src/util/pm_buffer.c +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/src/util/pm_char.c +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/src/util/pm_constant_pool.c +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/src/util/pm_integer.c +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/src/util/pm_list.c +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/src/util/pm_memchr.c +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/src/util/pm_newline_list.c +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/src/util/pm_strncasecmp.c +0 -0
- /package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/{prism-1.4.0 → prism-1.6.0}/src/util/pm_strpbrk.c +0 -0
|
@@ -736,6 +736,33 @@ abstract class ParserAbstract implements Parser {
|
|
|
736
736
|
return Double::KIND_DOUBLE;
|
|
737
737
|
}
|
|
738
738
|
|
|
739
|
+
protected function getIntCastKind(string $cast): int {
|
|
740
|
+
$cast = strtolower($cast);
|
|
741
|
+
if (strpos($cast, 'integer') !== false) {
|
|
742
|
+
return Expr\Cast\Int_::KIND_INTEGER;
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
return Expr\Cast\Int_::KIND_INT;
|
|
746
|
+
}
|
|
747
|
+
|
|
748
|
+
protected function getBoolCastKind(string $cast): int {
|
|
749
|
+
$cast = strtolower($cast);
|
|
750
|
+
if (strpos($cast, 'boolean') !== false) {
|
|
751
|
+
return Expr\Cast\Bool_::KIND_BOOLEAN;
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
return Expr\Cast\Bool_::KIND_BOOL;
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
protected function getStringCastKind(string $cast): int {
|
|
758
|
+
$cast = strtolower($cast);
|
|
759
|
+
if (strpos($cast, 'binary') !== false) {
|
|
760
|
+
return Expr\Cast\String_::KIND_BINARY;
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
return Expr\Cast\String_::KIND_STRING;
|
|
764
|
+
}
|
|
765
|
+
|
|
739
766
|
/** @param array<string, mixed> $attributes */
|
|
740
767
|
protected function parseLNumber(string $str, array $attributes, bool $allowInvalidOctal = false): Int_ {
|
|
741
768
|
try {
|
|
@@ -976,7 +1003,7 @@ abstract class ParserAbstract implements Parser {
|
|
|
976
1003
|
}
|
|
977
1004
|
|
|
978
1005
|
protected function fixupArrayDestructuring(Array_ $node): Expr\List_ {
|
|
979
|
-
$this->createdArrays->
|
|
1006
|
+
$this->createdArrays->offsetUnset($node);
|
|
980
1007
|
return new Expr\List_(array_map(function (Node\ArrayItem $item) {
|
|
981
1008
|
if ($item->value instanceof Expr\Error) {
|
|
982
1009
|
// We used Error as a placeholder for empty elements, which are legal for destructuring.
|
|
@@ -425,6 +425,10 @@ class Standard extends PrettyPrinterAbstract {
|
|
|
425
425
|
return $this->pInfixOp(BinaryOp\Coalesce::class, $node->left, ' ?? ', $node->right, $precedence, $lhsPrecedence);
|
|
426
426
|
}
|
|
427
427
|
|
|
428
|
+
protected function pExpr_BinaryOp_Pipe(BinaryOp\Pipe $node, int $precedence, int $lhsPrecedence): string {
|
|
429
|
+
return $this->pInfixOp(BinaryOp\Pipe::class, $node->left, ' |> ', $node->right, $precedence, $lhsPrecedence);
|
|
430
|
+
}
|
|
431
|
+
|
|
428
432
|
protected function pExpr_Instanceof(Expr\Instanceof_ $node, int $precedence, int $lhsPrecedence): string {
|
|
429
433
|
return $this->pPostfixOp(
|
|
430
434
|
Expr\Instanceof_::class, $node->expr,
|
|
@@ -517,6 +521,10 @@ class Standard extends PrettyPrinterAbstract {
|
|
|
517
521
|
return $this->pPrefixOp(Cast\Unset_::class, '(unset) ', $node->expr, $precedence, $lhsPrecedence);
|
|
518
522
|
}
|
|
519
523
|
|
|
524
|
+
protected function pExpr_Cast_Void(Cast\Void_ $node, int $precedence, int $lhsPrecedence): string {
|
|
525
|
+
return $this->pPrefixOp(Cast\Void_::class, '(void) ', $node->expr, $precedence, $lhsPrecedence);
|
|
526
|
+
}
|
|
527
|
+
|
|
520
528
|
// Function calls and similar constructs
|
|
521
529
|
|
|
522
530
|
protected function pExpr_FuncCall(Expr\FuncCall $node): string {
|
|
@@ -59,9 +59,11 @@ abstract class PrettyPrinterAbstract implements PrettyPrinter {
|
|
|
59
59
|
BinaryOp\Mod::class => [ 40, 41, 40],
|
|
60
60
|
BinaryOp\Plus::class => [ 50, 51, 50],
|
|
61
61
|
BinaryOp\Minus::class => [ 50, 51, 50],
|
|
62
|
+
// FIXME: This precedence is incorrect for PHP 8.
|
|
62
63
|
BinaryOp\Concat::class => [ 50, 51, 50],
|
|
63
64
|
BinaryOp\ShiftLeft::class => [ 60, 61, 60],
|
|
64
65
|
BinaryOp\ShiftRight::class => [ 60, 61, 60],
|
|
66
|
+
BinaryOp\Pipe::class => [ 65, 66, 65],
|
|
65
67
|
BinaryOp\Smaller::class => [ 70, 70, 70],
|
|
66
68
|
BinaryOp\SmallerOrEqual::class => [ 70, 70, 70],
|
|
67
69
|
BinaryOp\Greater::class => [ 70, 70, 70],
|
|
@@ -102,6 +104,7 @@ abstract class PrettyPrinterAbstract implements PrettyPrinter {
|
|
|
102
104
|
Expr\Include_::class => [220, -1, -1],
|
|
103
105
|
Expr\ArrowFunction::class => [230, -1, -1],
|
|
104
106
|
Expr\Throw_::class => [240, -1, -1],
|
|
107
|
+
Expr\Cast\Void_::class => [250, -1, -1],
|
|
105
108
|
];
|
|
106
109
|
|
|
107
110
|
/** @var int Current indentation level. */
|
|
@@ -675,8 +678,10 @@ abstract class PrettyPrinterAbstract implements PrettyPrinter {
|
|
|
675
678
|
}
|
|
676
679
|
|
|
677
680
|
[$printFn, $findToken] = $this->modifierChangeMap[$key];
|
|
681
|
+
$skipWSPos = $this->origTokens->skipRightWhitespace($pos);
|
|
682
|
+
$result .= $this->origTokens->getTokenCode($pos, $skipWSPos, $indentAdjustment);
|
|
678
683
|
$result .= $this->$printFn($subNode);
|
|
679
|
-
$pos = $this->origTokens->findRight($
|
|
684
|
+
$pos = $this->origTokens->findRight($skipWSPos, $findToken);
|
|
680
685
|
continue;
|
|
681
686
|
}
|
|
682
687
|
|
|
@@ -1372,7 +1377,7 @@ abstract class PrettyPrinterAbstract implements PrettyPrinter {
|
|
|
1372
1377
|
BinaryOp\NotIdentical::class, BinaryOp\Spaceship::class, BinaryOp\BitwiseAnd::class,
|
|
1373
1378
|
BinaryOp\BitwiseXor::class, BinaryOp\BitwiseOr::class, BinaryOp\BooleanAnd::class,
|
|
1374
1379
|
BinaryOp\BooleanOr::class, BinaryOp\Coalesce::class, BinaryOp\LogicalAnd::class,
|
|
1375
|
-
BinaryOp\LogicalXor::class, BinaryOp\LogicalOr::class,
|
|
1380
|
+
BinaryOp\LogicalXor::class, BinaryOp\LogicalOr::class, BinaryOp\Pipe::class,
|
|
1376
1381
|
];
|
|
1377
1382
|
foreach ($binaryOps as $binaryOp) {
|
|
1378
1383
|
$this->fixupMap[$binaryOp] = [
|
|
@@ -22,6 +22,9 @@ if (!\function_exists('PhpParser\defineCompatibilityTokens')) {
|
|
|
22
22
|
'T_PUBLIC_SET',
|
|
23
23
|
'T_PROTECTED_SET',
|
|
24
24
|
'T_PRIVATE_SET',
|
|
25
|
+
// PHP 8.5
|
|
26
|
+
'T_PIPE',
|
|
27
|
+
'T_VOID_CAST',
|
|
25
28
|
];
|
|
26
29
|
|
|
27
30
|
// PHP-Parser might be used together with another library that also emulates some or all
|
|
@@ -5,9 +5,9 @@ ruby ">=3.1.4"
|
|
|
5
5
|
source "https://rubygems.org"
|
|
6
6
|
|
|
7
7
|
group :frontend do
|
|
8
|
-
gem "ruby_ast_gen", github: 'appthreat/ruby_ast_gen', ref: 'v1.1.
|
|
9
|
-
gem "parser", "~> 3.3.
|
|
10
|
-
gem "prism", "~> 1.
|
|
8
|
+
gem "ruby_ast_gen", github: 'appthreat/ruby_ast_gen', ref: 'v1.1.1'
|
|
9
|
+
gem "parser", "~> 3.3.10.0"
|
|
10
|
+
gem "prism", "~> 1.6"
|
|
11
11
|
gem "ostruct", "~> 0.6.3"
|
|
12
12
|
gem "racc", "~> 1.8.1"
|
|
13
13
|
end
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
GIT
|
|
2
2
|
remote: https://github.com/appthreat/ruby_ast_gen.git
|
|
3
|
-
revision:
|
|
4
|
-
ref: v1.1.
|
|
3
|
+
revision: e7cf7549b7ea2fb91878d94efba3401fe72d5e60
|
|
4
|
+
ref: v1.1.1
|
|
5
5
|
specs:
|
|
6
|
-
ruby_ast_gen (1.1.
|
|
6
|
+
ruby_ast_gen (1.1.1)
|
|
7
7
|
|
|
8
8
|
GEM
|
|
9
9
|
remote: https://rubygems.org/
|
|
10
10
|
specs:
|
|
11
11
|
ast (2.4.3)
|
|
12
12
|
ostruct (0.6.3)
|
|
13
|
-
parser (3.3.
|
|
13
|
+
parser (3.3.10.0)
|
|
14
14
|
ast (~> 2.4.1)
|
|
15
15
|
racc
|
|
16
|
-
prism (1.
|
|
16
|
+
prism (1.6.0)
|
|
17
17
|
racc (1.8.1)
|
|
18
18
|
|
|
19
19
|
PLATFORMS
|
|
@@ -24,8 +24,8 @@ PLATFORMS
|
|
|
24
24
|
|
|
25
25
|
DEPENDENCIES
|
|
26
26
|
ostruct (~> 0.6.3)
|
|
27
|
-
parser (~> 3.3.
|
|
28
|
-
prism (~> 1.
|
|
27
|
+
parser (~> 3.3.10.0)
|
|
28
|
+
prism (~> 1.6)
|
|
29
29
|
racc (~> 1.8.1)
|
|
30
30
|
ruby_ast_gen!
|
|
31
31
|
|
|
@@ -38,7 +38,7 @@ $:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version
|
|
|
38
38
|
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/ostruct-0.6.3/lib")
|
|
39
39
|
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/x86_64-linux/#{Gem.extension_api_version}/racc-1.8.1")
|
|
40
40
|
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/racc-1.8.1/lib")
|
|
41
|
-
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parser-3.3.
|
|
42
|
-
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/x86_64-linux/#{Gem.extension_api_version}/prism-1.
|
|
43
|
-
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/prism-1.
|
|
44
|
-
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/bundler/gems/ruby_ast_gen-
|
|
41
|
+
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/parser-3.3.10.0/lib")
|
|
42
|
+
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/extensions/x86_64-linux/#{Gem.extension_api_version}/prism-1.6.0")
|
|
43
|
+
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/gems/prism-1.6.0/lib")
|
|
44
|
+
$:.unshift File.expand_path("#{__dir__}/../#{RUBY_ENGINE}/#{Gem.ruby_api_version}/bundler/gems/ruby_ast_gen-e7cf7549b7ea/lib")
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
|
2
|
-
# stub: ruby_ast_gen 1.1.
|
|
2
|
+
# stub: ruby_ast_gen 1.1.1 ruby lib
|
|
3
3
|
|
|
4
4
|
Gem::Specification.new do |s|
|
|
5
5
|
s.name = "ruby_ast_gen".freeze
|
|
6
|
-
s.version = "1.1.
|
|
6
|
+
s.version = "1.1.1".freeze
|
|
7
7
|
|
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
|
9
9
|
s.metadata = { "homepage_uri" => "https://github.com/appthreat/ruby_ast_gen" } if s.respond_to? :metadata=
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
current directory: /home/runner/work/atom/atom/wrapper/nodejs/packages/atom-parsetools/plugins/rubyastgen/bundle/ruby/3.4.0/gems/prism-1.
|
|
2
|
-
/opt/hostedtoolcache/Ruby/3.4.
|
|
3
|
-
checking for prism.h in /home/runner/work/atom/atom/wrapper/nodejs/packages/atom-parsetools/plugins/rubyastgen/bundle/ruby/3.4.0/gems/prism-1.
|
|
4
|
-
checking for prism/extension.h in /home/runner/work/atom/atom/wrapper/nodejs/packages/atom-parsetools/plugins/rubyastgen/bundle/ruby/3.4.0/gems/prism-1.
|
|
1
|
+
current directory: /home/runner/work/atom/atom/wrapper/nodejs/packages/atom-parsetools/plugins/rubyastgen/bundle/ruby/3.4.0/gems/prism-1.6.0/ext/prism
|
|
2
|
+
/opt/hostedtoolcache/Ruby/3.4.7/x64/bin/ruby extconf.rb
|
|
3
|
+
checking for prism.h in /home/runner/work/atom/atom/wrapper/nodejs/packages/atom-parsetools/plugins/rubyastgen/bundle/ruby/3.4.0/gems/prism-1.6.0/include... yes
|
|
4
|
+
checking for prism/extension.h in /home/runner/work/atom/atom/wrapper/nodejs/packages/atom-parsetools/plugins/rubyastgen/bundle/ruby/3.4.0/gems/prism-1.6.0/ext... yes
|
|
5
5
|
checking for whether -fvisibility=hidden is accepted as CFLAGS... yes
|
|
6
6
|
creating Makefile
|
|
7
7
|
|
|
8
|
-
current directory: /home/runner/work/atom/atom/wrapper/nodejs/packages/atom-parsetools/plugins/rubyastgen/bundle/ruby/3.4.0/gems/prism-1.
|
|
9
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
8
|
+
current directory: /home/runner/work/atom/atom/wrapper/nodejs/packages/atom-parsetools/plugins/rubyastgen/bundle/ruby/3.4.0/gems/prism-1.6.0/ext/prism
|
|
9
|
+
make DESTDIR\= sitearchdir\=./.gem.20251204-2999-73adu7 sitelibdir\=./.gem.20251204-2999-73adu7 clean
|
|
10
10
|
|
|
11
|
-
current directory: /home/runner/work/atom/atom/wrapper/nodejs/packages/atom-parsetools/plugins/rubyastgen/bundle/ruby/3.4.0/gems/prism-1.
|
|
12
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
11
|
+
current directory: /home/runner/work/atom/atom/wrapper/nodejs/packages/atom-parsetools/plugins/rubyastgen/bundle/ruby/3.4.0/gems/prism-1.6.0/ext/prism
|
|
12
|
+
make DESTDIR\= sitearchdir\=./.gem.20251204-2999-73adu7 sitelibdir\=./.gem.20251204-2999-73adu7
|
|
13
13
|
compiling api_node.c
|
|
14
14
|
compiling api_pack.c
|
|
15
15
|
compiling extension.c
|
|
@@ -36,9 +36,9 @@ compiling ./../../src/util/pm_strncasecmp.c
|
|
|
36
36
|
compiling ./../../src/util/pm_strpbrk.c
|
|
37
37
|
linking shared-object prism/prism.so
|
|
38
38
|
|
|
39
|
-
current directory: /home/runner/work/atom/atom/wrapper/nodejs/packages/atom-parsetools/plugins/rubyastgen/bundle/ruby/3.4.0/gems/prism-1.
|
|
40
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
41
|
-
/usr/bin/install -c -m 0755 prism.so ./.gem.
|
|
39
|
+
current directory: /home/runner/work/atom/atom/wrapper/nodejs/packages/atom-parsetools/plugins/rubyastgen/bundle/ruby/3.4.0/gems/prism-1.6.0/ext/prism
|
|
40
|
+
make DESTDIR\= sitearchdir\=./.gem.20251204-2999-73adu7 sitelibdir\=./.gem.20251204-2999-73adu7 install
|
|
41
|
+
/usr/bin/install -c -m 0755 prism.so ./.gem.20251204-2999-73adu7/prism
|
|
42
42
|
|
|
43
|
-
current directory: /home/runner/work/atom/atom/wrapper/nodejs/packages/atom-parsetools/plugins/rubyastgen/bundle/ruby/3.4.0/gems/prism-1.
|
|
44
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
43
|
+
current directory: /home/runner/work/atom/atom/wrapper/nodejs/packages/atom-parsetools/plugins/rubyastgen/bundle/ruby/3.4.0/gems/prism-1.6.0/ext/prism
|
|
44
|
+
make DESTDIR\= sitearchdir\=./.gem.20251204-2999-73adu7 sitelibdir\=./.gem.20251204-2999-73adu7 clean
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
find_header: checking for prism.h in /home/runner/work/atom/atom/wrapper/nodejs/packages/atom-parsetools/plugins/rubyastgen/bundle/ruby/3.4.0/gems/prism-1.
|
|
1
|
+
find_header: checking for prism.h in /home/runner/work/atom/atom/wrapper/nodejs/packages/atom-parsetools/plugins/rubyastgen/bundle/ruby/3.4.0/gems/prism-1.6.0/include... -------------------- yes
|
|
2
2
|
|
|
3
|
-
LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/3.4.
|
|
3
|
+
LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/3.4.7/x64/lib ASAN_OPTIONS=detect_leaks=0 "gcc -o conftest -I/opt/hostedtoolcache/Ruby/3.4.7/x64/include/ruby-3.4.0/x86_64-linux -I/opt/hostedtoolcache/Ruby/3.4.7/x64/include/ruby-3.4.0/ruby/backward -I/opt/hostedtoolcache/Ruby/3.4.7/x64/include/ruby-3.4.0 -I. -DENABLE_PATH_CHECK=0 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wmisleading-indentation -Wundef -fPIC conftest.c -L. -L/opt/hostedtoolcache/Ruby/3.4.7/x64/lib -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.4.7/x64/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,--no-as-needed -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.4.7/x64/lib -L/opt/hostedtoolcache/Ruby/3.4.7/x64/lib -lruby -lm -lpthread -lc"
|
|
4
4
|
checked program was:
|
|
5
5
|
/* begin */
|
|
6
6
|
1: #include "ruby.h"
|
|
@@ -11,7 +11,7 @@ checked program was:
|
|
|
11
11
|
6: }
|
|
12
12
|
/* end */
|
|
13
13
|
|
|
14
|
-
LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/3.4.
|
|
14
|
+
LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/3.4.7/x64/lib ASAN_OPTIONS=detect_leaks=0 "gcc -I/opt/hostedtoolcache/Ruby/3.4.7/x64/include/ruby-3.4.0/x86_64-linux -I/opt/hostedtoolcache/Ruby/3.4.7/x64/include/ruby-3.4.0/ruby/backward -I/opt/hostedtoolcache/Ruby/3.4.7/x64/include/ruby-3.4.0 -I. -DENABLE_PATH_CHECK=0 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wmisleading-indentation -Wundef -fPIC -c conftest.c"
|
|
15
15
|
conftest.c:3:10: fatal error: prism.h: No such file or directory
|
|
16
16
|
3 | #include <prism.h>
|
|
17
17
|
| ^~~~~~~~~
|
|
@@ -23,7 +23,7 @@ checked program was:
|
|
|
23
23
|
3: #include <prism.h>
|
|
24
24
|
/* end */
|
|
25
25
|
|
|
26
|
-
LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/3.4.
|
|
26
|
+
LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/3.4.7/x64/lib ASAN_OPTIONS=detect_leaks=0 "gcc -I/opt/hostedtoolcache/Ruby/3.4.7/x64/include/ruby-3.4.0/x86_64-linux -I/opt/hostedtoolcache/Ruby/3.4.7/x64/include/ruby-3.4.0/ruby/backward -I/opt/hostedtoolcache/Ruby/3.4.7/x64/include/ruby-3.4.0 -I. -DENABLE_PATH_CHECK=0 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wmisleading-indentation -Wundef -fPIC -I/home/runner/work/atom/atom/wrapper/nodejs/packages/atom-parsetools/plugins/rubyastgen/bundle/ruby/3.4.0/gems/prism-1.6.0/include -c conftest.c"
|
|
27
27
|
checked program was:
|
|
28
28
|
/* begin */
|
|
29
29
|
1: #include "ruby.h"
|
|
@@ -33,9 +33,9 @@ checked program was:
|
|
|
33
33
|
|
|
34
34
|
--------------------
|
|
35
35
|
|
|
36
|
-
find_header: checking for prism/extension.h in /home/runner/work/atom/atom/wrapper/nodejs/packages/atom-parsetools/plugins/rubyastgen/bundle/ruby/3.4.0/gems/prism-1.
|
|
36
|
+
find_header: checking for prism/extension.h in /home/runner/work/atom/atom/wrapper/nodejs/packages/atom-parsetools/plugins/rubyastgen/bundle/ruby/3.4.0/gems/prism-1.6.0/ext... -------------------- yes
|
|
37
37
|
|
|
38
|
-
LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/3.4.
|
|
38
|
+
LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/3.4.7/x64/lib ASAN_OPTIONS=detect_leaks=0 "gcc -I/opt/hostedtoolcache/Ruby/3.4.7/x64/include/ruby-3.4.0/x86_64-linux -I/opt/hostedtoolcache/Ruby/3.4.7/x64/include/ruby-3.4.0/ruby/backward -I/opt/hostedtoolcache/Ruby/3.4.7/x64/include/ruby-3.4.0 -I. -I/home/runner/work/atom/atom/wrapper/nodejs/packages/atom-parsetools/plugins/rubyastgen/bundle/ruby/3.4.0/gems/prism-1.6.0/include -DENABLE_PATH_CHECK=0 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wmisleading-indentation -Wundef -fPIC -c conftest.c"
|
|
39
39
|
conftest.c:3:10: fatal error: prism/extension.h: No such file or directory
|
|
40
40
|
3 | #include <prism/extension.h>
|
|
41
41
|
| ^~~~~~~~~~~~~~~~~~~
|
|
@@ -47,7 +47,7 @@ checked program was:
|
|
|
47
47
|
3: #include <prism/extension.h>
|
|
48
48
|
/* end */
|
|
49
49
|
|
|
50
|
-
LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/3.4.
|
|
50
|
+
LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/3.4.7/x64/lib ASAN_OPTIONS=detect_leaks=0 "gcc -I/opt/hostedtoolcache/Ruby/3.4.7/x64/include/ruby-3.4.0/x86_64-linux -I/opt/hostedtoolcache/Ruby/3.4.7/x64/include/ruby-3.4.0/ruby/backward -I/opt/hostedtoolcache/Ruby/3.4.7/x64/include/ruby-3.4.0 -I. -I/home/runner/work/atom/atom/wrapper/nodejs/packages/atom-parsetools/plugins/rubyastgen/bundle/ruby/3.4.0/gems/prism-1.6.0/include -DENABLE_PATH_CHECK=0 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wmisleading-indentation -Wundef -fPIC -I/home/runner/work/atom/atom/wrapper/nodejs/packages/atom-parsetools/plugins/rubyastgen/bundle/ruby/3.4.0/gems/prism-1.6.0/ext -c conftest.c"
|
|
51
51
|
checked program was:
|
|
52
52
|
/* begin */
|
|
53
53
|
1: #include "ruby.h"
|
|
@@ -59,7 +59,7 @@ checked program was:
|
|
|
59
59
|
|
|
60
60
|
append_cflags: checking for whether -fvisibility=hidden is accepted as CFLAGS... -------------------- yes
|
|
61
61
|
|
|
62
|
-
LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/3.4.
|
|
62
|
+
LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/3.4.7/x64/lib ASAN_OPTIONS=detect_leaks=0 "gcc -I/opt/hostedtoolcache/Ruby/3.4.7/x64/include/ruby-3.4.0/x86_64-linux -I/opt/hostedtoolcache/Ruby/3.4.7/x64/include/ruby-3.4.0/ruby/backward -I/opt/hostedtoolcache/Ruby/3.4.7/x64/include/ruby-3.4.0 -I. -I/home/runner/work/atom/atom/wrapper/nodejs/packages/atom-parsetools/plugins/rubyastgen/bundle/ruby/3.4.0/gems/prism-1.6.0/include -I/home/runner/work/atom/atom/wrapper/nodejs/packages/atom-parsetools/plugins/rubyastgen/bundle/ruby/3.4.0/gems/prism-1.6.0/ext -DENABLE_PATH_CHECK=0 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wmisleading-indentation -Wundef -fPIC -fvisibility=hidden -Werror -c conftest.c"
|
|
63
63
|
checked program was:
|
|
64
64
|
/* begin */
|
|
65
65
|
1: #include "ruby.h"
|
|
Binary file
|
package/plugins/rubyastgen/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/racc-1.8.1/gem_make.out
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
current directory: /home/runner/work/atom/atom/wrapper/nodejs/packages/atom-parsetools/plugins/rubyastgen/bundle/ruby/3.4.0/gems/racc-1.8.1/ext/racc/cparse
|
|
2
|
-
/opt/hostedtoolcache/Ruby/3.4.
|
|
2
|
+
/opt/hostedtoolcache/Ruby/3.4.7/x64/bin/ruby extconf.rb
|
|
3
3
|
creating Makefile
|
|
4
4
|
|
|
5
5
|
current directory: /home/runner/work/atom/atom/wrapper/nodejs/packages/atom-parsetools/plugins/rubyastgen/bundle/ruby/3.4.0/gems/racc-1.8.1/ext/racc/cparse
|
|
6
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
6
|
+
make DESTDIR\= sitearchdir\=./.gem.20251204-2999-8j064i sitelibdir\=./.gem.20251204-2999-8j064i clean
|
|
7
7
|
|
|
8
8
|
current directory: /home/runner/work/atom/atom/wrapper/nodejs/packages/atom-parsetools/plugins/rubyastgen/bundle/ruby/3.4.0/gems/racc-1.8.1/ext/racc/cparse
|
|
9
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
9
|
+
make DESTDIR\= sitearchdir\=./.gem.20251204-2999-8j064i sitelibdir\=./.gem.20251204-2999-8j064i
|
|
10
10
|
compiling cparse.c
|
|
11
11
|
linking shared-object racc/cparse.so
|
|
12
12
|
|
|
13
13
|
current directory: /home/runner/work/atom/atom/wrapper/nodejs/packages/atom-parsetools/plugins/rubyastgen/bundle/ruby/3.4.0/gems/racc-1.8.1/ext/racc/cparse
|
|
14
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
15
|
-
/usr/bin/install -c -m 0755 cparse.so ./.gem.
|
|
14
|
+
make DESTDIR\= sitearchdir\=./.gem.20251204-2999-8j064i sitelibdir\=./.gem.20251204-2999-8j064i install
|
|
15
|
+
/usr/bin/install -c -m 0755 cparse.so ./.gem.20251204-2999-8j064i/racc
|
|
16
16
|
|
|
17
17
|
current directory: /home/runner/work/atom/atom/wrapper/nodejs/packages/atom-parsetools/plugins/rubyastgen/bundle/ruby/3.4.0/gems/racc-1.8.1/ext/racc/cparse
|
|
18
|
-
make DESTDIR\= sitearchdir\=./.gem.
|
|
18
|
+
make DESTDIR\= sitearchdir\=./.gem.20251204-2999-8j064i sitelibdir\=./.gem.20251204-2999-8j064i clean
|
package/plugins/rubyastgen/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/racc-1.8.1/racc/cparse.so
CHANGED
|
Binary file
|
|
@@ -102,7 +102,7 @@ module Parser
|
|
|
102
102
|
CurrentRuby = Ruby31
|
|
103
103
|
|
|
104
104
|
when /^3\.2\./
|
|
105
|
-
current_version = '3.2.
|
|
105
|
+
current_version = '3.2.9'
|
|
106
106
|
if RUBY_VERSION != current_version
|
|
107
107
|
warn_syntax_deviation 'parser/ruby32', current_version
|
|
108
108
|
end
|
|
@@ -111,7 +111,7 @@ module Parser
|
|
|
111
111
|
CurrentRuby = Ruby32
|
|
112
112
|
|
|
113
113
|
when /^3\.3\./
|
|
114
|
-
current_version = '3.3.
|
|
114
|
+
current_version = '3.3.10'
|
|
115
115
|
if RUBY_VERSION != current_version
|
|
116
116
|
warn_syntax_deviation 'parser/ruby33', current_version
|
|
117
117
|
end
|
|
@@ -6,6 +6,52 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
+
## [1.6.0] - 2025-10-16
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- Add support for passing `"current"` as the version option to `Prism.*` APIs.
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
|
|
17
|
+
- Remove a compiler warning for a missing unsigned cast for a shift value.
|
|
18
|
+
|
|
19
|
+
## [1.5.2] - 2025-10-09
|
|
20
|
+
|
|
21
|
+
### Changed
|
|
22
|
+
|
|
23
|
+
- Fix character literal forced encoding when a unicode escape sequence is used.
|
|
24
|
+
- Reject `1 if foo = bar baz`.
|
|
25
|
+
- Clear static literal flag on interpolated strings.
|
|
26
|
+
- Reject optional argument/endless method definition ambiguity.
|
|
27
|
+
|
|
28
|
+
## [1.5.1] - 2025-09-13
|
|
29
|
+
|
|
30
|
+
### Changed
|
|
31
|
+
|
|
32
|
+
- Revert of a bug introduced with static literal flags on interpolated strings.
|
|
33
|
+
|
|
34
|
+
## [1.5.0] - 2025-09-12
|
|
35
|
+
|
|
36
|
+
### Added
|
|
37
|
+
|
|
38
|
+
- Add `Prism::Translation::ParserCurrent`.
|
|
39
|
+
- Add `Integer::to_u32_digits` for the Rust API.
|
|
40
|
+
- Add `pm_comment_type_t` field for the Rust API.
|
|
41
|
+
- Support leading logical operators for CRuby 3.5+.
|
|
42
|
+
|
|
43
|
+
### Changed
|
|
44
|
+
|
|
45
|
+
- Mark Prism as ractor-safe.
|
|
46
|
+
- Enforce a minimum version for the parser translation layer.
|
|
47
|
+
- Many fixes to the parser translation layer.
|
|
48
|
+
- Accept a newline after the `defined?` keyword.
|
|
49
|
+
- Reject `true && not true`.
|
|
50
|
+
- Make `it = it` assign nil to match parse.y behavior [Bug #21139].
|
|
51
|
+
- Some fixes to the ruby parser translation layer.
|
|
52
|
+
- Ensure call nodes have the correct ending location.
|
|
53
|
+
- Reject `foo && return bar`.
|
|
54
|
+
|
|
9
55
|
## [1.4.0] - 2025-03-18
|
|
10
56
|
|
|
11
57
|
### Added
|
|
@@ -649,7 +695,11 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
|
|
|
649
695
|
|
|
650
696
|
- 🎉 Initial release! 🎉
|
|
651
697
|
|
|
652
|
-
[unreleased]: https://github.com/ruby/prism/compare/v1.
|
|
698
|
+
[unreleased]: https://github.com/ruby/prism/compare/v1.6.0...HEAD
|
|
699
|
+
[1.6.0]: https://github.com/ruby/prism/compare/v1.5.2...v1.6.0
|
|
700
|
+
[1.5.2]: https://github.com/ruby/prism/compare/v1.5.1...v1.5.2
|
|
701
|
+
[1.5.1]: https://github.com/ruby/prism/compare/v1.5.0...v1.5.1
|
|
702
|
+
[1.5.0]: https://github.com/ruby/prism/compare/v1.4.0...v1.5.0
|
|
653
703
|
[1.4.0]: https://github.com/ruby/prism/compare/v1.3.0...v1.4.0
|
|
654
704
|
[1.3.0]: https://github.com/ruby/prism/compare/v1.2.0...v1.3.0
|
|
655
705
|
[1.2.0]: https://github.com/ruby/prism/compare/v1.1.0...v1.2.0
|
|
@@ -12,8 +12,10 @@ SOEXT ?= $(shell ruby -e 'puts RbConfig::CONFIG["SOEXT"]')
|
|
|
12
12
|
|
|
13
13
|
CPPFLAGS := -Iinclude $(CPPFLAGS)
|
|
14
14
|
CFLAGS := -g -O2 -std=c99 -Wall -Werror -Wextra -Wpedantic -Wundef -Wconversion -Wno-missing-braces -fPIC -fvisibility=hidden -Wimplicit-fallthrough $(CFLAGS)
|
|
15
|
+
JAVA_WASM_CFLAGS := -g -Oz -std=c99 -Wall -Werror -Wextra -Wpedantic -Wundef -Wconversion -Wno-missing-braces -fPIC -fvisibility=hidden -Wimplicit-fallthrough $(JAVA_WASM_CFLAGS)
|
|
15
16
|
CC ?= cc
|
|
16
17
|
AR ?= ar
|
|
18
|
+
ARFLAGS ?= -r$(V0:1=v)
|
|
17
19
|
WASI_SDK_PATH := /opt/wasi-sdk
|
|
18
20
|
|
|
19
21
|
MAKEDIRS ?= mkdir -p
|
|
@@ -37,7 +39,7 @@ build/libprism.$(SOEXT): $(SHARED_OBJECTS)
|
|
|
37
39
|
|
|
38
40
|
build/libprism.a: $(STATIC_OBJECTS)
|
|
39
41
|
$(ECHO) "building $@ with $(AR)"
|
|
40
|
-
$(Q) $(AR) $(ARFLAGS) $@ $(STATIC_OBJECTS)
|
|
42
|
+
$(Q) $(AR) $(ARFLAGS) $@ $(STATIC_OBJECTS)
|
|
41
43
|
|
|
42
44
|
javascript/src/prism.wasm: Makefile $(SOURCES) $(HEADERS)
|
|
43
45
|
$(ECHO) "building $@"
|
|
@@ -45,7 +47,7 @@ javascript/src/prism.wasm: Makefile $(SOURCES) $(HEADERS)
|
|
|
45
47
|
|
|
46
48
|
java-wasm/src/test/resources/prism.wasm: Makefile $(SOURCES) $(HEADERS)
|
|
47
49
|
$(ECHO) "building $@"
|
|
48
|
-
$(Q) $(WASI_SDK_PATH)/bin/clang $(DEBUG_FLAGS) -DPRISM_EXPORT_SYMBOLS -D_WASI_EMULATED_MMAN -lwasi-emulated-mman $(CPPFLAGS) $(
|
|
50
|
+
$(Q) $(WASI_SDK_PATH)/bin/clang $(DEBUG_FLAGS) -DPRISM_EXCLUDE_PRETTYPRINT -DPRISM_EXPORT_SYMBOLS -D_WASI_EMULATED_MMAN -lwasi-emulated-mman $(CPPFLAGS) $(JAVA_WASM_CFLAGS) -Wl,--export-all -Wl,--no-entry -mexec-model=reactor -lc++ -lc++abi -o $@ $(SOURCES)
|
|
49
51
|
|
|
50
52
|
build/shared/%.o: src/%.c Makefile $(HEADERS)
|
|
51
53
|
$(ECHO) "compiling $@"
|
|
@@ -135,7 +135,9 @@ Prism has been integrated into the majority of Ruby runtimes, many libraries, an
|
|
|
135
135
|
* [sorbet-eraser](https://github.com/kddnewton/sorbet-eraser/pull/25)
|
|
136
136
|
* [synvert](https://github.com/xinminlabs/synvert-core-ruby)
|
|
137
137
|
* [typeprof](https://github.com/ruby/typeprof)
|
|
138
|
+
* [unparser](https://github.com/mbj/unparser) (via parser translator)
|
|
138
139
|
|
|
139
140
|
### Applications
|
|
140
141
|
|
|
141
142
|
* [gem.sh](https://github.com/marcoroth/gem.sh/pull/96)
|
|
143
|
+
* [Sorbet](https://github.com/sorbet/sorbet)
|