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

9
LINES

< > BotCompany Repo | #1021728 // tok_splitAtCommaOrDoubleArrow

JavaX fragment (include)

static L<S> tok_splitAtCommaOrDoubleArrow(S s) {
  ret tok_splitAtCommaOrDoubleArrow(javaTok(s));
}
  
static L<S> tok_splitAtCommaOrDoubleArrow(L<S> tok) {
  LS l = splitAtDoubleArrow(tok);
  if (l(l) > 1) ret l;
  ret tok_splitAtComma(tok);
}

Author comment

Began life as a copy of #1016884

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1021728
Snippet name: tok_splitAtCommaOrDoubleArrow
Eternal ID of this version: #1021728/4
Text MD5: b326af716d51bac1a92b54410e8fc400
Author: stefan
Category: javax / parsing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-02-25 11:02:49
Source code size: 252 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 282 / 331
Version history: 3 change(s)
Referenced in: [show references]