// f : func(S) -> S sS javaTokWithBrackets_recursiveTransform(fO f, S s) { ret join(mapCodeTokens(javaTokWithBrackets(s), func(S t) -> S { if (!isCurlyBraced(t)) ret (S) callF(f, t); ret optCurly(javaTokWithBrackets_recursiveTransform(f, uncurly(t))); })); }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1021295 |
Snippet name: | javaTokWithBrackets_recursiveTransform - apply function to every code token and group [dev.] |
Eternal ID of this version: | #1021295/3 |
Text MD5: | 2b0e63865c166fedcc861201bee78b8e |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-02-07 16:44:41 |
Source code size: | 276 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 283 / 312 |
Version history: | 2 change(s) |
Referenced in: | [show references] |