Libraryless. Click here for Pure Java version (2967L/18K).
svoid tok_collectMetaPostBlocks(LS tok, LS postProcessBlocks_out) { int i = -1; while ((i = jfind(tok, i+1, "meta-postProcess {")) >= 0) { int iOpening = indexOf(tok, i, "{"); int iClosing = findEndOfBracketPart(tok, iOpening)-1; add(postProcessBlocks_out, joinSubList(tok, iOpening+2, iClosing-1)); clearTokens_reTok(tok, i, iClosing+1); } }
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1020932 |
Snippet name: | tok_collectMetaPostBlocks |
Eternal ID of this version: | #1020932/8 |
Text MD5: | 72105b27ce3d9e11cb48d8dbfd47d3b6 |
Transpilation MD5: | 378328f7f8d2e55de916013e68309f2d |
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:04 |
Source code size: | 372 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 345 / 454 |
Version history: | 7 change(s) |
Referenced in: | [show references] |