Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

15
LINES

< > BotCompany Repo | #1013233 // ai_operands_upperCaseVars

JavaX fragment (include)

static SS ai_operands_upperCaseVars(S operator, S s) {
  ret ai_operands_upperCaseVars(javaTokC(operator), s);
}

static SS ai_operands_upperCaseVars(L<S> operator, S s) {
  L<S> tok = javaTokPlusBracketsC_unquote(s);
  assertSameLength(operator, tok);
  new SS operands;
  for i over operator: {
    S t = operator.get(i);
    if (isUpperCaseVar(t))
      operands.put(t, tok.get(i));
  }
  ret operands;
}

Author comment

Began life as a copy of #1013227

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: #1013233
Snippet name: ai_operands_upperCaseVars
Eternal ID of this version: #1013233/3
Text MD5: b64dfc885d7225964cf65e02d955743e
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:39:56
Source code size: 421 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 363 / 387
Version history: 2 change(s)
Referenced in: [show references]