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)

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

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: 270 / 314
Version history: 1 change(s)
Referenced in: [show references]