|
rapidyaml
0.10.0
parse and emit YAML, and do it fast
|
holds a position into a source buffer More...
#include <common.hpp>
Public Member Functions | |
| LineCol ()=default | |
| LineCol (size_t l, size_t c) | |
| construct from line and column More... | |
| LineCol (size_t o, size_t l, size_t c) | |
| construct from offset, line and column More... | |
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... | |
holds a position into a source buffer
Definition at line 276 of file common.hpp.
|
default |
|
inline |
construct from line and column
Definition at line 287 of file common.hpp.
|
inline |
construct from offset, line and column
Definition at line 289 of file common.hpp.
| size_t c4::yml::LineCol::offset |
number of bytes from the beginning of the source buffer
Definition at line 279 of file common.hpp.
| size_t c4::yml::LineCol::line |
line
Definition at line 281 of file common.hpp.
| size_t c4::yml::LineCol::col |
column
Definition at line 283 of file common.hpp.