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

5
LINES

< > BotCompany Repo | #1030904 // tok_extractCurlyBody - keeps spacing

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (3183L/19K).

sS tok_extractCurlyBody(S s) {
  LS tok = javaTok(s);
  IntRange r = tok_findCurlyBody(tok);
  ret r == null ? null : joinSubList(tok, r.start+1, r.end-1);
}

Author comment

Began life as a copy of #1028895

download  show line numbers  debug dex  old transpilations   

Travelled to 5 computer(s): bhatertpkbcr, ekrmjmnbrukm, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030904
Snippet name: tok_extractCurlyBody - keeps spacing
Eternal ID of this version: #1030904/3
Text MD5: 9530d0321ed4ab0a4249cd9fbca146e7
Transpilation MD5: 5c24ec91a8fcacc6ea55eb2bb34a86a7
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-04-08 16:05:41
Source code size: 161 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 168 / 279
Version history: 2 change(s)
Referenced in: [show references]