static L<S> tok_importedStaticFunctionNames(L<S> tok) { new L<S> names; for (int i = 1; i < l(tok); i += 2) if (eq(tok.get(i), "import") && eq(get(tok, i+2), "static")) { int j = findEndOfStatement(tok, i); // index of ;+1 S s = get(tok, j-3); if (isIdentifier(s)) names.add(s); i = j-1; } ret names; }
Began life as a copy of #1004092
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1016584 |
| Snippet name: | tok_importedStaticFunctionNames (just the names, not the packages) |
| Eternal ID of this version: | #1016584/1 |
| Text MD5: | 4eeb6e71c1bae596406af5241151c461 |
| Author: | stefan |
| Category: | |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-06-24 14:24:10 |
| Source code size: | 357 bytes / 12 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 670 / 687 |
| Referenced in: | [show references] |