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

13
LINES

< > BotCompany Repo | #1010861 // Instantiate web with dollar vars [OK]

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (16493L/118K).

!7

p {
  L<WebNode> nodes = indexedNodesContainingDollarVars();
  pnl(nodes);
  S input = "a healthy bird";
  
  for (WebNode node : nodes) {
    SS map = matchDollarVarsIC(web_text(node), input);
    if (map == null) continue;
    printWeb(web_replaceDollarVars(cloneWeb(node.web), map));
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, jtubtzbbkimh, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1010861
Snippet name: Instantiate web with dollar vars [OK]
Eternal ID of this version: #1010861/4
Text MD5: 3ac3b75bc1831a09e5a6fe9deaa00236
Transpilation MD5: ecd64f3f581336211af952231245061b
Author: stefan
Category: javax / a.i.
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-21 10:57:25
Source code size: 308 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 518 / 1231
Version history: 3 change(s)
Referenced in: [show references]