1 | static S addToStdFunctionsList(S list, S fname, S snippetID) { |
2 | L<S> tok = javaTok(list); |
3 | int i = findCodeTokens(tok, "standardFunctions", "=", "litlist", "("); |
4 | int opening = i+6; |
5 | tok.set(opening, tok.get(opening) + "\n \"" + formatSnippetID(snippetID) + "/" + fname + "\","); |
6 | ret join(tok); |
7 | } |
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: | 742 / 673 |
Version history: | 2 change(s) |
Referenced in: | [show references] |