The Battle for Wesnoth  1.19.5+dev
Namespaces | Macros | Functions | Variables
variant.cpp File Reference
#include <cassert>
#include <cmath>
#include <cstring>
#include <memory>
#include <stack>
#include "formatter.hpp"
#include "formula/function.hpp"
#include "log.hpp"
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 (formula_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

◆ DBG_SF

#define DBG_SF   LOG_STREAM(debug, log_scripting_formula)

Definition at line 27 of file variant.cpp.

◆ ERR_SF

#define ERR_SF   LOG_STREAM(err, log_scripting_formula)

Definition at line 30 of file variant.cpp.

◆ LOG_SF

#define LOG_SF   LOG_STREAM(info, log_scripting_formula)

Definition at line 28 of file variant.cpp.

◆ WRN_SF

#define WRN_SF   LOG_STREAM(warn, log_scripting_formula)

Definition at line 29 of file variant.cpp.

Variable Documentation

◆ log_scripting_formula

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