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

6
LINES

< > BotCompany Repo | #1007622 // nodeToString

JavaX fragment (include)

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

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