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

9
LINES

< > BotCompany Repo | #1021728 // tok_splitAtCommaOrDoubleArrow

JavaX fragment (include)

1  
static L<S> tok_splitAtCommaOrDoubleArrow(S s) {
2  
  ret tok_splitAtCommaOrDoubleArrow(javaTok(s));
3  
}
4  
  
5  
static L<S> tok_splitAtCommaOrDoubleArrow(L<S> tok) {
6  
  LS l = splitAtDoubleArrow(tok);
7  
  if (l(l) > 1) ret l;
8  
  ret tok_splitAtComma(tok);
9  
}

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: 284 / 333
Version history: 3 change(s)
Referenced in: [show references]