Transpiled version (8249L) is out of date.
1 | sS make_test_tok_akaFunctionNames() { |
2 | S code = "svoid test_tok_akaFunctionNames() {\n" |
3 | + indentx("testTranspilationFunction tok_akaFunctionNames(\n" |
4 | + mapToLines(test_tok_akaFunctionNames_examples(), |
5 | in -> " " + toJava(in) + ",\n" |
6 | + " " + toJava(applyTranspilationFunction tok_akaFunctionNames(in)) + ",") |
7 | + ");\n" |
8 | + "}"; |
9 | ret editSF("test_tok_akaFunctionNames", code); |
10 | } |
11 | |
12 | static LS test_tok_akaFunctionNames_examples() { |
13 | ret ll( |
14 | "void tailCall aka replace(Computable x) { bla(); }", |
15 | "final void tailCall aka replace(Computable x) { bla(); }", |
16 | "S tailCall aka replace(Computable x) { ret bla(); }", |
17 | "void a aka b aka c() { d(); }", |
18 | "void mapMethodLike a aka b(S s) { c(s); }", |
19 | ); |
20 | } |
Began life as a copy of #1030980
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1032810 |
Snippet name: | make_test_tok_akaFunctionNames |
Eternal ID of this version: | #1032810/9 |
Text MD5: | b7c13c5961feb5b4c162f0fcf64cf540 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-06 09:05:09 |
Source code size: | 757 bytes / 20 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 160 / 206 |
Version history: | 8 change(s) |
Referenced in: | [show references] |