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

9
LINES

< > BotCompany Repo | #1009265 // tok_classBody

JavaX fragment (include)

static L<S> tok_classBody(LS tok) {
  ret tok_classBody(tok, 0);
}

static LS tok_classBody(LS tok, int i) {
  i = indexOf(tok, "{", i);
  if (i < 0) null;
  ret subList(tok, i+1, findEndOfBlock(tok, i)-1);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1009265
Snippet name: tok_classBody
Eternal ID of this version: #1009265/4
Text MD5: 173855c489da6c1c75d930f9045f9417
Author: stefan
Category: javax / parsing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-01-17 20:06:17
Source code size: 216 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 329 / 384
Version history: 3 change(s)
Referenced in: [show references]