1 | static L<Int> bracketedTokenIndices(LS tok) { |
2 | new L<Int> l; |
3 | for (int i = 1; i < l(tok); i += 2) |
4 | if (isRoundOrCurlyBracketed_simple(tok.get(i))) |
5 | l.add(i); |
6 | ret l; |
7 | } |
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1026181 |
Snippet name: | bracketedTokenIndices |
Eternal ID of this version: | #1026181/1 |
Text MD5: | 97e69b01aa8bae9476e0c84b30932b52 |
Author: | stefan |
Category: | javax / parsing |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-11-27 23:46:50 |
Source code size: | 184 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 247 / 290 |
Referenced in: | [show references] |