1 | //!include once #1021761 // Fakery |
2 | |
3 | svoid gazelle_fakery_gatherRulesFromSections(TreeMap<S> sections) {
|
4 | gazelle_fakery_clean(); |
5 | |
6 | int n = 1; |
7 | for (S text : ai_splitEntriesWithMultipleDoubleArrows(splitAtEmptyLines(sections.get("rules")))) {
|
8 | gazelle_fakery_addRule("Rule " + n++, text);
|
9 | } |
10 | |
11 | for (S ruleID, text : keysStartingWith(sections, "rule")) {
|
12 | if (eqic(ruleID, "rules")) continue; |
13 | gazelle_fakery_addRule(ruleID, text); |
14 | } |
15 | } |
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: | #1021762 |
| Snippet name: | gazelle_fakery_gatherRulesFromSections |
| Eternal ID of this version: | #1021762/12 |
| Text MD5: | bf7ffece2874e397793f4c15328d3fbd |
| Author: | stefan |
| Category: | javax / gazelle |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-03-16 21:53:37 |
| Source code size: | 465 bytes / 15 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 610 / 630 |
| Version history: | 11 change(s) |
| Referenced in: | [show references] |