Libraryless. Click here for Pure Java version (3027L/18K).
static LS tok_addRandomIDCommentsAroundAllTokens(LS tok) { for (int i = 0; i < l(tok); i += 2) tokAppend(tok, i, "/*" + aGlobalID() + "*/"); ret tok; } sS tok_addRandomIDCommentsAroundAllTokens(S src) { ret join(tok_addRandomIDCommentsAroundAllTokens(javaTok(src))); }
download show line numbers debug dex old transpilations
Travelled to 5 computer(s): bhatertpkbcr, ekrmjmnbrukm, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1031542 | 
| Snippet name: | tok_addRandomIDCommentsAroundAllTokens | 
| Eternal ID of this version: | #1031542/2 | 
| Text MD5: | 6e2dfcae08747c15e03d344a81c30693 | 
| Transpilation MD5: | cf83d31f67289e668654b7df18ff52cb | 
| Author: | stefan | 
| Category: | javax / transpiling | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2021-06-21 16:12:54 | 
| Source code size: | 287 bytes / 9 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 383 / 484 | 
| Version history: | 1 change(s) | 
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |