/**
* Builds a {@link SferaScriptGrammarParser} for the specified reader and
* with the specified error listener.
*
* @param r
* the reader
* @param errorListener
* the error listener
* @return the built parser
* @throws IOException
* if an I/O error occurs
*/
public static SferaScriptGrammarParser getParser(Reader r, ANTLRErrorListener errorListener)
throws IOException {
return getParser(new ANTLRInputStream(r), errorListener);
}
Parser.java 文件源码
java
阅读 28
收藏 0
点赞 0
评论 0
项目:sfera
作者:
评论列表
文章目录