@SuppressWarnings("unused")
private ParsedContext parseFile(final File rootDir, final String protoName) {
Throwable exception = null;
try {
final File file = new File(rootDir, protoName);
final ANTLRFileStream ais = new ANTLRFileStream(file.getCanonicalPath());
return parseProto(ais, protoName);
} catch (final IOException e) {
exception = e;
} finally {
if (exception != null) {
throw new RuntimeException(exception);
}
}
return null;
}
ProtoFiles.java 文件源码
java
阅读 23
收藏 0
点赞 0
评论 0
项目:protobuf-el
作者:
评论列表
文章目录