rapidyaml  0.13.0
parse and emit YAML, and do it fast
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 323 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 328 of file common.hpp.

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

Member Data Documentation

◆ cpploc

Location c4::yml::ErrorDataParse::cpploc

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

Definition at line 325 of file common.hpp.

◆ ymlloc

Location c4::yml::ErrorDataParse::ymlloc

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

Definition at line 326 of file common.hpp.


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