1 | svoid gazelle_makeDefaultNoRule(S yesRuleID) { |
2 | PairS p = gazelle_ruleTextAndComment(yesRuleID); |
3 | if (p == null) ret; |
4 | S question = gazelle_firstInOfRuleText(p.a); |
5 | |
6 | S text = question + "\n=> No"; |
7 | S extractedComment = "default rule for " + yesRuleID; |
8 | // TODO: which comments to transfer? |
9 | gazelle_addDerivedRules(yesRuleID, litset(text), extractedComment, |
10 | "default"); |
11 | } |
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, lnbujpyubztb, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1022467 |
Snippet name: | gazelle_makeDefaultNoRule |
Eternal ID of this version: | #1022467/3 |
Text MD5: | 16c11a9a2915c543ab79e56b513ba734 |
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-17 22:21:36 |
Source code size: | 394 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 253 / 291 |
Version history: | 2 change(s) |
Referenced in: | [show references] |