Home
last modified time | relevance | path

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

/third_party/jerryscript/jerry-core/parser/js/
Djs-scanner-ops.c552 && !(context_p->status_flags & PARSER_IS_STRICT)) in scanner_check_directives()
555 context_p->status_flags |= PARSER_IS_STRICT; in scanner_check_directives()
564 context_p->status_flags &= (uint32_t) ~PARSER_IS_STRICT; in scanner_check_directives()
Djs-parser-internal.h45 PARSER_IS_STRICT = (1u << 0), /**< strict mode code */ enumerator
196 (PARSER_ARGUMENTS_NEEDED | PARSER_FUNCTION_HAS_NON_SIMPLE_PARAM | PARSER_IS_STRICT)
210 (PARSER_ARGUMENTS_NEEDED | PARSER_IS_STRICT)
Djs-parser-statm.c637 if (context_p->status_flags & PARSER_IS_STRICT) in parser_parse_function_statement()
762 if (!(context_p->status_flags & PARSER_IS_STRICT) in parser_parse_function_statement()
902 if (context_p->status_flags & PARSER_IS_STRICT) in parser_parse_with_statement_start()
1355 if (context_p->status_flags & PARSER_IS_STRICT) in parser_parse_for_statement_start()
2653 if (!(context_p->status_flags & PARSER_IS_STRICT)) in parser_parse_statements()
2656 context_p->status_flags |= PARSER_IS_STRICT; in parser_parse_statements()
2669 context_p->status_flags &= (uint32_t) ~PARSER_IS_STRICT; in parser_parse_statements()
2732 if (context_p->status_flags & PARSER_IS_STRICT in parser_parse_statements()
Djs-parser-expr.c122 if (JERRY_UNLIKELY (context_p->status_flags & PARSER_IS_STRICT)) in parser_check_invalid_assign()
211 if (JERRY_UNLIKELY (context_p->status_flags & PARSER_IS_STRICT)) in parser_emit_unary_lvalue_opcode()
417 && !(context_p->status_flags & PARSER_IS_STRICT)) in parser_append_object_literal_item()
782 bool is_strict = (context_p->status_flags & PARSER_IS_STRICT) != 0; in parser_parse_class()
785 context_p->status_flags |= PARSER_IS_STRICT; in parser_parse_class()
834 context_p->status_flags &= (uint32_t) ~PARSER_IS_STRICT; in parser_parse_class()
2149 … else if (((context_p->status_flags & (required_flags | PARSER_IS_STRICT)) == required_flags) in parser_process_unary_expression()
Djs-lexer.c854 if (keyword_p->type == LEXER_KEYW_LET && (context_p->status_flags & PARSER_IS_STRICT)) in lexer_parse_identifier()
882 && (context_p->status_flags & PARSER_IS_STRICT)) in lexer_parse_identifier()
1026 if (context_p->status_flags & PARSER_IS_STRICT) in lexer_parse_string()
1059 if (context_p->status_flags & PARSER_IS_STRICT) in lexer_parse_string()
1322 if (context_p->status_flags & PARSER_IS_STRICT) in lexer_parse_number()
2012 if (!(status_flags & PARSER_IS_STRICT)) in lexer_update_await_yield()
2916 && (context_p->status_flags & PARSER_IS_STRICT)) in lexer_expect_identifier()
Djs-parser.c26 JERRY_STATIC_ASSERT ((int) ECMA_PARSE_STRICT_MODE == (int) PARSER_IS_STRICT,
1290 if (context_p->status_flags & PARSER_IS_STRICT) in parser_post_processing()
2137 context.status_flags |= PARSER_IS_STRICT; in parser_parse_source()
2335 context_p->status_flags &= PARSER_IS_STRICT; in parser_save_context()
2571 if (context_p->status_flags & PARSER_IS_STRICT in parser_parse_arrow_function()
Djs-scanner-util.c440 …!(status_flags & SCANNER_LITERAL_POOL_IS_STRICT) == !(context_p->status_flags & PARSER_IS_STRICT)); in scanner_push_literal_pool()
919 context_p->status_flags |= PARSER_IS_STRICT; in scanner_pop_literal_pool()
923 context_p->status_flags &= (uint32_t) ~PARSER_IS_STRICT; in scanner_pop_literal_pool()
Djs-scanner.c2317 if (context_p->status_flags & PARSER_IS_STRICT) in scanner_scan_all()
2337 if (context_p->status_flags & PARSER_IS_STRICT) in scanner_scan_all()