// vars to "*" static S upperCaseVarsToStars(S s, L<S> vars_out) { L<S> tok = javaTok(s); for (int i = 1; i < l(tok); i += 2) { S t = tok.get(i); if (startsWithUpperCase(t)) { listAdd(vars_out, t); tok.set(i, "*"); } } ret join(tok); } static S upperCaseVarsToStars(S s) { ret upperCaseVarsToStars(s, null); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1004290 |
Snippet name: | upperCaseVarsToStars |
Eternal ID of this version: | #1004290/4 |
Text MD5: | 8f63a0d6efcb2a7731f29063a90fa892 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-21 02:57:54 |
Source code size: | 359 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 559 / 556 |
Version history: | 3 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |