I'm building a Node.js app and it has to be able to change a java source code file on the server by adding a few class/enum declaration. Is there a javascript library I can use to achieve it?
I know the java-parse (https://www.npmjs.com/package/java-parser) library can parse a java file into its Abstract Syntax Tree in json format, but it does not seem it can parse the AST back to java code. Is there a library that can do parsings in both direction ?
Aucun commentaire:
Enregistrer un commentaire