Home
last modified time | relevance | path

Searched refs:next_scanner_info_p (Results 1 – 7 of 7) sorted by relevance

/third_party/jerryscript/jerry-core/parser/js/
Djs-parser-statm.c379 JERRY_ASSERT (context_p->next_scanner_info_p->type == SCANNER_TYPE_BLOCK); in parser_push_block_context()
535 if (context_p->next_scanner_info_p->source_p == context_p->source_p) in parser_parse_var_statement()
537 JERRY_ASSERT (context_p->next_scanner_info_p->type == SCANNER_TYPE_ERR_REDECLARED); in parser_parse_var_statement()
646 if (context_p->next_scanner_info_p->source_p == context_p->source_p) in parser_parse_function_statement()
701 if (context_p->next_scanner_info_p->source_p == context_p->source_p in parser_parse_function_statement()
702 && context_p->next_scanner_info_p->type == SCANNER_TYPE_ERR_REDECLARED) in parser_parse_function_statement()
726 if (context_p->next_scanner_info_p->u8_arg & SCANNER_FUNCTION_ASYNC) in parser_parse_function_statement()
980 JERRY_ASSERT (context_p->next_scanner_info_p->source_p != context_p->source_p); in parser_parse_do_while_statement_end()
1032 JERRY_ASSERT (context_p->next_scanner_info_p->source_p != context_p->source_p in parser_parse_while_statement_start()
1033 || context_p->next_scanner_info_p->type == SCANNER_TYPE_WHILE); in parser_parse_while_statement_start()
[all …]
Djs-scanner-util.c197 scanner_info_t *scanner_info_p = context_p->next_scanner_info_p; in scanner_insert_info()
220 context_p->next_scanner_info_p = new_scanner_info_p; in scanner_insert_info()
273 scanner_info_t *next_p = context_p->next_scanner_info_p->next_p; in scanner_release_next()
275 jmem_heap_free_block (context_p->next_scanner_info_p, size); in scanner_release_next()
276 context_p->next_scanner_info_p = next_p; in scanner_release_next()
285 scanner_info_t *scanner_info_p = context_p->next_scanner_info_p; in scanner_set_active()
287 context_p->next_scanner_info_p = scanner_info_p->next_p; in scanner_set_active()
301 scanner_info_p->next_p = context_p->next_scanner_info_p; in scanner_revert_active()
302 context_p->next_scanner_info_p = scanner_info_p; in scanner_revert_active()
346 context_p->skipped_scanner_info_end_p->next_p = context_p->next_scanner_info_p; in scanner_seek()
[all …]
Djs-parser-expr.c728 if (context_p->next_scanner_info_p->source_p == context_p->source_p) in parser_parse_class()
730 JERRY_ASSERT (context_p->next_scanner_info_p->type == SCANNER_TYPE_CLASS_CONSTRUCTOR); in parser_parse_class()
742 if (context_p->next_scanner_info_p->source_p == context_p->source_p) in parser_parse_class()
744 JERRY_ASSERT (context_p->next_scanner_info_p->type == SCANNER_TYPE_ERR_REDECLARED); in parser_parse_class()
1555 if (context_p->next_scanner_info_p->source_p == context_p->source_p) in parser_parse_unary_expression()
1557 JERRY_ASSERT (context_p->next_scanner_info_p->type == SCANNER_TYPE_FUNCTION); in parser_parse_unary_expression()
1615 if (JERRY_UNLIKELY (context_p->next_scanner_info_p->source_p == context_p->source_p)) in parser_parse_unary_expression()
1617 JERRY_ASSERT (context_p->next_scanner_info_p->type == SCANNER_TYPE_FUNCTION); in parser_parse_unary_expression()
1621 if (context_p->next_scanner_info_p->u8_arg & SCANNER_FUNCTION_ASYNC) in parser_parse_unary_expression()
1624 JERRY_ASSERT (!(context_p->next_scanner_info_p->u8_arg & SCANNER_FUNCTION_STATEMENT)); in parser_parse_unary_expression()
[all …]
Djs-parser-module.c467 if (context_p->next_scanner_info_p->source_p == context_p->source_p) in parser_module_parse_import_clause()
469 JERRY_ASSERT (context_p->next_scanner_info_p->type == SCANNER_TYPE_ERR_REDECLARED); in parser_module_parse_import_clause()
494 if (context_p->next_scanner_info_p->source_p == context_p->source_p) in parser_module_parse_import_clause()
496 JERRY_ASSERT (context_p->next_scanner_info_p->type == SCANNER_TYPE_ERR_REDECLARED); in parser_module_parse_import_clause()
Djs-parser.c1719 JERRY_ASSERT (context_p->next_scanner_info_p->type == SCANNER_TYPE_FUNCTION); in parser_parse_function_arguments()
1751 …bool has_mapped_arguments = (context_p->next_scanner_info_p->u8_arg & SCANNER_FUNCTION_MAPPED_ARGU… in parser_parse_function_arguments()
1802 if (context_p->next_scanner_info_p->source_p == context_p->source_p) in parser_parse_function_arguments()
1804 JERRY_ASSERT (context_p->next_scanner_info_p->type == SCANNER_TYPE_INITIALIZER); in parser_parse_function_arguments()
1965 if ((context_p->next_scanner_info_p->u8_arg & SCANNER_FUNCTION_LEXICAL_ENV_NEEDED) in parser_parse_function_arguments()
2052 context.next_scanner_info_p = &scanner_info_end; in parser_parse_source()
2157 JERRY_ASSERT (context.next_scanner_info_p->type == SCANNER_TYPE_END_ARGUMENTS); in parser_parse_source()
2175 JERRY_ASSERT (context.next_scanner_info_p->source_p == source_p in parser_parse_source()
2176 && context.next_scanner_info_p->type == SCANNER_TYPE_FUNCTION); in parser_parse_source()
Djs-parser-internal.h525 scanner_info_t *next_scanner_info_p; /**< next scanner info block */ member
Djs-scanner.c2839 scanner_info_p->next_p = context_p->next_scanner_info_p; in scanner_scan_all()
2844 context_p->next_scanner_info_p = scanner_info_p; in scanner_scan_all()
3235 scanner_info_t *info_p = context_p->next_scanner_info_p; in scanner_scan_all()