-
-
Notifications
You must be signed in to change notification settings - Fork 236
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
Consider exporting InsertionMode
enum
#531
Comments
We mark it as internal, to avoid clutter in the documentation. But there is nothing stopping you from importing it. |
Hey @fb55 I could miss something but |
I was thinking of tokenizer modes – sorry about the confusion. I'm not sure how useful exporting insertion modes would be, as the parser is pretty hard to extend in the current form ( |
The authors of |
When creating a custom parser we need to check the
insertionMode
field against a value. Without theInsertionMode
enum exported we have to use a magic number or redefine another enum within our codebase.Is there any reason preventing us from exporting the enum?
The text was updated successfully, but these errors were encountered: