阅读背景:

如何在ANTLR 2中找到角色位置?

来源:互联网 

I have a simple grammar, and have produced a pair of c# classes using antlr 2.7.7. When the parser finds an error with a token, it throws an exception; I want to find out how many characters into a parsed stream the token came. How do I do that?I have a simple grammar, and have produced a pa




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: