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

5
LINES

< > BotCompany Repo | #1017826 // leadingSquareBracketOptions

JavaX fragment (include)

1  
static LS leadingSquareBracketOptions(S s) {
2  
  L<S> tok = javaTokPlusBrackets2(s);
3  
  if (!isSquareBracketed(get(tok, 1))) ret emptyList();
4  
  ret tok_splitAtComma(javaTokPlusBrackets2(deSquareBracket(get(tok, 1))));
5  
}

Author comment

Began life as a copy of #1017549

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1017826
Snippet name: leadingSquareBracketOptions
Eternal ID of this version: #1017826/1
Text MD5: b6607b5d61dcea05543f352870fc948c
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-08-15 14:37:54
Source code size: 220 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 386 / 413
Referenced in: [show references]