In Lezer grammars, we define tokens with precedence in relation to each other via the following example:
@tokens {
// some tokens here...
@precedence { token1, token2, token3 }
}
I was wondering how external tokenizers have their precedence set in relation to these tokens. Is there a way to configure them as higher/lower precedence than the regular tokens?