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

6
LINES

< > BotCompany Repo | #1030390 // test_tok_orCase (OK)

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

Libraryless. Click here for Pure Java version (3383L/21K).

svoid test_tok_orCase() {
  testTranspilationFunction tok_orCase(
    "switch (x) { orCase 1: y(); orCase 2: z(); }",
    "switch (x) { case 1: y(); break; case 2: z(); }"
  );
}

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt

No comments. add comment

Snippet ID: #1030390
Snippet name: test_tok_orCase (OK)
Eternal ID of this version: #1030390/2
Text MD5: a905090b3f10e600c8efe075085ea068
Transpilation MD5: 09d096fe3c8ff67b80a6b0e65759e54f
Author: stefan
Category: javax / transpiling
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-12-11 00:51:55
Source code size: 183 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 121 / 175
Version history: 1 change(s)
Referenced in: [show references]