1 | static MechListDependentCache<SS> ctxMacros_cache = MechListDependentCache( |
2 | "Ctx Macros (German)", func(S list) -> SS {
|
3 | new SS out; |
4 | for (S s : tlft(list)) {
|
5 | int idx = s.indexOf("=");
|
6 | if (idx >= 0) |
7 | out.put(trimSubstring(s, 0, idx), trimSubstring(s, idx+1)); |
8 | } |
9 | ret out; |
10 | }); |
11 | |
12 | static SS ctxMacros() {
|
13 | ret ctxMacros_cache!; |
14 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1018250 |
| Snippet name: | ctxMacros - from mech list |
| Eternal ID of this version: | #1018250/3 |
| Text MD5: | ffc98c6b8219d2e450c681fd753d3742 |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-09-12 12:48:30 |
| Source code size: | 377 bytes / 14 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 615 / 633 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |