Libraryless. Click here for Pure Java version (2165L/14K).
1 | please include function emit. |
2 | |
3 | static L getEmits(Runnable r) { |
4 | new L l; |
5 | temp tempSetThreadLocal(emit_tl, l); |
6 | temp tempSetMCOpt(emit_print := false); |
7 | callF(r); |
8 | ret l; |
9 | } |
10 | |
11 | static L mapLike getEmits(O f, O... args) { |
12 | ret getEmits(r { callF(f, args) }); |
13 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1016143 |
Snippet name: | getEmits - now silences emits |
Eternal ID of this version: | #1016143/9 |
Text MD5: | 6844033a01e5b0c4155f15faec6e0fe9 |
Transpilation MD5: | 2ed826b7e6c8d1d7a747290010bdc53c |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-07-01 01:45:27 |
Source code size: | 274 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 460 / 617 |
Version history: | 8 change(s) |
Referenced in: | [show references] |