/external/v8/preparser/ |
D | preparser-process.cc | 151 int beg_pos() { in beg_pos() function in PreparseDataInterpreter 225 : throws(false), type(NULL), beg_pos(-1), end_pos(-1) { } in ExceptionExpectation() 228 int beg_pos; member 248 expects->type, actual_message, reader.beg_pos(), reader.end_pos()); in CheckException() 251 if (expects->beg_pos >= 0) { in CheckException() 252 if (expects->beg_pos != reader.beg_pos()) { in CheckException() 254 expects->beg_pos, reader.beg_pos()); in CheckException() 266 message, reader.beg_pos(), reader.end_pos()); in CheckException() 285 expects.beg_pos = atoi(argv[arg_index]); // NOLINT in ParseExpectation()
|
/external/v8/src/ |
D | json-parser.h | 354 int beg_pos = position_; in ParseJsonNumber() local 393 int length = position_ - beg_pos; in ParseJsonNumber() 396 Vector<const char> chars(seq_source_->GetChars() + beg_pos, length); in ParseJsonNumber() 403 String::WriteToFlat(*source_, buffer.start(), beg_pos, position_); in ParseJsonNumber() 562 int beg_pos = position_; in ScanJsonString() local 572 beg_pos, in ScanJsonString() 577 beg_pos, in ScanJsonString() 581 int length = position_ - beg_pos; in ScanJsonString() 585 beg_pos, in ScanJsonString() 590 String::WriteToFlat(*source_, dest, beg_pos, position_); in ScanJsonString()
|
D | scanner.h | 302 Location(int b, int e) : beg_pos(b), end_pos(e) { } in Location() 303 Location() : beg_pos(0), end_pos(0) { } in Location() 306 return beg_pos >= 0 && end_pos >= beg_pos; in IsValid() 311 int beg_pos; member 356 int source_length = (location.end_pos - location.beg_pos); in literal_contains_escapes()
|
D | preparser.cc | 64 int start_position = scanner_->peek_location().beg_pos; in PreParseLazyFunction() 130 void PreParser::CheckOctalLiteral(int beg_pos, int end_pos, bool* ok) { in CheckOctalLiteral() argument 132 if (beg_pos <= octal.beg_pos && octal.end_pos <= end_pos) { in CheckOctalLiteral() 276 ReportMessageAt(start_location.beg_pos, end_location.end_pos, in ParseStatement() 405 ReportMessageAt(location.beg_pos, location.end_pos, in ParseVariableDeclarations() 422 ReportMessageAt(location.beg_pos, location.end_pos, in ParseVariableDeclarations() 431 ReportMessageAt(location.beg_pos, location.end_pos, in ParseVariableDeclarations() 826 ReportMessageAt(before.beg_pos, after.end_pos, in ParseAssignmentExpression() 915 ReportMessageAt(before.beg_pos, after.end_pos, in ParseUnaryExpression() 938 ReportMessageAt(before.beg_pos, after.end_pos, in ParsePostfixExpression() [all …]
|
D | parser.cc | 372 int beg_pos = Read(PreparseDataConstants::kMessageStartPos); in MessageLocation() local 374 return Scanner::Location(beg_pos, end_pos); in MessageLocation() 622 int beg_loc = scanner().location().beg_pos; in DoParseProgram() 774 source_location.beg_pos, in ReportMessageAt() 792 source_location.beg_pos, in ReportMessageAt() 1144 token_loc.end_pos - token_loc.beg_pos == in ParseSourceElements() 1315 scope->set_start_position(scanner().location().beg_pos); in ParseModuleLiteral() 1388 factory(), name, scanner().location().beg_pos, Interface::NewModule()); in ParseModuleVariable() 1597 int statement_pos = scanner().peek_location().beg_pos; in ParseStatement() 1708 factory(), name, scanner().location().beg_pos, interface); in NewUnresolved() [all …]
|
D | preparser.h | 491 int start_position = scanner_->peek_location().beg_pos; in PreParse() 507 log_->LogMessage(location.beg_pos, location.end_pos, type, name_opt); in ReportMessageAt() 516 void CheckOctalLiteral(int beg_pos, int end_pos, bool* ok); 639 void CheckDelayedStrictModeViolation(int beg_pos, int end_pos, bool* ok);
|
D | scanner.cc | 233 next_.location.beg_pos = pos; in Next() 358 next_.location.beg_pos = source_pos(); in Scan() 596 if (pos == next_.location.beg_pos) return; in SeekForward() 999 next_.location.beg_pos = source_pos() - (seen_equal ? 2 : 1); in ScanRegExpPattern()
|
D | scopes.cc | 706 int beg_pos = scope->start_position(); in GetNestedScopeChain() local 708 ASSERT(beg_pos >= 0 && end_pos >= 0); in GetNestedScopeChain() 709 if (beg_pos <= position && position < end_pos) { in GetNestedScopeChain()
|
D | parser.h | 754 void CheckOctalLiteral(int beg_pos, int end_pos, bool* ok);
|
/external/v8/test/preparser/ |
D | preparser.expectation | 5 # testname[:message[:beg_pos,end_pos]]
|
/external/v8/test/cctest/ |
D | test-parsing.cc | 230 CHECK_EQ(10, error_location.beg_pos); in TEST()
|