Classes | |
class | schema_self_validator |
class | schema_validator |
Realization of serialization/validator.hpp abstract validator. More... | |
class | wml_condition |
Stores information about a conditional portion of a tag. More... | |
class | wml_key |
wml_key is used to save the information about one key. More... | |
class | wml_tag |
Stores information about tag. More... | |
class | wml_type |
Stores information about a schema type. More... | |
class | wml_type_alias |
Stores information about a schema type. More... | |
class | wml_type_composite |
Stores information about a schema type. More... | |
class | wml_type_intersection |
Stores information about a schema type. More... | |
class | wml_type_list |
Stores information about a schema type. More... | |
class | wml_type_simple |
Stores information about a schema type. More... | |
class | wml_type_tstring |
class | wml_type_union |
Stores information about a schema type. More... | |
Functions | |
static std::string | at (const std::string &file, int line) |
static void | print_output (const std::string &message, bool flag_exception=false) |
static void | extra_tag_error (const std::string &file, int line, const std::string &name, int n, const std::string &parent, bool flag_exception) |
static void | wrong_tag_error (const std::string &file, int line, const std::string &name, const std::string &parent, bool flag_exception) |
static void | missing_tag_error (const std::string &file, int line, const std::string &name, int n, const std::string &parent, bool flag_exception) |
static void | extra_key_error (const std::string &file, int line, const std::string &tag, const std::string &key, bool flag_exception) |
static void | missing_key_error (const std::string &file, int line, const std::string &tag, const std::string &key, bool flag_exception) |
static void | wrong_value_error (const std::string &file, int line, const std::string &tag, const std::string &key, const std::string &value, const std::string &expected, bool flag_exception) |
static void | wrong_path_error (const std::string &file, int line, const std::string &tag, const std::string &key, const std::string &value, bool flag_exception) |
static void | duplicate_tag_error (const std::string &file, int line, const std::string &tag, const std::string &pat, const std::string &value, bool flag_exception) |
static void | duplicate_key_error (const std::string &file, int line, const std::string &tag, const std::string &pat, const std::string &value, bool flag_exception) |
static void | inheritance_loop_error (const std::string &file, int line, const std::string &tag, const std::string &key, const std::string &value, int index, bool flag_exception) |
static void | wrong_type_error (const std::string &file, int line, const std::string &tag, const std::string &key, const std::string &type, bool flag_exception) |
Variables | |
wml_tag | any_tag ("", 0, -1, "", true) |
static lg::log_domain | log_validation ("validation") |
|
static |
Definition at line 34 of file schema_validator.cpp.
References lineno_string().
Referenced by gui2::window::add_to_tab_order(), wb::move::calculate_new_route(), wb::move::check_validity(), duplicate_key_error(), duplicate_tag_error(), extra_key_error(), extra_tag_error(), find_attack(), inheritance_loop_error(), game_lua_kernel::intf_get_label(), preferences::load_credentials(), missing_key_error(), missing_tag_error(), gui2::window::mode(), wb::recall::recall(), unit_weapons(), wb::manager::update_plan_hiding(), wrong_path_error(), wrong_tag_error(), wrong_type_error(), and wrong_value_error().
|
static |
Definition at line 149 of file schema_validator.cpp.
References at(), and print_output().
Referenced by schema_validation::schema_self_validator::print().
|
static |
Definition at line 137 of file schema_validator.cpp.
References at(), and print_output().
Referenced by schema_validation::schema_self_validator::print().
|
static |
Definition at line 92 of file schema_validator.cpp.
References at(), and print_output().
Referenced by schema_validation::schema_validator::print().
|
static |
Definition at line 58 of file schema_validator.cpp.
References at(), and print_output().
Referenced by schema_validation::schema_validator::print().
|
static |
Definition at line 161 of file schema_validator.cpp.
References at(), and print_output().
Referenced by schema_validation::schema_self_validator::print().
|
static |
Definition at line 100 of file schema_validator.cpp.
References at(), and print_output().
Referenced by schema_validation::schema_validator::print().
|
static |
Definition at line 79 of file schema_validator.cpp.
References at(), and print_output().
Referenced by schema_validation::schema_validator::print().
|
static |
Definition at line 41 of file schema_validator.cpp.
References ERR_VL.
Referenced by duplicate_key_error(), duplicate_tag_error(), extra_key_error(), extra_tag_error(), inheritance_loop_error(), missing_key_error(), missing_tag_error(), wrong_path_error(), wrong_tag_error(), wrong_type_error(), and wrong_value_error().
|
static |
Definition at line 125 of file schema_validator.cpp.
References at(), and print_output().
Referenced by schema_validation::schema_self_validator::print().
|
static |
Definition at line 71 of file schema_validator.cpp.
References at(), and print_output().
Referenced by schema_validation::schema_validator::open_tag(), and schema_validation::schema_validator::print().
|
static |
Definition at line 174 of file schema_validator.cpp.
References at(), and print_output().
Referenced by schema_validation::schema_self_validator::print().
|
static |
Definition at line 108 of file schema_validator.cpp.
References at(), and print_output().
Referenced by schema_validation::schema_validator::print().
wml_tag schema_validation::any_tag("", 0, -1, "", true) |
Referenced by schema_validation::wml_tag::find_tag().
|
static |