Searched refs:scope_stack_p (Results 1 – 6 of 6) sorted by relevance
1988 parser_scope_stack_t *scope_stack_p; in scanner_create_variables() local1999 JERRY_ASSERT (context_p->scope_stack_p == NULL); in scanner_create_variables()2004 scope_stack_p = NULL; in scanner_create_variables()2008 scope_stack_p = (parser_scope_stack_t *) parser_malloc (context_p, stack_size); in scanner_create_variables()2011 context_p->scope_stack_p = scope_stack_p; in scanner_create_variables()2012 scope_stack_end_p = scope_stack_p + context_p->scope_stack_size; in scanner_create_variables()2016 JERRY_ASSERT (context_p->scope_stack_p != NULL || context_p->scope_stack_size == 0); in scanner_create_variables()2018 scope_stack_p = context_p->scope_stack_p; in scanner_create_variables()2019 scope_stack_end_p = scope_stack_p + context_p->scope_stack_size; in scanner_create_variables()2020 scope_stack_p += context_p->scope_stack_top; in scanner_create_variables()[all …]
2068 context.scope_stack_p = NULL; in parser_parse_source()2261 if (context.scope_stack_p != NULL) in parser_parse_source()2263 parser_free (context.scope_stack_p, context.scope_stack_size * sizeof (parser_scope_stack_t)); in parser_parse_source()2320 saved_context_p->scope_stack_p = context_p->scope_stack_p; in parser_save_context()2348 context_p->scope_stack_p = NULL; in parser_save_context()2371 if (context_p->scope_stack_p != NULL) in parser_restore_context()2373 …parser_free (context_p->scope_stack_p, context_p->scope_stack_size * sizeof (parser_scope_stack_t)… in parser_restore_context()2393 context_p->scope_stack_p = saved_context_p->scope_stack_p; in parser_restore_context()2638 if (context_p->scope_stack_p != NULL) in parser_raise_error()2640 …parser_free (context_p->scope_stack_p, context_p->scope_stack_size * sizeof (parser_scope_stack_t)… in parser_raise_error()[all …]
748 parser_scope_stack_t *scope_stack_p = context_p->scope_stack_p + context_p->scope_stack_top - 2; in parser_parse_function_statement() local752 while (literal_index != scope_stack_p->map_from) in parser_parse_function_statement()754 scope_stack_p--; in parser_parse_function_statement()756 JERRY_ASSERT (scope_stack_p >= context_p->scope_stack_p); in parser_parse_function_statement()759 JERRY_ASSERT (scope_stack_p[1].map_from == PARSER_SCOPE_STACK_FUNC); in parser_parse_function_statement()763 && (scope_stack_p >= context_p->scope_stack_p + context_p->scope_stack_global_end)) in parser_parse_function_statement()767 parser_scope_stack_t *stack_p = context_p->scope_stack_p; in parser_parse_function_statement()769 while (stack_p < scope_stack_p) in parser_parse_function_statement()782 stack_p = context_p->scope_stack_p; in parser_parse_function_statement()784 while (stack_p < scope_stack_p) in parser_parse_function_statement()[all …]
97 parser_scope_stack_t *scope_stack_p = context_p->scope_stack_p; in parser_print_literal() local98 parser_scope_stack_t *scope_stack_end_p = scope_stack_p + context_p->scope_stack_top; in parser_print_literal()101 while (scope_stack_p < scope_stack_end_p) in parser_print_literal()
2382 parser_scope_stack_t *scope_stack_start_p = context_p->scope_stack_p; in lexer_construct_literal_object()2383 parser_scope_stack_t *scope_stack_p = scope_stack_start_p + context_p->scope_stack_top; in lexer_construct_literal_object() local2385 while (scope_stack_p > scope_stack_start_p) in lexer_construct_literal_object()2387 scope_stack_p--; in lexer_construct_literal_object()2389 if (scope_stack_p->map_from == literal_index) in lexer_construct_literal_object()2391 JERRY_ASSERT (scanner_decode_map_to (scope_stack_p) >= PARSER_REGISTER_START in lexer_construct_literal_object()2393 context_p->lit_object.index = scanner_decode_map_to (scope_stack_p); in lexer_construct_literal_object()
473 parser_scope_stack_t *scope_stack_p; /**< scope stack */ member544 parser_scope_stack_t *scope_stack_p; /**< scope stack */ member