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

Data for a visit error. More...

#include <common.hpp>

Public Member Functions

 ErrorDataVisit () noexcept=default
 
 ErrorDataVisit (Location const &cpploc_, Tree const *tree_, id_type node_) noexcept
 

Public Attributes

Location cpploc
 location in the C++ source file where the error was detected. More...
 
Tree const * tree
 tree where the error was detected More...
 
id_type node
 node where the error was detected More...
 

Detailed Description

Data for a visit error.

Definition at line 278 of file common.hpp.

Constructor & Destructor Documentation

c4::yml::ErrorDataVisit::ErrorDataVisit ( )
defaultnoexcept
c4::yml::ErrorDataVisit::ErrorDataVisit ( Location const &  cpploc_,
Tree const *  tree_,
id_type  node_ 
)
inlinenoexcept

Definition at line 284 of file common.hpp.

284 : cpploc(cpploc_), tree(tree_), node(node_) {}
Location cpploc
location in the C++ source file where the error was detected.
Definition: common.hpp:280
Tree const * tree
tree where the error was detected
Definition: common.hpp:281
id_type node
node where the error was detected
Definition: common.hpp:282

Member Data Documentation

Location c4::yml::ErrorDataVisit::cpploc

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

Definition at line 280 of file common.hpp.

Referenced by c4::yml::err_visit(), c4::yml::err_visit_format(), ErrorHandlerExample::on_error_visit(), and sample_error_visit().

Tree const* c4::yml::ErrorDataVisit::tree

tree where the error was detected

Definition at line 281 of file common.hpp.

Referenced by c4::yml::err_visit_format(), ErrorHandlerExample::on_error_visit(), and sample_error_visit().

id_type c4::yml::ErrorDataVisit::node

node where the error was detected

Definition at line 282 of file common.hpp.

Referenced by c4::yml::err_visit_format(), ErrorHandlerExample::on_error_visit(), and sample_error_visit().


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