static void web_addLabels(WebNode node, L<Lisp> labels) { node.addLabels(labels); } static void web_addLabels(WebNode node, WebNode src) { if (src != null) node.addLabels(src.labels); } static void web_addLabels(WebNode node, O labels) { if (labels == null) ret; if (labels instanceof S) ret with web_addLabel(node, (S) labels); if (labels instanceof Collection) ret with web_addStrings(node, (Collection) labels); fail("huh: " + className(labels)); }
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: | 408 / 463 |
Version history: | 6 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1010918 - web_addLabel - add label to node #1010961 - web_addStrings - add string labels to node |