svoid tok_whileGreaterThan(LS tok) { int i = -1; while ((i = jfind(tok, "while >= <int> (")) >= 0) { int iOpening = indexOf(tok, "(", i); int iClosing = findEndOfBracketPart(tok, iOpening)-1; tokSet_reTok(tok, iClosing, ") >= 0)"); replaceTokens_reTok(tok, i+2, iOpening+1, "(("); } }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1022749 |
Snippet name: | tok_whileGreaterThan |
Eternal ID of this version: | #1022749/2 |
Text MD5: | 27ad42b24214435b2c10f75f2d27a73f |
Author: | stefan |
Category: | javax / transpiling |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-04-05 12:46:53 |
Source code size: | 314 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 370 / 409 |
Version history: | 1 change(s) |
Referenced in: | [show references] |