Home
last modified time | relevance | path

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

/external/v8/preparser/
Dpreparser-process.cc151 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/
Djson-parser.h354 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()
Dscanner.h302 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()
Dpreparser.cc64 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 …]
Dparser.cc372 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 …]
Dpreparser.h491 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);
Dscanner.cc233 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()
Dscopes.cc706 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()
Dparser.h754 void CheckOctalLiteral(int beg_pos, int end_pos, bool* ok);
/external/v8/test/preparser/
Dpreparser.expectation5 # testname[:message[:beg_pos,end_pos]]
/external/v8/test/cctest/
Dtest-parsing.cc230 CHECK_EQ(10, error_location.beg_pos); in TEST()