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

20
LINES

< > BotCompany Repo | #1032810 // make_test_tok_akaFunctionNames

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

Transpiled version (8249L) is out of date.

sS make_test_tok_akaFunctionNames() {
  S code = "svoid test_tok_akaFunctionNames() {\n"
  + indentx("testTranspilationFunction tok_akaFunctionNames(\n"
    + mapToLines(test_tok_akaFunctionNames_examples(),
    in -> "  " + toJava(in) + ",\n"
        + "    " + toJava(applyTranspilationFunction tok_akaFunctionNames(in)) + ",")
    + ");\n"
    + "}";
  ret editSF("test_tok_akaFunctionNames", code);
}

static LS test_tok_akaFunctionNames_examples() {
  ret ll(
    "void tailCall aka replace(Computable x) { bla(); }",
    "final void tailCall aka replace(Computable x) { bla(); }",
    "S tailCall aka replace(Computable x) { ret bla(); }",
    "void a aka b aka c() { d(); }",
    "void mapMethodLike a aka b(S s) { c(s); }",
  );
}

Author comment

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: 82 / 119
Version history: 8 change(s)
Referenced in: [show references]