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

3
LINES

< > BotCompany Repo | #1017273 // curlyBraceOptIfMoreThanOneToken

JavaX fragment (include)

static S curlyBraceOptIfMoreThanOneToken(S s) {
  ret !isCurlyBraced(s) && moreThanOneToken(s) ? curlyBrace(s) : s;
}

Author comment

Began life as a copy of #1011758

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1017273
Snippet name: curlyBraceOptIfMoreThanOneToken
Eternal ID of this version: #1017273/2
Text MD5: e4b896ac6c648096439ce9fd75c82a62
Author: stefan
Category: javax / parsing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-16 15:05:56
Source code size: 119 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 335 / 356
Version history: 1 change(s)
Referenced in: [show references]