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

4
LINES

< > BotCompany Repo | #1011754 // isCurlyBraced - uses javaTok

JavaX fragment (include)

1  
static bool isCurlyBraced(S s) {
2  
  L<S> tok = tok_combineCurlyBrackets_keep(javaTok(s));
3  
  ret l(tok) == 3 && startsWithAndEndsWith(tok.get(1), "{", "}");
4  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1011754
Snippet name: isCurlyBraced - uses javaTok
Eternal ID of this version: #1011754/1
Text MD5: 6096d8b50463a45b401119847631cbe6
Author: stefan
Category: javax / parsing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-05 01:32:39
Source code size: 159 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 605 / 665
Referenced in: [show references]