// use auto-operator static L<S> ai_operands(S s) { ret ai_operands(ai_getOperator(s), s); } static L<S> ai_operands(L<S> operator, S s) { L<S> tok = javaTokPlusBracketsC_unquote(s); assertSameLength(operator, tok); new L<S> operands; for i over operator: if (isStar(operator.get(i))) operands.add(tok.get(i)); ret operands; }
Began life as a copy of #1013197
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: | #1013227 |
Snippet name: | ai_operands - see ai_getOperator |
Eternal ID of this version: | #1013227/4 |
Text MD5: | 3a37d8a6edf6bfba0a654c27950e3922 |
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:29:12 |
Source code size: | 362 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 507 / 502 |
Version history: | 3 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1013233 - ai_operands_upperCaseVars #1013449 - ai_getOperands - synonym of ai_operands |