parsing - Generate abstract syntax tree for Java source code? -


for project, need to:

  1. convert java source code ast.
  2. modify ast (e.g. add statements, modify expressions).
  3. convert ast source code compilation.

i know antlr can parse java code, looks have tweak grammar file produce ast. there out-of-the-box solution me ast?


Comments

Popular posts from this blog

java - JavaScript + Thymeleaf - select onchange -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

node.js - Using Node without global install -