Searched refs:beg_pos (Results 1 – 7 of 7) sorted by relevance
/external/v8/src/ |
D | preparser.cc | 77 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 …]
|
D | scanner-base.h | 283 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
|
D | parser.cc | 372 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 …]
|
D | scanner-base.cc | 224 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()
|
D | scanner.cc | 388 next_.location.beg_pos = source_pos(); in ScanJson()
|
D | parser.h | 647 void CheckOctalLiteral(int beg_pos, int end_pos, bool* ok);
|
/external/v8/test/cctest/ |
D | test-parsing.cc | 240 CHECK_EQ(10, error_location.beg_pos); in TEST()
|