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

10
LINES

< > BotCompany Repo | #1018073 // nlLogic_ruleFails

JavaX fragment (include)

static L<RuleFailInfo> nlLogic_ruleFails(NLLogicChecker_v2 c, L<IfThen> rules) {
  new L<RuleFailInfo> out;
  for (IfThen rule : unnull(rules)) {
    new NLLogicChecker_v2.Matching m;
    Pair<Int, Exp> p = nlLogic_checkFirstConditions2(c, rule, m);
    if (p.b != null)
      out.add(RuleFailInfo(rule, p.a, m.matches, p.b);
  }
  ret out;
}

Author comment

Began life as a copy of #1018055

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: #1018073
Snippet name: nlLogic_ruleFails
Eternal ID of this version: #1018073/5
Text MD5: 6121e11e6b65f07ad76cb9c698dccc1b
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-08-29 15:09:34
Source code size: 351 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 324 / 374
Version history: 4 change(s)
Referenced in: [show references]