#include <tracery.h>
Definition at line 103 of file tracery.h.
◆ Grammar()
eu::core::tracery::Grammar::Grammar |
( |
| ) |
|
|
default |
◆ apply_modifier()
Result eu::core::tracery::Grammar::apply_modifier |
( |
const std::string & |
name, |
|
|
const std::string & |
data |
|
) |
| const |
◆ flatten()
Result eu::core::tracery::Grammar::flatten |
( |
Random * |
random, |
|
|
const std::string & |
rule |
|
) |
| const |
◆ get_string_from_symbol()
Result eu::core::tracery::Grammar::get_string_from_symbol |
( |
const std::string & |
rule, |
|
|
GeneratorArgument * |
generator |
|
) |
| const |
◆ load_from_string()
Result eu::core::tracery::Grammar::load_from_string |
( |
const std::string & |
filename, |
|
|
const std::string & |
data |
|
) |
| |
◆ register_english()
void eu::core::tracery::Grammar::register_english |
( |
| ) |
|
◆ register_modifier()
Grammar & eu::core::tracery::Grammar::register_modifier |
( |
const std::string & |
name, |
|
|
std::shared_ptr< Modifier > |
m |
|
) |
| |
◆ modifiers
std::map<std::string, std::shared_ptr<Modifier> > eu::core::tracery::Grammar::modifiers |
◆ rules
std::map<std::string, Symbol> eu::core::tracery::Grammar::rules |
The documentation for this struct was generated from the following files: