#include <vector>
#include <map>
#include <string>
#include <memory>
#include <functional>
#include <boost/variant.hpp>
Go to the source code of this file.
|
| template<class N > |
| using | mstch::internal::node_renderer = std::function< std::string(const N &n)> |
| |
| using | mstch::node = boost::make_recursive_variant< std::nullptr_t, std::string, int, double, bool, uint64_t, int64_t, uint32_t, internal::lambda_t< boost::recursive_variant_ >, std::shared_ptr< internal::object_t< boost::recursive_variant_ > >, internal::map< const std::string, boost::recursive_variant_ >, std::vector< boost::recursive_variant_ > >::type |
| |
| using | mstch::object = internal::object_t< node > |
| |
| using | mstch::lambda = internal::lambda_t< node > |
| |
| using | mstch::map = internal::map< const std::string, node > |
| |
| using | mstch::array = std::vector< node > |
| |
|
| std::string | mstch::render (const std::string &tmplt, const node &root, const std::map< std::string, std::string > &partials=std::map< std::string, std::string >()) |
| |