Libraryless. Click here for Pure Java version (11546L/64K).
// returns number of calls removed // functionName can also contain first arguments, e.g. "bla(a, b" static int dropFunctionCalls_reTok(LS tok, S functionName) { int removed = 0; while true { var r = tok_findFunctionCall(tok, functionName); if (r != null) { clearTokens_reTok(tok, r); ++removed; } else break; } ret removed; }
Began life as a copy of #1037253
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): mqqgnosmbjvj, wnsclhtenguj
No comments. add comment
| Snippet ID: | #1037255 |
| Snippet name: | dropFunctionCalls_reTok |
| Eternal ID of this version: | #1037255/4 |
| Text MD5: | 107b6fa5af766189b5e4968ae0c23636 |
| Transpilation MD5: | 8e42bb23604b605fb3df50eaba3b8846 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2025-04-28 18:14:24 |
| Source code size: | 377 bytes / 14 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 2986 / 3363 |
| Version history: | 3 change(s) |
| Referenced in: | #761 - New #629 - Standard functions list (LIVE) - continued on #1006654 |