@appthreat/atom 2.1.19 → 2.2.1
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/{plugins/composer/LICENSE → LICENSE} +6 -6
- package/README.md +2 -2
- package/index.js +4 -8
- package/package.json +20 -13
- package/packages/atom-parsetools/LICENSE +21 -0
- package/{astgen.js → packages/atom-parsetools/astgen.js} +1 -1
- package/packages/atom-parsetools/index.js +1 -0
- package/{phpastgen.js → packages/atom-parsetools/phpastgen.js} +1 -1
- package/{rbastgen.js → packages/atom-parsetools/rbastgen.js} +1 -1
- package/{scalasem.js → packages/atom-parsetools/scalasem.js} +1 -1
- package/plugins/bin/atom +1 -1
- package/plugins/bin/atom.bat +1 -1
- package/plugins/lib/io.appthreat.atom-2.2.1-classpath.jar +0 -0
- package/plugins/lib/{io.appthreat.atom-2.1.19.jar → io.appthreat.atom-2.2.1.jar} +0 -0
- package/plugins/lib/{io.appthreat.c2cpg_3-2.3.10.jar → io.appthreat.c2cpg_3-2.4.1.jar} +0 -0
- package/plugins/lib/{io.appthreat.dataflowengineoss_3-2.3.10.jar → io.appthreat.dataflowengineoss_3-2.4.1.jar} +0 -0
- package/plugins/lib/{io.appthreat.javasrc2cpg_3-2.3.10.jar → io.appthreat.javasrc2cpg_3-2.4.1.jar} +0 -0
- package/plugins/lib/{io.appthreat.jimple2cpg_3-2.3.10.jar → io.appthreat.jimple2cpg_3-2.4.1.jar} +0 -0
- package/plugins/lib/{io.appthreat.jssrc2cpg_3-2.3.10.jar → io.appthreat.jssrc2cpg_3-2.4.1.jar} +0 -0
- package/plugins/lib/{io.appthreat.php2atom_3-2.3.10.jar → io.appthreat.php2atom_3-2.4.1.jar} +0 -0
- package/plugins/lib/{io.appthreat.pysrc2cpg_3-2.3.10.jar → io.appthreat.pysrc2cpg_3-2.4.1.jar} +0 -0
- package/plugins/lib/{io.appthreat.ruby2atom_3-2.3.10.jar → io.appthreat.ruby2atom_3-2.4.1.jar} +0 -0
- package/plugins/lib/{io.appthreat.semanticcpg_3-2.3.10.jar → io.appthreat.semanticcpg_3-2.4.1.jar} +0 -0
- package/plugins/lib/{io.appthreat.x2cpg_3-2.3.10.jar → io.appthreat.x2cpg_3-2.4.1.jar} +0 -0
- package/plugins/lib/{io.circe.circe-core_3-0.14.12.jar → io.circe.circe-core_3-0.14.13.jar} +0 -0
- package/plugins/lib/{io.circe.circe-generic_3-0.14.12.jar → io.circe.circe-generic_3-0.14.13.jar} +0 -0
- package/plugins/lib/{io.circe.circe-jawn_3-0.14.12.jar → io.circe.circe-jawn_3-0.14.13.jar} +0 -0
- package/plugins/lib/{io.circe.circe-numbers_3-0.14.12.jar → io.circe.circe-numbers_3-0.14.13.jar} +0 -0
- package/plugins/lib/{io.circe.circe-parser_3-0.14.12.jar → io.circe.circe-parser_3-0.14.13.jar} +0 -0
- package/plugins/lib/{org.scala-lang.scala3-library_3-3.6.2.jar → org.scala-lang.scala3-library_3-3.6.4.jar} +0 -0
- package/plugins/autoload.php +0 -22
- package/plugins/bin/bundler +0 -14
- package/plugins/bin/php-parse +0 -119
- package/plugins/bin/ruby_ast_gen +0 -14
- package/plugins/composer/ClassLoader.php +0 -579
- package/plugins/composer/InstalledVersions.php +0 -396
- package/plugins/composer/autoload_classmap.php +0 -260
- package/plugins/composer/autoload_namespaces.php +0 -9
- package/plugins/composer/autoload_psr4.php +0 -10
- package/plugins/composer/autoload_real.php +0 -36
- package/plugins/composer/autoload_static.php +0 -286
- package/plugins/composer/installed.json +0 -65
- package/plugins/composer/installed.php +0 -32
- package/plugins/lib/io.appthreat.atom-2.1.19-classpath.jar +0 -0
- package/plugins/nikic/php-parser/LICENSE +0 -29
- package/plugins/nikic/php-parser/README.md +0 -225
- package/plugins/nikic/php-parser/bin/php-parse +0 -205
- package/plugins/nikic/php-parser/composer.json +0 -41
- package/plugins/nikic/php-parser/lib/PhpParser/Builder/ClassConst.php +0 -148
- package/plugins/nikic/php-parser/lib/PhpParser/Builder/Class_.php +0 -146
- package/plugins/nikic/php-parser/lib/PhpParser/Builder/Declaration.php +0 -43
- package/plugins/nikic/php-parser/lib/PhpParser/Builder/EnumCase.php +0 -85
- package/plugins/nikic/php-parser/lib/PhpParser/Builder/Enum_.php +0 -117
- package/plugins/nikic/php-parser/lib/PhpParser/Builder/FunctionLike.php +0 -73
- package/plugins/nikic/php-parser/lib/PhpParser/Builder/Function_.php +0 -67
- package/plugins/nikic/php-parser/lib/PhpParser/Builder/Interface_.php +0 -93
- package/plugins/nikic/php-parser/lib/PhpParser/Builder/Method.php +0 -146
- package/plugins/nikic/php-parser/lib/PhpParser/Builder/Namespace_.php +0 -45
- package/plugins/nikic/php-parser/lib/PhpParser/Builder/Param.php +0 -168
- package/plugins/nikic/php-parser/lib/PhpParser/Builder/Property.php +0 -161
- package/plugins/nikic/php-parser/lib/PhpParser/Builder/TraitUse.php +0 -64
- package/plugins/nikic/php-parser/lib/PhpParser/Builder/TraitUseAdaptation.php +0 -148
- package/plugins/nikic/php-parser/lib/PhpParser/Builder/Trait_.php +0 -78
- package/plugins/nikic/php-parser/lib/PhpParser/Builder/Use_.php +0 -49
- package/plugins/nikic/php-parser/lib/PhpParser/Builder.php +0 -13
- package/plugins/nikic/php-parser/lib/PhpParser/BuilderFactory.php +0 -399
- package/plugins/nikic/php-parser/lib/PhpParser/BuilderHelpers.php +0 -335
- package/plugins/nikic/php-parser/lib/PhpParser/Comment/Doc.php +0 -7
- package/plugins/nikic/php-parser/lib/PhpParser/Comment.php +0 -239
- package/plugins/nikic/php-parser/lib/PhpParser/ConstExprEvaluationException.php +0 -6
- package/plugins/nikic/php-parser/lib/PhpParser/ConstExprEvaluator.php +0 -229
- package/plugins/nikic/php-parser/lib/PhpParser/Error.php +0 -180
- package/plugins/nikic/php-parser/lib/PhpParser/ErrorHandler/Collecting.php +0 -46
- package/plugins/nikic/php-parser/lib/PhpParser/ErrorHandler/Throwing.php +0 -18
- package/plugins/nikic/php-parser/lib/PhpParser/ErrorHandler.php +0 -13
- package/plugins/nikic/php-parser/lib/PhpParser/Internal/DiffElem.php +0 -27
- package/plugins/nikic/php-parser/lib/PhpParser/Internal/Differ.php +0 -164
- package/plugins/nikic/php-parser/lib/PhpParser/Internal/PrintableNewAnonClassNode.php +0 -64
- package/plugins/nikic/php-parser/lib/PhpParser/Internal/TokenStream.php +0 -286
- package/plugins/nikic/php-parser/lib/PhpParser/JsonDecoder.php +0 -103
- package/plugins/nikic/php-parser/lib/PhpParser/Lexer/Emulative.php +0 -251
- package/plugins/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/AttributeEmulator.php +0 -56
- package/plugins/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/CoaleseEqualTokenEmulator.php +0 -47
- package/plugins/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/EnumTokenEmulator.php +0 -31
- package/plugins/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/ExplicitOctalEmulator.php +0 -44
- package/plugins/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/FlexibleDocStringEmulator.php +0 -76
- package/plugins/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/FnTokenEmulator.php +0 -23
- package/plugins/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/KeywordEmulator.php +0 -62
- package/plugins/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/MatchTokenEmulator.php +0 -23
- package/plugins/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/NullsafeTokenEmulator.php +0 -67
- package/plugins/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/NumericLiteralSeparatorEmulator.php +0 -105
- package/plugins/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/ReadonlyFunctionTokenEmulator.php +0 -31
- package/plugins/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/ReadonlyTokenEmulator.php +0 -36
- package/plugins/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/ReverseEmulator.php +0 -36
- package/plugins/nikic/php-parser/lib/PhpParser/Lexer/TokenEmulator/TokenEmulator.php +0 -25
- package/plugins/nikic/php-parser/lib/PhpParser/Lexer.php +0 -560
- package/plugins/nikic/php-parser/lib/PhpParser/NameContext.php +0 -285
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Arg.php +0 -46
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Attribute.php +0 -34
- package/plugins/nikic/php-parser/lib/PhpParser/Node/AttributeGroup.php +0 -29
- package/plugins/nikic/php-parser/lib/PhpParser/Node/ComplexType.php +0 -14
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Const_.php +0 -37
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/ArrayDimFetch.php +0 -34
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/ArrayItem.php +0 -41
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/Array_.php +0 -34
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/ArrowFunction.php +0 -79
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/Assign.php +0 -34
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/BitwiseAnd.php +0 -12
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/BitwiseOr.php +0 -12
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/BitwiseXor.php +0 -12
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/Coalesce.php +0 -12
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/Concat.php +0 -12
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/Div.php +0 -12
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/Minus.php +0 -12
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/Mod.php +0 -12
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/Mul.php +0 -12
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/Plus.php +0 -12
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/Pow.php +0 -12
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/ShiftLeft.php +0 -12
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp/ShiftRight.php +0 -12
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/AssignOp.php +0 -30
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/AssignRef.php +0 -34
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/BitwiseAnd.php +0 -16
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/BitwiseOr.php +0 -16
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/BitwiseXor.php +0 -16
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/BooleanAnd.php +0 -16
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/BooleanOr.php +0 -16
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Coalesce.php +0 -16
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Concat.php +0 -16
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Div.php +0 -16
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Equal.php +0 -16
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Greater.php +0 -16
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/GreaterOrEqual.php +0 -16
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Identical.php +0 -16
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/LogicalAnd.php +0 -16
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/LogicalOr.php +0 -16
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/LogicalXor.php +0 -16
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Minus.php +0 -16
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Mod.php +0 -16
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Mul.php +0 -16
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/NotEqual.php +0 -16
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/NotIdentical.php +0 -16
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Plus.php +0 -16
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Pow.php +0 -16
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/ShiftLeft.php +0 -16
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/ShiftRight.php +0 -16
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Smaller.php +0 -16
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/SmallerOrEqual.php +0 -16
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp/Spaceship.php +0 -16
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp.php +0 -40
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/BitwiseNot.php +0 -30
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/BooleanNot.php +0 -30
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/CallLike.php +0 -39
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/Array_.php +0 -12
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/Bool_.php +0 -12
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/Double.php +0 -17
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/Int_.php +0 -12
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/Object_.php +0 -12
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/String_.php +0 -12
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/Cast/Unset_.php +0 -12
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/Cast.php +0 -26
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/ClassConstFetch.php +0 -36
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/Clone_.php +0 -30
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/Closure.php +0 -79
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/ClosureUse.php +0 -34
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/ConstFetch.php +0 -31
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/Empty_.php +0 -30
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/Error.php +0 -31
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/ErrorSuppress.php +0 -30
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/Eval_.php +0 -30
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/Exit_.php +0 -34
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/FuncCall.php +0 -39
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/Include_.php +0 -39
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/Instanceof_.php +0 -35
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/Isset_.php +0 -30
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/List_.php +0 -30
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/Match_.php +0 -31
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/MethodCall.php +0 -45
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/New_.php +0 -41
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/NullsafeMethodCall.php +0 -45
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/NullsafePropertyFetch.php +0 -35
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/PostDec.php +0 -30
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/PostInc.php +0 -30
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/PreDec.php +0 -30
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/PreInc.php +0 -30
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/Print_.php +0 -30
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/PropertyFetch.php +0 -35
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/ShellExec.php +0 -30
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/StaticCall.php +0 -46
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/StaticPropertyFetch.php +0 -36
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/Ternary.php +0 -38
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/Throw_.php +0 -30
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/UnaryMinus.php +0 -30
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/UnaryPlus.php +0 -30
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/Variable.php +0 -30
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/YieldFrom.php +0 -30
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr/Yield_.php +0 -34
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Expr.php +0 -9
- package/plugins/nikic/php-parser/lib/PhpParser/Node/FunctionLike.php +0 -43
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Identifier.php +0 -75
- package/plugins/nikic/php-parser/lib/PhpParser/Node/IntersectionType.php +0 -30
- package/plugins/nikic/php-parser/lib/PhpParser/Node/MatchArm.php +0 -31
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Name/FullyQualified.php +0 -50
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Name/Relative.php +0 -50
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Name.php +0 -254
- package/plugins/nikic/php-parser/lib/PhpParser/Node/NullableType.php +0 -28
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Param.php +0 -60
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Scalar/DNumber.php +0 -77
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Scalar/Encapsed.php +0 -31
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Scalar/EncapsedStringPart.php +0 -30
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Scalar/LNumber.php +0 -80
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/Class_.php +0 -16
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/Dir.php +0 -16
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/File.php +0 -16
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/Function_.php +0 -16
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/Line.php +0 -16
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/Method.php +0 -16
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/Namespace_.php +0 -16
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/Trait_.php +0 -16
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst.php +0 -28
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Scalar/String_.php +0 -157
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Scalar.php +0 -7
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/Break_.php +0 -30
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/Case_.php +0 -34
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/Catch_.php +0 -41
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/ClassConst.php +0 -85
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/ClassLike.php +0 -109
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/ClassMethod.php +0 -161
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/Class_.php +0 -137
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/Const_.php +0 -30
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/Continue_.php +0 -30
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/DeclareDeclare.php +0 -34
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/Declare_.php +0 -34
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/Do_.php +0 -34
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/Echo_.php +0 -30
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/ElseIf_.php +0 -34
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/Else_.php +0 -30
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/EnumCase.php +0 -37
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/Enum_.php +0 -40
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/Expression.php +0 -33
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/Finally_.php +0 -30
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/For_.php +0 -43
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/Foreach_.php +0 -47
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/Function_.php +0 -77
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/Global_.php +0 -30
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/Goto_.php +0 -31
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/GroupUse.php +0 -39
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/HaltCompiler.php +0 -30
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/If_.php +0 -43
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/InlineHTML.php +0 -30
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/Interface_.php +0 -37
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/Label.php +0 -31
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/Namespace_.php +0 -38
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/Nop.php +0 -17
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/Property.php +0 -91
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/PropertyProperty.php +0 -34
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/Return_.php +0 -30
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/StaticVar.php +0 -37
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/Static_.php +0 -30
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/Switch_.php +0 -34
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/Throw_.php +0 -30
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/TraitUse.php +0 -34
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/TraitUseAdaptation/Alias.php +0 -38
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/TraitUseAdaptation/Precedence.php +0 -34
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/TraitUseAdaptation.php +0 -13
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/Trait_.php +0 -32
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/TryCatch.php +0 -38
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/Unset_.php +0 -30
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/UseUse.php +0 -52
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/Use_.php +0 -47
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt/While_.php +0 -34
- package/plugins/nikic/php-parser/lib/PhpParser/Node/Stmt.php +0 -9
- package/plugins/nikic/php-parser/lib/PhpParser/Node/UnionType.php +0 -28
- package/plugins/nikic/php-parser/lib/PhpParser/Node/VarLikeIdentifier.php +0 -17
- package/plugins/nikic/php-parser/lib/PhpParser/Node/VariadicPlaceholder.php +0 -27
- package/plugins/nikic/php-parser/lib/PhpParser/Node.php +0 -151
- package/plugins/nikic/php-parser/lib/PhpParser/NodeAbstract.php +0 -178
- package/plugins/nikic/php-parser/lib/PhpParser/NodeDumper.php +0 -206
- package/plugins/nikic/php-parser/lib/PhpParser/NodeFinder.php +0 -81
- package/plugins/nikic/php-parser/lib/PhpParser/NodeTraverser.php +0 -291
- package/plugins/nikic/php-parser/lib/PhpParser/NodeTraverserInterface.php +0 -29
- package/plugins/nikic/php-parser/lib/PhpParser/NodeVisitor/CloningVisitor.php +0 -20
- package/plugins/nikic/php-parser/lib/PhpParser/NodeVisitor/FindingVisitor.php +0 -48
- package/plugins/nikic/php-parser/lib/PhpParser/NodeVisitor/FirstFindingVisitor.php +0 -50
- package/plugins/nikic/php-parser/lib/PhpParser/NodeVisitor/NameResolver.php +0 -260
- package/plugins/nikic/php-parser/lib/PhpParser/NodeVisitor/NodeConnectingVisitor.php +0 -52
- package/plugins/nikic/php-parser/lib/PhpParser/NodeVisitor/ParentConnectingVisitor.php +0 -41
- package/plugins/nikic/php-parser/lib/PhpParser/NodeVisitor.php +0 -72
- package/plugins/nikic/php-parser/lib/PhpParser/NodeVisitorAbstract.php +0 -25
- package/plugins/nikic/php-parser/lib/PhpParser/Parser/Multiple.php +0 -55
- package/plugins/nikic/php-parser/lib/PhpParser/Parser/Php5.php +0 -2682
- package/plugins/nikic/php-parser/lib/PhpParser/Parser/Php7.php +0 -2898
- package/plugins/nikic/php-parser/lib/PhpParser/Parser/Tokens.php +0 -148
- package/plugins/nikic/php-parser/lib/PhpParser/Parser.php +0 -18
- package/plugins/nikic/php-parser/lib/PhpParser/ParserAbstract.php +0 -1060
- package/plugins/nikic/php-parser/lib/PhpParser/ParserFactory.php +0 -76
- package/plugins/nikic/php-parser/lib/PhpParser/PrettyPrinter/Standard.php +0 -1126
- package/plugins/nikic/php-parser/lib/PhpParser/PrettyPrinterAbstract.php +0 -1576
- package/plugins/rubyastgen/.bundle/config +0 -5
- package/plugins/rubyastgen/Gemfile +0 -12
- package/plugins/rubyastgen/Gemfile.lock +0 -34
- package/plugins/rubyastgen/bundle/bundler/setup.rb +0 -42
- package/plugins/rubyastgen/bundle/ruby/3.4.0/bin/racc +0 -29
- package/plugins/rubyastgen/bundle/ruby/3.4.0/bin/ruby-parse +0 -29
- package/plugins/rubyastgen/bundle/ruby/3.4.0/bin/ruby-rewrite +0 -29
- package/plugins/rubyastgen/bundle/ruby/3.4.0/bin/ruby_ast_gen +0 -29
- package/plugins/rubyastgen/bundle/ruby/3.4.0/bundler/gems/ruby_ast_gen-d8b5c5740b5a/.rspec +0 -3
- package/plugins/rubyastgen/bundle/ruby/3.4.0/bundler/gems/ruby_ast_gen-d8b5c5740b5a/Gemfile +0 -10
- package/plugins/rubyastgen/bundle/ruby/3.4.0/bundler/gems/ruby_ast_gen-d8b5c5740b5a/LICENSE.txt +0 -213
- package/plugins/rubyastgen/bundle/ruby/3.4.0/bundler/gems/ruby_ast_gen-d8b5c5740b5a/README.md +0 -46
- package/plugins/rubyastgen/bundle/ruby/3.4.0/bundler/gems/ruby_ast_gen-d8b5c5740b5a/Rakefile +0 -8
- package/plugins/rubyastgen/bundle/ruby/3.4.0/bundler/gems/ruby_ast_gen-d8b5c5740b5a/bin/console +0 -11
- package/plugins/rubyastgen/bundle/ruby/3.4.0/bundler/gems/ruby_ast_gen-d8b5c5740b5a/bin/setup +0 -6
- package/plugins/rubyastgen/bundle/ruby/3.4.0/bundler/gems/ruby_ast_gen-d8b5c5740b5a/exe/ruby_ast_gen +0 -59
- package/plugins/rubyastgen/bundle/ruby/3.4.0/bundler/gems/ruby_ast_gen-d8b5c5740b5a/lib/ruby_ast_gen/node_handling.rb +0 -232
- package/plugins/rubyastgen/bundle/ruby/3.4.0/bundler/gems/ruby_ast_gen-d8b5c5740b5a/lib/ruby_ast_gen/version.rb +0 -5
- package/plugins/rubyastgen/bundle/ruby/3.4.0/bundler/gems/ruby_ast_gen-d8b5c5740b5a/lib/ruby_ast_gen.rb +0 -140
- package/plugins/rubyastgen/bundle/ruby/3.4.0/bundler/gems/ruby_ast_gen-d8b5c5740b5a/ruby_ast_gen.gemspec +0 -25
- package/plugins/rubyastgen/bundle/ruby/3.4.0/bundler/gems/ruby_ast_gen-d8b5c5740b5a/spec/ruby_ast_gen_spec.rb +0 -175
- package/plugins/rubyastgen/bundle/ruby/3.4.0/bundler/gems/ruby_ast_gen-d8b5c5740b5a/spec/spec_helper.rb +0 -15
- package/plugins/rubyastgen/bundle/ruby/3.4.0/bundler/gems/ruby_ast_gen-d8b5c5740b5a/update_version.rb +0 -36
- package/plugins/rubyastgen/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/racc-1.8.1/gem.build_complete +0 -0
- package/plugins/rubyastgen/bundle/ruby/3.4.0/extensions/x86_64-linux/3.4.0/racc-1.8.1/gem_make.out +0 -18
- 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/ast-2.4.3/LICENSE.MIT +0 -20
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/ast-2.4.3/README.YARD.md +0 -12
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/ast-2.4.3/lib/ast/node.rb +0 -268
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/ast-2.4.3/lib/ast/processor/mixin.rb +0 -288
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/ast-2.4.3/lib/ast/processor.rb +0 -12
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/ast-2.4.3/lib/ast/sexp.rb +0 -30
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/ast-2.4.3/lib/ast.rb +0 -17
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/ostruct-0.6.1/BSDL +0 -22
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/ostruct-0.6.1/COPYING +0 -56
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/ostruct-0.6.1/Gemfile +0 -10
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/ostruct-0.6.1/README.md +0 -69
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/ostruct-0.6.1/Rakefile +0 -18
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/ostruct-0.6.1/bin/console +0 -14
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/ostruct-0.6.1/bin/setup +0 -8
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/ostruct-0.6.1/lib/ostruct.rb +0 -489
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/ostruct-0.6.1/ostruct.gemspec +0 -24
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/LICENSE.txt +0 -26
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/bin/ruby-parse +0 -7
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/bin/ruby-rewrite +0 -7
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/gauntlet_parser.rb +0 -123
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/all.rb +0 -17
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/ast/node.rb +0 -40
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/ast/processor.rb +0 -293
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/base.rb +0 -294
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/builders/default.rb +0 -2351
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/clobbering_error.rb +0 -13
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/color.rb +0 -32
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/context.rb +0 -51
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/current.rb +0 -146
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/current_arg_stack.rb +0 -46
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/deprecation.rb +0 -13
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/diagnostic/engine.rb +0 -104
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/diagnostic.rb +0 -163
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/lexer/dedenter.rb +0 -88
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/lexer/explanation.rb +0 -55
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/lexer/literal.rb +0 -284
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/lexer/stack_state.rb +0 -49
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/lexer-F0.rb +0 -12931
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/lexer-F1.rb +0 -14884
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/lexer-strings.rb +0 -5433
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/macruby.rb +0 -9634
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/max_numparam_stack.rb +0 -56
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/messages.rb +0 -125
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/meta.rb +0 -48
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/rewriter.rb +0 -105
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/ruby18.rb +0 -9272
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/ruby19.rb +0 -9558
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/ruby20.rb +0 -10229
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/ruby21.rb +0 -10203
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/ruby22.rb +0 -10302
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/ruby23.rb +0 -10322
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/ruby24.rb +0 -10454
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/ruby25.rb +0 -10374
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/ruby26.rb +0 -10352
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/ruby27.rb +0 -11948
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/ruby30.rb +0 -12244
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/ruby31.rb +0 -12717
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/ruby32.rb +0 -12705
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/ruby33.rb +0 -12590
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/ruby34.rb +0 -12597
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/rubymotion.rb +0 -9515
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/runner/ruby_parse.rb +0 -157
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/runner/ruby_rewrite.rb +0 -101
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/runner.rb +0 -299
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/source/buffer.rb +0 -369
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/source/comment/associator.rb +0 -233
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/source/comment.rb +0 -134
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/source/map/collection.rb +0 -18
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/source/map/condition.rb +0 -21
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/source/map/constant.rb +0 -32
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/source/map/definition.rb +0 -23
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/source/map/for.rb +0 -19
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/source/map/heredoc.rb +0 -19
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/source/map/index.rb +0 -33
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/source/map/keyword.rb +0 -20
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/source/map/method_definition.rb +0 -25
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/source/map/objc_kwarg.rb +0 -19
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/source/map/operator.rb +0 -17
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/source/map/rescue_body.rb +0 -21
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/source/map/send.rb +0 -36
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/source/map/ternary.rb +0 -18
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/source/map/variable.rb +0 -31
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/source/map.rb +0 -186
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/source/range.rb +0 -326
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/source/rewriter/action.rb +0 -44
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/source/rewriter.rb +0 -513
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/source/tree_rewriter/action.rb +0 -243
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/source/tree_rewriter.rb +0 -431
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/static_environment.rb +0 -134
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/syntax_error.rb +0 -21
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/tree_rewriter.rb +0 -133
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/unknown_encoding_in_magic_comment_error.rb +0 -15
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/variables_stack.rb +0 -36
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser/version.rb +0 -5
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/lib/parser.rb +0 -91
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/parser-3.3.8.0/parser.gemspec +0 -43
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/racc-1.8.1/BSDL +0 -22
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/racc-1.8.1/COPYING +0 -56
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/racc-1.8.1/ChangeLog +0 -846
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/racc-1.8.1/README.ja.rdoc +0 -58
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/racc-1.8.1/README.rdoc +0 -60
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/racc-1.8.1/TODO +0 -5
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/racc-1.8.1/bin/racc +0 -320
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/racc-1.8.1/doc/en/grammar.en.rdoc +0 -218
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/racc-1.8.1/doc/en/grammar2.en.rdoc +0 -219
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/racc-1.8.1/doc/ja/command.ja.html +0 -99
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/racc-1.8.1/doc/ja/debug.ja.rdoc +0 -36
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/racc-1.8.1/doc/ja/grammar.ja.rdoc +0 -348
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/racc-1.8.1/doc/ja/index.ja.html +0 -10
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/racc-1.8.1/doc/ja/parser.ja.rdoc +0 -125
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/racc-1.8.1/doc/ja/usage.ja.html +0 -414
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/racc-1.8.1/ext/racc/cparse/Makefile +0 -273
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/racc-1.8.1/ext/racc/cparse/cparse.c +0 -840
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/racc-1.8.1/ext/racc/cparse/extconf.rb +0 -8
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/racc-1.8.1/lib/racc/compat.rb +0 -33
- 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/gems/racc-1.8.1/lib/racc/debugflags.rb +0 -60
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/racc-1.8.1/lib/racc/exception.rb +0 -16
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/racc-1.8.1/lib/racc/grammar.rb +0 -1191
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/racc-1.8.1/lib/racc/grammarfileparser.rb +0 -667
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/racc-1.8.1/lib/racc/info.rb +0 -18
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/racc-1.8.1/lib/racc/iset.rb +0 -92
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/racc-1.8.1/lib/racc/logfilegenerator.rb +0 -212
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/racc-1.8.1/lib/racc/parser-text.rb +0 -644
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/racc-1.8.1/lib/racc/parser.rb +0 -630
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/racc-1.8.1/lib/racc/parserfilegenerator.rb +0 -473
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/racc-1.8.1/lib/racc/sourcetext.rb +0 -35
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/racc-1.8.1/lib/racc/state.rb +0 -976
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/racc-1.8.1/lib/racc/statetransitiontable.rb +0 -311
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/racc-1.8.1/lib/racc/static.rb +0 -5
- package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/racc-1.8.1/lib/racc.rb +0 -6
- package/plugins/rubyastgen/bundle/ruby/3.4.0/specifications/ast-2.4.3.gemspec +0 -29
- package/plugins/rubyastgen/bundle/ruby/3.4.0/specifications/ostruct-0.6.1.gemspec +0 -21
- package/plugins/rubyastgen/bundle/ruby/3.4.0/specifications/parser-3.3.8.0.gemspec +0 -37
- package/plugins/rubyastgen/bundle/ruby/3.4.0/specifications/racc-1.8.1.gemspec +0 -28
- package/plugins/rubyastgen/setup.ps1 +0 -4
- package/plugins/rubyastgen/setup.sh +0 -6
- package/utils.mjs +0 -139
package/plugins/rubyastgen/bundle/ruby/3.4.0/gems/racc-1.8.1/lib/racc/statetransitiontable.rb
DELETED
|
@@ -1,311 +0,0 @@
|
|
|
1
|
-
#--
|
|
2
|
-
#
|
|
3
|
-
#
|
|
4
|
-
#
|
|
5
|
-
# Copyright (c) 1999-2006 Minero Aoki
|
|
6
|
-
#
|
|
7
|
-
# This program is free software.
|
|
8
|
-
# You can distribute/modify this program under the same terms of ruby.
|
|
9
|
-
# see the file "COPYING".
|
|
10
|
-
#
|
|
11
|
-
#++
|
|
12
|
-
|
|
13
|
-
require_relative 'parser'
|
|
14
|
-
|
|
15
|
-
module Racc
|
|
16
|
-
|
|
17
|
-
StateTransitionTable = Struct.new(:action_table,
|
|
18
|
-
:action_check,
|
|
19
|
-
:action_default,
|
|
20
|
-
:action_pointer,
|
|
21
|
-
:goto_table,
|
|
22
|
-
:goto_check,
|
|
23
|
-
:goto_default,
|
|
24
|
-
:goto_pointer,
|
|
25
|
-
:token_table,
|
|
26
|
-
:reduce_table,
|
|
27
|
-
:reduce_n,
|
|
28
|
-
:shift_n,
|
|
29
|
-
:nt_base,
|
|
30
|
-
:token_to_s_table,
|
|
31
|
-
:use_result_var,
|
|
32
|
-
:debug_parser)
|
|
33
|
-
class StateTransitionTable # reopen
|
|
34
|
-
def StateTransitionTable.generate(states)
|
|
35
|
-
StateTransitionTableGenerator.new(states).generate
|
|
36
|
-
end
|
|
37
|
-
|
|
38
|
-
def initialize(states)
|
|
39
|
-
super()
|
|
40
|
-
@states = states
|
|
41
|
-
@grammar = states.grammar
|
|
42
|
-
self.use_result_var = true
|
|
43
|
-
self.debug_parser = true
|
|
44
|
-
end
|
|
45
|
-
|
|
46
|
-
attr_reader :states
|
|
47
|
-
attr_reader :grammar
|
|
48
|
-
|
|
49
|
-
def parser_class
|
|
50
|
-
ParserClassGenerator.new(@states).generate
|
|
51
|
-
end
|
|
52
|
-
|
|
53
|
-
def token_value_table
|
|
54
|
-
h = {}
|
|
55
|
-
token_table().each do |sym, i|
|
|
56
|
-
h[sym.value] = i
|
|
57
|
-
end
|
|
58
|
-
h
|
|
59
|
-
end
|
|
60
|
-
end
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
class StateTransitionTableGenerator
|
|
64
|
-
|
|
65
|
-
def initialize(states)
|
|
66
|
-
@states = states
|
|
67
|
-
@grammar = states.grammar
|
|
68
|
-
end
|
|
69
|
-
|
|
70
|
-
def generate
|
|
71
|
-
t = StateTransitionTable.new(@states)
|
|
72
|
-
gen_action_tables t, @states
|
|
73
|
-
gen_goto_tables t, @grammar
|
|
74
|
-
t.token_table = token_table(@grammar)
|
|
75
|
-
t.reduce_table = reduce_table(@grammar)
|
|
76
|
-
t.reduce_n = @states.reduce_n
|
|
77
|
-
t.shift_n = @states.shift_n
|
|
78
|
-
t.nt_base = @grammar.nonterminal_base
|
|
79
|
-
t.token_to_s_table = @grammar.symbols.map {|sym| sym.to_s }
|
|
80
|
-
t
|
|
81
|
-
end
|
|
82
|
-
|
|
83
|
-
def reduce_table(grammar)
|
|
84
|
-
t = [0, 0, :racc_error]
|
|
85
|
-
grammar.each_with_index do |rule, idx|
|
|
86
|
-
next if idx == 0
|
|
87
|
-
t.push rule.size
|
|
88
|
-
t.push rule.target.ident
|
|
89
|
-
t.push(if rule.action.empty? # and @params.omit_action_call?
|
|
90
|
-
then :_reduce_none
|
|
91
|
-
else "_reduce_#{idx}".intern
|
|
92
|
-
end)
|
|
93
|
-
end
|
|
94
|
-
t
|
|
95
|
-
end
|
|
96
|
-
|
|
97
|
-
def token_table(grammar)
|
|
98
|
-
h = {}
|
|
99
|
-
grammar.symboltable.terminals.each do |t|
|
|
100
|
-
h[t] = t.ident
|
|
101
|
-
end
|
|
102
|
-
h
|
|
103
|
-
end
|
|
104
|
-
|
|
105
|
-
def gen_action_tables(t, states)
|
|
106
|
-
t.action_table = yytable = []
|
|
107
|
-
t.action_check = yycheck = []
|
|
108
|
-
t.action_default = yydefact = []
|
|
109
|
-
t.action_pointer = yypact = []
|
|
110
|
-
e1 = []
|
|
111
|
-
e2 = []
|
|
112
|
-
states.each do |state|
|
|
113
|
-
yydefact.push act2actid(state.defact)
|
|
114
|
-
if state.action.empty?
|
|
115
|
-
yypact.push nil
|
|
116
|
-
next
|
|
117
|
-
end
|
|
118
|
-
vector = []
|
|
119
|
-
state.action.each do |tok, act|
|
|
120
|
-
vector[tok.ident] = act2actid(act)
|
|
121
|
-
end
|
|
122
|
-
addent e1, vector, state.ident, yypact
|
|
123
|
-
end
|
|
124
|
-
set_table e1, e2, yytable, yycheck, yypact
|
|
125
|
-
end
|
|
126
|
-
|
|
127
|
-
def gen_goto_tables(t, grammar)
|
|
128
|
-
t.goto_table = yytable2 = []
|
|
129
|
-
t.goto_check = yycheck2 = []
|
|
130
|
-
t.goto_pointer = yypgoto = []
|
|
131
|
-
t.goto_default = yydefgoto = []
|
|
132
|
-
e1 = []
|
|
133
|
-
e2 = []
|
|
134
|
-
grammar.each_nonterminal do |tok|
|
|
135
|
-
tmp = []
|
|
136
|
-
|
|
137
|
-
# decide default
|
|
138
|
-
freq = Array.new(@states.size, 0)
|
|
139
|
-
@states.each do |state|
|
|
140
|
-
st = state.goto_table[tok]
|
|
141
|
-
if st
|
|
142
|
-
st = st.ident
|
|
143
|
-
freq[st] += 1
|
|
144
|
-
end
|
|
145
|
-
tmp[state.ident] = st
|
|
146
|
-
end
|
|
147
|
-
max = freq.max
|
|
148
|
-
if max > 1
|
|
149
|
-
default = freq.index(max)
|
|
150
|
-
tmp.map! {|i| default == i ? nil : i }
|
|
151
|
-
else
|
|
152
|
-
default = nil
|
|
153
|
-
end
|
|
154
|
-
yydefgoto.push default
|
|
155
|
-
|
|
156
|
-
# delete default value
|
|
157
|
-
tmp.pop until tmp.last or tmp.empty?
|
|
158
|
-
if tmp.compact.empty?
|
|
159
|
-
# only default
|
|
160
|
-
yypgoto.push nil
|
|
161
|
-
next
|
|
162
|
-
end
|
|
163
|
-
|
|
164
|
-
addent e1, tmp, (tok.ident - grammar.nonterminal_base), yypgoto
|
|
165
|
-
end
|
|
166
|
-
set_table e1, e2, yytable2, yycheck2, yypgoto
|
|
167
|
-
end
|
|
168
|
-
|
|
169
|
-
def addent(all, arr, chkval, ptr)
|
|
170
|
-
max = arr.size
|
|
171
|
-
min = nil
|
|
172
|
-
arr.each_with_index do |item, idx|
|
|
173
|
-
if item
|
|
174
|
-
min ||= idx
|
|
175
|
-
end
|
|
176
|
-
end
|
|
177
|
-
ptr.push(-7777) # mark
|
|
178
|
-
arr = arr[min...max]
|
|
179
|
-
all.push [arr, chkval, mkmapexp(arr), min, ptr.size - 1]
|
|
180
|
-
end
|
|
181
|
-
|
|
182
|
-
n = 2 ** 16
|
|
183
|
-
begin
|
|
184
|
-
Regexp.compile("a{#{n}}")
|
|
185
|
-
RE_DUP_MAX = n
|
|
186
|
-
rescue RegexpError
|
|
187
|
-
n /= 2
|
|
188
|
-
retry
|
|
189
|
-
end
|
|
190
|
-
|
|
191
|
-
def mkmapexp(arr)
|
|
192
|
-
i = ii = 0
|
|
193
|
-
as = arr.size
|
|
194
|
-
map = String.new
|
|
195
|
-
maxdup = RE_DUP_MAX
|
|
196
|
-
curr = nil
|
|
197
|
-
while i < as
|
|
198
|
-
ii = i + 1
|
|
199
|
-
if arr[i]
|
|
200
|
-
ii += 1 while ii < as and arr[ii]
|
|
201
|
-
curr = '-'
|
|
202
|
-
else
|
|
203
|
-
ii += 1 while ii < as and not arr[ii]
|
|
204
|
-
curr = '.'
|
|
205
|
-
end
|
|
206
|
-
|
|
207
|
-
offset = ii - i
|
|
208
|
-
if offset == 1
|
|
209
|
-
map << curr
|
|
210
|
-
else
|
|
211
|
-
while offset > maxdup
|
|
212
|
-
map << "#{curr}{#{maxdup}}"
|
|
213
|
-
offset -= maxdup
|
|
214
|
-
end
|
|
215
|
-
map << "#{curr}{#{offset}}" if offset > 1
|
|
216
|
-
end
|
|
217
|
-
i = ii
|
|
218
|
-
end
|
|
219
|
-
Regexp.compile(map, Regexp::NOENCODING)
|
|
220
|
-
end
|
|
221
|
-
|
|
222
|
-
def set_table(entries, dummy, tbl, chk, ptr)
|
|
223
|
-
upper = 0
|
|
224
|
-
map = '-' * 10240
|
|
225
|
-
|
|
226
|
-
# sort long to short
|
|
227
|
-
entries.sort_by!.with_index {|a,i| [-a[0].size, i] }
|
|
228
|
-
|
|
229
|
-
entries.each do |arr, chkval, expr, min, ptri|
|
|
230
|
-
if upper + arr.size > map.size
|
|
231
|
-
map << '-' * (arr.size + 1024)
|
|
232
|
-
end
|
|
233
|
-
idx = map.index(expr)
|
|
234
|
-
ptr[ptri] = idx - min
|
|
235
|
-
arr.each_with_index do |item, i|
|
|
236
|
-
if item
|
|
237
|
-
i += idx
|
|
238
|
-
tbl[i] = item
|
|
239
|
-
chk[i] = chkval
|
|
240
|
-
map[i] = ?o
|
|
241
|
-
end
|
|
242
|
-
end
|
|
243
|
-
upper = idx + arr.size
|
|
244
|
-
end
|
|
245
|
-
end
|
|
246
|
-
|
|
247
|
-
def act2actid(act)
|
|
248
|
-
case act
|
|
249
|
-
when Shift then act.goto_id
|
|
250
|
-
when Reduce then -act.ruleid
|
|
251
|
-
when Accept then @states.shift_n
|
|
252
|
-
when Error then @states.reduce_n * -1
|
|
253
|
-
else
|
|
254
|
-
raise "racc: fatal: wrong act type #{act.class} in action table"
|
|
255
|
-
end
|
|
256
|
-
end
|
|
257
|
-
|
|
258
|
-
end
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
class ParserClassGenerator
|
|
262
|
-
|
|
263
|
-
def initialize(states)
|
|
264
|
-
@states = states
|
|
265
|
-
@grammar = states.grammar
|
|
266
|
-
end
|
|
267
|
-
|
|
268
|
-
def generate
|
|
269
|
-
table = @states.state_transition_table
|
|
270
|
-
c = Class.new(::Racc::Parser)
|
|
271
|
-
c.const_set :Racc_arg, [table.action_table,
|
|
272
|
-
table.action_check,
|
|
273
|
-
table.action_default,
|
|
274
|
-
table.action_pointer,
|
|
275
|
-
table.goto_table,
|
|
276
|
-
table.goto_check,
|
|
277
|
-
table.goto_default,
|
|
278
|
-
table.goto_pointer,
|
|
279
|
-
table.nt_base,
|
|
280
|
-
table.reduce_table,
|
|
281
|
-
table.token_value_table,
|
|
282
|
-
table.shift_n,
|
|
283
|
-
table.reduce_n,
|
|
284
|
-
false]
|
|
285
|
-
c.const_set :Racc_token_to_s_table, table.token_to_s_table
|
|
286
|
-
c.const_set :Racc_debug_parser, true
|
|
287
|
-
define_actions c
|
|
288
|
-
c
|
|
289
|
-
end
|
|
290
|
-
|
|
291
|
-
private
|
|
292
|
-
|
|
293
|
-
def define_actions(c)
|
|
294
|
-
c.module_eval "def _reduce_none(vals, vstack) vals[0] end"
|
|
295
|
-
@grammar.each do |rule|
|
|
296
|
-
if rule.action.empty?
|
|
297
|
-
c.alias_method("_reduce_#{rule.ident}", :_reduce_none)
|
|
298
|
-
else
|
|
299
|
-
c.define_method("_racc_action_#{rule.ident}", &rule.action.proc)
|
|
300
|
-
c.module_eval(<<-End, __FILE__, __LINE__ + 1)
|
|
301
|
-
def _reduce_#{rule.ident}(vals, vstack)
|
|
302
|
-
_racc_action_#{rule.ident}(*vals)
|
|
303
|
-
end
|
|
304
|
-
End
|
|
305
|
-
end
|
|
306
|
-
end
|
|
307
|
-
end
|
|
308
|
-
|
|
309
|
-
end
|
|
310
|
-
|
|
311
|
-
end # module Racc
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
|
2
|
-
# stub: ast 2.4.3 ruby lib
|
|
3
|
-
|
|
4
|
-
Gem::Specification.new do |s|
|
|
5
|
-
s.name = "ast".freeze
|
|
6
|
-
s.version = "2.4.3".freeze
|
|
7
|
-
|
|
8
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
|
9
|
-
s.require_paths = ["lib".freeze]
|
|
10
|
-
s.authors = ["whitequark".freeze]
|
|
11
|
-
s.date = "2025-03-19"
|
|
12
|
-
s.description = "A library for working with Abstract Syntax Trees.".freeze
|
|
13
|
-
s.email = ["whitequark@whitequark.org".freeze]
|
|
14
|
-
s.homepage = "https://whitequark.github.io/ast/".freeze
|
|
15
|
-
s.licenses = ["MIT".freeze]
|
|
16
|
-
s.rubygems_version = "3.6.2".freeze
|
|
17
|
-
s.summary = "A library for working with Abstract Syntax Trees.".freeze
|
|
18
|
-
|
|
19
|
-
s.installed_by_version = "3.6.7".freeze
|
|
20
|
-
|
|
21
|
-
s.specification_version = 4
|
|
22
|
-
|
|
23
|
-
s.add_development_dependency(%q<rake>.freeze, ["~> 13.2".freeze])
|
|
24
|
-
s.add_development_dependency(%q<rspec>.freeze, ["~> 3.13".freeze])
|
|
25
|
-
s.add_development_dependency(%q<simplecov>.freeze, [">= 0".freeze])
|
|
26
|
-
s.add_development_dependency(%q<coveralls>.freeze, ["~> 0.8.23".freeze])
|
|
27
|
-
s.add_development_dependency(%q<yard>.freeze, [">= 0".freeze])
|
|
28
|
-
s.add_development_dependency(%q<kramdown>.freeze, [">= 0".freeze])
|
|
29
|
-
end
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
|
2
|
-
# stub: ostruct 0.6.1 ruby lib
|
|
3
|
-
|
|
4
|
-
Gem::Specification.new do |s|
|
|
5
|
-
s.name = "ostruct".freeze
|
|
6
|
-
s.version = "0.6.1".freeze
|
|
7
|
-
|
|
8
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
|
9
|
-
s.require_paths = ["lib".freeze]
|
|
10
|
-
s.authors = ["Marc-Andre Lafortune".freeze]
|
|
11
|
-
s.date = "2024-11-08"
|
|
12
|
-
s.description = "Class to build custom data structures, similar to a Hash.".freeze
|
|
13
|
-
s.email = ["ruby-core@marc-andre.ca".freeze]
|
|
14
|
-
s.homepage = "https://github.com/ruby/ostruct".freeze
|
|
15
|
-
s.licenses = ["Ruby".freeze, "BSD-2-Clause".freeze]
|
|
16
|
-
s.required_ruby_version = Gem::Requirement.new(">= 2.5.0".freeze)
|
|
17
|
-
s.rubygems_version = "3.5.11".freeze
|
|
18
|
-
s.summary = "Class to build custom data structures, similar to a Hash.".freeze
|
|
19
|
-
|
|
20
|
-
s.installed_by_version = "3.6.7".freeze
|
|
21
|
-
end
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
|
2
|
-
# stub: parser 3.3.8.0 ruby lib
|
|
3
|
-
|
|
4
|
-
Gem::Specification.new do |s|
|
|
5
|
-
s.name = "parser".freeze
|
|
6
|
-
s.version = "3.3.8.0".freeze
|
|
7
|
-
|
|
8
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
|
9
|
-
s.metadata = { "bug_tracker_uri" => "https://github.com/whitequark/parser/issues", "changelog_uri" => "https://github.com/whitequark/parser/blob/v3.3.8.0/CHANGELOG.md", "documentation_uri" => "https://www.rubydoc.info/gems/parser/3.3.8.0", "source_code_uri" => "https://github.com/whitequark/parser/tree/v3.3.8.0" } if s.respond_to? :metadata=
|
|
10
|
-
s.require_paths = ["lib".freeze]
|
|
11
|
-
s.authors = ["whitequark".freeze]
|
|
12
|
-
s.date = "2025-04-14"
|
|
13
|
-
s.description = "A Ruby parser written in pure Ruby.".freeze
|
|
14
|
-
s.email = ["whitequark@whitequark.org".freeze]
|
|
15
|
-
s.executables = ["ruby-parse".freeze, "ruby-rewrite".freeze]
|
|
16
|
-
s.files = ["bin/ruby-parse".freeze, "bin/ruby-rewrite".freeze]
|
|
17
|
-
s.homepage = "https://github.com/whitequark/parser".freeze
|
|
18
|
-
s.licenses = ["MIT".freeze]
|
|
19
|
-
s.required_ruby_version = Gem::Requirement.new(">= 2.0.0".freeze)
|
|
20
|
-
s.rubygems_version = "3.6.2".freeze
|
|
21
|
-
s.summary = "A Ruby parser written in pure Ruby.".freeze
|
|
22
|
-
|
|
23
|
-
s.installed_by_version = "3.6.7".freeze
|
|
24
|
-
|
|
25
|
-
s.specification_version = 4
|
|
26
|
-
|
|
27
|
-
s.add_runtime_dependency(%q<ast>.freeze, ["~> 2.4.1".freeze])
|
|
28
|
-
s.add_runtime_dependency(%q<racc>.freeze, [">= 0".freeze])
|
|
29
|
-
s.add_development_dependency(%q<bundler>.freeze, [">= 1.15".freeze, "< 3.0.0".freeze])
|
|
30
|
-
s.add_development_dependency(%q<rake>.freeze, ["~> 13.0.1".freeze])
|
|
31
|
-
s.add_development_dependency(%q<cliver>.freeze, ["~> 0.3.2".freeze])
|
|
32
|
-
s.add_development_dependency(%q<yard>.freeze, [">= 0".freeze])
|
|
33
|
-
s.add_development_dependency(%q<kramdown>.freeze, [">= 0".freeze])
|
|
34
|
-
s.add_development_dependency(%q<minitest>.freeze, ["~> 5.10".freeze])
|
|
35
|
-
s.add_development_dependency(%q<simplecov>.freeze, ["~> 0.15.1".freeze])
|
|
36
|
-
s.add_development_dependency(%q<gauntlet>.freeze, [">= 0".freeze])
|
|
37
|
-
end
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
|
2
|
-
# stub: racc 1.8.1 ruby lib
|
|
3
|
-
# stub: ext/racc/cparse/extconf.rb
|
|
4
|
-
|
|
5
|
-
Gem::Specification.new do |s|
|
|
6
|
-
s.name = "racc".freeze
|
|
7
|
-
s.version = "1.8.1".freeze
|
|
8
|
-
|
|
9
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
|
10
|
-
s.metadata = { "changelog_uri" => "https://github.com/ruby/racc/releases" } if s.respond_to? :metadata=
|
|
11
|
-
s.require_paths = ["lib".freeze]
|
|
12
|
-
s.authors = ["Minero Aoki".freeze, "Aaron Patterson".freeze]
|
|
13
|
-
s.date = "2024-07-30"
|
|
14
|
-
s.description = "Racc is an LALR(1) parser generator.\n It is written in Ruby itself, and generates Ruby program.\n\n NOTE: Ruby 1.8.x comes with Racc runtime module. You\n can run your parsers generated by racc 1.4.x out of the\n box.\n".freeze
|
|
15
|
-
s.email = [nil, "aaron@tenderlovemaking.com".freeze]
|
|
16
|
-
s.executables = ["racc".freeze]
|
|
17
|
-
s.extensions = ["ext/racc/cparse/extconf.rb".freeze]
|
|
18
|
-
s.extra_rdoc_files = ["README.ja.rdoc".freeze, "README.rdoc".freeze]
|
|
19
|
-
s.files = ["README.ja.rdoc".freeze, "README.rdoc".freeze, "bin/racc".freeze, "ext/racc/cparse/extconf.rb".freeze]
|
|
20
|
-
s.homepage = "https://github.com/ruby/racc".freeze
|
|
21
|
-
s.licenses = ["Ruby".freeze, "BSD-2-Clause".freeze]
|
|
22
|
-
s.rdoc_options = ["--main".freeze, "README.rdoc".freeze]
|
|
23
|
-
s.required_ruby_version = Gem::Requirement.new(">= 2.5".freeze)
|
|
24
|
-
s.rubygems_version = "3.5.0.dev".freeze
|
|
25
|
-
s.summary = "Racc is an LALR(1) parser generator".freeze
|
|
26
|
-
|
|
27
|
-
s.installed_by_version = "3.6.7".freeze
|
|
28
|
-
end
|
package/utils.mjs
DELETED
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
import { join, basename } from "node:path";
|
|
2
|
-
import { readdirSync, statSync } from "node:fs";
|
|
3
|
-
import { spawnSync } from "node:child_process";
|
|
4
|
-
|
|
5
|
-
const IGNORE_DIRS = process.env.ASTGEN_IGNORE_DIRS
|
|
6
|
-
? process.env.ASTGEN_IGNORE_DIRS.split(",")
|
|
7
|
-
: [
|
|
8
|
-
"node_modules",
|
|
9
|
-
"venv",
|
|
10
|
-
"docs",
|
|
11
|
-
"test",
|
|
12
|
-
"tests",
|
|
13
|
-
"e2e",
|
|
14
|
-
"e2e-beta",
|
|
15
|
-
"examples",
|
|
16
|
-
"cypress",
|
|
17
|
-
"jest-cache",
|
|
18
|
-
"eslint-rules",
|
|
19
|
-
"codemods",
|
|
20
|
-
"flow-typed",
|
|
21
|
-
"i18n",
|
|
22
|
-
"vendor",
|
|
23
|
-
"www",
|
|
24
|
-
"dist",
|
|
25
|
-
"build",
|
|
26
|
-
"__tests__"
|
|
27
|
-
];
|
|
28
|
-
|
|
29
|
-
const IGNORE_FILE_PATTERN = new RegExp(
|
|
30
|
-
process.env.ASTGEN_IGNORE_FILE_PATTERN ||
|
|
31
|
-
"(test|spec|min|three|\\.d)\\.(js|ts|jsx|tsx)$",
|
|
32
|
-
"i"
|
|
33
|
-
);
|
|
34
|
-
|
|
35
|
-
export const getAllFiles = (dir, extn, files, result, regex) => {
|
|
36
|
-
files = files || readdirSync(dir);
|
|
37
|
-
result = result || [];
|
|
38
|
-
regex = regex || new RegExp(`\\${extn}$`);
|
|
39
|
-
|
|
40
|
-
for (let i = 0; i < files.length; i++) {
|
|
41
|
-
const file = files[i];
|
|
42
|
-
if (
|
|
43
|
-
file.startsWith(".") ||
|
|
44
|
-
file.startsWith("__") ||
|
|
45
|
-
IGNORE_FILE_PATTERN.test(file)
|
|
46
|
-
) {
|
|
47
|
-
continue;
|
|
48
|
-
}
|
|
49
|
-
const fileWithDir = join(dir, file);
|
|
50
|
-
if (statSync(fileWithDir).isDirectory()) {
|
|
51
|
-
// Ignore directories
|
|
52
|
-
const dirName = basename(fileWithDir);
|
|
53
|
-
if (
|
|
54
|
-
dirName.startsWith(".") ||
|
|
55
|
-
dirName.startsWith("__") ||
|
|
56
|
-
IGNORE_DIRS.includes(dirName.toLowerCase())
|
|
57
|
-
) {
|
|
58
|
-
continue;
|
|
59
|
-
}
|
|
60
|
-
try {
|
|
61
|
-
result = getAllFiles(
|
|
62
|
-
fileWithDir,
|
|
63
|
-
extn,
|
|
64
|
-
readdirSync(fileWithDir),
|
|
65
|
-
result,
|
|
66
|
-
regex
|
|
67
|
-
);
|
|
68
|
-
} catch (error) {
|
|
69
|
-
// ignore
|
|
70
|
-
}
|
|
71
|
-
} else {
|
|
72
|
-
if (
|
|
73
|
-
regex.test(fileWithDir) ||
|
|
74
|
-
(extn &&
|
|
75
|
-
!extn.includes(".") &&
|
|
76
|
-
fileWithDir.toLowerCase().endsWith(extn.toLowerCase()))
|
|
77
|
-
) {
|
|
78
|
-
result.push(fileWithDir);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
return result;
|
|
83
|
-
};
|
|
84
|
-
|
|
85
|
-
export const detectJava = () => {
|
|
86
|
-
let result = spawnSync(process.env.JAVA_CMD || "java", ["-version"], {
|
|
87
|
-
encoding: "utf-8"
|
|
88
|
-
});
|
|
89
|
-
if (result.status !== 0 || result.error) {
|
|
90
|
-
return false;
|
|
91
|
-
}
|
|
92
|
-
return true;
|
|
93
|
-
};
|
|
94
|
-
|
|
95
|
-
export const detectPhp = () => {
|
|
96
|
-
let result = spawnSync(process.env.PHP_CMD || "php", ["--version"], {
|
|
97
|
-
encoding: "utf-8"
|
|
98
|
-
});
|
|
99
|
-
if (result.status !== 0 || result.error) {
|
|
100
|
-
return false;
|
|
101
|
-
}
|
|
102
|
-
return true;
|
|
103
|
-
};
|
|
104
|
-
|
|
105
|
-
export const detectRuby = (versionNeeded) => {
|
|
106
|
-
let result = spawnSync(process.env.RUBY_CMD || "ruby", ["--version"], {
|
|
107
|
-
encoding: "utf-8"
|
|
108
|
-
});
|
|
109
|
-
if (result.status !== 0 || result.error) {
|
|
110
|
-
return false;
|
|
111
|
-
}
|
|
112
|
-
const stdout = result.stdout;
|
|
113
|
-
if (versionNeeded && stdout) {
|
|
114
|
-
const cmdOutput = Buffer.from(stdout).toString();
|
|
115
|
-
const versionStr = cmdOutput.trim().replaceAll("\r", "");
|
|
116
|
-
return versionStr.startsWith(`ruby ${versionNeeded} `);
|
|
117
|
-
}
|
|
118
|
-
return true;
|
|
119
|
-
};
|
|
120
|
-
|
|
121
|
-
export const detectScala = () => {
|
|
122
|
-
let result = spawnSync(process.env.SCALA_CMD || "scala", ["--version"], {
|
|
123
|
-
encoding: "utf-8"
|
|
124
|
-
});
|
|
125
|
-
if (result.status !== 0 || result.error) {
|
|
126
|
-
return false;
|
|
127
|
-
}
|
|
128
|
-
return true;
|
|
129
|
-
};
|
|
130
|
-
|
|
131
|
-
export const detectScalac = () => {
|
|
132
|
-
let result = spawnSync(process.env.SCALAC_CMD || "scalac", ["--version"], {
|
|
133
|
-
encoding: "utf-8"
|
|
134
|
-
});
|
|
135
|
-
if (result.status !== 0 || result.error) {
|
|
136
|
-
return false;
|
|
137
|
-
}
|
|
138
|
-
return true;
|
|
139
|
-
};
|