Transpiled version (2155L) is out of date.
!include once #1025810 // JavaParser static CompilationUnit javaParseCompilationUnit(S java, bool withComments default false) { new JavaParser p; p.getParserConfiguration().setAttributeComments(withComments); ParseResult<CompilationUnit> r = p.parse(java); if (!r.isSuccessful()) fail(str(r)); ret r.getResult().get(); }
Began life as a copy of #1011226
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, wnsclhtenguj
No comments. add comment
Snippet ID: | #1025812 |
Snippet name: | javaParseCompilationUnit [new JavaParser version] |
Eternal ID of this version: | #1025812/6 |
Text MD5: | d568d8ea97ad4d53105a3969a57e8fd3 |
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:53:43 |
Source code size: | 344 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 258 / 1612 |
Version history: | 5 change(s) |
Referenced in: | #1025811 - javaParser_makeAllPublic - also pretty-prints whole source [new JavaParser version] #1025813 - javaParser_makeAllPublic_keepComments [new JavaParser] #1025814 - javaParser_reparse_keepComments [new JavaParser] |