History log of /php-ast/ast_stub.php (Results 26 – 40 of 40)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 7fe259ed 12-Jan-2019 Tyson Andre

Add AST_PROP_GROUP in version 70.

The type information is deliberately left out of versions < 70.

`children['type']` is a Node describing the type of the property group,
or null

Add AST_PROP_GROUP in version 70.

The type information is deliberately left out of versions < 70.

`children['type']` is a Node describing the type of the property group,
or null.
`children['props']` is the AST_PROP_DECL.

The property visibility modifier flags were moved to the AST_PROP_GROUP.

Update package.xml

show more ...


Revision tags: v1.0.0
# 42e8e663 21-Oct-2018 Nikita Popov

Regenerate AST stub


# 36561402 07-Oct-2018 Nikita Popov

Remove ASSIGN_* flags

As well as old flag versioning information.


# 15ac0633 07-Oct-2018 Nikita Popov

Remove unused AST kinds


# a04f661f 07-Oct-2018 Nikita Popov

Remove ast\Node\Decl

No longer used since version 50, which is the lowest supported one.


Revision tags: v0.1.7
# 60ee513b 06-Oct-2018 Nikita Popov

Regenerate stub file


# 9c9b58df 05-Feb-2018 Gabriel Caruso

Fix misspelling


Revision tags: v0.1.6
# e26e1745 24-Sep-2017 Nikita Popov

Add ast\get_supported_versions() function

Closes #77.


# f18a9ea2 30-Jul-2017 Nikita Popov

Update stub file


Revision tags: v0.1.5
# 3394775e 19-Jul-2017 Nikita Popov

Regenerate stubs


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


Revision tags: v0.1.4, v0.1.3
# a248519d 04-Aug-2016 Nikita Popov

Update stubs


Revision tags: v0.1.2
# e7c507c6 15-Dec-2015 Nikita Popov

Tweak stubs file


# 8dc57ab1 15-Dec-2015 Nikita Popov

Add script to generate stubs

Move both gen scripts into common scripts/ folder.


Revision tags: v0.1.1, v0.1.0
# a043da0e 19-Nov-2015 Bill Schaller

add ast_stub.php

to provide phpdoc stub for use with IDEs


12