static bool isCurlyBraced(S s) { L<S> tok = tok_combineCurlyBrackets_keep(javaTok(s)); ret l(tok) == 3 && startsWithAndEndsWith(tok.get(1), "{", "}"); }
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: | 606 / 666 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1021592 - isCurlyBraced_simple |