google / google/google-java-format
Pass AST directly
未关闭
- 主要语言
- Java
- 星标
- 6.2k
- 派生
- 937
- 平均合并
- 6 分钟
- 30 天内合并 PR
- 3
描述
I am implementing a tool that generates Java source code. It uses GJF to make the output more readable.
At the moment, source code is generated as text and written to memory, then it is parsed and formatted by GJF.
I was wondering whether you would support an API where a `JCCompilationUnit` or `JCTree` could be passed to GJF directly? That way, my tool could just generate a tree. There would be less overhead since writing and parsing could be skipped altogether.
贡献指南
评估
这个 Issue 还没有评估数据。