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

13
LINES

< > BotCompany Repo | #1007745 // web_expandOperations2

JavaX fragment (include)

1  
static void web_expandOperations2(Web web) {
2  
  for (LispStatement rule : lispStatementsByHead("pqnfhkzxoqkaoyqk")) {
3  
    S toExpand = rule.term.s(0);
4  
    //print("Expanding " + toExpand);
5  
    for (WebNode node : web.clearPot(rule.globalID))
6  
      for (Lisp lbl : node.labels)
7  
        if (lbl.is(toExpand)) {
8  
          //print("  Expanding " + lbl);
9  
          for (Lisp child : lbl)
10  
            web.node(child);
11  
        }
12  
  }
13  
}

Author comment

Began life as a copy of #1007720

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: #1007745
Snippet name: web_expandOperations2
Eternal ID of this version: #1007745/3
Text MD5: 16f848ae45b20a5722f12633f5789401
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-04-03 07:04:21
Source code size: 438 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 423 / 462
Version history: 2 change(s)
Referenced in: [show references]