1 | static L<S> tok_combineAngleBrackets_keep(L<S> tok) { |
2 | new L<S> l; |
3 | for i over tok: { |
4 | S t = tok.get(i); |
5 | if (odd(i) && eq(t, "<")) { |
6 | int j = findEndOfAngleBracketPart(tok, i); |
7 | l.add(joinSubList(tok, i, j)); |
8 | i = j-1; |
9 | } else |
10 | l.add(t); |
11 | } |
12 | ret l; |
13 | } |
Began life as a copy of #1011445
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1012539 |
Snippet name: | tok_combineAngleBrackets_keep |
Eternal ID of this version: | #1012539/1 |
Text MD5: | 900945fb17bc9f431a89aea0c2749ae3 |
Author: | stefan |
Category: | javax / parsing |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-06 22:57:03 |
Source code size: | 296 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 515 / 546 |
Referenced in: | [show references] |