1 | // returns list of func(O) -> Bool |
2 | static L ai_makeTesters(Web web, WebNode op) { |
3 | new L testers; |
4 | |
5 | for (Pair<S, WebNode> p : web_forwardRelationsTextPlusNodes(op)) { |
6 | if (eqic(p.a, "that is")) { |
7 | S property = p.b.text(); |
8 | testers.add(ai_makeTester(web, web_text(op), property)); |
9 | } |
10 | else fail("Unknown condition: " + p); |
11 | } |
12 | |
13 | ret testers; |
14 | } |
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: | #1010220 |
Snippet name: | ai_makeTesters - make list of property testers |
Eternal ID of this version: | #1010220/3 |
Text MD5: | d0effa9b788d57589560aeaf33e66d6f |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-09-06 20:57:37 |
Source code size: | 381 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 473 / 482 |
Version history: | 2 change(s) |
Referenced in: | [show references] |