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

7
LINES

< > BotCompany Repo | #1023758 // tok_findStarVars

JavaX fragment (include)

svoid tok_findStarVars(LS tok, Collection<S> vars_out) {
  for (int i = 1; i < l(tok)-2; i += 2)
    if (eqGet(tok, i, "*")) {
      vars_out.add(uncurly(tok.get(i+2)));
      clearTokens(tok, i, i+2);
    }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1023758
Snippet name: tok_findStarVars
Eternal ID of this version: #1023758/3
Text MD5: 35ee1632b4c0645e6005d83b0f150a9f
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-08 18:54:22
Source code size: 215 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 184 / 224
Version history: 2 change(s)
Referenced in: [show references]