Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

8
LINES

< > BotCompany Repo | #1010451 // web_findRelations - match on relations

JavaX fragment (include)

static L<WebRelation> web_findRelations(Web web, S a, S rel, S b) {
  new L<WebRelation> l;
  for (WebRelation r : web_relationObjects(web))
    if (web_matchNodeName(r.a, a) && web_matchNodeName(r.b, b)
      && web_matchNodeName(r, rel))
      l.add(r);
  ret l;
}

Author comment

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: 454 / 464
Version history: 2 change(s)
Referenced in: [show references]