Searched defs:matchers (Results 1 - 3 of 3) sorted by relevance

/opengrok/src/org/opensolaris/opengrok/search/context/
H A DQueryMatchers.java51 private List<LineMatcher> matchers; field in class:QueryMatchers
58 * @param query the query to generate matchers for
59 * @param fields a map whose keys tell which fields to create matchers for,
67 matchers = new ArrayList<>();
71 matchers.add(0, new TokenSetMatcher(caseSensitiveTerms, false));
74 matchers.add(0, new TokenSetMatcher(caseInsensitiveTerms, true));
76 if (matchers.isEmpty()) {
79 LineMatcher[] m = matchers.toArray(new LineMatcher[matchers.size()]);
103 matchers
[all...]
/opengrok/src/org/opensolaris/opengrok/analysis/
H A DFileAnalyzerFactory.java56 /** List of matchers which delegate files to different types of
58 private final List<Matcher> matchers; field in class:FileAnalyzerFactory
97 this.matchers = Collections.emptyList();
99 this.matchers = Collections.singletonList(matcher);
160 * Get matchers that map file contents to analyzer factories
163 * @return list of matchers
166 return matchers;
220 * Interface for matchers which map file contents to analyzer factories.
H A DAnalyzerGuru.java140 private static final List<FileAnalyzerFactory.Matcher> matchers = new ArrayList<>(); field in class:AnalyzerGuru
245 matchers.addAll(factory.getMatchers());
585 for (FileAnalyzerFactory.Matcher matcher : matchers) {

Completed in 11 milliseconds