Home
last modified time | relevance | path

Searched refs:peek_location (Results 1 – 5 of 5) sorted by relevance

/external/v8/src/parsing/
Dparser-base.h350 int peek_position() { return scanner_->peek_location().beg_pos; } in peek_position()
664 classifier->RecordExpressionError(scanner()->peek_location(), message, arg); in ExpressionUnexpectedToken()
671 classifier->RecordBindingPatternError(scanner()->peek_location(), message, in BindingPatternUnexpectedToken()
679 classifier->RecordArrowFormalParametersError(scanner()->peek_location(), in ArrowFormalParametersUnexpectedToken()
689 scanner()->peek_location(), message, arg); in FormalParameterInitializerUnexpectedToken()
1273 scanner()->peek_location(), MessageTemplate::kUnexpectedTokenNumber); in ParsePrimaryExpression()
1290 scanner()->peek_location(), MessageTemplate::kUnexpectedTokenString); in ParsePrimaryExpression()
1297 scanner()->peek_location(), MessageTemplate::kUnexpectedTokenRegExp); in ParsePrimaryExpression()
1302 scanner()->peek_location(), MessageTemplate::kUnexpectedTokenRegExp); in ParsePrimaryExpression()
1349 ReportMessageAt(scanner()->peek_location(), in ParsePrimaryExpression()
[all …]
Dpreparser.cc229 Scanner::Location token_loc = scanner()->peek_location(); in ParseStatementList()
360 PreParserTraits::ReportMessageAt(scanner()->peek_location(), in ParseSubStatement()
402 Scanner::Location start_location = scanner()->peek_location(); in ParseSubStatement()
533 Scanner::Location location = scanner()->peek_location(); in ParseVariableDeclarations()
1183 int body_end = scanner()->peek_location().end_pos; in ParseLazyFunctionLiteralBody()
Dscanner.h362 Location peek_location() const { return next_.location; } in peek_location() function
Dparser.cc826 DCHECK_EQ(scanner_.peek_location().beg_pos, source->length()); in ParseProgram()
909 scope->set_end_position(scanner()->peek_location().beg_pos); in DoParseProgram()
1143 Scanner::Location token_loc = scanner()->peek_location(); in ParseStatementList()
1275 scanner()->peek_location().beg_pos); in ParseStatementListItem()
1765 ReportMessageAt(scanner()->peek_location(), in ParseSubStatement()
1823 ReportMessageAt(scanner()->peek_location(), in ParseSubStatement()
2321 Scanner::Location location = scanner()->peek_location(); in ParseVariableDeclarations()
2817 with_scope->set_start_position(scanner()->peek_location().beg_pos); in ParseWithStatement()
Dpreparser.h988 int start_position = scanner()->peek_location().beg_pos;