google / google/google-java-format
Pass AST directly
オープン
- 主要言語
- Java
- スター
- 6.2k
- フォーク
- 937
- 平均マージ
- 6分
- マージ済み PR(30日)
- 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 はまだ評価されていません。