php-parser/lib/PhpParser
Nikita Popov 0483391aca Introduce ComplexType base class
With the upcoming addition of intersection types, a type can
be Identifier|Name|NullableType|UnionType|IntersectionType, which
is quite the mouthful. Give NullableType and UnionType a common
base class ComplexType, which does not have any behavior, but
allows to write these types (and check them in instanceof) more
easily.
2021-09-02 18:35:05 +02:00
..
Builder Introduce ComplexType base class 2021-09-02 18:35:05 +02:00
Comment [CS] New line in the end of file 2018-01-13 16:08:26 +01:00
ErrorHandler [CS] New line in the end of file 2018-01-13 16:08:26 +01:00
Internal Allow both '{' and T_CURLY_OPEN as curly bracket (#732) 2020-12-03 18:42:00 +01:00
Lexer Add support for new PHP 8.1 modifiers (#796) 2021-07-21 12:43:29 +02:00
Node Introduce ComplexType base class 2021-09-02 18:35:05 +02:00
NodeVisitor Add handling for Enum(Case)s in NameResolver 2021-07-03 15:09:11 +02:00
Parser Allow multiple modifiers for property promotion 2021-08-08 19:12:44 +02:00
PrettyPrinter Add handling for Enum(Case)s in NameResolver 2021-07-03 15:09:11 +02:00
Builder.php [CS] New line in the end of file 2018-01-13 16:08:26 +01:00
BuilderFactory.php Add Attribute builder and support for named args (#781) 2021-06-14 23:52:57 +02:00
BuilderHelpers.php Introduce ComplexType base class 2021-09-02 18:35:05 +02:00
Comment.php Add end line / file position / token position to comments 2020-02-09 16:53:46 +01:00
ConstExprEvaluationException.php [CS] New line in the end of file 2018-01-13 16:08:26 +01:00
ConstExprEvaluator.php Improve constant evaluation and add docs 2018-01-27 17:47:45 +01:00
Error.php Fixes from PHPStan (#502) 2018-05-19 11:12:24 +02:00
ErrorHandler.php [CS] New line in the end of file 2018-01-13 16:08:26 +01:00
JsonDecoder.php Remove trailing comma 2020-02-09 17:15:59 +01:00
Lexer.php Add support for new PHP 8.1 modifiers (#796) 2021-07-21 12:43:29 +02:00
NameContext.php [CS] New line in the end of file 2018-01-13 16:08:26 +01:00
Node.php Don't require doc comment to be last comment 2020-02-15 10:52:34 +01:00
NodeAbstract.php Don't require doc comment to be last comment 2020-02-15 10:52:34 +01:00
NodeDumper.php Add support for new PHP 8.1 modifiers (#796) 2021-07-21 12:43:29 +02:00
NodeFinder.php [CS] New line in the end of file 2018-01-13 16:08:26 +01:00
NodeTraverser.php Add new constant to be returned from enterNode() to not traverse current and child nodes (#536) 2018-10-08 22:26:00 +02:00
NodeTraverserInterface.php Add methods visibility (#464) 2018-01-10 19:07:41 +01:00
NodeVisitor.php [CS] New line in the end of file 2018-01-13 16:08:26 +01:00
NodeVisitorAbstract.php Add strict_types to lib code 2017-08-18 23:00:13 +02:00
Parser.php [CS] Open class brackets in new line 2018-01-13 16:03:55 +01:00
ParserAbstract.php Add support for new PHP 8.1 modifiers (#796) 2021-07-21 12:43:29 +02:00
ParserFactory.php [CS] Open class brackets in new line 2018-01-13 16:03:55 +01:00
PrettyPrinterAbstract.php Add support for new PHP 8.1 modifiers (#796) 2021-07-21 12:43:29 +02:00