static FishParser.ScriptContext parse(CharStream cs) {
FishLexer lexer = new FishLexer(cs);
CommonTokenStream tokens = new CommonTokenStream(lexer);
tokens.setTokenSource(lexer);
FishParser parser = new FishParser(tokens);
parser.setErrorHandler(new BailErrorStrategy());
FishParser.ScriptContext script = parser.script();
return script;
}
FishParserFactory.java 文件源码
java
阅读 19
收藏 0
点赞 0
评论 0
项目:antsdb
作者:
评论列表
文章目录