You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the LivePreviewLexer treats as whitespace any space or new-line matching regexp token that is not used anywhere in the rules.
However, as soon as I remove all mentions of a given rule in the bnf, the IElementType disappears from the elementTypeHolderClass (XxxTypes.java) and I can't reference it in my ParserDefinition.getWhitespaceTokens.
This means I can't have an accurate LivePreviewLexer and code that compiles at the same time, is this known/expected behaviour?
The text was updated successfully, but these errors were encountered:
https://github.com/JetBrains/Grammar-Kit/blob/master/TUTORIAL.md says:
However, as soon as I remove all mentions of a given rule in the bnf, the IElementType disappears from the elementTypeHolderClass (XxxTypes.java) and I can't reference it in my
ParserDefinition.getWhitespaceTokens
.This means I can't have an accurate LivePreviewLexer and code that compiles at the same time, is this known/expected behaviour?
The text was updated successfully, but these errors were encountered: