#
85b6bf88 |
| 14-Jun-2020 |
Tyson Andre |
Support php 8.0 "Constructor Promotion" and attributes (#160) - attributes are only available in AST version 80+, and will be null before php 8.0
|
#
66de07d2 |
| 06-Jun-2020 |
Tyson Andre |
Revert "Support php 8.0 "Constructor Promotion" and attributes" This reverts commit b0370e632aad7b2c6feadaa8ea4610e5e0c055c6.
|
#
b0370e63 |
| 30-May-2020 |
Tyson Andre |
Support php 8.0 "Constructor Promotion" and attributes Because AST_CLASS_CONST_DECL is a list of nodes, don't add the key "attributes" to the hash table in older AST versions. A
Support php 8.0 "Constructor Promotion" and attributes Because AST_CLASS_CONST_DECL is a list of nodes, don't add the key "attributes" to the hash table in older AST versions. Add visibility modifiers to AST_PARAM, but only in php 8.0+. MODIFIER_PUBLIC and PARAM_REF are the same value in php 7.4.
show more ...
|
Revision tags: v1.0.5, v1.0.4, v1.0.3, v1.0.2, v1.0.1 |
|
#
fb1be834 |
| 30-Jan-2019 |
Tyson Andre |
Add AST_CLASS_NAME in AST version 70 (#111) Add AST_CLASS_NAME in AST version 70 Fixes #109 Tests pass with a local PHP 7.4 installation
|
#
7fe259ed |
| 12-Jan-2019 |
Tyson Andre |
Add AST_PROP_GROUP in version 70. The type information is deliberately left out of versions < 70. `children['type']` is a Node describing the type of the property group, or null
Add AST_PROP_GROUP in version 70. The type information is deliberately left out of versions < 70. `children['type']` is a Node describing the type of the property group, or null. `children['props']` is the AST_PROP_DECL. The property visibility modifier flags were moved to the AST_PROP_GROUP. Update package.xml
show more ...
|
Revision tags: v1.0.0, v0.1.7, v0.1.6 |
|
#
3358b9a0 |
| 30-Jul-2017 |
Nikita Popov |
Use ast\Metadata object for ast\get_metadata()
|
Revision tags: v0.1.5 |
|
#
cca31514 |
| 28-Jun-2017 |
Nikita Popov |
Don't use Decl nodes in version 50
|
#
92ad0b10 |
| 24-Jun-2017 |
Tyson Andre |
Add a unique id to declarations in version 45+ For issue #58 The output of `var_dump(ast\parse_code('<?php function(){};function(){};', 45));` will include '__declId' value
Add a unique id to declarations in version 45+ For issue #58 The output of `var_dump(ast\parse_code('<?php function(){};function(){};', 45));` will include '__declId' values starting from 0. The counter will reset if `parse_code` is called again,
show more ...
|
Revision tags: v0.1.4, v0.1.3, v0.1.2 |
|
#
fc5048fc |
| 04-Aug-2016 |
Nikita Popov |
Support nullable types Represent these using a new AST_NULLABLE_TYPE virtual node.
|
Revision tags: v0.1.1, v0.1.0 |
|
#
1ca15bdf |
| 04-Dec-2015 |
Nikita Popov |
Rename some child names
|
#
c1c16d42 |
| 21-Oct-2015 |
Nikita Popov |
Change some node names
|
#
5694d066 |
| 17-Sep-2015 |
Nikita Popov |
Use AST_VAR node for static var + catch var For version 20. Previously this was a simple string with the variable name.
|
#
f69680d5 |
| 21-Aug-2015 |
Nikita Popov |
Use string child names for non-list nodes Implementation needs some polishing.
|