1 | static Pair<LS, O> prepareEvalWithDollarVars(S code) { |
2 | ret prepareEvalWithDollarVars(code, tok_dollarVarTokens(javaTok(code))); |
3 | } |
4 | |
5 | static Pair<LS, O> prepareEvalWithDollarVars(S code, Set<S> vars) { |
6 | temp tempSetThreadLocal(evalJava_prep_args, joinWithComma(map(func(S var) -> S { "S " + var }, vars))); |
7 | S src = evalJava_prep(code); |
8 | O c = evalJava_prep2(src); |
9 | ret pair((L<S>) asList(vars), c); |
10 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1017774 |
Snippet name: | prepareEvalWithDollarVars - vars are strings |
Eternal ID of this version: | #1017774/6 |
Text MD5: | 627882ef1b24b149abc84e59f7204ac6 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-08-28 17:37:31 |
Source code size: | 415 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 333 / 387 |
Version history: | 5 change(s) |
Referenced in: | [show references] |