a source file position
More...
#include <common.hpp>
|
| | 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) |
| |
a source file position
Definition at line 297 of file common.hpp.
◆ Location() [1/7]
| c4::yml::Location::Location |
( |
| ) |
|
|
default |
◆ Location() [2/7]
| c4::yml::Location::Location |
( |
size_t |
l, |
|
|
size_t |
c |
|
) |
| |
|
inline |
Definition at line 312 of file common.hpp.
size_t offset
number of bytes from the beginning of the source buffer
◆ Location() [3/7]
| c4::yml::Location::Location |
( |
size_t |
b, |
|
|
size_t |
l, |
|
|
size_t |
c |
|
) |
| |
|
inline |
◆ Location() [4/7]
| c4::yml::Location::Location |
( |
csubstr |
n, |
|
|
size_t |
l, |
|
|
size_t |
c |
|
) |
| |
|
inline |
◆ Location() [5/7]
| c4::yml::Location::Location |
( |
csubstr |
n, |
|
|
size_t |
b, |
|
|
size_t |
l, |
|
|
size_t |
c |
|
) |
| |
|
inline |
◆ Location() [6/7]
| c4::yml::Location::Location |
( |
const char * |
n, |
|
|
size_t |
l, |
|
|
size_t |
c |
|
) |
| |
|
inline |
Definition at line 316 of file common.hpp.
csubstr to_csubstr(substr s) noexcept
neutral version for use in generic code
◆ Location() [7/7]
| c4::yml::Location::Location |
( |
const char * |
n, |
|
|
size_t |
b, |
|
|
size_t |
l, |
|
|
size_t |
c |
|
) |
| |
|
inline |
◆ operator bool()
| c4::yml::Location::operator bool |
( |
| ) |
const |
|
inline |
◆ operator LineCol const &()
| c4::yml::Location::operator LineCol const & |
( |
| ) |
const |
|
inline |
Definition at line 309 of file common.hpp.
309 {
return reinterpret_cast<LineCol const&
>(*this); }
◆ offset
| size_t c4::yml::Location::offset |
◆ line
| size_t c4::yml::Location::line |
◆ col
| size_t c4::yml::Location::col |
◆ name
| csubstr c4::yml::Location::name |
The documentation for this struct was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/rapidyaml/checkouts/v0.10.0/src/c4/yml/common.hpp