aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib/src/vespa/vespalib/data/slime/symbol_lookup.h
blob: c82ddea9d42a46fc644acb747b44143776003042 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#pragma once

#include "symbol.h"

namespace vespalib::slime {

/**
 * Interface used to look up the symbol for a field.
 **/
struct SymbolLookup {
    virtual Symbol lookup() const = 0;
    virtual ~SymbolLookup() = default;
};

} // namespace vespalib::slime