1 | static WebNode web_followOrMakeForwardRelation(WebNode node, S relation, S newNodeName) { |
2 | WebNode n = web_findForwardRelated(node, lisp(relation)); |
3 | if (n == null) { |
4 | n = web.node(newNodeName); |
5 | web.getRelation(node, n).addLabel(relation); |
6 | } |
7 | ret n; |
8 | } |
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: | #1009844 |
Snippet name: | web_followOrMakeForwardRelation - returns node |
Eternal ID of this version: | #1009844/2 |
Text MD5: | 5588a489d72536f5d8a3b682f90da9b1 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-10-08 19:33:45 |
Source code size: | 270 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 537 / 542 |
Version history: | 1 change(s) |
Referenced in: | [show references] |