static Set<S> tok_returnTypesOfStaticFunction_uncleaned(L<S> tok, S functionName) { LL<S> funcs = findFullFunctionDefs(tok, true); new TreeSet<S> out; for (L<S> tokF : funcs) { int i = indexOfAny(tokF, 0, "(", "{"); if (i < 0) continue; S fname = get(tokF, i-2); if (!eq(fname, functionName)) continue; out.add(joinSubList(tokF, 1, i-3)); } ret out; }
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: | #1017261 |
| Snippet name: | tok_returnTypesOfStaticFunction_uncleaned |
| Eternal ID of this version: | #1017261/1 |
| Text MD5: | 85f68bcfb5629f680bd33182bedaf31c |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-07-15 17:01:21 |
| Source code size: | 392 bytes / 12 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 639 / 653 |
| Referenced in: | [show references] |