Libraryless. Click here for Pure Java version (5329L/30K).
svoid tok_returnAsFunctionName(LS tok) { // distinguish from end of meta command ITokCondition cond = (_tok, nIdx) -> empty(get(tok, nIdx+2)); jreplace(tok, ".ret", "._return", cond); jreplace(tok, ".return", "._return", cond); }
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1030884 |
Snippet name: | tok_returnAsFunctionName - converts "return" and "ret" to "_return" when used as function names |
Eternal ID of this version: | #1030884/4 |
Text MD5: | 2c20ba2a622dbdbb5ba0d4a543525665 |
Transpilation MD5: | eeff93752086f595d424c343de6c99c3 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-01-01 22:06:22 |
Source code size: | 246 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 176 / 278 |
Version history: | 3 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |