1 | static L<L<S>> innerClasses(L<S> tok) { |
2 | if (tok == null) ret emptyList(); |
3 | int i = 1; |
4 | while (i < tok.size() && !tok.get(i).equals("{")) |
5 | i += 2; |
6 | return allClasses(subList(tok, i+1, tok.size())); |
7 | } |
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: | 786 / 1655 |
Version history: | 1 change(s) |
Referenced in: | [show references] |