Home
last modified time | relevance | path

Searched refs:PARSER_IS_FUNCTION (Results 1 – 6 of 6) sorted by relevance

/third_party/jerryscript/jerry-core/parser/js/
Djs-parser.c929 if ((context_p->status_flags & (PARSER_IS_FUNCTION | PARSER_LEXICAL_BLOCK_NEEDED)) in parser_post_processing()
930 == (PARSER_IS_FUNCTION | PARSER_LEXICAL_BLOCK_NEEDED)) in parser_post_processing()
1348 JERRY_ASSERT (!(context_p->status_flags & PARSER_IS_FUNCTION)); in parser_post_processing()
1722 JERRY_ASSERT (context_p->status_flags & PARSER_IS_FUNCTION); in parser_parse_function_arguments()
2025 context.status_flags |= PARSER_IS_FUNCTION; in parser_parse_source()
2419 JERRY_ASSERT (status_flags & PARSER_IS_FUNCTION); in parser_parse_function()
2521 JERRY_ASSERT (status_flags & PARSER_IS_FUNCTION); in parser_parse_arrow_function()
Djs-parser-internal.h46 PARSER_IS_FUNCTION = (1u << 1), /**< function body is parsed */ enumerator
141 #define PARSER_FUNCTION_CLOSURE (PARSER_IS_FUNCTION | PARSER_IS_CLOSURE)
Djs-parser-expr.c1619 uint32_t arrow_status_flags = (PARSER_IS_FUNCTION | PARSER_IS_ARROW_FUNCTION); in parser_parse_unary_expression()
1642 arrow_status_flags = (PARSER_IS_FUNCTION in parser_parse_unary_expression()
1866 parser_parse_function_expression (context_p, PARSER_IS_FUNCTION | PARSER_IS_ARROW_FUNCTION); in parser_parse_unary_expression()
2143 const uint32_t required_flags = PARSER_IS_FUNCTION | PARSER_LEXICAL_BLOCK_NEEDED; in parser_process_unary_expression()
2151 && !(context_p->status_flags & PARSER_IS_FUNCTION))) in parser_process_unary_expression()
Djs-parser-module.c558 || (context_p->status_flags & PARSER_IS_FUNCTION) in parser_module_check_request_place()
Djs-parser-statm.c2718 if (!(context_p->status_flags & PARSER_IS_FUNCTION) in parser_parse_statements()
2993 if (!(context_p->status_flags & PARSER_IS_FUNCTION)) in parser_parse_statements()
3072 if (context_p->status_flags & PARSER_IS_FUNCTION) in parser_parse_statements()
3133 if (context_p->status_flags & PARSER_IS_FUNCTION) in parser_parse_statements()
Djs-scanner-util.c2133 JERRY_ASSERT (context_p->status_flags & PARSER_IS_FUNCTION); in scanner_create_variables()