阅读背景:

使用有用的消息终止解析错误

来源:互联网 

I've got an ANTLR 4 grammar and built a lexer and parser from that. Now I'm trying to instantiate that parser in such a way that it will parse until it encounters an error. If it encounters an error, it should not continue parsing, but it should provide useful information about the problem; ideally a machine-readable location and a human-readable message.I've got an ANTLR 4 grammar and built a lexer a




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

分享到: