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

13
LINES

< > BotCompany Repo | #1034286 // test_tok_delegateTo

JavaX fragment (include)

1  
svoid test_tok_delegateTo() {
2  
  testTranspilation tok_delegateTo(
3  
    [[ delegate bla to x.
4  
       bla(); ]], [[ x.bla(); ]],
5  
    [[ delegate bla to x.
6  
       blu.bla(); ]], [[ blu.bla(); ]],
7  
    [[ delegate bla, blu to x.
8  
       bla(); blu(); ]],
9  
    [[ x.bla(); x.blu(); ]],
10  
    [[ delegate Sub to Outer. outer.new Sub() ]],
11  
    [[ outer.new Sub() ]],
12  
  );
13  
}

Author comment

Began life as a copy of #1024494

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1034286
Snippet name: test_tok_delegateTo
Eternal ID of this version: #1034286/6
Text MD5: c00d12f5fe78f913bf9192910be87f6c
Author: stefan
Category: javax / transpiling
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-06-23 23:58:13
Source code size: 374 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 77 / 124
Version history: 5 change(s)
Referenced in: [show references]