1 | static L<Pair<S>> ai_texts_dollarXY(S a, S b, S c) { |
2 | if (isDollarVar(b)) todo(); |
3 | new L<Pair<S>> l; |
4 | if (eq(a, "$X") && eq(c, "$Y")) { |
5 | for (WebRelation r : indexedRelations(b)) |
6 | l.add(pair(web_text(r.a), web_text(r.b))); |
7 | ret l; |
8 | } |
9 | if (eq(a, "$Y") && eq(c, "$X")) { |
10 | for (WebRelation r : indexedRelations(b)) |
11 | l.add(pair(web_text(r.b), web_text(r.a))); |
12 | ret l; |
13 | } |
14 | fail("improper arguments: " + a + "/" + b + "/" + c); |
15 | } |
Began life as a copy of #1011892
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: | #1012112 |
Snippet name: | ai_texts_dollarXY |
Eternal ID of this version: | #1012112/3 |
Text MD5: | 01bbc595f1d7eb8f6a7d76947ba2890b |
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-20 09:12:53 |
Source code size: | 466 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 441 / 489 |
Version history: | 2 change(s) |
Referenced in: | [show references] |