1 | static S ai_patternSwitch_upperCaseVars(S from, S to, S s) { |
2 | ret ai_patternSwitch_upperCaseVars(javaTokC(from), to, s); |
3 | } |
4 | |
5 | static S ai_patternSwitch_upperCaseVars(L<S> from, S to, S s) { |
6 | L<S> tok = javaTokPlusBracketsC_unquote(s); |
7 | L<S> tok1 = from, tok2 = javaTokC(to); |
8 | |
9 | SS operands = ai_operands_upperCaseVars(from, s); |
10 | new L<S> out; |
11 | |
12 | for (S t : tok2) |
13 | out.add(or(operands.get(t), t)); |
14 | ret joinWithSpace(out); |
15 | } |
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: | #1013235 |
Snippet name: | ai_patternSwitch_upperCaseVars |
Eternal ID of this version: | #1013235/4 |
Text MD5: | 0b79ef569694bdd897edf8d209e7431f |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-28 23:46:22 |
Source code size: | 447 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 456 / 444 |
Version history: | 3 change(s) |
Referenced in: | [show references] |