The Battle for Wesnoth  1.19.0-dev
Macros | Variables
context_free_grammar_generator.cpp File Reference

Algorithm to generate names using a context-free grammar, which allows more control than the usual Markov chain generator. More...

#include "utils/context_free_grammar_generator.hpp"
#include "log.hpp"
#include "random.hpp"
#include <algorithm>
#include <boost/algorithm/string.hpp>
Include dependency graph for context_free_grammar_generator.cpp:

Go to the source code of this file.

Macros

#define ERR_WML   LOG_STREAM(err, log_wml)
 

Variables

static lg::log_domain log_wml ("wml")
 

Detailed Description

Algorithm to generate names using a context-free grammar, which allows more control than the usual Markov chain generator.

Definition in file context_free_grammar_generator.cpp.

Macro Definition Documentation

◆ ERR_WML

#define ERR_WML   LOG_STREAM(err, log_wml)

Definition at line 32 of file context_free_grammar_generator.cpp.

Variable Documentation

◆ log_wml

lg::log_domain log_wml("wml") ( "wml"  )
static