|
rapidyaml
0.8.0
parse and emit YAML, and do it fast
|
a source file position More...
#include <common.hpp>
Public Member Functions | |
| operator bool () const | |
| operator LineCol const & () const | |
| Location ()=default | |
| Location (size_t l, size_t c) | |
| Location (size_t b, size_t l, size_t c) | |
| Location (csubstr n, size_t l, size_t c) | |
| Location (csubstr n, size_t b, size_t l, size_t c) | |
| Location (const char *n, size_t l, size_t c) | |
| Location (const char *n, size_t b, size_t l, size_t c) | |
Public Attributes | |
| size_t | offset |
| number of bytes from the beginning of the source buffer More... | |
| size_t | line |
| line More... | |
| size_t | col |
| column More... | |
| csubstr | name |
| file name More... | |
a source file position
Definition at line 296 of file common.hpp.
|
default |
|
inline |
Definition at line 311 of file common.hpp.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 315 of file common.hpp.
|
inline |
Definition at line 316 of file common.hpp.
|
inline |
|
inline |
Definition at line 308 of file common.hpp.
| size_t c4::yml::Location::offset |
number of bytes from the beginning of the source buffer
Definition at line 299 of file common.hpp.
Referenced by sample::ErrorHandlerExample::on_error(), c4::yml::report_error_impl(), sample::sample_location_tracking(), and c4::yml::ParserState::start_parse().
| size_t c4::yml::Location::line |
line
Definition at line 301 of file common.hpp.
Referenced by sample::ErrorHandlerExample::on_error(), c4::yml::report_error_impl(), sample::sample_location_tracking(), sample::sample_quick_overview(), and c4::yml::ParserState::start_parse().
| size_t c4::yml::Location::col |
column
Definition at line 303 of file common.hpp.
Referenced by sample::ErrorHandlerExample::on_error(), c4::yml::report_error_impl(), sample::sample_location_tracking(), sample::sample_quick_overview(), and c4::yml::ParserState::start_parse().
| csubstr c4::yml::Location::name |
file name
Definition at line 305 of file common.hpp.
Referenced by sample::ErrorHandlerExample::on_error(), c4::yml::report_error_impl(), and c4::yml::ParserState::start_parse().