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

Aspects can't specify different languages #1520

Open
TimLethbridge opened this issue Jan 14, 2020 · 0 comments
Open

Aspects can't specify different languages #1520

TimLethbridge opened this issue Jan 14, 2020 · 0 comments

Comments

@TimLethbridge
Copy link
Member

@TimLethbridge TimLethbridge commented Jan 14, 2020

The code blocks for methods can be preceded by keywords like java to enable method bodies in multiple languages. This should also be possible for before and after statements.

For example it should be possible to say:

after setName java {
  // dosomething
}

And the injected code would only appear in the case of generating java. It should also be possible in the same aspect statement to add multiple target langauge blocks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.