1 | static void web_addLabels(WebNode node, L<Lisp> labels) { |
2 | node.addLabels(labels); |
3 | } |
4 | |
5 | static void web_addLabels(WebNode node, WebNode src) { |
6 | if (src != null) node.addLabels(src.labels); |
7 | } |
8 | |
9 | static void web_addLabels(WebNode node, O labels) { |
10 | if (labels == null) ret; |
11 | if (labels instanceof S) ret with web_addLabel(node, (S) labels); |
12 | if (labels instanceof Collection) ret with web_addStrings(node, (Collection) labels); |
13 | fail("huh: " + className(labels)); |
14 | } |
Began life as a copy of #1010129
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: | #1010332 |
Snippet name: | web_addLabels - add labels to node |
Eternal ID of this version: | #1010332/7 |
Text MD5: | 452be614a0187c2b421670d7fba91e25 |
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-11 01:34:28 |
Source code size: | 478 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 409 / 465 |
Version history: | 6 change(s) |
Referenced in: | [show references] |