Searched refs:PARSER_IS_GENERATOR_FUNCTION (Results 1 – 8 of 8) sorted by relevance
118 context_p->status_flags &= (uint32_t) ~(PARSER_IS_GENERATOR_FUNCTION | 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()
647 status_flags &= (uint32_t) ~(PARSER_IS_GENERATOR_FUNCTION in parser_parse_class_literal()664 status_flags |= PARSER_IS_GENERATOR_FUNCTION | PARSER_DISALLOW_AWAIT_YIELD; in parser_parse_class_literal()680 else if ((status_flags & PARSER_IS_GENERATOR_FUNCTION) in parser_parse_class_literal()1032 status_flags |= PARSER_IS_GENERATOR_FUNCTION | PARSER_DISALLOW_AWAIT_YIELD; in parser_parse_object_literal()1198 | PARSER_IS_GENERATOR_FUNCTION in parser_parse_function_expression()1210 context_p->status_flags |= PARSER_IS_GENERATOR_FUNCTION | PARSER_DISALLOW_AWAIT_YIELD; in parser_parse_function_expression()1211 status_flags |= PARSER_IS_GENERATOR_FUNCTION | PARSER_DISALLOW_AWAIT_YIELD; in parser_parse_function_expression()1871 JERRY_ASSERT ((context_p->status_flags & PARSER_IS_GENERATOR_FUNCTION) in parser_parse_unary_expression()
1331 if (context_p->status_flags & PARSER_IS_GENERATOR_FUNCTION) in parser_post_processing()1728 uint32_t mask = (PARSER_IS_GENERATOR_FUNCTION | PARSER_IS_ASYNC_FUNCTION); in parser_parse_function_arguments()1738 if (context_p->status_flags & PARSER_IS_GENERATOR_FUNCTION) in parser_parse_function_arguments()1957 if (context_p->status_flags & PARSER_IS_GENERATOR_FUNCTION) in parser_parse_function_arguments()2029 context.status_flags |= PARSER_IS_GENERATOR_FUNCTION; in parser_parse_source()
420 … context_p->status_flags &= (uint32_t) ~(PARSER_IS_GENERATOR_FUNCTION | PARSER_IS_ASYNC_FUNCTION); in scanner_push_literal_pool()424 context_p->status_flags |= PARSER_IS_GENERATOR_FUNCTION; in scanner_push_literal_pool()929 context_p->status_flags |= PARSER_IS_GENERATOR_FUNCTION; in scanner_pop_literal_pool()933 context_p->status_flags &= (uint32_t) ~PARSER_IS_GENERATOR_FUNCTION; in scanner_pop_literal_pool()
64 PARSER_IS_GENERATOR_FUNCTION = (1u << 14), /**< a generator function is parsed */ enumerator
865 …f (keyword_p->type == LEXER_KEYW_YIELD && (context_p->status_flags & PARSER_IS_GENERATOR_FUNCTION)) in lexer_parse_identifier()2014 if (status_flags & PARSER_IS_GENERATOR_FUNCTION) in lexer_update_await_yield()
2343 if (context_p->status_flags & PARSER_IS_GENERATOR_FUNCTION) in scanner_scan_all()2510 context_p->status_flags |= PARSER_IS_GENERATOR_FUNCTION; in scanner_scan_all()
723 status_flags |= PARSER_IS_GENERATOR_FUNCTION | PARSER_DISALLOW_AWAIT_YIELD; in parser_parse_function_statement()