Home
last modified time | relevance | path

Searched refs:is_async_function (Results 1 – 2 of 2) sorted by relevance

/external/v8/src/parsing/
Dparser-base.h765 if (current == Token::AWAIT && !is_async_function()) { in ExpectSemicolon()
914 bool is_async_function() const { in is_async_function() function
1436 if (is_async_function()) {
1708 (next == Token::AWAIT && !parsing_module_ && !is_async_function())) { in ParseAndClassifyIdentifier()
2601 parsing_module_ || is_async_function())) { in ParseObjectPropertyDefinition()
2626 DCHECK(!is_async_function()); in ParseObjectPropertyDefinition()
3293 } else if (is_async_function() && peek() == Token::AWAIT) { in ParseUnaryExpression()
5041 if (V8_UNLIKELY(is_async_function() && PeekAhead() == Token::AWAIT)) { in ParseStatement()
6053 DCHECK(is_async_function()); in ParseForAwaitStatement()
/external/python/cpython3/Python/
Dcompile.c4035 int is_async_function = c->u->u_ste->ste_coroutine; in compiler_comprehension() local
4048 if (is_async_generator && !is_async_function && type != COMP_GENEXP) { in compiler_comprehension()