static L<L<S>> innerClasses(L<S> tok) { if (tok == null) ret emptyList(); int i = 1; while (i < tok.size() && !tok.get(i).equals("{")) i += 2; return allClasses(subList(tok, i+1, tok.size())); }
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: | #1001619 |
| Snippet name: | innerClasses - now also returns interfaces |
| Eternal ID of this version: | #1001619/2 |
| Text MD5: | 4a00962f5df1232c5ff31bcc57f0d70f |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-07-24 03:05:42 |
| Source code size: | 212 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 1017 / 1893 |
| Version history: | 1 change(s) |
| Referenced in: | #1001621 - getClassBody #1002427 - Accellerating 629 (SPIKE) #1006654 - Standard functions list 2 (LIVE, continuation of #761) #3000382 - Answer for ferdie (>> t = 1, f = 0) #3000383 - Answer for funkoverflow (>> t=1, f=0 okay) |