Transpiled version (2933L) is out of date.
1 | please include function javaParser_makeAllPublic. |
2 | please include function javaParseCompilationUnit. |
3 | |
4 | static S javaParser_reparse_keepComments(S src) {
|
5 | CompilationUnit cu = JavaParser.parse(src); |
6 | new PrettyPrinterConfiguration ppconf; |
7 | ppconf.setPrintComments(true); |
8 | ppconf.setIndent(" ");
|
9 | ret cu.toString(ppconf); |
10 | } |
Began life as a copy of #1011643
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1014458 |
| Snippet name: | javaParser_reparse_keepComments [OLD] |
| Eternal ID of this version: | #1014458/6 |
| Text MD5: | bff656559e01dfc00432cee2d440c5f9 |
| Author: | stefan |
| Category: | javax / parsing |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-05-12 18:51:23 |
| Source code size: | 334 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 753 / 965 |
| Version history: | 5 change(s) |
| Referenced in: | [show references] |