Libraryless. Click here for Pure Java version (4942L/32K).
1 | static L<AGIBlue_MatchedRule> agiBlue_matchAllRulesOnInput(S input) {
|
2 | new L<AGIBlue_MatchedRule> out; |
3 | for (AGIBlue_Rule rule : agiBlue_ruleObjects()) {
|
4 | SS map = gazelle_zip(rule.lhs, input), continue if null; |
5 | out.add(AGIBlue_MatchedRule(rule, |
6 | mapKeysAndValues tok_deRoundOrCurlyBracket(map))); |
7 | } |
8 | sortInPlaceByCalculatedField(out, mr -> l(mr.map)); |
9 | ret out; |
10 | } |
Began life as a copy of #1025836
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1025854 |
| Snippet name: | agiBlue_matchAllRulesOnInput |
| Eternal ID of this version: | #1025854/2 |
| Text MD5: | 78ac86be7ee8102798b11d1fd1a5c1e5 |
| Transpilation MD5: | 006da16987e640acb513f9c40573731f |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-10-27 21:27:40 |
| Source code size: | 391 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 465 / 621 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |