-
|
Hi, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
Hey @nk-coding, as far as I'm aware, the lexer does not expose the current mode to the |
Beta Was this translation helpful? Give feedback.
-
|
I actually think this should be fairly easy.
You can try editing the tokenize method source code directly in node_modules to produce this effect. |
Beta Was this translation helpful? Give feedback.
Hey @nk-coding,
as far as I'm aware, the lexer does not expose the current mode to the
ILexerErrorMessageProviderin any way. Since the lexer mode also isn't a property of the lexer itself, but a local variable of thetokenizemethod, I don't think there's a way to retrieve the value.