1 | svoid javax_prepareX30SourceForDeployment(L<S> tok) { |
2 | renameToken(tok, "StringFunc", "StrF"); |
3 | for (L<S> c : allClasses(tok)) { |
4 | S name = getClassDeclarationName(c); |
5 | if (name.equals("main")) |
6 | clearAllTokens(c); |
7 | else if (name.equals(v) && !c.get(1).equals("public")) |
8 | c.set(1, "public " + c.get(1)); |
9 | } |
10 | reTok(tok); |
11 | } |
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: | #1016057 |
Snippet name: | javax_prepareX30SourceForDeployment |
Eternal ID of this version: | #1016057/2 |
Text MD5: | 38f5f2041bcb14b68c9161a37c2dfe2a |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-06-04 14:14:16 |
Source code size: | 352 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 508 / 525 |
Version history: | 1 change(s) |
Referenced in: | [show references] |