static bool matchWordSequence(O _pat, O _real, IMatchF matchF, Map map) { if (!(_pat << WordSequence && _real << WordSequence)) false; WordSequence pat = cast _pat; WordSequence real = cast _real; int n = l(pat.l); if (n != l(real.l)) false; for i to n: if (!matchF.get(pat.l.get(i), real.l.get(i), map)) false; true; }
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: | #1012752 |
| Snippet name: | matchWordSequence |
| Eternal ID of this version: | #1012752/4 |
| Text MD5: | 8e87058f7f7d2afeece33a3458b228a7 |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-12-11 20:04:34 |
| Source code size: | 346 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 623 / 683 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |