Revision tags: v0.1.5 |
|
#
220bab81 |
| 19-Jul-2017 |
Nikita Popov |
Mark version 35 as deprecated
|
#
04140879 |
| 19-Jul-2017 |
Nikita Popov |
Mention in docs that ast\Node\Decl is no longer used Mark versions 45 and 50 as supported.
|
#
7f91b00e |
| 19-Jul-2017 |
Nikita Popov |
Add CLOSURE_USE_REF flag With the CLOSURE_ prefix to distinguish it from the namespace USE_ flags.
|
#
497a8558 |
| 19-Jul-2017 |
Nikita Popov |
Rename RETURNS_REF to FUNC_RETURNS_REF
|
#
1a604795 |
| 08-Jul-2017 |
Tyson Andre |
In version 50+, return an empty statement list in \ast\parse_file This makes \ast\parse_file and \ast\parse_code consistent. file_get_contents has a similar check of the result of s
In version 50+, return an empty statement list in \ast\parse_file This makes \ast\parse_file and \ast\parse_code consistent. file_get_contents has a similar check of the result of stream_read, it will return the empty string if it returned null.
show more ...
|
#
4d680f55 |
| 17-Jul-2017 |
Nikita Popov |
Expose FUNC_GENERATOR flag
|
#
cca31514 |
| 28-Jun-2017 |
Nikita Popov |
Don't use Decl nodes in version 50
|
#
392e929c |
| 28-Jun-2017 |
Nikita Popov |
Recognize "object" types in version 45 Also shift off the __declId change to version 50.
|
#
07efc421 |
| 28-Jun-2017 |
Nikita Popov |
Move version into ast_state_info
|
#
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
|
#
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 ...
|
#
f67f95d8 |
| 17-Mar-2017 |
Nikita Popov |
Fix issue #51 Make attribute value for virtual nodes explicit, fix the nullable case.
|
Revision tags: v0.1.4 |
|
#
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.
|
Revision tags: v0.1.3 |
|
#
b247c36e |
| 13-Dec-2016 |
Sammy Kaye Powers |
Update display of extension in phpinfo() (#39)
|
#
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.
|
#
215eafff |
| 04-Aug-2016 |
Nikita Popov |
Remove version 15
|
#
b118bc66 |
| 04-Aug-2016 |
Nikita Popov |
Remove version 10
|
Revision tags: v0.1.2 |
|
#
d8067862 |
| 04-Aug-2016 |
Nikita Popov |
Deprecate version 20, mark 35 as default
|
#
d3853b96 |
| 04-Aug-2016 |
Nikita Popov |
And fix the PHP 7.0 build again... This code is getting damn ugly
|
#
322e614a |
| 04-Aug-2016 |
Nikita Popov |
Version 35: Backward/forward emulation of list() format
|