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

10
LINES

< > BotCompany Repo | #1011821 // ai_tok_scanForGlobalIDs

JavaX fragment (include)

static L<S> ai_tok_scanForGlobalIDs(S s) {
  L<S> tok = javaTokC(s);
  new L<S> ids;
  for (int i = 0; i < l(tok)-2; i++) {
    S t = tok.get(i);
    if (eq(t, "globalID") && eq(tok.get(i+1), "="))
      ids.add(tok.get(i+2));
  }
  ret ids;
}

Author comment

Began life as a copy of #1011820

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: #1011821
Snippet name: ai_tok_scanForGlobalIDs
Eternal ID of this version: #1011821/2
Text MD5: e2729a0e5f38f36d4c1cbb77dc8a2a74
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-05 21:30:23
Source code size: 252 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 334 / 383
Version history: 1 change(s)
Referenced in: [show references]