Libraryless. Click here for Pure Java version (5317L/30K).
// [opening bracket to closing bracket + 1] static L<IntRange> tok_allCurlyBodies(LS tok, int i default 1) { new L<IntRange> l; IntRange r; while ((r = tok_findCurlyBody(tok, i)) != null) { l.add(r); i = r.end+1; } ret l; }
Began life as a copy of #1028895
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1034458 |
| Snippet name: | tok_allCurlyBodies |
| Eternal ID of this version: | #1034458/1 |
| Text MD5: | 16459a152deb9e0a6b313f52ac678fcd |
| Transpilation MD5: | a8bd77a760689946c648dd0d740b9699 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-02-08 01:13:36 |
| Source code size: | 250 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 395 / 506 |
| Referenced in: | [show references] |