| 121 | } |
| 122 | |
| 123 | void IsoSqlFormatTokenizer::ProcessSeparators(const char** current_pos) { |
| 124 | DCHECK(current_pos != nullptr && *current_pos != nullptr); |
| 125 | const char* str_begin = dt_ctx_->fmt; |
| 126 | const char* str_end = dt_ctx_->fmt + dt_ctx_->fmt_len; |
| 127 | while (*current_pos < str_end && IsSeparator(current_pos, str_end)) { |
| 128 | dt_ctx_->toks.push_back(DateTimeFormatToken(SEPARATOR, *current_pos - str_begin, 1, |
| 129 | *current_pos)); |
| 130 | ++(*current_pos); |
| 131 | } |
| 132 | } |
| 133 | |
| 134 | FormatTokenizationResult IsoSqlFormatTokenizer::ProcessNextToken( |
| 135 | const char** current_pos) { |
nothing calls this directly
no test coverage detected