1 | static L<S> tok_surroundWordWithAngularBrackets(L<S> tok, S word) { |
2 | for (int i = 1; i < l(tok); i += 2) { |
3 | S t = tok.get(i); |
4 | if (eqic(t, word)) |
5 | tok.set(i, angleBrackets(t)); |
6 | } |
7 | ret tok; |
8 | } |
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: | #1013019 |
Snippet name: | tok_surroundWordWithAngularBrackets - case-insensitive |
Eternal ID of this version: | #1013019/3 |
Text MD5: | b69b854677f78b5de16a2d065184bacd |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-22 03:04:44 |
Source code size: | 212 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 546 / 540 |
Version history: | 2 change(s) |
Referenced in: | [show references] |