1 | sbool nlLogic_checkFirstConditions_debug; |
2 | |
3 | // returns remaining conditions |
4 | static Exp nlLogic_checkFirstConditions(NLLogicChecker_v2 c, IfThen rule, NLLogicChecker_v2.Matching m) { |
5 | Exp exp = rule.in; |
6 | while ping (exp != null) { |
7 | Pair<Bool, Exp> p = c.checkFirstCondition(exp, m); |
8 | if (nlLogic_checkFirstConditions_debug) |
9 | print("nlLogic_checkFirstConditions: exp=" + exp + ", p=" + p); |
10 | if (!p.a) break; |
11 | exp = p.b; |
12 | } |
13 | ret exp; |
14 | } |
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: | #1018054 |
Snippet name: | nlLogic_checkFirstConditions |
Eternal ID of this version: | #1018054/4 |
Text MD5: | d76af55171e95569b90cf465891dcb3d |
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 00:10:24 |
Source code size: | 465 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 272 / 311 |
Version history: | 3 change(s) |
Referenced in: | [show references] |