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

8
LINES

< > BotCompany Repo | #1022040 // gazelle_scoredSearchForFirstIn

JavaX fragment (include)

1  
static L<virtual Rule> gazelle_scoredSearchForFirstIn(S query, O... _) {
2  
  ScoredSearcher searcher = new(query, _);
3  
4  
  for (O rule : dm_allRulesFromRulesModule_unimported())
5  
    searcher.put(rule, gazelle_firstInOfRuleText(getString text(rule)));
6  
7  
  ret searcher!;
8  
}

Author comment

Began life as a copy of #1021913

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, whxojlpjdney

No comments. add comment

Snippet ID: #1022040
Snippet name: gazelle_scoredSearchForFirstIn
Eternal ID of this version: #1022040/3
Text MD5: 1efdcf848114f1419597c1887e40f6aa
Author: stefan
Category: javax / discord
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-03-05 23:02:59
Source code size: 273 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 300 / 338
Version history: 2 change(s)
Referenced in: [show references]