History log of /php-ast/ (Results 276 – 300 of 325)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
bfcc11a017-Sep-2015 Nikita Popov

Merge branch 'master' into stringChildren

Conflicts:
tests/binary_ops.phpt


911ea8a317-Sep-2015 Nikita Popov

Add CLASS_ANONYMOUS flag

Pointed out by @tpunt

de8d25d905-Sep-2015 Nikita Popov

Move AST_AND, AST_OR to AST_BINARY_OP as well

031a5a3405-Sep-2015 Nikita Popov

Use v20 instead, add to flag list

f8cef2ac03-Sep-2015 Thomas Punt

Added tests

da3e071b03-Sep-2015 Thomas Punt

Convert unary ops to flags of ZEND_AST_UNARY_OP

f69680d521-Aug-2015 Nikita Popov

Use string child names for non-list nodes

Implementation needs some polishing.

1710267021-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.

f14c869a21-Aug-2015 Nikita Popov

Use BINARY_ flags for ASSIGN_OP as well

Makes it easier to work with if both use the same flags

6488bc8821-Aug-2015 Nikita Popov

Use AST_BINARY_OP instead of AST_GREATER(_EQUAL)

Version 20

00ab923f21-Aug-2015 Nikita Popov

Add $version parameter

301aabb521-Aug-2015 Nikita Popov

Switch to zpp_throw

Zpp failures now result in a TypeError. All failure conditions
should be throwing now.

2995532a27-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

e2e555b322-Jul-2015 Nikita Popov

Actually add the test...

e52afee622-Jul-2015 Nikita Popov

Only use 3 children for AST_CLASS

Also add a test for class AST.

12b5d4ff07-Jul-2015 Nikita Popov

Use explicit int-to-string conversion

dea39ac430-Jun-2015 Nikita Popov

Add constants for POW, ASSING_POW, SPACESHIP

7f55470d30-Jun-2015 Nikita Popov

Update flags for group use declarations

Now the type may also be on GROUP_USE and USE_ELEM

2b147f3030-Jun-2015 Nikita Popov

Determine flag name when dumping

I don't know by heart which flag 67108864 is...

50d49a3130-Jun-2015 Nikita Popov

Test get_kind_name()

Also switch it to throw LogicException.

f6ff921930-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

9e86d10830-Jun-2015 Rasmus Lerdorf

Add virtual AST_CLOSURE_VAR node Without this you couldn't distinguish a by-ref closure use var

dc296f8128-Jun-2015 Nikita Popov

Support passing $filename to parse_code()

8dc6b26e28-Jun-2015 Nikita Popov

Throw exception on not existing file

521548fe28-Jun-2015 Nikita Popov

Fix leaks, add some tests

1...<<111213