|
rapidyaml
0.16.0
parseandemitYAML,anddoitfast
|
holds a source or yaml file position, for example when an error is detected; See also location_format() and location_format_with_context(). More...
#include <common.hpp>
Public Member Functions | |
| operator bool () const noexcept | |
| Location () noexcept | |
| Location (size_t l) noexcept | |
| Location (size_t l, size_t c) noexcept | |
| Location (size_t b, size_t l, size_t c) noexcept | |
| Location (csubstr n, size_t l) noexcept | |
| Location (csubstr n, size_t l, size_t c) noexcept | |
| Location (csubstr n, size_t b, size_t l, size_t c) noexcept | |
| Location (const char *n, size_t l) noexcept | |
| Location (const char *n, size_t l, size_t c) noexcept | |
| Location (const char *n, size_t b, size_t l, size_t c) noexcept | |
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 |
| name of the file More... | |
holds a source or yaml file position, for example when an error is detected; See also location_format() and location_format_with_context().
Definition at line 228 of file common.hpp.
|
inlinenoexcept |
Definition at line 237 of file common.hpp.
|
inlinenoexcept |
Definition at line 238 of file common.hpp.
|
inlinenoexcept |
Definition at line 239 of file common.hpp.
|
inlinenoexcept |
Definition at line 240 of file common.hpp.
|
inlinenoexcept |
Definition at line 241 of file common.hpp.
|
inlinenoexcept |
Definition at line 242 of file common.hpp.
|
inlinenoexcept |
Definition at line 243 of file common.hpp.
|
inlinenoexcept |
Definition at line 244 of file common.hpp.
|
inlinenoexcept |
Definition at line 245 of file common.hpp.
|
inlinenoexcept |
Definition at line 246 of file common.hpp.
|
inlinenoexcept |
Definition at line 235 of file common.hpp.
| size_t c4::yml::Location::offset |
number of bytes from the beginning of the source buffer
Definition at line 230 of file common.hpp.
Referenced by c4::yml::location_format(), c4::yml::location_format_with_context(), sample_error_parse(), sample_location_tracking(), and c4::yml::ParserState::start_parse().
| size_t c4::yml::Location::line |
line
Definition at line 231 of file common.hpp.
Referenced by c4::yml::location_format(), sample_error_parse(), sample_location_tracking(), and c4::yml::ParserState::start_parse().
| size_t c4::yml::Location::col |
column
Definition at line 232 of file common.hpp.
Referenced by c4::yml::ParserState::at_first_token(), c4::yml::location_format(), c4::yml::location_format_with_context(), sample_error_parse(), sample_location_tracking(), and c4::yml::ParserState::start_parse().
| csubstr c4::yml::Location::name |
name of the file
Definition at line 233 of file common.hpp.
Referenced by c4::yml::location_format(), sample_error_basic(), sample_error_parse(), sample_error_visit(), sample_error_visit_location(), and c4::yml::ParserState::start_parse().