static Bool ai_matchObjectWithMultipleVars(LS vars, O result, SS matches) { if (l(vars) == 2 && shortClassNameIs(result, 'Pair)) ret ai_matchMulti(vars, ll(strGet(result, 'a), strGet(result, 'b)), matches); if (l(vars) == 3 && shortClassNameIs(result, 'T3)) ret ai_matchMulti(vars, ll(strGet(result, 'a), strGet(result, 'b), strGet(result, 'c)), matches); if (result cast Collection) if (l(result) == l(vars)) ret ai_matchMulti(vars, allToString(result), matches); null; }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1018219 |
| Snippet name: | ai_matchObjectWithMultipleVars |
| Eternal ID of this version: | #1018219/1 |
| Text MD5: | cd8222fd4b9377ae879a2c7a356276c8 |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-09-10 15:42:29 |
| Source code size: | 517 bytes / 13 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 597 / 629 |
| Referenced in: | [show references] |