Home
last modified time | relevance | path

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

/third_party/jerryscript/jerry-core/parser/js/
Djs-scanner-ops.c39 scanner_context_t *scanner_context_p) /**< scanner context */ in scanner_add_async_literal() argument
49scanner_context_p->active_literal_pool_p, in scanner_add_async_literal()
54 if (scanner_context_p->active_literal_pool_p->status_flags & SCANNER_LITERAL_POOL_IN_WITH) in scanner_add_async_literal()
65 scanner_context_t *scanner_context_p) /**< scanner context */ in scanner_check_arrow_body() argument
71 scanner_context_p->mode = SCAN_MODE_PRIMARY_EXPRESSION; in scanner_check_arrow_body()
78 scanner_check_directives (context_p, scanner_context_p); in scanner_check_arrow_body()
86 scanner_context_t *scanner_context_p) /**< scanner context */ in scanner_check_arrow() argument
97 scanner_add_async_literal (context_p, scanner_context_p); in scanner_check_arrow()
100 scanner_context_p->mode = SCAN_MODE_POST_PRIMARY_EXPRESSION; in scanner_check_arrow()
101 scanner_pop_literal_pool (context_p, scanner_context_p); in scanner_check_arrow()
[all …]
Djs-scanner.c76 scanner_context_t *scanner_context_p, /* scanner context */ in scanner_scan_primary_expression() argument
84 scanner_context_p->mode = SCAN_MODE_PRIMARY_EXPRESSION_AFTER_NEW; in scanner_scan_primary_expression()
89 scanner_context_p->mode = SCAN_MODE_POST_PRIMARY_EXPRESSION; in scanner_scan_primary_expression()
98 scanner_context_p->mode = SCAN_MODE_POST_PRIMARY_EXPRESSION; in scanner_scan_primary_expression()
106 if (scanner_context_p->async_source_p != NULL) in scanner_scan_primary_expression()
117 scanner_push_literal_pool (context_p, scanner_context_p, status_flags); in scanner_scan_primary_expression()
128 scanner_context_p->mode = SCAN_MODE_FUNCTION_ARGUMENTS; in scanner_scan_primary_expression()
133 scanner_scan_bracket (context_p, scanner_context_p); in scanner_scan_primary_expression()
139 … scanner_push_destructuring_pattern (context_p, scanner_context_p, SCANNER_BINDING_NONE, false); in scanner_scan_primary_expression()
143 scanner_context_p->mode = SCAN_MODE_PRIMARY_EXPRESSION; in scanner_scan_primary_expression()
[all …]
Djs-scanner-internal.h359 …ol_t *scanner_push_literal_pool (parser_context_t *context_p, scanner_context_t *scanner_context_p,
361 void scanner_pop_literal_pool (parser_context_t *context_p, scanner_context_t *scanner_context_p);
363 …scanner_construct_global_block (parser_context_t *context_p, scanner_context_t *scanner_context_p);
365 void scanner_filter_arguments (parser_context_t *context_p, scanner_context_t *scanner_context_p);
368 …ocation_t *scanner_add_literal (parser_context_t *context_p, scanner_context_t *scanner_context_p);
369 void scanner_add_reference (parser_context_t *context_p, scanner_context_t *scanner_context_p);
370 …ion_t *scanner_append_argument (parser_context_t *context_p, scanner_context_t *scanner_context_p);
372 void scanner_detect_invalid_var (parser_context_t *context_p, scanner_context_t *scanner_context_p,
376 void scanner_detect_eval_call (parser_context_t *context_p, scanner_context_t *scanner_context_p);
379 … scanner_push_class_declaration (parser_context_t *context_p, scanner_context_t *scanner_context_p,
[all …]
Djs-scanner-util.c394 scanner_context_t *scanner_context_p, /**< scanner context */ in scanner_push_literal_pool() argument
397 scanner_literal_pool_t *prev_literal_pool_p = scanner_context_p->active_literal_pool_p; in scanner_push_literal_pool()
451 scanner_context_p->active_literal_pool_p = literal_pool_p; in scanner_push_literal_pool()
473 scanner_context_t *scanner_context_p) /**< scanner context */ in scanner_pop_literal_pool() argument
475 scanner_literal_pool_t *literal_pool_p = scanner_context_p->active_literal_pool_p; in scanner_pop_literal_pool()
484 scanner_context_p->active_literal_pool_p = literal_pool_p->prev_p; in scanner_pop_literal_pool()
509 if (scanner_context_p->status_flags & SCANNER_CONTEXT_DEBUGGER_ENABLED) in scanner_pop_literal_pool()
687 if (prev_literal_pool_p != NULL || scanner_context_p->end_arguments_p == NULL) in scanner_pop_literal_pool()
693 scanner_info_t *start_info_p = scanner_context_p->end_arguments_p; in scanner_pop_literal_pool()
947 scanner_context_p->active_literal_pool_p = literal_pool_p->prev_p; in scanner_pop_literal_pool()
[all …]
Djs-parser-internal.h499 scanner_context_t *scanner_context_p; /**< scanner context for the pre-scanner */ member