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