Libraryless. Click here for Pure Java version (2774L/17K).
1 | svoid tok_dropMetaComments(LS tok) { |
2 | int i = -1; |
3 | while ((i = jfind(tok, i+1, "meta-comment {")) >= 0) { |
4 | int iOpening = indexOf(tok, i, "{"); |
5 | int iClosing = findEndOfBracketPart(tok, iOpening)-1; |
6 | clearTokens_reTok(tok, i, iClosing+1); |
7 | } |
8 | } |
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: | 207 / 297 |
Referenced in: | [show references] |