ts::Location struct

Location in source code as row, column and byte offset.

Contents

Supports the comparison operators. But you should only compare locations created from the same source.

Public variables

Point point
Row and colunm in the source code.
std::uint32_t byte
Byte offset in the source code.

Variable documentation

std::uint32_t ts::Location::byte

Byte offset in the source code.

Absolute position from the start of the source code.