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

Export generated data structures #4255

Merged
merged 1 commit into from
May 5, 2023
Merged

Export generated data structures #4255

merged 1 commit into from
May 5, 2023

Conversation

jimidle
Copy link
Collaborator

@jimidle jimidle commented May 5, 2023

feat: Make static data available outside the generated parser code

  • Allows Go code to access things like RuleNames outside the generated code
    instead of non-idiomatic and non-existent Getxxx() funcs

  - Allows Go code to access things like RuleNames outside the generated code
    instead of non-idiomatic and non-existent Getxxx() funcs

Signed-off-by: Jim.Idle <jimi@idle.ws>
@jimidle
Copy link
Collaborator Author

jimidle commented May 5, 2023

@parrt Ready to merge when you get a chance

@parrt parrt added the target:go label May 5, 2023
@parrt parrt added this to the 4.12.1 milestone May 5, 2023
@parrt parrt merged commit 57ba1e4 into antlr:dev May 5, 2023
@jimidle jimidle deleted the feature/static branch May 5, 2023 00:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants