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

7
LINES

< > BotCompany Repo | #1003195 // addToStdFunctionsList

JavaX fragment (include)

static S addToStdFunctionsList(S list, S fname, S snippetID) {
  L<S> tok = javaTok(list);
  int i = findCodeTokens(tok, "standardFunctions", "=", "litlist", "(");
  int opening = i+6;
  tok.set(opening, tok.get(opening) + "\n  \"" + formatSnippetID(snippetID) + "/" + fname + "\",");
  ret join(tok);
}

Author comment

Began life as a copy of #1003193

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1003195
Snippet name: addToStdFunctionsList
Eternal ID of this version: #1003195/3
Text MD5: b556d7250c7deb2ba9306e7d41d474e6
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-03-12 21:40:59
Source code size: 309 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 633 / 556
Version history: 2 change(s)
Referenced in: [show references]