The Battle for Wesnoth 1.21.0-dev
 
Loading...
Searching...
No Matches
Namespaces | Functions
variant_value.cpp File Reference
#include "formula/variant.hpp"
#include "formula/variant_value.hpp"
#include "utils/ranges.hpp"
#include <utility>
#include "formula/callable.hpp"
#include "formula/function.hpp"
#include "serialization/string_utils.hpp"
Include dependency graph for variant_value.cpp:

Go to the source code of this file.

Namespaces

namespace  wfl
 
namespace  wfl::implementation
 
namespace  wfl::implementation::detail
 

Functions

template<typename Range >
auto wfl::implementation::make_iterator_range (const variant_value_base *val, const Range &range) -> boost::iterator_range< variant_iterator >
 
template<typename Func >
std::string wfl::implementation::detail::serialize_value (const Func &op, const variant &value)
 
template<typename Func >
std::string wfl::implementation::detail::serialize_value (const Func &op, const std::pair< variant, variant > &value)
 
template<typename Range , typename Func >
auto wfl::implementation::detail::make_serialized_range (const Range &range, const Func &op)
 
static std::string wfl::implementation::detail::serialize_empty (const std::vector< variant > &)
 WFL empty list literal.
 
static std::string wfl::implementation::detail::serialize_empty (const std::map< variant, variant > &)
 WFL empty map literal.
 
template<typename Range , typename Func >
std::string wfl::implementation::to_string (const Range &range, const Func &op)
 
template<typename Range , typename Func >
std::string wfl::implementation::as_literal (const Range &range, const Func &op)