Lines Matching refs:scanner

41 PreParserIdentifier GetSymbolHelper(Scanner* scanner) {  in GetSymbolHelper()  argument
46 switch (scanner->current_token()) { in GetSymbolHelper()
56 switch (scanner->current_contextual_token()) { in GetSymbolHelper()
64 if (scanner->literal_contains_escapes()) { in GetSymbolHelper()
67 switch (scanner->current_contextual_token()) { in GetSymbolHelper()
81 PreParserIdentifier symbol = GetSymbolHelper(scanner()); in GetSymbol()
83 const AstRawString* result = scanner()->CurrentSymbol(ast_value_factory()); in GetSymbol()
105 int start_position = scanner()->peek_location().beg_pos; in PreParseProgram()
111 ReportUnexpectedToken(scanner()->current_token()); in PreParseProgram()
113 CheckStrictOctalLiteral(start_position, scanner()->location().end_pos, &ok); in PreParseProgram()
171 int formals_end_position = scanner()->location().end_pos; in PreParseFunction()
184 inner_scope->set_start_position(scanner()->location().beg_pos); in PreParseFunction()
200 inner_scope->set_end_position(scanner()->peek_location().end_pos); in PreParseFunction()
228 DCHECK_EQ(Token::RBRACE, scanner()->peek()); in PreParseFunction()
244 int end_pos = scanner()->location().end_pos; in PreParseFunction()
310 int start_position = scanner()->location().beg_pos; in ParseFunctionLiteral()
315 int formals_end_position = scanner()->location().end_pos; in ParseFunctionLiteral()
344 int end_position = scanner()->location().end_pos; in ParseFunctionLiteral()
383 DCHECK_EQ(Token::RBRACE, scanner()->peek()); in ParseStatementListAndLogFunction()
384 int body_end = scanner()->peek_location().end_pos; in ParseStatementListAndLogFunction()