1 | static L<S> ai_tok_scanForGlobalIDs_recursive(S s) { |
2 | L<S> tok = javaTokC(s); |
3 | new L<S> ids; |
4 | for (int i = 0; i < l(tok)-2; i++) { |
5 | S t = tok.get(i); |
6 | if (eq(t, "globalID") && eq(tok.get(i+1), "=")) |
7 | ids.add(tok.get(i+2)); |
8 | else if (isQuoted(t) && contains(t, "globalID=")) |
9 | ids.addAll(ai_tok_scanForGlobalIDs(unquote(t))); |
10 | } |
11 | ret ids; |
12 | } |
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: | #1011820 |
Snippet name: | ai_tok_scanForGlobalIDs_recursive |
Eternal ID of this version: | #1011820/2 |
Text MD5: | 2f709c91253f76cd65097f80b4745aed |
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:15 |
Source code size: | 373 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 415 / 449 |
Version history: | 1 change(s) |
Referenced in: | [show references] |