static Set<S> nlLogic_allLHSEvalFragments(IfThen rule) { ret nlLogic_allLHSEvalFragments_visit(rule); } static Set<S> nlLogic_allLHSEvalFragments(L<IfThen> rules) { ret nlLogic_allLHSEvalFragments_visit(collect(rules, 'in)); } static Set<S> nlLogic_allLHSEvalFragments_visit(O toVisit) { final new TreeSet<S> set; nlLogic_visit(toVisit, voidfunc(O o) { if (o cast Func) if (eq(o.name, 'eval)) set.add(o.arg.text()); }); ret set; }
Began life as a copy of #1018158
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: | #1018159 |
Snippet name: | nlLogic_allLHSEvalFragments - needs rules with expanded macros |
Eternal ID of this version: | #1018159/4 |
Text MD5: | 968a236cc54d746cbed8b9c9ca79b7ac |
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-06 11:26:38 |
Source code size: | 462 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 370 / 419 |
Version history: | 3 change(s) |
Referenced in: | [show references] |