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

Improve import(...) syntax #62

Merged
merged 4 commits into from
Sep 2, 2020
Merged

Improve import(...) syntax #62

merged 4 commits into from
Sep 2, 2020

Conversation

Clashsoft
Copy link
Member

@Clashsoft Clashsoft commented Sep 2, 2020

Improvements

  • FMethods now support import(...) syntax.
  • The parser now supports import(...) syntax in type uses and annotations.
  • import(...) syntax now supports static imports via import(static ...).

This simplifies the implementation and allows using import(...) syntax
within FMethod bodies.
The import(...) syntax now supports the `static` keyword directly after
the opening parenthesis. Example: `import(static org.example.Foo.bar)`
The FulibClass.g4 grammar and FragmentMapBuilder now understand the
import(...) syntax and generate correct signatures for members using it.
@Clashsoft Clashsoft added the enhancement Changes to existing features label Sep 2, 2020
@Clashsoft Clashsoft added this to the v1.2.3 milestone Sep 2, 2020
@Clashsoft Clashsoft self-assigned this Sep 2, 2020
@Clashsoft Clashsoft changed the base branch from master to bugfix September 2, 2020 11:20
@Clashsoft Clashsoft merged commit 39eaa39 into bugfix Sep 2, 2020
@Clashsoft Clashsoft deleted the fix/fmethod-import branch September 2, 2020 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Changes to existing features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant