1 | static void ai_spec_groupingPrefix(S s) { |
2 | ai_spec_groupingPrefix(s, ai_groupingPrefixes()); |
3 | } |
4 | |
5 | static void ai_spec_groupingPrefix(S s, Set<S> prefixes) { |
6 | new Matches m; |
7 | for (S prefix : prefixes) |
8 | if (swic(s, prefix + " ", m)) |
9 | ai_postTriple(s, "groups to", prefix + " " + curlyBraces(m.rest())); |
10 | } |
Began life as a copy of #1011756
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1011838 |
Snippet name: | ai_spec_groupingPrefix |
Eternal ID of this version: | #1011838/3 |
Text MD5: | 0a070c6fd1056f6d1c1ab6556732b0c4 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-11-08 01:26:43 |
Source code size: | 320 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 392 / 439 |
Version history: | 2 change(s) |
Referenced in: | [show references] |