rapidyaml 0.15.2
parse and emit YAML, and do it fast
Loading...
Searching...
No Matches
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.
Tree const * tree
 tree where the error was detected
id_type node
 node where the error was detected

Detailed Description

Data for a visit error.

Definition at line 278 of file common.hpp.

Constructor & Destructor Documentation

◆ ErrorDataVisit() [1/2]

c4::yml::ErrorDataVisit::ErrorDataVisit ( )
defaultnoexcept

Referenced by ErrorDataVisit().

◆ ErrorDataVisit() [2/2]

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

◆ cpploc

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 ErrorDataVisit(), c4::yml::err_visit(), c4::yml::err_visit(), c4::yml::err_visit_format(), ErrorHandlerExample::on_error_visit(), and sample_error_visit().

◆ tree

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

tree where the error was detected

Definition at line 281 of file common.hpp.

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

◆ node

id_type c4::yml::ErrorDataVisit::node

node where the error was detected

Definition at line 282 of file common.hpp.

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


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