static LS tok_importedStaticFunctionNamesWithPackages(LS tok) { new LS 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(join(codeTokens(subList(tok, i+3, j-1))); i = j-1; } ret names; }
Began life as a copy of #1016584
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1031484 |
| Snippet name: | tok_importedStaticFunctionNamesWithPackages |
| Eternal ID of this version: | #1031484/4 |
| Text MD5: | 5cc8d87abe45fb134bf20298baf40feb |
| Author: | stefan |
| Category: | java / transpiling |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-06-14 07:43:59 |
| Source code size: | 403 bytes / 12 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 433 / 466 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |