#
de8d25d9 |
| 05-Sep-2015 |
Nikita Popov |
Move AST_AND, AST_OR to AST_BINARY_OP as well
|
#
031a5a34 |
| 05-Sep-2015 |
Nikita Popov |
Use v20 instead, add to flag list
|
#
f8cef2ac |
| 03-Sep-2015 |
Thomas Punt |
Added tests
|
#
da3e071b |
| 03-Sep-2015 |
Thomas Punt |
Convert unary ops to flags of ZEND_AST_UNARY_OP
|
#
f69680d5 |
| 21-Aug-2015 |
Nikita Popov |
Use string child names for non-list nodes Implementation needs some polishing.
|
#
17102670 |
| 21-Aug-2015 |
Nikita Popov |
Use X macro for global strings I plan on adding more of these, so drop all the repetition. Also add AST_STR() macro to abstract the naming convention.
|
#
f14c869a |
| 21-Aug-2015 |
Nikita Popov |
Use BINARY_ flags for ASSIGN_OP as well Makes it easier to work with if both use the same flags
|
#
6488bc88 |
| 21-Aug-2015 |
Nikita Popov |
Use AST_BINARY_OP instead of AST_GREATER(_EQUAL) Version 20
|
#
00ab923f |
| 21-Aug-2015 |
Nikita Popov |
Add $version parameter
|
#
301aabb5 |
| 21-Aug-2015 |
Nikita Popov |
Switch to zpp_throw Zpp failures now result in a TypeError. All failure conditions should be throwing now.
|
#
2995532a |
| 27-Jul-2015 |
Malte Skoruppa |
Added flag constants for AST_INCLUDE_OR_EVAL The flags' integral values match the values defined in Zend/zend_compile.h
|
#
e52afee6 |
| 22-Jul-2015 |
Nikita Popov |
Only use 3 children for AST_CLASS Also add a test for class AST.
|
#
dea39ac4 |
| 30-Jun-2015 |
Nikita Popov |
Add constants for POW, ASSING_POW, SPACESHIP
|
#
7f55470d |
| 30-Jun-2015 |
Nikita Popov |
Update flags for group use declarations Now the type may also be on GROUP_USE and USE_ELEM
|
#
50d49a31 |
| 30-Jun-2015 |
Nikita Popov |
Test get_kind_name() Also switch it to throw LogicException.
|
#
f6ff9219 |
| 30-Jun-2015 |
Nikita Popov |
Improve AST_CLOSURE_VAR implementation * Simplify code by combining nearly completely duplicate function * Add AST_CLOSURE_VAR to generate_ast_data.php * Add test * Adjust README
|
#
9e86d108 |
| 30-Jun-2015 |
Rasmus Lerdorf |
Add virtual AST_CLOSURE_VAR node Without this you couldn't distinguish a by-ref closure use var
|
#
dc296f81 |
| 28-Jun-2015 |
Nikita Popov |
Support passing $filename to parse_code()
|
#
8dc6b26e |
| 28-Jun-2015 |
Nikita Popov |
Throw exception on not existing file
|
#
521548fe |
| 28-Jun-2015 |
Nikita Popov |
Fix leaks, add some tests
|
#
624b4fdf |
| 26-Jun-2015 |
Rasmus Lerdorf |
Add parse_file() function
|
#
707e2194 |
| 19-Jun-2015 |
Nikita Popov |
Small cleanups * use ZVAL_STR_COPY * Don't use cache slot for Node\Decl
|
#
2975fede |
| 19-Jun-2015 |
Nikita Popov |
Show return type hints Decls now have 4 children and the last one is a name.
|
#
9a60e350 |
| 19-Jun-2015 |
Nikita Popov |
Use ast\Node\Decl for declarations Not including property declarations, as those do not use decl layout.
|
#
01e7a14f |
| 18-Jun-2015 |
Rasmus Lerdorf |
Store the decl name as well if present
|