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.

1  
svoid test_tok_metaFor() {
2  
  testTranspilationFunction tok_metaFor(
3  
    "meta-for a in a, b { print(a); }",
4  
    "print(a); print(b);",
5  
    "meta-for a as b, c { print(a); }",
6  
    "print(b); print(c);",
7  
    "meta-for a also as b { print(a); }",
8  
    "print(a); print(b);",
9  
    "meta-for a in a, b, c { print(a); }",
10  
    "print(a); print(b); print(c);",
11  
  );
12  
}

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: 174 / 273
Version history: 4 change(s)
Referenced in: [show references]