| 40 | pos_ = pos; |
| 41 | } |
| 42 | void move_back(size_t n) { |
| 43 | if (pos_ < n) { |
| 44 | throw std::runtime_error("Can't move back that far!"); |
| 45 | } |
| 46 | pos_ -= n; |
| 47 | } |
| 48 | |
| 49 | // Get the substring of the input at the given range |
| 50 | std::string str(const common_string_range & rng) const; |
no outgoing calls