Libraryless. Click here for Pure Java version (3005L/19K).
static LS extractBracketedTokens(S s) { ret extractBracketedTokens(javaTokWithAllBrackets_cached(s)); } static LS extractBracketedTokens(LS tok) { ret map(bracketedTokenIndices(tok), i -> tok_deRoundOrCurlyBracket(tok.get(i))); }
Began life as a copy of #1026185
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1028384 |
Snippet name: | extractBracketedTokens (round or curly) |
Eternal ID of this version: | #1028384/4 |
Text MD5: | a9f73ce35602a0f6e2f1bd6c899d7c22 |
Transpilation MD5: | 53f15c9a4a86da36b85ae14165ada392 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-06-14 18:33:50 |
Source code size: | 240 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 234 / 371 |
Version history: | 3 change(s) |
Referenced in: | [show references] |