1 | static void printWeb(Web web) {
|
2 | if (web == null) { print("-"); ret; }
|
3 | L<Pair<WebNode>> relations = web_nonEmptyRelations(web); |
4 | print((web.unverified ? "UNVERIFIED " : "VERIFIED ") |
5 | + "Web " + web.globalID |
6 | + " from " + web.source |
7 | + (web.created == 0 ? "" : ", created " + dateGMT(web.created)) |
8 | + ": " + n(l(web.nodes)-l(relations), "node") + ", " + n(relations, "relation")); |
9 | print(); |
10 | L<WebNode> nodes = web_nonRelationNodes(web); |
11 | if (!(l(nodes) == 2 && l(relations) == 1)) {
|
12 | pnlIndent(collectMethod(nodes, 'text)); |
13 | print(); |
14 | } |
15 | web_printRelations(web); |
16 | } |
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: | #1009966 |
| Snippet name: | printWeb |
| Eternal ID of this version: | #1009966/17 |
| Text MD5: | 5b734c6478d40fd212cb1bf5d02cac8b |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-11-26 17:08:00 |
| Source code size: | 606 bytes / 16 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 807 / 833 |
| Version history: | 16 change(s) |
| Referenced in: | [show references] |