Libraryless. Click here for Pure Java version (1062L/8K/26K).
1 | !7 |
2 | |
3 | p { |
4 | S s = getServerTranspilation(#1008607); |
5 | L<S> tok = javaTok(s); |
6 | S dropped = rtrimAll(javaDropAllComments(s)); |
7 | L<S> tok2 = javaTok(dropped); |
8 | assertEquals(codeTokens(tok), codeTokens(tok2)); |
9 | for (int i = 0; i < l(tok); i += 2) |
10 | if (neq(tok.get(i), tok2.get(i))) { |
11 | print(quote(tok.get(i))); |
12 | print(" " + quote(tok2.get(i))); |
13 | } |
14 | print("Size (gzipped): " + gzippedSize(s) + " => " + gzippedSize(dropped)); |
15 | } |
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: | 490 / 562 |
Version history: | 4 change(s) |
Referenced in: | [show references] |