The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Namespaces | Functions
sourceparser.hpp File Reference

This file contains sourceparser object, collecting annotations and building a tag tree. More...

#include "tools/schema/error_container.hpp"
#include "tools/schema/tag.hpp"
#include <iostream>
#include <fstream>
#include <map>
#include <queue>
#include <string>
#include <vector>
Include dependency graph for sourceparser.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  schema_validation::class_source_parser
 

Namespaces

 schema_validation
 

Functions

const std::stringschema_validation::get_valid ()
 A few regex templates. More...
 
const std::stringschema_validation::get_wiki ()
 Template to check line is beginnnig of Wiki block. More...
 
const std::stringschema_validation::get_parent_begin ()
 Template to check begining of parent block. More...
 
const std::stringschema_validation::get_parent_end ()
 Template to check closing of parent block. More...
 
const std::stringschema_validation::get_tag_begin ()
 Template to check if line contains opening of tag block. More...
 
const std::stringschema_validation::get_tag_end ()
 Template to check end of tag block. More...
 
const std::stringschema_validation::get_allow_link ()
 Template to check allow{link} block. More...
 
const std::stringschema_validation::get_allow_global ()
 Template to check allow{global} block. More...
 
const std::stringschema_validation::get_table_key_begin ()
 Template to check begining of table{config} storing key values. More...
 
const std::stringschema_validation::get_table_end ()
 Template to check if table is closed. More...
 
const std::stringschema_validation::get_key_value ()
 Template to get key value. More...
 
void schema_validation::test_regex (std::ostream &f)
 Writes to the file regex templates list. More...
 

Detailed Description

This file contains sourceparser object, collecting annotations and building a tag tree.

Also here are declared fuctions that return regex templates. And a fuction to create a file with list of templates.

Definition in file sourceparser.hpp.