Skip to content

Export generated data structures#4255

Merged
parrt merged 1 commit intoantlr:devfrom
jimidle:feature/static
May 5, 2023
Merged

Export generated data structures#4255
parrt merged 1 commit intoantlr:devfrom
jimidle:feature/static

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

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