static LL<S> tok_findMainFunctionsNamed(S src, S... names) { HashSet<S> namesSet = asHashSet(names); new LL<S> out; for (L<S> tok : tok_findMainFunctions(src)) { S name = tok_functionName(tok); if (namesSet.contains(name)) out.add(tok); } ret out; }
Began life as a copy of #1009258
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: | #1009261 |
Snippet name: | tok_findMainFunctionsNamed |
Eternal ID of this version: | #1009261/5 |
Text MD5: | 88d113c5d82533b7668d0ed868462a44 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-07-19 23:54:23 |
Source code size: | 282 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 440 / 496 |
Version history: | 4 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1009262 - tok_findMainFunctions - find functions in main class |