From 619def44c1cca9f3cdf63544d5f24f2c7a7d9b77 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Tue, 22 Feb 2022 17:03:21 +0100 Subject: Initial self-hosting commit This is the initial version of our tool that is able to build itself. In can be bootstrapped by ./bin/bootstrap.py Co-authored-by: Oliver Reiche Co-authored-by: Victor Moreno --- .../build_engine/expression/function_map.hpp | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/buildtool/build_engine/expression/function_map.hpp (limited to 'src/buildtool/build_engine/expression/function_map.hpp') diff --git a/src/buildtool/build_engine/expression/function_map.hpp b/src/buildtool/build_engine/expression/function_map.hpp new file mode 100644 index 00000000..967d5fe0 --- /dev/null +++ b/src/buildtool/build_engine/expression/function_map.hpp @@ -0,0 +1,23 @@ +#ifndef INCLUDED_SRC_BUILDTOOL_BUILD_ENGINE_EXPRESSION_FUNCTION_MAP_HPP +#define INCLUDED_SRC_BUILDTOOL_BUILD_ENGINE_EXPRESSION_FUNCTION_MAP_HPP + +#include +#include + +#include "src/buildtool/build_engine/expression/linked_map.hpp" + +class ExpressionPtr; +class Configuration; + +using SubExprEvaluator = + std::function; + +using FunctionMap = + LinkedMap>; + +using FunctionMapPtr = FunctionMap::Ptr; + +#endif // INCLUDED_SRC_BUILDTOOL_BUILD_ENGINE_EXPRESSION_FUNCTION_MAP_HPP -- cgit v1.2.3