Libraryless. Click here for Pure Java version (784L/6K/20K).
!1006722 p { S s = [[import bla; class bla { import blubb; }]]; L<S> tok = javaTok(s); tok_moveImportsUp(tok); print(s = join(tok)); tok_moveImportsUp(tok); assertEquals(s, join(tok)); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1009580 |
Snippet name: | Test tok_moveImportsUp [OK] |
Eternal ID of this version: | #1009580/4 |
Text MD5: | baf69931acbcd6b82733b88ffa2cdeec |
Transpilation MD5: | 6733f1743dd227b6fe9ca2b0e372f3fc |
Author: | stefan |
Category: | |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-08-08 20:58:52 |
Source code size: | 208 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 351 / 458 |
Version history: | 3 change(s) |
Referenced in: | -