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

[Feature] New grammar definition #220

Merged
merged 4 commits into from
Apr 29, 2015
Merged

[Feature] New grammar definition #220

merged 4 commits into from
Apr 29, 2015

Conversation

lisachenko
Copy link
Member

This PR aims to solve inconsistency and errors in the previous version of grammar.

This grammar correctly works with complex expression like this: A && !B || (C && !D), but there is still an error in the logic of checking joinpoints (will be fixed in the separate PR)

There is one small BC break in the pointcut syntax: asterisk sign can't be used now as specification of member visibility: execution(* Some\ClassName->method(*)) should be changed to the explicit execution(public Some\ClassName->method(*)). You can combine several modifiers with | symbol, for example public|protected

Partial implementation for #218

Notice, that there is a BC break, because syntax
"* Some\ClassName->method(*)" and "* Some\ClassName->property" is removed
lisachenko added a commit that referenced this pull request Apr 29, 2015
@lisachenko lisachenko merged commit 7e01387 into master Apr 29, 2015
@lisachenko lisachenko deleted the feature/new-grammar branch April 29, 2015 19:04
@lisachenko lisachenko added this to the 1.0.0 milestone Apr 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant