Searched refs:beg_pos (Results 1 - 9 of 9) sorted by relevance
/external/v8/preparser/ |
H A D | preparser-process.cc | 151 int beg_pos() { function in class:PreparseDataInterpreter 225 : throws(false), type(NULL), beg_pos(-1), end_pos(-1) { } 228 int beg_pos; member in struct:ExceptionExpectation 248 expects->type, actual_message, reader.beg_pos(), reader.end_pos()); 251 if (expects->beg_pos >= 0) { 252 if (expects->beg_pos != reader.beg_pos()) { 254 expects->beg_pos, reader.beg_pos()); 266 message, reader.beg_pos(), reade [all...] |
/external/v8/src/ |
H A D | scanner.h | 330 Location(int b, int e) : beg_pos(b), end_pos(e) { } 331 Location() : beg_pos(0), end_pos(0) { } 334 return beg_pos >= 0 && end_pos >= beg_pos; 339 int beg_pos; member in struct:v8::internal::Scanner::Location 367 int source_length = (location.end_pos - location.beg_pos);
|
H A D | json-parser.h | 512 int beg_pos = position_; local 551 int length = position_ - beg_pos; 554 Vector<const uint8_t> chars(seq_source_->GetChars() + beg_pos, length); 561 String::WriteToFlat(*source_, buffer.start(), beg_pos, position_); 727 int beg_pos = position_; local 730 beg_pos, 787 int beg_pos = position_; local 797 beg_pos, 802 beg_pos, 806 int length = position_ - beg_pos; [all...] |
H A D | preparser.h | 286 int position() { return scanner_->location().beg_pos; } 287 int peek_position() { return scanner_->peek_location().beg_pos; } 379 // Checks whether an octal literal was last seen between beg_pos and end_pos. 381 void CheckOctalLiteral(int beg_pos, int end_pos, bool* ok) { argument 383 if (octal.IsValid() && beg_pos <= octal.beg_pos && 1432 int start_position = scanner()->peek_location().beg_pos; 2157 expression = this->ParseArrowFunctionLiteral(lhs_location.beg_pos, 2548 int beg_pos = position(); local 2555 ReportMessageAt(Scanner::Location(beg_pos, positio [all...] |
H A D | parser.cc | 904 int beg_pos = scanner()->location().beg_pos; local 909 CheckOctalLiteral(beg_pos, scanner()->location().end_pos, &ok); 1095 token_loc.end_pos - token_loc.beg_pos == 1119 token_loc.end_pos - token_loc.beg_pos == 1270 scope->set_start_position(scanner()->location().beg_pos); 1358 scanner()->location().beg_pos); 2036 block_scope->set_start_position(scanner()->location().beg_pos); 2578 generator, return_value, Yield::kFinal, loc.beg_pos); 2579 result = factory()->NewExpressionStatement(yield, loc.beg_pos); [all...] |
H A D | scopes.cc | 761 int beg_pos = scope->start_position(); local 763 DCHECK(beg_pos >= 0 && end_pos >= 0); 764 if (beg_pos <= position && position < end_pos) {
|
H A D | preparser.cc | 46 ReportMessageAt(location.beg_pos, 306 PreParserTraits::ReportMessageAt(start_location.beg_pos,
|
H A D | scanner.cc | 228 next_.location.beg_pos = pos; 416 next_.location.beg_pos = source_pos(); 663 if (pos == next_.location.beg_pos) return; 1104 next_.location.beg_pos = source_pos() - (seen_equal ? 2 : 1);
|
/external/v8/tools/ |
H A D | lexer-shell.cc | 95 Token::Value Next(int* beg_pos, int* end_pos) { argument 97 *beg_pos = scanner_->location().beg_pos;
|
Completed in 188 milliseconds