static S ai_parse_spacedDash(S s, Pair<S> sep) { L<S> tok = javaTok(s); int i = smartIndexOfSpacedDash(tok); if (i >= l(tok)) null; ret enclose(sep, joinSubList(tok, 0, i-1)) + joinSubList(tok, i-1, i+2) + enclose(sep, joinSubList(tok, i+2)); }
Began life as a copy of #1013105
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: | #1013560 |
Snippet name: | ai_parse_spacedDash |
Eternal ID of this version: | #1013560/3 |
Text MD5: | 21e3e723ae6c651073b91bf46dfe18c8 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-01-09 13:14:45 |
Source code size: | 267 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 413 / 418 |
Version history: | 2 change(s) |
Referenced in: | [show references] |