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

14
LINES

< > BotCompany Repo | #1011890 // webs_tripleSearch_dollarX

JavaX fragment (include)

1  
static L<WebNode> webs_tripleSearch_dollarX(Symbol a, Symbol b, Symbol c, Collection<Web> webs) {
2  
  new L<WebNode> l;
3  
  bool isA = eq(a, "$X");
4  
  for (Web web : webs) {
5  
    Pair<WebNode> p = web_matchTriple_dollarVars(a, b, c, web);
6  
    if (p != null)
7  
      l.add(isA ? p.a : p.b);
8  
  }
9  
  ret l;
10  
}
11  
12  
static L<WebNode> webs_tripleSearch_dollarX(Collection<Web> webs, T3<Symbol> t) {
13  
  ret webs_tripleSearch_dollarX(t.a, t.b, t.c, webs);
14  
}

Author comment

Began life as a copy of #1010826

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: #1011890
Snippet name: webs_tripleSearch_dollarX
Eternal ID of this version: #1011890/4
Text MD5: aaf25058002a10dc271fb5a02417f23c
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-10 07:04:45
Source code size: 448 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 384 / 412
Version history: 3 change(s)
Referenced in: [show references]