static L<WebNode> web_allForwardRelated_multiRel(WebNode node, S... relations) { if (empty(relations)) relations = litstringarray(""); Web web = node.web; L<Lisp> labels = web_parseLabels(web, relations); new L<WebNode> l; for (Pair<WebNode> p : keys(web.relations)) if (p.a == node) { WebNode rel = web.relations.get(p); if (web_hasOneOfTheLabels(rel, labels)) l.add(p.b); } ret l; }
Began life as a copy of #1009834
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: | #1010749 |
Snippet name: | web_allForwardRelated_multiRel |
Eternal ID of this version: | #1010749/7 |
Text MD5: | a2aaafd6b65161377eab47991512042c |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-09-29 14:03:25 |
Source code size: | 436 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 537 / 580 |
Version history: | 6 change(s) |
Referenced in: | [show references] |