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

7
LINES

< > BotCompany Repo | #1035960 // tok_findRoundBracketBody

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

Libraryless. Click here for Pure Java version (9479L/53K).

// opening bracket to closing bracket + 1
static IntRange tok_findRoundBracketBody(LS tok, int i default 1) {
  int idx = findCodeTokens(tok, i, false, "(");
  if (idx < 0) null;
  int j = findEndOfBracketPart(tok, idx);
  ret intRange(idx, j);
}

Author comment

Began life as a copy of #1028895

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): elmgxqgtpvxh, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1035960
Snippet name: tok_findRoundBracketBody
Eternal ID of this version: #1035960/1
Text MD5: 735b858baac57a4cfd8ad31ca84f718c
Transpilation MD5: 0861bf266774e05b2423b472c615ed37
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:12:59
Source code size: 252 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 118 / 162
Referenced in: [show references]