struct to capture the start position of the current token More...
#include "json.h"
Public Member Functions | |
constexpr | operator size_t () const |
conversion to size_t to preserve SAX interface More... | |
constexpr | operator size_t () const |
conversion to size_t to preserve SAX interface More... | |
Public Attributes | |
std::size_t | chars_read_current_line = 0 |
the number of characters read in the current line More... | |
std::size_t | chars_read_total = 0 |
the total number of characters read More... | |
std::size_t | lines_read = 0 |
the number of lines read More... | |
|
inlineconstexpr |
conversion to size_t to preserve SAX interface
Definition at line 96 of file json.h.
References chars_read_total.
|
inlineconstexpr |
conversion to size_t to preserve SAX interface
Definition at line 96 of file json.h.
References chars_read_total.
std::size_t nlohmann::detail::position_t::chars_read_current_line = 0 |
the number of characters read in the current line
Definition at line 91 of file json.h.
Referenced by nlohmann::detail::lexer< BasicJsonType, InputAdapterType >::get(), nlohmann::detail::parse_error::position_string(), and nlohmann::detail::lexer< BasicJsonType, InputAdapterType >::unget().
std::size_t nlohmann::detail::position_t::chars_read_total = 0 |
the total number of characters read
Definition at line 89 of file json.h.
Referenced by nlohmann::detail::parse_error::create(), nlohmann::detail::lexer< BasicJsonType, InputAdapterType >::get(), operator size_t(), nlohmann::detail::lexer< BasicJsonType, InputAdapterType >::scan(), and nlohmann::detail::lexer< BasicJsonType, InputAdapterType >::unget().
std::size_t nlohmann::detail::position_t::lines_read = 0 |
the number of lines read
Definition at line 93 of file json.h.
Referenced by nlohmann::detail::lexer< BasicJsonType, InputAdapterType >::get(), nlohmann::detail::parse_error::position_string(), and nlohmann::detail::lexer< BasicJsonType, InputAdapterType >::unget().