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)

static L<Exp> nlLogic_unrollAndApplyRuleWithParams(RuleWithParams r) {
  new L<Exp> out;
  for (Exp e : nlLogic_unrollAnd(r.rule.out)) {
    e = nlLogic_applyMatches(e, r.matches);
    if (!nlLogic_checkHelper(e, r.matches)) // changes matches e.g. for newID()
      out.add(e);
  }
  ret out;
}

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: 228 / 256
Referenced in: [show references]