Several lexer rules can match the same input text. In that case, the token type will be chosen as follows:
First, select the lexer rule which matches the longest input
If the text matches an implicitly defined token (like '{'), use the implicit rule
If several lexer rules match the same input l...