Lines Matching refs:Iterator
47 util::StringView::Iterator iterator;
109 inline util::StringView::Iterator &Iterator()
114 inline const util::StringView::Iterator &Iterator() const
119 util::StringView SourceView(const util::StringView::Iterator &begin, const util::StringView::Iterator &end) const;
220 const auto startPos = Iterator().Index();
224 char32_t cp = Iterator().Peek();
227 case util::StringView::Iterator::INVALID_CP: {
239 str.Append(SourceView(escapeEnd, Iterator().Index()));
242 Iterator().Forward(1);
244 if (Iterator().Peek() != LEX_CHAR_LF) {
245 Iterator().Backward(1);
251 Iterator().Forward(1);
252 escapeEnd = Iterator().Index();
257 str.Append(SourceView(escapeEnd, Iterator().Index()));
259 Iterator().Forward(1);
261 escapeEnd = Iterator().Index();
271 Iterator().Forward(1);
275 Iterator().Forward(1);
279 if (Iterator().Peek() == LEX_CHAR_LEFT_BRACE) {
280 Iterator().Backward(1);
288 Iterator().SkipCp();
294 str.Append(SourceView(escapeEnd, Iterator().Index()));
297 GetToken().src_ = SourceView(startPos, Iterator().Index());
305 Iterator().Forward(1);
315 const auto cp = Iterator().Peek();
316 Iterator().Forward(1);
339 auto cp = Iterator().Peek();
347 cp = Iterator().Peek();
350 Iterator().Forward(1);
361 Iterator().Forward(1);
367 Iterator().Backward(1);