Releases: php-type-language/parser
Releases · php-type-language/parser
1.0.0-beta7
- Remove json serialization support and simplify code.
Note: Use external serializers instead.
Full Changelog: 1.0.0-beta6...1.0.0-beta7
1.0.0-beta6
- Improve description docblocks.
- Remove
Parser::$lexer
from public scope. - Allow negative offset/limit for
Name::slice()
method. - Remove array AST normalization and simplify nodes.
- Add MOAR unit tests.
Full Changelog: 1.0.0-beta5...1.0.0-beta6
1.0.0-beta5
- Add
generics
parser configuration option to enable or disable generic types (T<X>
). - Add
union
parser configuration option to enable or disable union types (T | Y
). - Add
intersection
parser configuration option to enable or disable intersection types (T & Y
). - Add
list
parser configuration option to enable or disable square bracket list types (T[]
). - Fix
TypeVisitor
behaviour forClassConstMaskNode
.
Full Changelog: 1.0.0-beta4...1.0.0-beta5
1.0.0-beta4
- Parser no longer returns
null
Full Changelog: 1.0.0-beta3...1.0.0-beta4
1.0.0-beta3
- Optimized AST serialization
Full Changelog: 1.0.0-beta2...1.0.0-beta3
1.0.0-beta2
- Fix psalm errors
Full Changelog: 1.0.0-beta1...1.0.0-beta2
1.0.0-beta1
Fix unrecognized token errors