rapidyaml  0.12.0
parse and emit YAML, and do it fast
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 330 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 336 of file common.hpp.

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

Member Data Documentation

◆ cpploc

Location c4::yml::ErrorDataVisit::cpploc

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

Definition at line 332 of file common.hpp.

◆ tree

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

tree where the error was detected

Definition at line 333 of file common.hpp.

◆ node

id_type c4::yml::ErrorDataVisit::node

node where the error was detected

Definition at line 334 of file common.hpp.


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