Lines Matching refs:scanner
23 #include "src/parsing/scanner-character-streams.h"
430 uint32_t value = scanner()->smi_value();
434 bool has_dot = scanner()->ContainsDot();
435 double value = scanner()->DoubleValue();
688 int beg_pos = scanner()->location().beg_pos;
720 scope->set_end_position(scanner()->peek_location().beg_pos);
723 CheckStrictOctalLiteral(beg_pos, scanner()->location().end_pos, &ok);
857 DCHECK(!scanner()->HasAnyLineTerminatorAfterNext());
930 if (scanner()->location().end_pos == info->end_position()) {
950 raw_name, Scanner::Location::invalid(), kSkipFunctionNameCheck, kind,
1018 ZoneList<Scanner::Location>* export_locations,
1020 Scanner::Location* reserved_loc, bool* ok) {
1042 *reserved_loc = scanner()->location();
1046 Scanner::Location location = scanner()->location();
1051 location.end_pos = scanner()->location().end_pos;
1088 Scanner::Location location = scanner()->location();
1095 if (!Token::IsIdentifier(scanner()->current_token(), STRICT, false,
1152 Scanner::Location import_default_binding_loc;
1156 import_default_binding_loc = scanner()->location();
1163 Scanner::Location module_namespace_binding_loc;
1172 module_namespace_binding_loc = scanner()->location();
1184 ReportUnexpectedToken(scanner()->current_token());
1233 Scanner::Location default_loc = scanner()->location();
1249 !scanner()->HasAnyLineTerminatorAfterNext()) {
1303 Scanner::Location loc = scanner()->peek_location();
1310 loc = scanner()->location();
1330 Scanner::Location reserved_loc = Scanner::Location::invalid();
1332 ZoneList<Scanner::Location> export_locations(1, zone());
1389 ReportUnexpectedToken(scanner()->current_token());
1392 loc.end_pos = scanner()->location().end_pos;
1409 return scope()->NewUnresolved(factory(), name, scanner()->location().beg_pos);
1423 name, NORMAL_VARIABLE, scanner()->location().beg_pos);
1427 scanner()->location().end_pos);
1447 Scanner::Location loc(declaration->proxy()->position(),
1721 Scanner::Location location =
1723 ? Scanner::Location::invalid()
1724 : Scanner::Location(position, position + 1);
2358 int inner_var_proxy_pos = scanner()->location().beg_pos;
2464 const Scanner::Location& params_loc, Scanner::Location* duplicate_loc,
2505 const AstRawString* function_name, Scanner::Location function_name_location,
2652 scope->set_start_position(scanner()->location().beg_pos);
2660 Scanner::BookmarkScope bookmark(scanner());
2768 scanner()->current_token() == Token::ARROW);
2784 scanner()->SeekForward(entry.end_pos() - 1);
3159 ReportMessageAt(Scanner::Location(position, position + 1),
3164 ReportMessageAt(Scanner::Location(expected_parameters_end_pos - 2,
3172 int formals_end_position = scanner()->location().end_pos;
3254 int end_pos = scanner()->location().end_pos;
3304 Scanner::Location location =
3306 ? Scanner::Location::invalid()
3307 : Scanner::Location(position, position + 1);
3513 int pos = scanner()->location().beg_pos;
3514 int end = scanner()->location().end_pos - (tail ? 1 : 2);
3515 const AstRawString* trv = scanner()->CurrentRawSymbol(ast_value_factory());
3518 const AstRawString* tv = scanner()->CurrentSymbol(ast_value_factory());