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

5
LINES

< > BotCompany Repo | #1027964 // recursiveUnquoteStartingAtLevel1

JavaX fragment (include)

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

Author comment

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: 172 / 205
Referenced in: [show references]