Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

php8: added property in constructor #33

Merged
merged 3 commits into from
Jul 27, 2021
Merged

Conversation

i582
Copy link
Owner

@i582 i582 commented Jul 27, 2021

The code for creating the parameters and identifiers has been
moved to the Builder.NewParameter and Builder.NewIdentifier methods.

The grammar rules is_reference and is_variadic have been renamed
to optional_arg_ref and optional_ellipsis as in PHP-Parser.

Added a new grammar rule optional_visibility_modifier to describe
visibility modifiers for properties.

Fixes #32

The code for creating the parameters and identifiers has been
moved to the Builder.NewParameter and Builder.NewIdentifier methods.

The grammar rules 'is_reference' and 'is_variadic' have been renamed
to 'optional_arg_ref' and 'optional_ellipsis' as in PHP-Parser.

Added a new grammar rule 'optional_visibility_modifier' to describe
visibility modifiers for properties.
@i582 i582 added the PHP 8 PHP 8 features label Jul 27, 2021
@i582 i582 merged commit 983a1b4 into php8_dev Jul 27, 2021
@i582 i582 deleted the pmakhnev/add_property_promotion branch July 27, 2021 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PHP 8 PHP 8 features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant