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

10
LINES

< > TinyBrain | #1010375 - tok_findTranslators

JavaX fragment (include)

// 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   

Travelled to 2 computer(s): cfunsshuasjs, tvejysmllsmz

No comments. add comment

Snippet ID: #1010375
Snippet name: tok_findTranslators
Eternal ID of this version: #1010375/2
Text MD5: 69283d40f9c9aeb2abf6cf2f1dfc0b61
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: 20 / 31
Version history: 1 change(s)
Referenced in: [show]