java2ast
v0.0.8-alpha.23
Published
基于[java-parse](https://javaparser.org/)抽取java源代码进行转换;
Downloads
14
Readme
基于java-parse抽取java源代码进行转换;
Require
➜ core git:(br-model) ✗ java --version
java 9.0.4
Java(TM) SE Runtime Environment (build 9.0.4+11)
Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)
➜ core git:(br-model) ✗ node -v
v11.15.0
➜ core git:(br-model) ✗
单文件执行
import {fromFile} from 'java2ast';
(async()=>{
let ast = await fromFile("/xxx/xx.jar")
})()