1 | static L<RuleFailInfo> nlLogic_ruleFails(NLLogicChecker_v2 c, L<IfThen> rules) { |
2 | new L<RuleFailInfo> out; |
3 | for (IfThen rule : unnull(rules)) { |
4 | new NLLogicChecker_v2.Matching m; |
5 | Pair<Int, Exp> p = nlLogic_checkFirstConditions2(c, rule, m); |
6 | if (p.b != null) |
7 | out.add(RuleFailInfo(rule, p.a, m.matches, p.b); |
8 | } |
9 | ret out; |
10 | } |
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: | 325 / 375 |
Version history: | 4 change(s) |
Referenced in: | [show references] |