Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

10
LINES

< > BotCompany Repo | #1009261 // tok_findMainFunctionsNamed

JavaX fragment (include)

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;
}

Author comment

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: 438 / 493
Version history: 4 change(s)
Referenced in: [show references]