Transpiled version (2972L) is out of date.
// opening bracket to closing bracket + 1 static IntRange tok_findCurlyBody(LS tok, int i default 1) { int idx = findCodeTokens(tok, i, false, "{"); if (idx < 0) null; int j = findEndOfBracketPart(tok, idx); ret intRange(idx, j); }
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, ekrmjmnbrukm, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1028895 |
Snippet name: | tok_findCurlyBody - functionality probably duplicated in tok_methodBody and tok_classBody |
Eternal ID of this version: | #1028895/4 |
Text MD5: | 9f7bd7fc73788154e5fcd9a744b251fd |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-04-08 16:04:10 |
Source code size: | 245 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 227 / 345 |
Version history: | 3 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1030904 - tok_extractCurlyBody - keeps spacing #1034458 - tok_allCurlyBodies #1035960 - tok_findRoundBracketBody |