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

3
LINES

< > BotCompany Repo | #1008895 // tok_unCurlyBracket

JavaX fragment (include)

static S tok_unCurlyBracket(S s) {
  ret isCurlyBraced(s) ? join(dropFirstThreeAndLastThree(javaTok(s))) : s;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lnbujpyubztb, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney

No comments. add comment

Snippet ID: #1008895
Snippet name: tok_unCurlyBracket
Eternal ID of this version: #1008895/8
Text MD5: 09ca96a51c31743fbca319cff568b6cc
Author: stefan
Category: javax / parsing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-02-07 16:59:57
Source code size: 113 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 644 / 1020
Version history: 7 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1017508 - tok_dropAllCurlyBrackets (makes copy)
#1025583 - tok_unCurlyBracket_keepSpaces - keeps spaces in beginning and end
#1025592 - tok_deRoundBracket
#1025653 - tok_deRoundOrCurlyBracket