1 | static L<Pair<WebNode>> webs_search_dollarXY(final Web searchWeb, Collection<Web> webs) { |
2 | new L<Map<WebNode>> mappings; |
3 | for (Web web : webs) |
4 | addIfNotNull(mappings, web_matchAllPerms_x(searchWeb, web, f nodeMatch_dollarVars)); |
5 | |
6 | ret map(mappings, func(Map<WebNode> map) { |
7 | map = web_addRelationsToMapping(map); |
8 | print("xy map: " + map); |
9 | ret pair( |
10 | map.get(web_findNodeOrRelation(searchWeb, "$X")), |
11 | map.get(web_findNodeOrRelation(searchWeb, "$Y"))); |
12 | }); |
13 | } |
Began life as a copy of #1010826
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: | #1010932 |
Snippet name: | webs_search_dollarXY |
Eternal ID of this version: | #1010932/6 |
Text MD5: | 4d9c35e6b1c375e950fcf96f4b508cc9 |
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-09 02:11:31 |
Source code size: | 501 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 429 / 467 |
Version history: | 5 change(s) |
Referenced in: | [show references] |