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)

svoid test_tok_delegateTo() {
  testTranspilation tok_delegateTo(
    [[ delegate bla to x.
       bla(); ]], [[ x.bla(); ]],
    [[ delegate bla to x.
       blu.bla(); ]], [[ blu.bla(); ]],
    [[ delegate bla, blu to x.
       bla(); blu(); ]],
    [[ x.bla(); x.blu(); ]],
    [[ delegate Sub to Outer. outer.new Sub() ]],
    [[ outer.new Sub() ]],
  );
}

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: 70 / 117
Version history: 5 change(s)
Referenced in: [show references]