Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

9
LINES

< > BotCompany Repo | #1022432 // gazelle_addWordMapTransformedRules

JavaX fragment (include)

svoid gazelle_addWordMapTransformedRules(L<TextCommentsID> rules1, SS map) {
  S mapStr = sfuDroppingCIMap(map);
  for (TextCommentsID tci : rules1) {
    S ruleID = tci.id;
    S extractedComment = "generated from rule " + ruleID + " using word map " + mapStr;
    LS allComments = tlft(tci.comments);
    gazelle_addDerivedRules(ruleID, litset(tci.text), extractedComment, "", allComments, allComments);
  }
}

Author comment

Began life as a copy of #1022430

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: #1022432
Snippet name: gazelle_addWordMapTransformedRules
Eternal ID of this version: #1022432/7
Text MD5: 6b3c131bc5ae2ec9f8f6580f701af350
Author: stefan
Category: javax / gazelle
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-17 22:15:30
Source code size: 419 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 274 / 287
Version history: 6 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1022466 - gazelle_addDerivedRules