'ANTLR4 - Change token text
Consider the following lexer rule:
TRUE : 'true' | 'TRUE' | '1';
I'd like all TRUE tokens to be converted to 'true'.
I'm using antlr4ts. How do I do that?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
