Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1027963 // recursiveUnquoteStartingAtLevel2

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2817L/18K).

sS recursiveUnquoteStartingAtLevel2(S s) {
  LS tok = javaTok(s);
  if (countCodeTokens(tok) <= 1) ret s;
  ret join(mapCodeTokens(tok, t -> isQuoted(t) ? quote(recursiveUnquote(unquote(t))) : t));
}

Author comment

Began life as a copy of #1027961

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: #1027963
Snippet name: recursiveUnquoteStartingAtLevel2
Eternal ID of this version: #1027963/5
Text MD5: e85ee46a4cc07f5c3271005a9ae156f7
Transpilation MD5: b0a40746546c2ca558c830a5fbdd3d08
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:57:06
Source code size: 203 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 164 / 255
Version history: 4 change(s)
Referenced in: [show references]