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

13
LINES

< > BotCompany Repo | #1012195 // webs_tripleSearch_dollarX_first

JavaX fragment (include)

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

Author comment

Began life as a copy of #1011890

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: #1012195
Snippet name: webs_tripleSearch_dollarX_first
Eternal ID of this version: #1012195/1
Text MD5: 7c5978c754508ead0a40db263b0b2478
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-23 18:43:22
Source code size: 415 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 425 / 447
Referenced in: [show references]