be365b43 | 29-Jul-2017 |
Nikita Popov |
Make flags information slightly more accurate |
a37c132b | 29-Jul-2017 |
Nikita Popov |
Use ast\get_metadata() in AST dumper |
8f4a033b | 29-Jul-2017 |
Nikita Popov |
Add ast\get_metadata() function This function returns metadata about the AST kinds. Currently this mainly provides the flags supported by each AST kind. |
698bb518 | 29-Jul-2017 |
Nikita Popov |
Param flags are combinable |
64fda729 | 29-Jul-2017 |
Nikita Popov |
Update Windows DLL URL |
4a35b7fd | 29-Jul-2017 |
Nikita Popov |
Add examples for some tricky nodes/flags Closes #33 and #35. |
d6c38441 | 29-Jul-2017 |
Nikita Popov |
Add missing changelog entry regarding PROP_ELEM Resolves issue #70. |
c5990ac8 | 19-Jul-2017 |
Nikita Popov |
Back to dev |
Revision tags: v0.1.5 |
|
b4bb1676 | 19-Jul-2017 |
Nikita Popov |
Release version 0.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. |
edc2c4c1 | 19-Jul-2017 |
Nikita Popov |
Update changelog |
3394775e | 19-Jul-2017 |
Nikita Popov |
Regenerate stubs |
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 |
cf4f45e6 | 28-Jun-2017 |
Nikita Popov |
Add skipif |
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 |
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 ...
|