rapidyaml 0.15.2
parse and emit YAML, and do it fast
Loading...
Searching...
No Matches
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.
Location ymlloc
 location in the YAML source buffer where the error was detected.

Detailed Description

Data for a parse error.

Definition at line 268 of file common.hpp.

Constructor & Destructor Documentation

◆ ErrorDataParse() [1/2]

c4::yml::ErrorDataParse::ErrorDataParse ( )
defaultnoexcept

Referenced by ErrorDataParse().

◆ ErrorDataParse() [2/2]

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

◆ cpploc

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 ErrorDataParse(), c4::yml::err_parse_format(), and ErrorHandlerExample::on_error_parse().

◆ ymlloc

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 ErrorDataParse(), c4::yml::err_parse(), 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:
  • /home/docs/checkouts/readthedocs.org/user_builds/rapidyaml/checkouts/latest/src/c4/yml/common.hpp