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)

1  
static SS ai_operands_upperCaseVars(S operator, S s) {
2  
  ret ai_operands_upperCaseVars(javaTokC(operator), s);
3  
}
4  
5  
static SS ai_operands_upperCaseVars(L<S> operator, S s) {
6  
  L<S> tok = javaTokPlusBracketsC_unquote(s);
7  
  assertSameLength(operator, tok);
8  
  new SS operands;
9  
  for i over operator: {
10  
    S t = operator.get(i);
11  
    if (isUpperCaseVar(t))
12  
      operands.put(t, tok.get(i));
13  
  }
14  
  ret operands;
15  
}

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: 365 / 390
Version history: 2 change(s)
Referenced in: [show references]