Libraryless. Click here for Pure Java version (4216L/24K).
1 | please include function makeVar. |
2 | |
3 | // test against cases |
4 | svoid lambdaMapLike testTranspilationFunction_v2(IVF1<LS> f, S in, S out, S... moreInOut) { |
5 | LS tok = jtok(in); |
6 | makeVar_varCount.set(0); |
7 | f.get(tok); |
8 | assertJavaSourceEqualsVerbose_v2(in, out, tok); |
9 | fOr (PairS p : paramsToPairs(moreInOut)) |
10 | testTranspilationFunction_v2(f, p.a, p.b); |
11 | } |
12 | |
13 | // just apply and return transpilation |
14 | sS testTranspilationFunction_v2(IVF1<LS> f, S s) { |
15 | ret applyTranspilationFunction(f, s); |
16 | } |
Began life as a copy of #1033013
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1033014 |
Snippet name: | testTranspilationFunction_v2 |
Eternal ID of this version: | #1033014/1 |
Text MD5: | e5c188413336189417bcd49e6f4620dc |
Transpilation MD5: | fca8836550622c957d2077b9c3cdad75 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-11 10:45:29 |
Source code size: | 499 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 182 / 239 |
Referenced in: | [show references] |