mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-01-10 09:20:11 +00:00
6f950c9ec8
`location::line_num()` function used to be implemented by using `std::count`, so each time the parser encounters a type mismatch, `std::count` was called with almost whole file. It decelerates the parsing process too much, so I decided to add `line_number_` member variable to `location` and add `advance/retrace/reset` to `location` in order to modify the position that is pointed. |
||
---|---|---|
.. | ||
combinator.hpp | ||
datetime.hpp | ||
exception.hpp | ||
from_toml.hpp | ||
from.hpp | ||
get.hpp | ||
into.hpp | ||
lexer.hpp | ||
literal.hpp | ||
parser.hpp | ||
region.hpp | ||
result.hpp | ||
serializer.hpp | ||
storage.hpp | ||
string.hpp | ||
traits.hpp | ||
types.hpp | ||
utility.hpp | ||
value.hpp |