php-parser/lib/PhpParser
Nikita Popov 5900d78cc9 FPPP: Support anonymous classes (#432)
This is a huge hack... We temporarily create a new node with the
correct structure and use that for printing.

I think it would be better to always use a separate node type for
NewAnonClass, rather than using a combination of New and Class,
but this would require some larger changes, as this node type would
have to be both Expr and ClassLike, which is not possible right now,
as the latter is a class rather than an interface...
2017-10-29 12:26:12 +01:00
..
Builder Remove workarounds for reserved keyword method names 2017-09-02 20:08:20 +02:00
Comment Add strict_types to lib code 2017-08-18 23:00:13 +02:00
ErrorHandler Add strict_types to lib code 2017-08-18 23:00:13 +02:00
Internal FPPP: Support anonymous classes (#432) 2017-10-29 12:26:12 +01:00
Lexer Add strict_types to lib code 2017-08-18 23:00:13 +02:00
Node Move IdentifierTest where it belongs 2017-10-06 15:07:35 +02:00
NodeVisitor Fix documentation for "replaceNodes" option in NameResolver (#425) 2017-10-15 22:20:52 +02:00
Parser Merge branch '3.x' 2017-10-01 16:55:54 +02:00
PrettyPrinter FPPP: Support modifier changes (#428) 2017-10-25 22:27:29 +02:00
Autoloader.php Add strict_types to lib code 2017-08-18 23:00:13 +02:00
Builder.php Add strict_types to lib code 2017-08-18 23:00:13 +02:00
BuilderFactory.php Remove workarounds for reserved keyword method names 2017-09-02 20:08:20 +02:00
BuilderHelpers.php Add strict_types to lib code 2017-08-18 23:00:13 +02:00
Comment.php Add strict_types to lib code 2017-08-18 23:00:13 +02:00
ConstExprEvaluationException.php Add constant expression evaluator (#402) 2017-09-30 18:56:44 +02:00
ConstExprEvaluator.php Add constant expression evaluator (#402) 2017-09-30 18:56:44 +02:00
Error.php Add strict_types to lib code 2017-08-18 23:00:13 +02:00
ErrorHandler.php Add strict_types to lib code 2017-08-18 23:00:13 +02:00
JsonDecoder.php Implement JsonDecoder 2017-08-18 23:56:12 +02:00
Lexer.php Remove PHP 5 substr() workaround 2017-09-29 17:51:44 +02:00
NameContext.php Add strict_types to lib code 2017-08-18 23:00:13 +02:00
Node.php Add get{Start,End}{Line,TokenPos,FilePos}() methods 2017-09-29 17:34:15 +02:00
NodeAbstract.php Add get{Start,End}{Line,TokenPos,FilePos}() methods 2017-09-29 17:34:15 +02:00
NodeDumper.php Add get{Start,End}{Line,TokenPos,FilePos}() methods 2017-09-29 17:34:15 +02:00
NodeFinder.php Add strict_types to lib code 2017-08-18 23:00:13 +02:00
NodeTraverser.php Add strict_types to lib code 2017-08-18 23:00:13 +02:00
NodeTraverserInterface.php Add strict_types to lib code 2017-08-18 23:00:13 +02:00
NodeVisitor.php Add strict_types to lib code 2017-08-18 23:00:13 +02:00
NodeVisitorAbstract.php Add strict_types to lib code 2017-08-18 23:00:13 +02:00
Parser.php Add strict_types to lib code 2017-08-18 23:00:13 +02:00
ParserAbstract.php Merge branch '3.x' 2017-08-29 23:15:04 +02:00
ParserFactory.php Add strict_types to lib code 2017-08-18 23:00:13 +02:00
PrettyPrinterAbstract.php FPPP: Support anonymous classes (#432) 2017-10-29 12:26:12 +01:00
TokenStream.php Extract TokenStream class from pretty printer 2017-09-03 18:54:22 +02:00