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

5
LINES

< > BotCompany Repo | #1035961 // tok_extractRoundBracketBody - keeps spacing

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

Libraryless. Click here for Pure Java version (9696L/54K).

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

Author comment

Began life as a copy of #1030904

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): elmgxqgtpvxh, mqqgnosmbjvj, wnsclhtenguj

No comments. add comment

Snippet ID: #1035961
Snippet name: tok_extractRoundBracketBody - keeps spacing
Eternal ID of this version: #1035961/1
Text MD5: bf60d252a324014728c873ab2dea61da
Transpilation MD5: 365d35f8178834f6f29b3a383300a17e
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-08-20 16:13:26
Source code size: 175 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 133 / 177
Referenced in: [show references]