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

9
LINES

< > BotCompany Repo | #1009265 // tok_classBody

JavaX fragment (include)

1  
static L<S> tok_classBody(LS tok) {
2  
  ret tok_classBody(tok, 0);
3  
}
4  
5  
static LS tok_classBody(LS tok, int i) {
6  
  i = indexOf(tok, "{", i);
7  
  if (i < 0) null;
8  
  ret subList(tok, i+1, findEndOfBlock(tok, i)-1);
9  
}

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: 441 / 473
Version history: 3 change(s)
Referenced in: [show references]