Searched refs:scanner_ (Results 1 – 5 of 5) sorted by relevance
/external/v8/src/parsing/ |
D | scanner.h | 158 : scanner_(scanner), bookmark_(kNoBookmark) { in BookmarkScope() 159 DCHECK_NOT_NULL(scanner_); in BookmarkScope() 173 Scanner* scanner_; variable 340 explicit LiteralScope(Scanner* self) : scanner_(self), complete_(false) { in LiteralScope() 341 scanner_->StartLiteral(); in LiteralScope() 344 if (!complete_) scanner_->DropLiteral(); in ~LiteralScope() 349 Scanner* scanner_;
|
D | scanner.cc | 41 DCHECK_EQ(scanner_->next_next_.token, Token::UNINITIALIZED); in Set() 48 scanner_->current_.token == Token::UNINITIALIZED, in Set() 49 scanner_->current_.location.beg_pos == scanner_->next_.location.beg_pos); in Set() 50 bookmark_ = (scanner_->current_.token == Token::UNINITIALIZED) in Set() 52 : scanner_->location().beg_pos; in Set() 58 scanner_->SeekNext(0); in Apply() 60 scanner_->SeekNext(bookmark_); in Apply() 61 scanner_->Next(); in Apply() 62 DCHECK_EQ(scanner_->location().beg_pos, static_cast<int>(bookmark_)); in Apply()
|
D | parser.cc | 583 : ParserBase<Parser>(info->zone(), &scanner_, info->stack_limit(), in Parser() 586 scanner_(info->unicode_cache()), in Parser() 697 scanner_.Initialize(stream.get()); in ParseProgram() 701 DCHECK_EQ(scanner_.peek_location().beg_pos, source->length()); in ParseProgram() 886 scanner_.Initialize(source); in DoParseFunction() 2791 reusable_preparser_ = new PreParser(zone(), &scanner_, ast_value_factory(), in SkipFunction() 3729 Handle<String> source_url = scanner_.SourceUrl(isolate); in HandleSourceURLComments() 3733 Handle<String> source_mapping_url = scanner_.SourceMappingUrl(isolate); in HandleSourceURLComments() 3761 if (scanner_.FoundHtmlComment()) { in Internalize() 3851 scanner_.Initialize(stream_ptr); in ParseOnBackground()
|
D | parser-base.h | 207 scanner_(scanner), in ParserBase() 733 Scanner* scanner() const { return scanner_; } in scanner() 735 int position() const { return scanner_->location().beg_pos; } in position() 736 int peek_position() const { return scanner_->peek_location().beg_pos; } in peek_position() 1435 Scanner* scanner_; variable 1545 return ReportUnexpectedTokenAt(scanner_->location(), token); in ReportUnexpectedToken() 2570 Scanner::Location location = scanner_->location(); in ParseArguments() 3898 if (peek() == Token::ARROW && scanner_->HasAnyLineTerminatorBeforeNext()) { in ParseArrowFunctionLiteral() 3902 ReportUnexpectedTokenAt(scanner_->peek_location(), Token::ARROW); in ParseArrowFunctionLiteral()
|
D | parser.h | 1132 Scanner scanner_;
|