• Home
  • Raw
  • Download

Lines Matching refs:scanner

43 PreParserIdentifier GetSymbolHelper(Scanner* scanner) {  in GetSymbolHelper()  argument
44 switch (scanner->current_token()) { in GetSymbolHelper()
60 if (scanner->UnescapedLiteralMatches("eval", 4)) in GetSymbolHelper()
62 if (scanner->UnescapedLiteralMatches("arguments", 9)) in GetSymbolHelper()
64 if (scanner->UnescapedLiteralMatches("undefined", 9)) in GetSymbolHelper()
66 if (scanner->LiteralMatches("prototype", 9)) in GetSymbolHelper()
68 if (scanner->LiteralMatches("constructor", 11)) in GetSymbolHelper()
70 if (scanner->LiteralMatches("name", 4)) in GetSymbolHelper()
79 PreParserIdentifier symbol = GetSymbolHelper(scanner()); in GetSymbol()
81 const AstRawString* result = scanner()->CurrentSymbol(ast_value_factory()); in GetSymbol()
128 int formals_end_position = scanner()->location().end_pos; in PreParseFunction()
143 inner_scope->set_start_position(scanner()->location().beg_pos); in PreParseFunction()
160 inner_scope->set_end_position(scanner()->peek_location().end_pos); in PreParseFunction()
185 DCHECK_EQ(Token::RBRACE, scanner()->peek()); in PreParseFunction()
199 int end_pos = scanner()->location().end_pos; in PreParseFunction()
244 int start_position = scanner()->location().beg_pos; in ParseFunctionLiteral()
249 int formals_end_position = scanner()->location().end_pos; in ParseFunctionLiteral()
278 int end_position = scanner()->location().end_pos; in ParseFunctionLiteral()
302 DCHECK_EQ(Token::RBRACE, scanner()->peek()); in ParseStatementListAndLogFunction()
303 int body_end = scanner()->peek_location().end_pos; in ParseStatementListAndLogFunction()