// include some generally used split functions please include function splitAtEllipsis. static Collection<S> gazelle_executeSplitterRule(RuleEngine2 engine, RuleEngine2.SimplifyWithRule rule, S input) { O f = rule.function(); Collection<S> out = cast(f instanceof S ? callF(engine.callFunctionOnString, (S) f, input) : callF(f, input)); if (l(out) == 1 && eq(first(out), input)) ret emptyList(); ret out; }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1022175 |
Snippet name: | gazelle_executeSplitterRule |
Eternal ID of this version: | #1022175/6 |
Text MD5: | bd5a68c5eb6942546291f47cccbdcb7f |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-03-13 06:20:15 |
Source code size: | 433 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 263 / 315 |
Version history: | 5 change(s) |
Referenced in: | [show references] |