1 | static L<WebRelation> web_findRelations(Web web, S a, S rel, S b) { |
2 | new L<WebRelation> l; |
3 | for (WebRelation r : web_relationObjects(web)) |
4 | if (web_matchNodeName(r.a, a) && web_matchNodeName(r.b, b) |
5 | && web_matchNodeName(r, rel)) |
6 | l.add(r); |
7 | ret l; |
8 | } |
Began life as a copy of #1010449
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: | #1010451 |
Snippet name: | web_findRelations - match on relations |
Eternal ID of this version: | #1010451/3 |
Text MD5: | a1716b9362b701b4c2eb1d0f6fb822c2 |
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-18 01:18:19 |
Source code size: | 273 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 529 / 540 |
Version history: | 2 change(s) |
Referenced in: | [show references] |