1 | static Pair<LS, O> prepareEvalWithDollarVars_assertAllVarsSet(S code, SS values) { |
2 | Set<S> vars = tok_dollarVarTokens(javaTok(code)); |
3 | for (S v : vars) |
4 | if (!containsKey(values, v)) |
5 | fail("No value for " + v); |
6 | ret prepareEvalWithDollarVars(code, vars); |
7 | } |
Began life as a copy of #1017774
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1018046 |
Snippet name: | prepareEvalWithDollarVars_assertAllVarsSet |
Eternal ID of this version: | #1018046/1 |
Text MD5: | c4d30e7f8a92108195bc97fbb1e3774c |
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:36:09 |
Source code size: | 272 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 397 / 418 |
Referenced in: | [show references] |