Glayzzle Php Parser Versions Save

:herb: NodeJS PHP Parser - extract AST or tokens

3.0.0-prerelease.9

4 years ago

3.0.0-prerelease.9 : (2019-08-15)

  • #291 : Incorrect parsing of backslash-prefixed use declarations
  • #278 : 3.0 - Confusing commentsBlocks references
  • #256 : invalid ast for multiple properties
  • #255 : better ast for constant node
  • #250 : Leading comments are treated as trailing comments to the previous function body
  • #248 : broken ast for $$$$$
  • #247 : invalid ast for silent
  • #246 : resolution for classreference doesn't work properly for FULL_QUALIFIED_NAME
  • #242 : feat: improve Declare node and introduce DeclareDirective node
  • #199 : [bug] comment location overlaps with node location for static node
  • #192 : [bug] encapsed and staticlookup
  • #180 : bug in parser with single function
  • #174 : Don't output null for last element in list/array
  • #128 : Don't have curly for propertylookup in offset

3.0.0-prerelease.8

5 years ago
  • #235 : invalid ast for self and parent
  • #234 : regression with parens in 3.0.0-prerelease.7
  • #230 : resolvePrecedence break location for bin nodes
  • #202 : [bug] comment position in lookup
  • #194 : [feature] implement trailingComments on nodes
  • #185 : [bug] parens and staticlookup
  • #172 : cast precedence
  • #182 : strange with parens, staticlookup and offsetlookup
  • #167 : staticlookup is broken with curly
  • #239 : [bug] call should be in ExpressionStatement
  • #207 : [feature] use identifier for class/interface/trait name
  • #243 : Regression in prerelease 7 with echo
  • #181 : strange with parens and unary

3.0.0-prerelease.7

5 years ago
  • #201 : [bug] curly in staticlookup bug
  • #175 : impossible detect curly in encapsed AST enhancement
  • #210 : [bug] invalid ast for const enhancement
  • #220 : regression in rc-6
  • #204 : [bug] invalid start offset encapsed AST bug
  • #165 : declare doesn't support inline nodes investigating

Many thanks to @evilebottnawi for his help

3.0.0-prerelease.5

5 years ago

3.0.0-prerelease.4

5 years ago

3.0.0-alpha.3

5 years ago
  • fix #168 : End location of if without semicolon
  • impl #147 : Node informations about Binary and unicode strings
  • impl #83 : Adding full support for PHP 7.2
  • fix #122 : Detect foreach bad syntax
  • impl #152 : Improve tests with JEST
  • fix #164 : Fixing some location issues (partial)

3.0.0-alpha2

6 years ago
  • fix #137 : Bug with parsing list
  • fix #149 : Binary cast: isDoubleQuote incorrect
  • fix #150 : strange ast with list
  • fix #151 : Declare inside if

3.0.0-alpha1

6 years ago

2.2.0

6 years ago

This release will be the latest on 2.x series, the future releases on 2.2.x branch will be only bugfixes, if you are using a <2.1.x you should consider using this lastest version as it contains a lot of bugfixes.

NOTE : The next 3.0 will be released soon (few days).

  • Impl #108 : add an option to disable PHP7 support
  • Fix #107 : fix T_DOUBLE_COLON handler
  • Fix #106 : infinite loops from lexer (unput)
  • Fix #105 : T_DOLLAR_OPEN_CURLY_BRACES handles now expressions
  • PR #102 : Normalize the way type casts are defined
  • Fix #103 : Fix critical cast to null confusion

2.1.0

6 years ago
  • Impl #91 & #92 : Functions support reserved names (PHP7)
  • Fix #89 : parsing methods can use Buffers or Strings