1 | static L<S> splitAtDoubleArrow_bothDirections(S s) {
|
2 | ret splitAtDoubleArrow_bothDirections(javaTok(s)); |
3 | } |
4 | |
5 | static L<S> splitAtDoubleArrow_bothDirections(L<S> tok) {
|
6 | L<S> l = splitAtDoubleArrow(tok); |
7 | if (l(l) != 2) l = reversedList(splitAtDoubleLeftArrow(tok)); |
8 | ret l; |
9 | } |
Began life as a copy of #1011989
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: | #1014234 |
| Snippet name: | splitAtDoubleArrow_bothDirections - javaTok and split at "=>" (and trim) or "<=" (and reverse) |
| Eternal ID of this version: | #1014234/1 |
| Text MD5: | 6c5a78ae41766e7b683bb0b528dc6563 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-04-17 02:01:13 |
| Source code size: | 285 bytes / 9 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 694 / 720 |
| Referenced in: | [show references] |