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

16
LINES

< > BotCompany Repo | #1033014 // testTranspilationFunction_v2

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (4216L/24K).

please include function makeVar.

// test against cases
svoid lambdaMapLike testTranspilationFunction_v2(IVF1<LS> f, S in, S out, S... moreInOut) {
  LS tok = jtok(in);
  makeVar_varCount.set(0);
  f.get(tok);
  assertJavaSourceEqualsVerbose_v2(in, out, tok);
  fOr (PairS p : paramsToPairs(moreInOut))
    testTranspilationFunction_v2(f, p.a, p.b);
}

// just apply and return transpilation
sS testTranspilationFunction_v2(IVF1<LS> f, S s) {
  ret applyTranspilationFunction(f, s);
}

Author comment

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