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

8
LINES

< > BotCompany Repo | #1009844 // web_followOrMakeForwardRelation - returns node

JavaX fragment (include)

static WebNode web_followOrMakeForwardRelation(WebNode node, S relation, S newNodeName) {
  WebNode n = web_findForwardRelated(node, lisp(relation));
  if (n == null) {
    n = web.node(newNodeName);
    web.getRelation(node, n).addLabel(relation);
  }
  ret n;
}

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: 535 / 540
Version history: 1 change(s)
Referenced in: [show references]