1 | static S replaceVars_autoQuote(S s, Map<S, S> map) { |
2 | L<S> tok = javaTok(s); |
3 | for (S var : keys(map)) { |
4 | S value = map.get(var); |
5 | jreplace(tok, var, autoQuote(value)); |
6 | } |
7 | ret join(tok); |
8 | } |
Began life as a copy of #1004293
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1004481 |
Snippet name: | replaceVars_autoQuote - uses javaTok |
Eternal ID of this version: | #1004481/1 |
Text MD5: | 32e087a5732578836f5c7e33296768c8 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-08-18 16:56:15 |
Source code size: | 205 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 514 / 538 |
Referenced in: | [show references] |