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

8
LINES

< > BotCompany Repo | #1033079 - test_tok_settableFields - settable implies gettable

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

Transpiled version (4922L) is out of date.

svoid test_tok_settableFields() {
  testTranspilationFunction tok_settableFields(
    "settable S bla;",
    //"selfType bla(S bla) { this.bla = bla; this; }  S bla() { ret bla; } S bla;",
    "public selfType bla aka setBla(S bla) { this.bla = bla; this; }\n"
      + "public S bla aka getBla() { ret bla; } S bla;",
  );
}

Author comment

Began life as a copy of #1032963

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1033079
Snippet name: test_tok_settableFields - settable implies gettable
Eternal ID of this version: #1033079/7
Text MD5: 5ff17069cccd78e3f2d2eb2034bf557a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-18 06:37:09
Source code size: 331 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 13 / 53
Version history: 6 change(s)
Referenced in: [show references]