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

9
LINES

< > BotCompany Repo | #1018269 // nlLogic_unrollAndApplyRuleWithParams - modifies rule's params

JavaX fragment (include)

1  
static L<Exp> nlLogic_unrollAndApplyRuleWithParams(RuleWithParams r) {
2  
  new L<Exp> out;
3  
  for (Exp e : nlLogic_unrollAnd(r.rule.out)) {
4  
    e = nlLogic_applyMatches(e, r.matches);
5  
    if (!nlLogic_checkHelper(e, r.matches)) // changes matches e.g. for newID()
6  
      out.add(e);
7  
  }
8  
  ret out;
9  
}

Author comment

Began life as a copy of #1018268

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1018269
Snippet name: nlLogic_unrollAndApplyRuleWithParams - modifies rule's params
Eternal ID of this version: #1018269/1
Text MD5: cd427bc0cefca2940495cde2470b202c
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-09-13 12:09:32
Source code size: 303 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 290 / 320
Referenced in: [show references]