Skip to content
Discussion options

You must be logged in to vote

Hey @nk-coding,

as far as I'm aware, the lexer does not expose the current mode to the ILexerErrorMessageProvider in any way. Since the lexer mode also isn't a property of the lexer itself, but a local variable of the tokenize method, I don't think there's a way to retrieve the value.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by nk-coding
Comment options

You must be logged in to vote
2 replies
@msujew
Comment options

msujew Mar 10, 2025
Collaborator

@nk-coding
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants