static SS parseEqualParameters(S s) { new SS map; L<S> tok = javaTokC(s); for (int i = 0; i+2 < l(tok); i++) if (eqGet(tok, i+1, "=")) map.put(unquote(tok.get(i)), unquote(tok.get(i += 2))); ret map; }
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: | #1015984 |
Snippet name: | parseEqualParameters - tolerant parser e.g. for output of renderConcept |
Eternal ID of this version: | #1015984/2 |
Text MD5: | fccabb6885c27ce99edc43c62107e5c3 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-06-02 17:56:36 |
Source code size: | 226 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 466 / 445 |
Version history: | 1 change(s) |
Referenced in: | [show references] |