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

9
LINES

< > BotCompany Repo | #1013333 // ai_parseQuad

JavaX fragment (include)

static TripleWebWithSourceAndResult ai_parseQuad(S s) {
  L<S> l = map tok_unCurlyBracket(splitAtSimpleArrow(tok_combineCurlyBrackets_keep(javaTok(s))));
  if (l(l) != 4) null;
  TripleWebWithSourceAndResult w = new(null, l.get(3));
  w.a = l.get(0);
  w.b = l.get(1);
  w.c = l.get(2);
  ret w;
}

Author comment

Began life as a copy of #1012030

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: #1013333
Snippet name: ai_parseQuad
Eternal ID of this version: #1013333/6
Text MD5: bc40258c1598f6e111f27378175bc4f5
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-01-01 05:58:28
Source code size: 305 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 350 / 368
Version history: 5 change(s)
Referenced in: [show references]