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

6
LINES

< > BotCompany Repo | #1007622 // nodeToString

JavaX fragment (include)

sS nodeToString(Node n) {
  if (n == null) ret "-";
  if (n instanceof AIConcept) ret aiConceptToString2(n/AIConcept);
  if (n instanceof Statement) ret statementToString(n/Statement);
  ret "?? " + n.globalID;
}

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: #1007622
Snippet name: nodeToString
Eternal ID of this version: #1007622/2
Text MD5: 5614b0299ed4e868d025b680feac0cb1
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-02 15:06:38
Source code size: 217 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 375 / 442
Version history: 1 change(s)
Referenced in: [show references]