Add count method to ValueTokenizer

This commit is contained in:
Richard Berger
2020-05-26 16:30:46 -04:00
parent 3d567c14ef
commit 74249380ec
2 changed files with 6 additions and 0 deletions

View File

@ -131,3 +131,7 @@ double ValueTokenizer::next_double() {
void ValueTokenizer::skip(int ntokens) {
current = std::next(current, ntokens);
}
const size_t ValueTokenizer::count() const {
return tokens.count();
}