static Collection<S> nlLogic_certainOperatorArgsFromRuleWithParams(RuleWithParams r, S... operators) { HashSet<S> set = lithashset(operators); new LinkedHashSet<S> out; for (Exp e : nlLogic_unrollAnd(r.rule.out)) { e = nlLogic_applyMatches(e, r.matches); if (e cast Func) if (set.contains(e.name)) out.add(nlLogic_text(e.arg)); nlLogic_checkHelper(e, r.matches); // changes matches e.g. for newID() } ret out; }
Began life as a copy of #1018258
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: | #1018268 |
Snippet name: | nlLogic_certainOperatorArgsFromRuleWithParams |
Eternal ID of this version: | #1018268/4 |
Text MD5: | 06de159b1a974ad3fc703391868004b9 |
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-13 12:06:06 |
Source code size: | 458 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 408 / 444 |
Version history: | 3 change(s) |
Referenced in: | [show references] |