History log of /php-ast/util.php (Results 1 – 25 of 31)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 260678d4 09-Aug-2022 Tyson Andre

Add encaps var flags for AST_DIM/AST_VAR for php 8.2 (#227)

For https://wiki.php.net/rfc/deprecate_dollar_brace_string_interpolation

Closes #224

In util.php: Don't print a

Add encaps var flags for AST_DIM/AST_VAR for php 8.2 (#227)

For https://wiki.php.net/rfc/deprecate_dollar_brace_string_interpolation

Closes #224

In util.php: Don't print a 0 flag value for combinable flags

For php-ast self-testing, minimize the number of changes in the future
when similar combinable flags get added to existing ast var types.

show more ...


# 0f6db23a 26-Oct-2020 fan-y-mishiba2

Add ast_dump() option AST_DUMP_EXCLUDE_DOC_COMMENT (#192)

Closes #191.


# ed09b380 23-Oct-2020 Nikita Popov

Remove special name and docComment handling in AST dumper

These are normal child nodes since version 50, and 50 is the lowest
supported version.


Revision tags: v1.0.5, v1.0.4, v1.0.3, v1.0.2, v1.0.1, v1.0.0, v0.1.7, v0.1.6
# 3358b9a0 30-Jul-2017 Nikita Popov

Use ast\Metadata object for ast\get_metadata()


# a37c132b 29-Jul-2017 Nikita Popov

Use ast\get_metadata() in AST dumper


# 698bb518 29-Jul-2017 Nikita Popov

Param flags are combinable


Revision tags: v0.1.5
# 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


# 4d680f55 17-Jul-2017 Nikita Popov

Expose FUNC_GENERATOR flag


# 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, v0.1.3, v0.1.2
# eded56d5 04-Aug-2016 Nikita Popov

Expose PHP 7.1 ARRAY_SYNTAX flags


# ed51bba0 04-Aug-2016 Nikita Popov

Add support for "iterable" type


# f199ac83 01-May-2016 Nikita Popov

Represent scalar types as AST_TYPE

Per @tpunt's suggestion.


# 6ba2117c 01-May-2016 Nikita Popov

Represent ?? as BINARY_OP


# 26bf9d3c 10-Mar-2016 Nikita Popov

Support PHP 7.1 class constant visibility

a) CLASS_CONST_DECL now uses modifier flags. For PHP < 7.1 we
emuate MODIFIER_PUBLIC here for consistency.
b) CONST_ELEM can now have a d

Support PHP 7.1 class constant visibility

a) CLASS_CONST_DECL now uses modifier flags. For PHP < 7.1 we
emuate MODIFIER_PUBLIC here for consistency.
b) CONST_ELEM can now have a docComment properts (in analog to the
property on PROP_ELEM).

show more ...


Revision tags: v0.1.1, v0.1.0
# 51f2183b 01-Nov-2015 Nikita Popov

Add USE_* and MAGIC_* flag constants

This drops the effective dependency on tokenizer.

Also replace token numbers with %d as these are unstable.


# 911ea8a3 17-Sep-2015 Nikita Popov

Add CLASS_ANONYMOUS flag

Pointed out by @tpunt


# 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


# 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


# 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


# 12b5d4ff 07-Jul-2015 Nikita Popov

Use explicit int-to-string conversion


# 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


12