Project Alice
Loading...
Searching...
No Matches
parsers::error_handler Class Reference

#include <parsers.hpp>

Public Member Functions

 error_handler (std::string file_name)
 
void unhandled_group_key (token_and_type const &t)
 
void unhandled_association_key (token_and_type const &t)
 
void unhandled_free_value (token_and_type const &t)
 
void unhandled_free_group (token_and_type const &t)
 
void bad_date (std::string_view s, int32_t l)
 
void bad_float (std::string_view s, int32_t l)
 
void bad_double (std::string_view s, int32_t l)
 
void bad_bool (std::string_view s, int32_t l)
 
void bad_int (std::string_view s, int32_t l)
 
void bad_unsigned_int (std::string_view s, int32_t l)
 
void bad_association_token (std::string_view s, int32_t l)
 

Public Attributes

std::string file_name
 
std::string accumulated_errors
 
std::string accumulated_warnings
 
bool fatal = false
 

Detailed Description

Definition at line 59 of file parsers.hpp.

Constructor & Destructor Documentation

◆ error_handler()

parsers::error_handler::error_handler ( std::string  file_name)
inline

Definition at line 66 of file parsers.hpp.

Member Function Documentation

◆ bad_association_token()

void parsers::error_handler::bad_association_token ( std::string_view  s,
int32_t  l 
)
inline

Definition at line 108 of file parsers.hpp.

Here is the caller graph for this function:

◆ bad_bool()

void parsers::error_handler::bad_bool ( std::string_view  s,
int32_t  l 
)
inline

Definition at line 96 of file parsers.hpp.

◆ bad_date()

void parsers::error_handler::bad_date ( std::string_view  s,
int32_t  l 
)
inline

Definition at line 84 of file parsers.hpp.

◆ bad_double()

void parsers::error_handler::bad_double ( std::string_view  s,
int32_t  l 
)
inline

Definition at line 92 of file parsers.hpp.

◆ bad_float()

void parsers::error_handler::bad_float ( std::string_view  s,
int32_t  l 
)
inline

Definition at line 88 of file parsers.hpp.

Here is the caller graph for this function:

◆ bad_int()

void parsers::error_handler::bad_int ( std::string_view  s,
int32_t  l 
)
inline

Definition at line 100 of file parsers.hpp.

Here is the caller graph for this function:

◆ bad_unsigned_int()

void parsers::error_handler::bad_unsigned_int ( std::string_view  s,
int32_t  l 
)
inline

Definition at line 104 of file parsers.hpp.

Here is the caller graph for this function:

◆ unhandled_association_key()

void parsers::error_handler::unhandled_association_key ( token_and_type const &  t)
inline

Definition at line 72 of file parsers.hpp.

◆ unhandled_free_group()

void parsers::error_handler::unhandled_free_group ( token_and_type const &  t)
inline

Definition at line 80 of file parsers.hpp.

◆ unhandled_free_value()

void parsers::error_handler::unhandled_free_value ( token_and_type const &  t)
inline

Definition at line 76 of file parsers.hpp.

◆ unhandled_group_key()

void parsers::error_handler::unhandled_group_key ( token_and_type const &  t)
inline

Definition at line 68 of file parsers.hpp.

Member Data Documentation

◆ accumulated_errors

std::string parsers::error_handler::accumulated_errors

Definition at line 62 of file parsers.hpp.

◆ accumulated_warnings

std::string parsers::error_handler::accumulated_warnings

Definition at line 63 of file parsers.hpp.

◆ fatal

bool parsers::error_handler::fatal = false

Definition at line 64 of file parsers.hpp.

◆ file_name

std::string parsers::error_handler::file_name

Definition at line 61 of file parsers.hpp.


The documentation for this class was generated from the following file: