1 | static Set<S> nlLogic_constructNames(Exp exp) { |
2 | final new HashSet<S> set; |
3 | nlLogic_visitShallow(exp, voidfunc(O o) { |
4 | if (o cast Func) set.add(o.name); |
5 | if (o cast Literal) set.add(o.text()); |
6 | }); |
7 | ret set; |
8 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1017879 |
Snippet name: | nlLogic_constructNames |
Eternal ID of this version: | #1017879/3 |
Text MD5: | 59e026b5d065e7e1b18a6ae452389d06 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-08-19 00:24:14 |
Source code size: | 226 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 401 / 414 |
Version history: | 2 change(s) |
Referenced in: | [show references] |