Transpiled version (2327L) is out of date.
1 | sS dropLoadableUtilsPackageFromStruct(S s) { |
2 | S prefix = "loadableUtils.utils$"; |
3 | if (!contains(s, "loadableUtils.utils$")) ret s; |
4 | LS tok = javaTokForStructure(s); |
5 | for (int i = 5; i < l(tok); i += 2) |
6 | if (eqGet(tok, i-4, "loadableUtils") |
7 | && eqGet(tok, i-2, ".")) |
8 | replaceTokens(tok, i-4, i+1, dropPrefix("utils$", tok.get(i))); |
9 | ret join(tok); |
10 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1027240 |
Snippet name: | dropLoadableUtilsPackageFromStruct - e.g. "loadableUtils.utils$Rect(...)" to "Rect(...)" |
Eternal ID of this version: | #1027240/3 |
Text MD5: | 3a07f5db384ca85ef80d0e46d7dde6ec |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-02-26 16:01:29 |
Source code size: | 375 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 201 / 276 |
Version history: | 2 change(s) |
Referenced in: | [show references] |