Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

8
LINES

< > BotCompany Repo | #1004481 // replaceVars_autoQuote - uses javaTok

JavaX fragment (include)

static S replaceVars_autoQuote(S s, Map<S, S> map) {
  L<S> tok = javaTok(s);
  for (S var : keys(map)) {
    S value = map.get(var);
    jreplace(tok, var, autoQuote(value));
  }
  ret join(tok);
}

Author comment

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: 513 / 536
Referenced in: [show references]