|
rapidyaml
0.7.2
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 295 of file common.hpp.
|
default |
|
inline |
Definition at line 310 of file common.hpp.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 314 of file common.hpp.
|
inline |
Definition at line 315 of file common.hpp.
|
inline |
|
inline |
Definition at line 307 of file common.hpp.
| size_t c4::yml::Location::offset |
number of bytes from the beginning of the source buffer
Definition at line 298 of file common.hpp.
Referenced by c4::yml::ParseEngine< EventHandler >::location_contents(), sample::ErrorHandlerExample::on_error(), c4::yml::report_error_impl(), sample::sample_location_tracking(), c4::yml::ParserState::start_parse(), and c4::yml::ParseEngine< EventHandler >::val_location().
| size_t c4::yml::Location::line |
line
Definition at line 300 of file common.hpp.
Referenced by sample::ErrorHandlerExample::on_error(), c4::yml::report_error_impl(), sample::sample_location_tracking(), sample::sample_quick_overview(), c4::yml::ParserState::start_parse(), and c4::yml::ParseEngine< EventHandler >::val_location().
| size_t c4::yml::Location::col |
column
Definition at line 302 of file common.hpp.
Referenced by sample::ErrorHandlerExample::on_error(), c4::yml::report_error_impl(), sample::sample_location_tracking(), sample::sample_quick_overview(), c4::yml::ParserState::start_parse(), and c4::yml::ParseEngine< EventHandler >::val_location().
| csubstr c4::yml::Location::name |
file name
Definition at line 304 of file common.hpp.
Referenced by sample::ErrorHandlerExample::on_error(), c4::yml::report_error_impl(), c4::yml::ParserState::start_parse(), and c4::yml::ParseEngine< EventHandler >::val_location().