blob: e940de8cfc2570e8592db7d20dce3905f08a59cc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include "function.h"
namespace vespalib::eval {
/**
* Custom symbol extractor used to extract ranking feature names when
* parsing ranking expressions.
**/
struct FeatureNameExtractor : public vespalib::eval::SymbolExtractor {
void extract_symbol(const char *pos_in, const char *end_in,
const char *&pos_out, vespalib::string &symbol_out) const override;
};
}
|