Home
last modified time | relevance | path

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

/external/v8/src/
Dpreparser.cc77 return ReportMessageAt(source_location.beg_pos, source_location.end_pos, in ReportUnexpectedToken()
80 return ReportMessageAt(source_location.beg_pos, source_location.end_pos, in ReportUnexpectedToken()
83 return ReportMessageAt(source_location.beg_pos, source_location.end_pos, in ReportUnexpectedToken()
87 return ReportMessageAt(source_location.beg_pos, source_location.end_pos, in ReportUnexpectedToken()
91 ReportMessageAt(source_location.beg_pos, source_location.end_pos, in ReportUnexpectedToken()
515 ReportMessageAt(pos.beg_pos, pos.end_pos, in ParseThrowStatement()
1013 ReportMessageAt(location.beg_pos, location.end_pos, in ParseRegExpLiteral()
1024 ReportMessageAt(location.beg_pos, location.end_pos, in ParseRegExpLiteral()
1075 int function_block_pos = scanner_->location().beg_pos; in ParseFunctionLiteral()
1136 int identifier_pos = scanner_->location().beg_pos; in LogSymbol()
[all …]
Dscanner-base.h283 Location(int b, int e) : beg_pos(b), end_pos(e) { } in Location()
284 Location() : beg_pos(0), end_pos(0) { } in Location()
287 return beg_pos >= 0 && end_pos >= beg_pos; in IsValid()
290 int beg_pos; member
Dparser.cc372 int beg_pos = Read(PreparseDataConstants::kMessageStartPos); in MessageLocation() local
374 return Scanner::Location(beg_pos, end_pos); in MessageLocation()
646 int beg_loc = scanner().location().beg_pos; in DoParseProgram()
778 source_location.beg_pos, in ReportMessageAt()
796 source_location.beg_pos, in ReportMessageAt()
1124 token_loc.end_pos - token_loc.beg_pos == in ParseSourceElements()
1190 int statement_pos = scanner().peek_location().beg_pos; in ParseStatement()
1455 int function_token_position = scanner().location().beg_pos; in ParseFunctionDeclaration()
1621 position = scanner().location().beg_pos; in ParseVariableDeclarations()
1987 int pos = scanner().location().beg_pos; in ParseCaseClause()
[all …]
Dscanner-base.cc224 next_.location.beg_pos = source_pos(); in Scan()
462 if (pos == next_.location.beg_pos) return; in SeekForward()
589 octal_pos_ = next_.location.beg_pos; in ScanNumber()
709 next_.location.beg_pos = source_pos() - (seen_equal ? 2 : 1); in ScanRegExpPattern()
Dscanner.cc388 next_.location.beg_pos = source_pos(); in ScanJson()
Dparser.h647 void CheckOctalLiteral(int beg_pos, int end_pos, bool* ok);
/external/v8/test/cctest/
Dtest-parsing.cc240 CHECK_EQ(10, error_location.beg_pos); in TEST()