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

12
LINES

< > BotCompany Repo | #1010866 // indexedNodesAfterVariableSubstitution

JavaX fragment (include)

1  
static L<WebNode> indexedNodesAfterVariableSubstitution(S s) {
2  
  L<WebNode> nodes = indexedNodesContainingDollarVars();
3  
  new L<WebNode> l;
4  
  for (WebNode node : nodes) {
5  
    SS map = matchDollarVarsIC(web_text(node), s);
6  
    if (map == null) continue;
7  
    WebNode n = cloneWeb_handlingNode(node);
8  
    web_replaceDollarVars(n.web, map);
9  
    l.add(n);
10  
  }
11  
  ret l;
12  
}

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: #1010866
Snippet name: indexedNodesAfterVariableSubstitution
Eternal ID of this version: #1010866/2
Text MD5: 0e2707d57c3edde8822ab428f4bfb8fb
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-10-04 23:27:50
Source code size: 376 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 436 / 442
Version history: 1 change(s)
Referenced in: [show references]