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

Allow to create a standard SymbolMap for EBNF #403

Open
keilw opened this issue Sep 16, 2023 · 1 comment
Open

Allow to create a standard SymbolMap for EBNF #403

keilw opened this issue Sep 16, 2023 · 1 comment

Comments

@keilw
Copy link
Member

keilw commented Sep 16, 2023

Currently SymbolMap.of(ResourceBundle rb) takes a given ResourceBundle.
We would like to add another static factory method, e.g. SymbolMap.ofEBNF() (similar to the noarg methods in List, Set or Map) or forEBNF() which uses the ResourceBundle for EBNFUnitFormat without exposing its internals, e.g. the bundle path, as that could change in a future version.

So the SymbolMap instance can be enriched via alias() or label() methods before creating an EBNFUnitFormat with it.

@keilw
Copy link
Member Author

keilw commented Oct 1, 2024

This may be partly archived or even superceded by #429

@keilw keilw modified the milestones: 2.2.2, 2.2.3 Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant