1 | static Set<Pair<WebNode>> web_relations(Web web) { |
2 | ifdef WebWithRelationsMap |
3 | if (web.relations != null) |
4 | ret keys(web.relations); |
5 | endifdef |
6 | |
7 | new LinkedHashSet<Pair<WebNode>> l; |
8 | for (WebNode n : web.nodes) |
9 | if (n instanceof WebRelation) |
10 | l.add(pair(n/WebRelation.a, n/WebRelation.b)); |
11 | ret l; |
12 | } |
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: | #1010207 |
Snippet name: | web_relations |
Eternal ID of this version: | #1010207/6 |
Text MD5: | eaf32d93a9c58de40bc796941d435c43 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-11-27 11:25:30 |
Source code size: | 329 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 563 / 600 |
Version history: | 5 change(s) |
Referenced in: | [show references] |