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   

Travelled to 10 computer(s): aoiabmzegqzx, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, tslmcundralx, tvejysmllsmz

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: 122 / 126
Version history: 1 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1017273 & http://1017273.tinybrain.de