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

7
LINES

< > BotCompany Repo | #1017971 - tok_autoQuineFunc

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

Libraryless. Click here for Pure Java version (2191L/14K).

sS tok_autoQuineFunc(LS contents) {
  ret tok_autoQuineFunc(contents, 'toString);
}

sS tok_autoQuineFunc(LS contents, S funcName) {
  ret "  public S " + funcName + "() { ret " + quote(shorten(defaultMaxQuineLength(), trimJoin(contents))) + "; }";
}

download  show line numbers  debug dex   

Travelled to 11 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, tvejysmllsmz, xrpafgyirdlv

No comments. add comment

Snippet ID: #1017971
Snippet name: tok_autoQuineFunc
Eternal ID of this version: #1017971/5
Text MD5: 5277ab9e7670dd7e21297dd187745017
Transpilation MD5: eeb92a8e4728377a6d4c33a4cd9b7283
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-14 19:10:04
Source code size: 256 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 162 / 187
Version history: 4 change(s)
Referenced in: [show references]

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