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

5
LINES

< > BotCompany Repo | #1031093 - tok_varNamedLikeFunction

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

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

// e.g.: temp resourceHolder = ();
// to  : temp var resourceHolder = resourceHolder();
svoid tok_varNamedLikeFunction(LS tok) {
  jreplace(tok, "temp <id> = ();", "temp var $2 = $2();");
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx

No comments. add comment

Snippet ID: #1031093
Snippet name: tok_varNamedLikeFunction
Eternal ID of this version: #1031093/1
Text MD5: 22446d1e60e07ecab8202aa8aa692210
Transpilation MD5: 37e4dc5294f6eb3b94e11dd06a7ad8b9
Author: stefan
Category: javax / transpiling
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-05-01 15:21:36
Source code size: 193 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 6 / 25
Referenced in: [show references]

Formerly at http://tinybrain.de/1031093 & http://1031093.tinybrain.de