Project Alice
Loading...
Searching...
No Matches
parsers.cpp File Reference
#include "parsers.hpp"
#include "nations.hpp"
#include <charconv>
#include <algorithm>
#include "defines.cpp"
#include "gui_graphics_parsers.cpp"
#include "nations_parsing.cpp"
#include "cultures_parsing.cpp"
#include "econ_parsing.cpp"
#include "military_parsing.cpp"
#include "provinces_parsing.cpp"
#include "trigger_parsing.cpp"
#include "effect_parsing.cpp"
#include "parsers_declarations.cpp"
Include dependency graph for parsers.cpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  parsers
 

Functions

bool parsers::ignorable_char (char c)
 
bool parsers::special_identifier_char (char c)
 
bool parsers::breaking_char (char c)
 
bool parsers::not_special_identifier_char (char c)
 
bool parsers::line_termination (char c)
 
bool parsers::double_quote_termination (char c)
 
bool parsers::single_quote_termination (char c)
 
bool parsers::is_positive_integer (char const *start, char const *end)
 
bool parsers::is_integer (char const *start, char const *end)
 
bool parsers::is_positive_fp (char const *start, char const *end)
 
bool parsers::is_fp (char const *start, char const *end)
 
template<typename T >
char const * parsers::scan_for_match (char const *start, char const *end, int32_t &current_line, T &&condition)
 
template<typename T >
char const * parsers::scan_for_not_match (char const *start, char const *end, int32_t &current_line, T &&condition)
 
char const * parsers::advance_position_to_next_line (char const *start, char const *end, int32_t &current_line)
 
char const * parsers::advance_position_to_non_whitespace (char const *start, char const *end, int32_t &current_line)
 
char const * parsers::advance_position_to_non_comment (char const *start, char const *end, int32_t &current_line)
 
char const * parsers::advance_position_to_breaking_char (char const *start, char const *end, int32_t &current_line)
 
bool parsers::parse_bool (std::string_view content, int32_t, error_handler &)
 
float parsers::parse_float (std::string_view content, int32_t line, error_handler &err)
 
double parsers::parse_double (std::string_view content, int32_t line, error_handler &err)
 
int32_t parsers::parse_int (std::string_view content, int32_t line, error_handler &err)
 
uint32_t parsers::parse_uint (std::string_view content, int32_t line, error_handler &err)
 
uint32_t parsers::parse_tag (std::string_view tag, int32_t line, error_handler &err)
 
sys::year_month_day parsers::parse_date (std::string_view content, int32_t line, error_handler &err)
 
bool parsers::starts_with (std::string_view content, char v)
 
association_type parsers::parse_association_type (std::string_view content, int32_t line, error_handler &err)
 
separator_scan_result parsers::csv_find_separator_token (char const *start, char const *end, char seperator)
 
char const * parsers::csv_advance (char const *start, char const *end, char seperator)
 
char const * parsers::csv_advance_n (uint32_t n, char const *start, char const *end, char seperator)
 
char const * parsers::csv_advance_to_next_line (char const *start, char const *end)
 
std::string_view parsers::remove_surrounding_whitespace (std::string_view txt)