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

8
LINES

< > BotCompany Repo | #1022528 // gazelle_suggestRuleComments_relatedPhrases - finds related phrases between in and out

JavaX fragment (include)

static Collection<S> gazelle_suggestRuleComments_relatedPhrases(TextCommentsID rule, O... _) {
  new LinkedHashSet<S> out;
  for unnull (PairS p : gazelle_ruleAdvise_relatedPhrases(rule, _)) {
    for (S word : javaTokC(p.a))
      out.add("don't change " + quote(word));
  }
  ret out;
}

Author comment

Began life as a copy of #1022526

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: #1022528
Snippet name: gazelle_suggestRuleComments_relatedPhrases - finds related phrases between in and out
Eternal ID of this version: #1022528/2
Text MD5: f80e35096c6dceb2fd55eb28942dab39
Author: stefan
Category: javax / gazelle
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-20 11:40:51
Source code size: 295 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 268 / 311
Version history: 1 change(s)
Referenced in: [show references]