blob: 58b40e84d9fb956fbaa2ce36b58f97e89cddd52a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include <vector>
namespace search::query { class Node; }
namespace search::fef { class ITermData; }
namespace proton::matching {
struct TermDataExtractor {
/**
* Extracts pointers to all TermData objects stored in the term
* nodes of the node tree.
*/
static void extractTerms(const search::query::Node &node,
std::vector<const search::fef::ITermData *> &td);
};
}
|