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

Constructor & Destructor Documentation

◆ ErrorDataVisit() [1/2]

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

◆ ErrorDataVisit() [2/2]

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

Definition at line 344 of file common.hpp.

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

Member Data Documentation

◆ cpploc

Location c4::yml::ErrorDataVisit::cpploc

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

Definition at line 340 of file common.hpp.

◆ tree

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

tree where the error was detected

Definition at line 341 of file common.hpp.

◆ node

id_type c4::yml::ErrorDataVisit::node

node where the error was detected

Definition at line 342 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