Searched refs:PARSER_IS_ASYNC_FUNCTION (Results 1 – 7 of 7) sorted by relevance
118 context_p->status_flags &= (uint32_t) ~(PARSER_IS_GENERATOR_FUNCTION | PARSER_IS_ASYNC_FUNCTION); in scanner_check_arrow()123 context_p->status_flags |= PARSER_IS_ASYNC_FUNCTION; in scanner_check_arrow()142 context_p->status_flags &= (uint32_t) ~(PARSER_IS_GENERATOR_FUNCTION | PARSER_IS_ASYNC_FUNCTION); in scanner_scan_simple_arrow()149 context_p->status_flags |= PARSER_IS_ASYNC_FUNCTION; in scanner_scan_simple_arrow()
648 | PARSER_IS_ASYNC_FUNCTION in parser_parse_class_literal()653 status_flags |= PARSER_IS_ASYNC_FUNCTION | PARSER_DISALLOW_AWAIT_YIELD; in parser_parse_class_literal()1026 status_flags |= PARSER_IS_ASYNC_FUNCTION | PARSER_DISALLOW_AWAIT_YIELD; in parser_parse_object_literal()1197 context_p->status_flags &= (uint32_t) ~(PARSER_IS_ASYNC_FUNCTION in parser_parse_function_expression()1201 if (status_flags & PARSER_IS_ASYNC_FUNCTION) in parser_parse_function_expression()1204 context_p->status_flags |= PARSER_IS_ASYNC_FUNCTION | PARSER_DISALLOW_AWAIT_YIELD; in parser_parse_function_expression()1628 context_p->status_flags |= PARSER_IS_ASYNC_FUNCTION | PARSER_DISALLOW_AWAIT_YIELD; in parser_parse_unary_expression()1636 | PARSER_IS_ASYNC_FUNCTION in parser_parse_unary_expression()1644 | PARSER_IS_ASYNC_FUNCTION in parser_parse_unary_expression()
1172 if (context_p->status_flags & PARSER_IS_ASYNC_FUNCTION) in parser_post_processing()1543 if (context_p->status_flags & PARSER_IS_ASYNC_FUNCTION) in parser_post_processing()1728 uint32_t mask = (PARSER_IS_GENERATOR_FUNCTION | PARSER_IS_ASYNC_FUNCTION); in parser_parse_function_arguments()1731 context_p->status_flags &= (uint32_t) ~PARSER_IS_ASYNC_FUNCTION; in parser_parse_function_arguments()2579 if (context_p->status_flags & PARSER_IS_ASYNC_FUNCTION) in parser_parse_arrow_function()
420 … context_p->status_flags &= (uint32_t) ~(PARSER_IS_GENERATOR_FUNCTION | PARSER_IS_ASYNC_FUNCTION); in scanner_push_literal_pool()429 context_p->status_flags |= PARSER_IS_ASYNC_FUNCTION; in scanner_push_literal_pool()938 context_p->status_flags |= PARSER_IS_ASYNC_FUNCTION; in scanner_pop_literal_pool()942 context_p->status_flags &= (uint32_t) ~PARSER_IS_ASYNC_FUNCTION; in scanner_pop_literal_pool()
65 PARSER_IS_ASYNC_FUNCTION = (1u << 15), /**< an async function is parsed */ enumerator
728 status_flags |= PARSER_IS_ASYNC_FUNCTION | PARSER_DISALLOW_AWAIT_YIELD; in parser_parse_function_statement()3006 if (context_p->status_flags & PARSER_IS_ASYNC_FUNCTION) in parser_parse_statements()3020 if (context_p->status_flags & PARSER_IS_ASYNC_FUNCTION) in parser_parse_statements()
823 if (!(context_p->status_flags & PARSER_IS_ASYNC_FUNCTION) in lexer_parse_identifier()2034 if (status_flags & PARSER_IS_ASYNC_FUNCTION) in lexer_update_await_yield()