Libraryless. Click here for Pure Java version (5785L/32K).
svoid tok_swingBlocks(LS tok) { replaceKeywordBlock_dyn(tok, "swing", (_tok, iOpening, iClosing) -> containsReturnWithArgument(subList(tok, iOpening+1, iClosing)) ? litstringarray("{ ret swing(-> {", "}); }") : litstringarray("{ swing(-> {", "}); }") ); }
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034697 |
Snippet name: | tok_swingBlocks |
Eternal ID of this version: | #1034697/2 |
Text MD5: | 15d017509ba5247411396194a03eb009 |
Transpilation MD5: | fefc6f9a25a77a47783b98be9a28e1ed |
Author: | stefan |
Category: | javax / transpiling |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-03-05 20:43:00 |
Source code size: | 292 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 122 / 186 |
Version history: | 1 change(s) |
Referenced in: | [show references] |