Libraryless. Click here for Pure Java version (3291L/20K).
static LS tok_destatic_identifiers = javaTokC([[ bool S class void ]]); svoid tok_destatic(LS tok) { jreplace(tok, "static", ""); for (S id : tok_destatic_identifiers) jreplace(tok, "s" + id, id); } sS tok_destatic(S s) { ret applyTranspilationFunction tok_destatic(s); }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1029566 |
Snippet name: | tok_destatic - convert static JavaX code fragment into non-static |
Eternal ID of this version: | #1029566/4 |
Text MD5: | 680e9ab05f5f3269c42508b20979e74e |
Transpilation MD5: | 772f4c2b6a8ce5324a8dcc2f3db236a0 |
Author: | stefan |
Category: | javax / transpiling |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-08-24 11:50:24 |
Source code size: | 295 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 155 / 230 |
Version history: | 3 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |