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)

static WebNode webs_tripleSearch_dollarX_first(S a, S b, S c, Collection<Web> webs) {
  bool isA = eq(a, "$X");
  for (Web web : webs) {
    Pair<WebNode> p = web_matchTriple_dollarVars(a, b, c, web);
    if (p != null)
      ret isA ? p.a : p.b;
  }
  null;
}

static WebNode webs_tripleSearch_dollarX_first(Collection<Web> webs, T3<S> t) {
  ret webs_tripleSearch_dollarX_first(t.a, t.b, t.c, webs);
}

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: 424 / 446
Referenced in: [show references]