Lines Matching refs:scanner_
308 explicit LiteralScope(Scanner* self) : scanner_(self), complete_(false) { in LiteralScope()
309 scanner_->StartLiteral(); in LiteralScope()
312 if (!complete_) scanner_->DropLiteral(); in ~LiteralScope()
319 Scanner* scanner_;
326 explicit BookmarkScope(Scanner* scanner) : scanner_(scanner) { in BookmarkScope()
327 DCHECK_NOT_NULL(scanner_); in BookmarkScope()
329 ~BookmarkScope() { scanner_->DropBookmark(); } in ~BookmarkScope()
331 bool Set() { return scanner_->SetBookmark(); } in Set()
332 void Reset() { scanner_->ResetToBookmark(); } in Reset()
333 bool HasBeenSet() { return scanner_->BookmarkHasBeenSet(); } in HasBeenSet()
334 bool HasBeenReset() { return scanner_->BookmarkHasBeenReset(); } in HasBeenReset()
337 Scanner* scanner_;