Struct position_t

Struct Documentation

struct position_t

struct to capture the start position of the current token

Public Functions

inline constexpr operator size_t() const

conversion to size_t to preserve SAX interface

inline constexpr operator size_t() const

conversion to size_t to preserve SAX interface

Public Members

std::size_t chars_read_total = 0

the total number of characters read

std::size_t chars_read_current_line = 0

the number of characters read in the current line

std::size_t lines_read = 0

the number of lines read