rapidyaml  0.16.0
parseandemitYAML,anddoitfast
c4::yml::ErrorDataParse Struct Reference

Data for a parse error. More...

#include <common.hpp>

Public Member Functions

 ErrorDataParse () noexcept=default
 
 ErrorDataParse (Location const &cpploc_, Location const &ymlloc_) noexcept
 

Public Attributes

Location cpploc
 location in the C++ source file where the error was detected. More...
 
Location ymlloc
 location in the YAML source buffer where the error was detected. More...
 

Detailed Description

Data for a parse error.

Definition at line 268 of file common.hpp.

Constructor & Destructor Documentation

c4::yml::ErrorDataParse::ErrorDataParse ( )
defaultnoexcept
c4::yml::ErrorDataParse::ErrorDataParse ( Location const &  cpploc_,
Location const &  ymlloc_ 
)
inlinenoexcept

Definition at line 273 of file common.hpp.

273 : cpploc(cpploc_), ymlloc(ymlloc_) {}
Location cpploc
location in the C++ source file where the error was detected.
Definition: common.hpp:270
Location ymlloc
location in the YAML source buffer where the error was detected.
Definition: common.hpp:271

Member Data Documentation

Location c4::yml::ErrorDataParse::cpploc

location in the C++ source file where the error was detected.

Definition at line 270 of file common.hpp.

Referenced by c4::yml::err_parse_format(), and ErrorHandlerExample::on_error_parse().

Location c4::yml::ErrorDataParse::ymlloc

location in the YAML source buffer where the error was detected.

Definition at line 271 of file common.hpp.

Referenced by c4::yml::err_parse(), c4::yml::err_parse_format(), ErrorHandlerExample::on_error_parse(), and sample_error_parse().


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