1 | sS recursiveUnquoteStartingAtLevel1(S s) {
|
2 | LS tok = javaTok(s); |
3 | if (countCodeTokens(tok) <= 1) ret s; |
4 | ret join(mapCodeTokens(tok, t -> isQuoted(t) ? recursiveUnquote(t) : t)); |
5 | } |
Began life as a copy of #1027963
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: | #1027964 |
| Snippet name: | recursiveUnquoteStartingAtLevel1 |
| Eternal ID of this version: | #1027964/1 |
| Text MD5: | 204719b01338227fd72b6063562be08a |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-04-21 03:54:35 |
| Source code size: | 187 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 405 / 433 |
| Referenced in: | [show references] |