1 | svoid nlLogic_collectCheckingLog(NLLogicChecker_v2 c, final LS log) { |
2 | /*c.onChecking = voidfunc(O o, NLLogicChecker_v2.Matching m) { |
3 | pcall { log.add("Checking: " + o + " with " + sfu(m.matches)); } |
4 | };*/ |
5 | |
6 | c.onChecked = voidfunc(O o, NLLogicChecker_v2.Matching m, O result) { |
7 | pcall { |
8 | S status = isTrue(result) ? "OK" : isFalse(result) ? "FAIL" : str(result); |
9 | log.add(status + ": " + o + " with " + sfu(m.matches)); |
10 | } |
11 | }; |
12 | } |
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: | #1017849 |
Snippet name: | nlLogic_collectCheckingLog |
Eternal ID of this version: | #1017849/5 |
Text MD5: | e91e488a0246b4e22763b0df3b33b519 |
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-18 23:17:23 |
Source code size: | 465 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 348 / 378 |
Version history: | 4 change(s) |
Referenced in: | [show references] |