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

9
LINES

< > BotCompany Repo | #1013333 // ai_parseQuad

JavaX fragment (include)

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

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: 351 / 369
Version history: 5 change(s)
Referenced in: [show references]