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

16
LINES

< > BotCompany Repo | #1033013 // testTranspilationFunction_v1

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

Libraryless. Click here for Pure Java version (4243L/25K).

please include function makeVar.

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

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

Author comment

Began life as a copy of #1027849

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033013
Snippet name: testTranspilationFunction_v1
Eternal ID of this version: #1033013/1
Text MD5: ea0224e6fa0f6a231ce8c0b1ff973c93
Transpilation MD5: 3758800173a96938924cc30ecc3c4408
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:44:11
Source code size: 496 bytes / 16 lines
Pitched / IR pitched: No / No
Views / Downloads: 87 / 121
Referenced in: [show references]