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 ...
|
4262758d | 24-Jun-2017 |
Nikita Popov |
Deprecate version 30 |
022f31a7 | 10-Jun-2017 |
Tyson Andre |
Create package.xml for the php-ast project Verified that `pecl package; pecl install ast-0.1.5dev.tgz` worked in php 7.1. For Issue #29 (Having a package.xml reduces the work to
Create package.xml for the php-ast project Verified that `pecl package; pecl install ast-0.1.5dev.tgz` worked in php 7.1. For Issue #29 (Having a package.xml reduces the work to submit this to PECL)
show more ...
|
159b984b | 24-Jun-2017 |
Tyson Andre |
Add constructors with parameters for Node (#55) Signature: new Node(kind, flags, children, lineno) Assume that the constructor is either never used with parameters or used very
Add constructors with parameters for Node (#55) Signature: new Node(kind, flags, children, lineno) Assume that the constructor is either never used with parameters or used very frequently (e.g. ast simplifier, code refactoring, php-parser to ast conversion, etc.) Validate the data types of params, but not the values themselves. For backwards compatibility reasons, leave parameters with no passed values as null, and make everything nullable. - Assume no pre-existing code would pass in values. This constructor hasn't been benchmarked yet (compare with assigning params manually). php-parser-to-php-ast (incomplete) is one codebase that could be used to test this, e.g. in a loop. Also, add aliases to simplify setting a Node property to a zend_long. - AST_CACHE_SLOT_FLAGS was missing in one place, this PR added it back. Was the absense deliberate? - TRY_DELREF is unnecessary in some places, and wrong for parameters to the constructor.
show more ...
|
a4ca4fe9 | 13-Jun-2017 |
Tyson Andre |
Fix rendered HTML link to php-ast-reverter (#57) |
f67f95d8 | 17-Mar-2017 |
Nikita Popov |
Fix issue #51 Make attribute value for virtual nodes explicit, fix the nullable case. |
0aa5b475 | 17-Mar-2017 |
Nikita Popov |
Fix ast_dump_with_linenos.phpt test |
902851bd | 25-Jan-2017 |
Nikita Popov |
Back to dev |
Revision tags: v0.1.4 |
|
701e8539 | 25-Jan-2017 |
Nikita Popov |
Release version 0.1.4 With fix for handling of nullable types |
e21589ba | 18-Jan-2017 |
Nikita Popov |
Mark 40 as current version |
0b1db793 | 18-Jan-2017 |
Nikita Popov |
Drop support for version 20 |
b815e10f | 18-Jan-2017 |
Nikita Popov |
Fix handling of ?array and ?callable Wrap these in AST_NULLABLE_TYPE as well. |
f79568fc | 18-Jan-2017 |
Nikita Popov |
Add 7.1 to travis nightly will diverge at some point... |
246f22b9 | 18-Jan-2017 |
Nikita Popov |
Back to dev |
Revision tags: v0.1.3 |
|
ae55a198 | 18-Jan-2017 |
Nikita Popov |
Release version 0.1.3 |
805f367a | 24-Nov-2016 |
Nikita Popov |
Update current version in README |
b247c36e | 13-Dec-2016 |
Sammy Kaye Powers |
Update display of extension in phpinfo() (#39) |
cbb6cd0a | 05-Dec-2016 |
Matthieu Napoli |
Fix typo in flag list (#37) |
fbab0c35 | 24-Nov-2016 |
Nikita Popov |
Fix PHP 7 build |
76b14697 | 24-Nov-2016 |
Nikita Popov |
Update USE_* flags for PHP 7.2 These now use ZEND_SYMBOL_*. |
81e2938b | 24-Nov-2016 |
Nikita Popov |
Fix issue #36 The emulation of PHP 7.0 list() structure did not account for skipped elements. |
9e9569c1 | 31-Aug-2016 |
Nikita Popov |
Mark AST_GREATER(_EQUAL) as obsolete |
24fbefde | 05-Aug-2016 |
Remi Collet |
Drop EXPERIMENTAL file Followup of ac993fd |
ac993fd5 | 04-Aug-2016 |
Nikita Popov |
Remove "experimental" note |
a248519d | 04-Aug-2016 |
Nikita Popov |
Update stubs |