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

13
LINES

< > BotCompany Repo | #1022839 // parseDoubleRightArrowMap

JavaX fragment (include)

1  
static SS parseDoubleRightArrowMap(SS map, L<S> l) {
2  
  ifdef debug_parseDoubleRightArrowMap
3  
    print("parseDoubleRightArrowMap: " + l);
4  
  endifdef
5  
  for (S s : l) {
6  
    L<S> x = splitAtDoubleArrow(s);
7  
    ifdef debug_parseDoubleRightArrowMap
8  
      print("parseDoubleRightArrowMap x: " + x);
9  
    endifdef
10  
    if (l(x) == 2) map.put(first(x), second(x));
11  
  }
12  
  ret map;
13  
}

Author comment

Began life as a copy of #1014190

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1022839
Snippet name: parseDoubleRightArrowMap
Eternal ID of this version: #1022839/4
Text MD5: 47066a3ab8cbb231f173bf99ae1bf71e
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-04-09 23:36:28
Source code size: 382 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 229 / 280
Version history: 3 change(s)
Referenced in: [show references]