antlr4cs Questions
0
I can't find any documentation that shows how to get ANTLR support in Visual Studio 2022. It seems like the ANTLR extension developers haven't kept up with the changes made to the Visual Studio API...
Boddie asked 28/4, 2022 at 3:12
1
Solved
I'm trying to create a Beginning-Of-Line token:
lexer grammar ScriptLexer;
BOL : {getCharPositionInLine() == 0;}; // Beginning Of Line token
But the above emits the error
The name 'getCharPosi...
1
© 2022 - 2024 — McMap. All rights reserved.