Searched refs:peek_location (Results 1 – 4 of 4) sorted by relevance
302 Scanner::Location start_location = scanner()->peek_location(); in ParseStatement()447 ReportMessageAt(scanner()->peek_location(), "unprotected_const"); in ParseVariableDeclarations()453 Scanner::Location location = scanner()->peek_location(); in ParseVariableDeclarations()462 ReportMessageAt(scanner()->peek_location(), "unprotected_let"); in ParseVariableDeclarations()934 int body_end = scanner()->peek_location().end_pos; in ParseLazyFunctionLiteralBody()
287 int peek_position() { return scanner_->peek_location().beg_pos; } in peek_position()1432 int start_position = scanner()->peek_location().beg_pos; in PreParseProgram()2144 Scanner::Location lhs_location = scanner()->peek_location(); in ParseAssignmentExpression()2353 Scanner::Location lhs_location = scanner()->peek_location(); in ParseUnaryExpression()2376 Scanner::Location lhs_location = scanner()->peek_location(); in ParsePostfixExpression()
363 Location peek_location() const { return next_.location; } in peek_location() function
1070 Scanner::Location token_loc = scanner()->peek_location(); in ParseSourceElements()1676 ReportMessageAt(scanner()->peek_location(), "strict_function"); in ParseStatement()2616 with_scope->set_start_position(scanner()->peek_location().beg_pos); in ParseWithStatement()3216 Scanner::Location lhs_location = scanner()->peek_location(); in ParseForStatement()