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

3
LINES

< > BotCompany Repo | #1025655 // tok_deRoundOrCurlyBracket_keepFirstSpacing

JavaX fragment (include)

1  
sS tok_deRoundOrCurlyBracket_keepFirstSpacing(S s) {
2  
  ret isCurlyBraced(s) || tok_isRoundBracketed(s) ? join(dropFirstTwoAndLastThree(javaTok(s))) : s;
3  
}

Author comment

Began life as a copy of #1025653

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1025655
Snippet name: tok_deRoundOrCurlyBracket_keepFirstSpacing
Eternal ID of this version: #1025655/1
Text MD5: dcfd3cc42c686b24c2e0a78b67325447
Author: stefan
Category: javax / parsing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-10-12 18:10:12
Source code size: 156 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 217 / 253
Referenced in: [show references]