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

7
LINES

< > BotCompany Repo | #1028895 // tok_findCurlyBody - functionality probably duplicated in tok_methodBody and tok_classBody

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

Transpiled version (2972L) is out of date.

// opening bracket to closing bracket + 1
static IntRange tok_findCurlyBody(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);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, ekrmjmnbrukm, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1028895
Snippet name: tok_findCurlyBody - functionality probably duplicated in tok_methodBody and tok_classBody
Eternal ID of this version: #1028895/4
Text MD5: 9f7bd7fc73788154e5fcd9a744b251fd
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:04:10
Source code size: 245 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 147 / 230
Version history: 3 change(s)
Referenced in: [show references]