Transpiled version (1423L) is out of date.
1 | !747 |
2 | |
3 | m { |
4 | p { |
5 | L<S> tok = tokMainJavaTest(); |
6 | L<S> main = cloneList(findMainClass(tok)); |
7 | removeInnerClasses(main); |
8 | main = javaTok(main); |
9 | for (L<S> f : getFunctionNames(main)) |
10 | print("Function found: " + f); |
11 | //saveMainJava(tok); |
12 | } |
13 | |
14 | static L<S> tokMainJavaTest() { |
15 | ret javaTok(loadSnippet("#2000584")); |
16 | } |
17 | |
18 | static void removeInnerClasses(L<S> tok) { |
19 | for (L<S> c : innerClasses(tok)) |
20 | clearAllTokens(c); |
21 | } |
22 | |
23 | static L<S> getFunctionNames(L<S> tok) { |
24 | // TODO |
25 | } |
26 | } |
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: | #1001830 |
Snippet name: | New function adder (using tokenizers, developing) |
Eternal ID of this version: | #1001830/1 |
Text MD5: | 3d0b8b1c94cc2a6c77745083aef504f8 |
Author: | stefan |
Category: | javax |
Type: | JavaX translator |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-11-21 18:33:53 |
Source code size: | 546 bytes / 26 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 553 / 624 |
Referenced in: | [show references] |