Struct LineCol

Inheritance Relationships

Derived Type

Struct Documentation

struct LineCol

holds a position into a source buffer

Subclassed by c4::yml::Location

Public Functions

inline LineCol()
inline LineCol(size_t l, size_t c)

construct from line and column

inline LineCol(size_t o, size_t l, size_t c)

construct from offset, line and column

Public Members

size_t offset

number of bytes from the beginning of the source buffer

size_t line

line

size_t col

column