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

12
LINES

< > BotCompany Repo | #1031923 // test_tok_metaFor (OK)

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

Transpiled version (4332L) is out of date.

svoid test_tok_metaFor() {
  testTranspilationFunction tok_metaFor(
    "meta-for a in a, b { print(a); }",
    "print(a); print(b);",
    "meta-for a as b, c { print(a); }",
    "print(b); print(c);",
    "meta-for a also as b { print(a); }",
    "print(a); print(b);",
    "meta-for a in a, b, c { print(a); }",
    "print(a); print(b); print(c);",
  );
}

download  show line numbers  debug dex  old transpilations   

Travelled to 5 computer(s): bhatertpkbcr, ekrmjmnbrukm, elmgxqgtpvxh, mqqgnosmbjvj, pyentgdyhuwx

No comments. add comment

Snippet ID: #1031923
Snippet name: test_tok_metaFor (OK)
Eternal ID of this version: #1031923/5
Text MD5: 4b32b750e5ed6a47331cb34c50e635f1
Author: stefan
Category: javax / transpiling
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-07-19 23:51:04
Source code size: 368 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 107 / 179
Version history: 4 change(s)
Referenced in: [show references]