static int tok_findTokenSkippingCurlyBrackets(LS tok, int i, S t) { while (i < l(tok)) { if (eqGet(tok, i, t)) ret i; if (eqGet(tok, i, "{")) i = findEndOfBracketPart(tok, i)+1; else i += 2; } ret -1; }
Began life as a copy of #1017567
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: | #1022752 |
Snippet name: | tok_findTokenSkippingCurlyBrackets |
Eternal ID of this version: | #1022752/1 |
Text MD5: | 53a699a7c7b3bc1252ba3c5cbad6bd1d |
Author: | stefan |
Category: | javax / parsing |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-04-05 12:55:42 |
Source code size: | 241 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 280 / 316 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |