blob: 967d5fe0fdc00da4853843f29dcd2103d35ebf6a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#ifndef INCLUDED_SRC_BUILDTOOL_BUILD_ENGINE_EXPRESSION_FUNCTION_MAP_HPP
#define INCLUDED_SRC_BUILDTOOL_BUILD_ENGINE_EXPRESSION_FUNCTION_MAP_HPP
#include <functional>
#include <string>
#include "src/buildtool/build_engine/expression/linked_map.hpp"
class ExpressionPtr;
class Configuration;
using SubExprEvaluator =
std::function<ExpressionPtr(ExpressionPtr const&, Configuration const&)>;
using FunctionMap =
LinkedMap<std::string,
std::function<ExpressionPtr(SubExprEvaluator&&,
ExpressionPtr const&,
Configuration const&)>>;
using FunctionMapPtr = FunctionMap::Ptr;
#endif // INCLUDED_SRC_BUILDTOOL_BUILD_ENGINE_EXPRESSION_FUNCTION_MAP_HPP
|