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

8
LINES

< > BotCompany Repo | #1031877 // test_tok_castToStatements

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

Libraryless. Click here for Pure Java version (3991L/23K).

svoid test_tok_castToStatements() {
  testTranspilationFunction tok_castToStatements(
    "cast bla to Bla; ret bla;",
    "ret ((Bla) bla);",
    "{ cast bla to Bla; ret bla; } ret bla;",
    "{ ret ((Bla) bla); } ret bla;",
  );
}

Author comment

Began life as a copy of #1031771

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1031877
Snippet name: test_tok_castToStatements
Eternal ID of this version: #1031877/3
Text MD5: 50b48d55bb6d2f7c808232e5f799aea8
Transpilation MD5: 155acc9825b7de9f68451e6da156ec5a
Author: stefan
Category: javax / transpiling
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-07-23 17:39:08
Source code size: 239 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 146 / 216
Version history: 2 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)