aboutsummaryrefslogtreecommitdiffstats
path: root/eval/src/vespa/eval/eval/node_tools.h
blob: 5ebc19e774f14b2da2077ea554edaa1273f3b288 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#pragma once

#include <memory>

namespace vespalib::eval {

namespace nodes { struct Node; }

struct NodeTools {
    static size_t min_num_params(const nodes::Node &node);
    static std::unique_ptr<nodes::Node> copy(const nodes::Node &node);
};

} // namespace vespalib::eval