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

Flatten nested STMT_LISTs

Some nodes like ECHO always get wrapped in STMT_LIST, resulting in
some weird syntax trees.

5694d06617-Sep-2015 Nikita Popov

Use AST_VAR node for static var + catch var

For version 20. Previously this was a simple string with the
variable name.

2750276517-Sep-2015 Nikita Popov

Fix child names for virtual nodes

7a3886c917-Sep-2015 Nikita Popov

Use version 30 for named children

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

1...<<11121314