The Battle for Wesnoth  1.13.10+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Macros | Functions | Variables
variant.cpp File Reference
#include <cassert>
#include <cmath>
#include <iostream>
#include <cstring>
#include <stack>
#include "formatter.hpp"
#include "formula/function.hpp"
#include "utils/math.hpp"
#include "log.hpp"
#include <memory>
Include dependency graph for variant.cpp:

Go to the source code of this file.

Namespaces

 wfl
 

Macros

#define DBG_SF   LOG_STREAM(debug, log_scripting_formula)
 
#define LOG_SF   LOG_STREAM(info, log_scripting_formula)
 
#define WRN_SF   LOG_STREAM(warn, log_scripting_formula)
 
#define ERR_SF   LOG_STREAM(err, log_scripting_formula)
 

Functions

static value_base_ptr wfl::null_value (new variant_value_base)
 
static std::string wfl::variant_type_to_string (VARIANT_TYPE type)
 
static std::string wfl::was_expecting (const std::string &message, const variant &v)
 

Variables

static lg::log_domain log_scripting_formula ("scripting/formula")
 

Macro Definition Documentation

#define DBG_SF   LOG_STREAM(debug, log_scripting_formula)

Definition at line 27 of file variant.cpp.

#define ERR_SF   LOG_STREAM(err, log_scripting_formula)

Definition at line 30 of file variant.cpp.

Referenced by wfl::variant::execute_variant().

#define LOG_SF   LOG_STREAM(info, log_scripting_formula)

Definition at line 28 of file variant.cpp.

#define WRN_SF   LOG_STREAM(warn, log_scripting_formula)

Definition at line 29 of file variant.cpp.

Variable Documentation

lg::log_domain log_scripting_formula("scripting/formula")
static