Libraryless. Click here for Pure Java version (5328L/30K).
svoid tok_whileCast(LS tok) { jreplace(tok, "while (<id> cast <id>) {", "while ($3 instanceof $5) { cast $3 to $5;"); }
Began life as a copy of #1022749
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1033640 |
Snippet name: | tok_whileCast |
Eternal ID of this version: | #1033640/1 |
Text MD5: | e8ff43c9fe6ce75a44cb73a90db3495f |
Transpilation MD5: | cd3654e3ebcf60ef1e6c7c293d22d8b4 |
Author: | stefan |
Category: | javax / transpiling |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-12-25 17:17:02 |
Source code size: | 123 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 152 / 215 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |