1 | static LS tok_replaceWords_transferCase(SS map, LS tok) { |
2 | tok = cloneList(tok); |
3 | for (int i = 1; i < l(tok); i += 2) { |
4 | S t = tok.get(i); |
5 | S x = map.get(t); |
6 | if (x != null) |
7 | tok.set(i, transferCase(t, x)); |
8 | } |
9 | ret tok; |
10 | } |
Began life as a copy of #1022421
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1022422 |
Snippet name: | tok_replaceWords_transferCase |
Eternal ID of this version: | #1022422/2 |
Text MD5: | 2c4a732ad5f7680bd32967e2c221a1c4 |
Author: | stefan |
Category: | javax / gazelle |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-03-17 10:35:48 |
Source code size: | 248 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 298 / 337 |
Version history: | 1 change(s) |
Referenced in: | [show references] |