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

10
LINES

< > BotCompany Repo | #1010375 // tok_findTranslators

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

Libraryless. Click here for Pure Java version (5711L/31K).

// removes invocations from src
static L<S> tok_findTranslators(L<S> tok, L<S> libsOut) {
  int i;
  while ((i = jfind(tok, "!<int>")) >= 0) {
    setAdd(libsOut, tok.get(i+2));
    clearTokens(tok, i, i+3);
    reTok(tok, i, i+3);
  }
  ret tok;
}

Author comment

Began life as a copy of #1003865

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: #1010375
Snippet name: tok_findTranslators
Eternal ID of this version: #1010375/2
Text MD5: 69283d40f9c9aeb2abf6cf2f1dfc0b61
Transpilation MD5: 44ea515fb8e4429292ac6748c85b2c97
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-09-13 16:31:20
Source code size: 257 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 589 / 622
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1012009 - tok_hasTranslators - doesn't change tok