Releases: xp-framework/ast
Releases · xp-framework/ast
11.0.0: XP 12 compatibility, logical assignments
- Merged PR #51: Logical Operators and Assignment Expressions - @thekid
- Made this library compatible with XP 12, droppping support for all but
the latest PHP 7 version. Minimum PHP version required is now 7.4!
(@thekid)
10.3.1: Closure parsing fix
- Added PHP 8.4 to the test matrix - @thekid
- Fixed parsing captures and return types for closures - @thekid
10.3.0: Line numbers @ start
- Merged PR #49: Record starting line numbers for multi-line nodes
(@thekid)
10.2.3: Signature::insert() fix
- Fixed
Signature::insert()
- @thekid
- Refactored code base to use the class loading mechanism instead of the
Package class from lang.reflect
. See xp-framework/rfc#338
(@thekid)
10.2.2: Legacy array syntax
- Fixed legacy
array()
syntax being parsed into an invocation instead
of an array literal
(@thekid)
10.2.1: Trailing commas fix
- Fix trailing commas in annotation lists - @thekid
10.2.0: Holder reference removal
- Merged PR #47: Remove holder property for members - @thekid
10.1.0: Return by reference
- Merged PR #46: Implement returning by reference from methods - @thekid
10.0.0: Variable variables & expressions
- Heads up: Instances of
lang.ast.nodes.Variable
can contain
the name as well as other variables or expressions. The name
property is renamed to pointer to reflect this change.
(@thekid)
- Merged PR #44: Parse expressions like
$this->{$member}
into
lang.ast.nodes.Expression
instances.
(@thekid)
9.2.7: Braced exprssions fix
- Fixed various expressions inside braces - @thekid