Home
last modified time | relevance | path

Searched refs:PARSER_IS_GENERATOR_FUNCTION (Results 1 – 8 of 8) sorted by relevance

/third_party/jerryscript/jerry-core/parser/js/
Djs-scanner-ops.c118 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()
Djs-parser-expr.c647 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()
Djs-parser.c1331 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()
Djs-scanner-util.c420 … 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()
Djs-parser-internal.h64 PARSER_IS_GENERATOR_FUNCTION = (1u << 14), /**< a generator function is parsed */ enumerator
Djs-lexer.c865 …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()
Djs-scanner.c2343 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()
Djs-parser-statm.c723 status_flags |= PARSER_IS_GENERATOR_FUNCTION | PARSER_DISALLOW_AWAIT_YIELD; in parser_parse_function_statement()