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

7
LINES

< > BotCompany Repo | #1009830 // tok_contentsOfClass

JavaX fragment (include)

static L<S> tok_contentsOfClass(L<S> tok) {
  int i = 1;
  while (i < tok.size() && !tok.get(i).equals("{"))
    i += 2;
  assertEquals("}", tok.get(l(tok)-2));
  ret subList(tok, i+1, l(tok)-2);
}

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: #1009830
Snippet name: tok_contentsOfClass
Eternal ID of this version: #1009830/1
Text MD5: debdbf0a7f7de038676663bbfd76d307
Author: stefan
Category: javax / parsing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-08-20 01:07:57
Source code size: 203 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 460 / 522
Referenced in: [show references]