Libraryless. Click here for Pure Java version (1062L/8K/26K).
!7 p { S s = getServerTranspilation(#1008607); L<S> tok = javaTok(s); S dropped = rtrimAll(javaDropAllComments(s)); L<S> tok2 = javaTok(dropped); assertEquals(codeTokens(tok), codeTokens(tok2)); for (int i = 0; i < l(tok); i += 2) if (neq(tok.get(i), tok2.get(i))) { print(quote(tok.get(i))); print(" " + quote(tok2.get(i))); } print("Size (gzipped): " + gzippedSize(s) + " => " + gzippedSize(dropped)); }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1008629 |
Snippet name: | Test javaDropAllComments [WORKS] |
Eternal ID of this version: | #1008629/5 |
Text MD5: | 76e8ae9ad5fc2053d006c54b979d478b |
Transpilation MD5: | 1f7fb582d4be991ab3b742b1ddd48ba5 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-05-26 14:57:53 |
Source code size: | 455 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 491 / 563 |
Version history: | 4 change(s) |
Referenced in: | -