Home
last modified time | relevance | path

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

/third_party/jerryscript/jerry-core/parser/js/
Djs-parser-module.c58 ecma_module_node_t *module_node_p = JERRY_CONTEXT (module_top_context_p)->imports_p; in parser_module_check_duplicate_import()
127 ecma_module_node_t *export_node_p = JERRY_CONTEXT (module_top_context_p)->local_exports_p; in parser_module_check_duplicate_export()
144 export_node_p = JERRY_CONTEXT (module_top_context_p)->indirect_exports_p; in parser_module_check_duplicate_export()
183 export_list_p = &(JERRY_CONTEXT (module_top_context_p)->star_exports_p); in parser_module_add_export_node_to_context()
187 export_list_p = &(JERRY_CONTEXT (module_top_context_p)->indirect_exports_p); in parser_module_add_export_node_to_context()
193 export_list_p = &(JERRY_CONTEXT (module_top_context_p)->local_exports_p); in parser_module_add_export_node_to_context()
235 ecma_module_node_t *stored_imports = JERRY_CONTEXT (module_top_context_p)->imports_p; in parser_module_add_import_node_to_context()
263 module_node_p->next_p = JERRY_CONTEXT (module_top_context_p)->imports_p; in parser_module_add_import_node_to_context()
264 JERRY_CONTEXT (module_top_context_p)->imports_p = module_node_p; in parser_module_add_import_node_to_context()
298 if (JERRY_CONTEXT (module_top_context_p) == NULL) in parser_module_context_init()
[all …]
Djs-parser.c2718 if (JERRY_CONTEXT (module_top_context_p) != NULL) in parser_parse_script()
2772 if (JERRY_CONTEXT (module_top_context_p) != NULL) in parser_parse_script()
/third_party/jerryscript/jerry-core/ecma/base/
Decma-module.c61 JERRY_ASSERT (JERRY_CONTEXT (module_top_context_p) != NULL); in ecma_module_create_normalized_path()
62 if (JERRY_CONTEXT (module_top_context_p)->module_p != NULL) in ecma_module_create_normalized_path()
64 JERRY_ASSERT (JERRY_CONTEXT (module_top_context_p)->module_p->path_p != NULL); in ecma_module_create_normalized_path()
65 … module_path_size = ecma_string_get_size (JERRY_CONTEXT (module_top_context_p)->module_p->path_p); in ecma_module_create_normalized_path()
69 …module_utf8_size = ecma_string_copy_to_utf8_buffer (JERRY_CONTEXT (module_top_context_p)->module_p… in ecma_module_create_normalized_path()
636 module_p->context_p->parent_p = JERRY_CONTEXT (module_top_context_p); in ecma_module_evaluate()
637 JERRY_CONTEXT (module_top_context_p) = module_p->context_p; in ecma_module_evaluate()
649 JERRY_CONTEXT (module_top_context_p) = module_p->context_p->parent_p; in ecma_module_evaluate()
666 ecma_module_context_t *current_context_p = JERRY_CONTEXT (module_top_context_p); in ecma_module_connect_imports()
867 module_p->context_p->parent_p = JERRY_CONTEXT (module_top_context_p); in ecma_module_parse()
[all …]
/third_party/jerryscript/jerry-core/jcontext/
Djcontext.h155 ecma_module_context_t *module_top_context_p; /**< top (current) module parser context */ member
/third_party/jerryscript/jerry-core/vm/
Dvm.c321 if (JERRY_CONTEXT (module_top_context_p) != NULL) in vm_run_global()
323 JERRY_ASSERT (JERRY_CONTEXT (module_top_context_p)->parent_p == NULL); in vm_run_global()
324 ecma_module_t *module_p = JERRY_CONTEXT (module_top_context_p)->module_p; in vm_run_global()
332 JERRY_CONTEXT (module_top_context_p) = NULL; in vm_run_global()