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

Add option to mark generated classes as internal #58

Open
wilkomanger opened this issue Mar 3, 2021 · 2 comments
Open

Add option to mark generated classes as internal #58

wilkomanger opened this issue Mar 3, 2021 · 2 comments

Comments

@wilkomanger
Copy link
Contributor

Now the classes are by default marked as public, it would be nice for libraries using this package to have these classes marked as internal so they won't be exported.

@lppedd
Copy link
Contributor

lppedd commented Dec 22, 2023

This request should probably go into the main ANTLR repo, as that's where the StringTemplate template data is generated.

cc @ftomassetti, I'd close this one as we can't do it.

@ftomassetti
Copy link
Member

If I understand correctly, we would need a change in the ANTLR tool to have the possibility to selectively mark some classes as internal. We could however mark all the generated classes as internal (or not), based on some flag

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants