static SS parseText2Tag(S snippetID) { SS map = new LinkedHashMap; for (S s : toLinesFullTrim(loadSnippet(snippetID))) { L<S> tok = javaTok(s); S text = get(tok, 1); if (isQuoted(text)) { S tag = trimDropPrefixTrim(",", join(dropFirst(tok, 2))); map.put(unquote(text), tag); } } 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: | #1008364 |
| Snippet name: | parseText2Tag |
| Eternal ID of this version: | #1008364/2 |
| Text MD5: | 5aa37beb32cb5338ce896fdf14577386 |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-05-09 21:08:48 |
| Source code size: | 336 bytes / 12 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 805 / 806 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |