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 345 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 351 of file common.hpp.

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

Member Data Documentation

◆ cpploc

Location c4::yml::ErrorDataVisit::cpploc

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

Definition at line 347 of file common.hpp.

◆ tree

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

tree where the error was detected

Definition at line 348 of file common.hpp.

◆ node

id_type c4::yml::ErrorDataVisit::node

node where the error was detected

Definition at line 349 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.15.2/src/c4/yml/common.hpp