Home
last modified time | relevance | path

Searched refs:scanner_ (Results 1 – 11 of 11) sorted by relevance

/external/v8/src/
Dpreparser.cc62 ASSERT_EQ(i::Token::LBRACE, scanner_->current_token()); in PreParseLazyFunction()
64 int start_position = scanner_->peek_location().beg_pos; in PreParseLazyFunction()
68 ReportUnexpectedToken(scanner_->current_token()); in PreParseLazyFunction()
70 ASSERT_EQ(i::Token::RBRACE, scanner_->peek()); in PreParseLazyFunction()
72 int end_pos = scanner_->location().end_pos; in PreParseLazyFunction()
103 i::Scanner::Location source_location = scanner_->location(); in ReportUnexpectedToken()
131 i::Scanner::Location octal = scanner_->octal_position(); in CheckOctalLiteral()
134 scanner_->clear_octal_position(); in CheckOctalLiteral()
272 i::Scanner::Location start_location = scanner_->peek_location(); in ParseStatement()
274 i::Scanner::Location end_location = scanner_->location(); in ParseStatement()
[all …]
Dpreparser.h121 : scanner_(scanner), in PreParser()
491 int start_position = scanner_->peek_location().beg_pos; in PreParse()
495 ReportUnexpectedToken(scanner_->current_token()); in PreParse()
497 CheckOctalLiteral(start_position, scanner_->location().end_pos, &ok); in PreParse()
582 return scanner_->peek(); in peek()
596 return scanner_->Next(); in Next()
646 i::Scanner* scanner_; variable
Dscanner.h284 : scanner_(self), complete_(false) { in LiteralScope()
285 scanner_->StartLiteral(); in LiteralScope()
288 if (!complete_) scanner_->DropLiteral(); in ~LiteralScope()
291 scanner_->TerminateLiteral(); in Complete()
296 Scanner* scanner_;
Dparser.h563 Scanner& scanner() { return scanner_; } in scanner()
817 Scanner scanner_; variable
Dparser.cc542 scanner_(isolate_->unicode_cache()), in Parser()
581 scanner_.Initialize(&stream); in ParseProgram()
585 scanner_.Initialize(&stream); in ParseProgram()
692 scanner_.Initialize(source); in ParseLazy()
4662 reusable_preparser_ = new preparser::PreParser(&scanner_, in LazyParseFunctionLiteral()
/external/chromium_org/v8/tools/
Dlexer-shell.cc97 scanner_ = new Scanner(unicode_cache_); in BaselineScanner()
120 scanner_->Initialize(stream_); in BaselineScanner()
124 delete scanner_; in ~BaselineScanner()
131 Token::Value res = scanner_->Next(); in Next()
132 *beg_pos = scanner_->location().beg_pos; in Next()
133 *end_pos = scanner_->location().end_pos; in Next()
139 Scanner* scanner_; member in BaselineScanner
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/
Ddirectory_contents.js458 this.scanner_ = null;
509 return this.scanner_ || this.prefetchMetadataQueue_.isRunning();
541 this.scanner_ = this.scannerFactory_();
542 this.scanner_.scan(this.onNewEntries_.bind(this),
554 if (this.scanner_)
555 this.scanner_.cancel();
566 this.scanner_ = null;
582 this.scanner_ = null;
/external/chromium_org/v8/src/
Dscanner.h323 : scanner_(self), complete_(false) { in LiteralScope()
324 scanner_->StartLiteral(); in LiteralScope()
327 if (!complete_) scanner_->DropLiteral(); in ~LiteralScope()
330 scanner_->TerminateLiteral(); in Complete()
335 Scanner* scanner_;
Dpreparser.h42 : scanner_(scanner), in ParserBase()
79 Scanner* scanner() const { return scanner_; } in scanner()
80 int position() { return scanner_->location().beg_pos; } in position()
81 int peek_position() { return scanner_->peek_location().beg_pos; } in peek_position()
198 Scanner* scanner_;
Dparser.h556 Scanner& scanner() { return scanner_; } in scanner()
765 Scanner scanner_; variable
Dparser.cc539 : ParserBase(&scanner_, info->isolate()->stack_guard()->real_climit()), in Parser()
543 scanner_(isolate_->unicode_cache()), in Parser()
588 scanner_.Initialize(&stream); in ParseProgram()
592 scanner_.Initialize(&stream); in ParseProgram()
740 scanner_.Initialize(source); in ParseLazy()
4379 reusable_preparser_ = new PreParser(&scanner_, NULL, stack_limit); in LazyParseFunctionLiteral()