rapidyaml 0.14.0
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 328 of file common.hpp.

Constructor & Destructor Documentation

◆ ErrorDataParse() [1/2]

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

◆ ErrorDataParse() [2/2]

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

Definition at line 333 of file common.hpp.

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

Member Data Documentation

◆ cpploc

Location c4::yml::ErrorDataParse::cpploc

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

Definition at line 330 of file common.hpp.

◆ ymlloc

Location c4::yml::ErrorDataParse::ymlloc

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

Definition at line 331 of file common.hpp.


The documentation for this struct was generated from the following file:
  • /home/docs/checkouts/readthedocs.org/user_builds/rapidyaml/checkouts/v0.14.0/src/c4/yml/common.hpp