Libraryless. Click here for Pure Java version (2774L/17K).
svoid tok_dropMetaComments(LS tok) { int i = -1; while ((i = jfind(tok, i+1, "meta-comment {")) >= 0) { int iOpening = indexOf(tok, i, "{"); int iClosing = findEndOfBracketPart(tok, iOpening)-1; clearTokens_reTok(tok, i, iClosing+1); } }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1027166 |
Snippet name: | tok_dropMetaComments |
Eternal ID of this version: | #1027166/1 |
Text MD5: | 7b434e45de12fca0f5a2bac2df83cd21 |
Transpilation MD5: | ac4b9e1ebd3576a24c88a22001158f0f |
Author: | stefan |
Category: | javax / transpiling |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-02-23 21:55:20 |
Source code size: | 262 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 201 / 288 |
Referenced in: | [show references] |