Skip to content

Releases: xp-framework/ast

11.0.0: XP 12 compatibility, logical assignments

23 Mar 18:17
Compare
Choose a tag to compare
  • 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

06 Jan 13:50
Compare
Choose a tag to compare
  • Added PHP 8.4 to the test matrix - @thekid
  • Fixed parsing captures and return types for closures - @thekid

10.3.0: Line numbers @ start

06 Oct 06:42
Compare
Choose a tag to compare
  • Merged PR #49: Record starting line numbers for multi-line nodes
    (@thekid)

10.2.3: Signature::insert() fix

01 Oct 09:01
Compare
Choose a tag to compare
  • 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

29 Jul 12:48
Compare
Choose a tag to compare
  • Fixed legacy array() syntax being parsed into an invocation instead
    of an array literal
    (@thekid)

10.2.1: Trailing commas fix

03 Jun 10:23
Compare
Choose a tag to compare
  • Fix trailing commas in annotation lists - @thekid

10.2.0: Holder reference removal

27 May 08:45
Compare
Choose a tag to compare
  • Merged PR #47: Remove holder property for members - @thekid

10.1.0: Return by reference

21 May 13:56
Compare
Choose a tag to compare
  • Merged PR #46: Implement returning by reference from methods - @thekid

10.0.0: Variable variables & expressions

08 Apr 16:55
Compare
Choose a tag to compare
  • 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

05 Mar 11:31
Compare
Choose a tag to compare
  • Fixed various expressions inside braces - @thekid