Home
last modified time | relevance | path

Searched refs:PARSER_DISALLOW_AWAIT_YIELD (Results 1 – 5 of 5) sorted by relevance

/third_party/jerryscript/jerry-core/parser/js/
Djs-parser-expr.c649 | PARSER_DISALLOW_AWAIT_YIELD); in parser_parse_class_literal()
653 status_flags |= PARSER_IS_ASYNC_FUNCTION | PARSER_DISALLOW_AWAIT_YIELD; in parser_parse_class_literal()
664 status_flags |= PARSER_IS_GENERATOR_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()
1032 status_flags |= PARSER_IS_GENERATOR_FUNCTION | PARSER_DISALLOW_AWAIT_YIELD; in parser_parse_object_literal()
1199 | PARSER_DISALLOW_AWAIT_YIELD); in parser_parse_function_expression()
1204 context_p->status_flags |= PARSER_IS_ASYNC_FUNCTION | PARSER_DISALLOW_AWAIT_YIELD; 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()
1628 context_p->status_flags |= PARSER_IS_ASYNC_FUNCTION | PARSER_DISALLOW_AWAIT_YIELD; in parser_parse_unary_expression()
[all …]
Djs-parser-internal.h66 PARSER_DISALLOW_AWAIT_YIELD = (1u << 16), /**< throw SyntaxError for await / yield keywords */ enumerator
Djs-parser.c1744 context_p->status_flags &= (uint32_t) ~PARSER_DISALLOW_AWAIT_YIELD; in parser_parse_function_arguments()
1984 …context_p->status_flags &= (uint32_t) ~(PARSER_DISALLOW_AWAIT_YIELD | PARSER_FUNCTION_IS_PARSING_A… in parser_parse_function_arguments()
Djs-lexer.c829 if (context_p->status_flags & PARSER_DISALLOW_AWAIT_YIELD) in lexer_parse_identifier()
867 if (context_p->status_flags & PARSER_DISALLOW_AWAIT_YIELD) in lexer_parse_identifier()
Djs-parser-statm.c723 status_flags |= PARSER_IS_GENERATOR_FUNCTION | PARSER_DISALLOW_AWAIT_YIELD; in parser_parse_function_statement()
728 status_flags |= PARSER_IS_ASYNC_FUNCTION | PARSER_DISALLOW_AWAIT_YIELD; in parser_parse_function_statement()