Home
last modified time | relevance | path

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

/third_party/jerryscript/jerry-core/parser/js/
Djs-parser-module.c90 context_p->module_identifier_lit_p = context_p->lit_object.literal_p; in parser_module_append_export_name()
92 ecma_string_t *name_p = ecma_new_ecma_string_from_utf8 (context_p->lit_object.literal_p->u.char_p, in parser_module_append_export_name()
93 … context_p->lit_object.literal_p->prop.length); in parser_module_append_export_name()
380 uint16_t local_name_index = context_p->lit_object.index; in parser_module_parse_export_clause()
396 export_name_index = context_p->lit_object.index; in parser_module_parse_export_clause()
479 uint16_t import_name_index = context_p->lit_object.index; in parser_module_parse_import_clause()
503 local_name_index = context_p->lit_object.index; in parser_module_parse_import_clause()
581 ecma_string_t *name_p = ecma_new_ecma_string_from_utf8 (context_p->lit_object.literal_p->u.char_p, in parser_module_handle_module_specifier()
582 … context_p->lit_object.literal_p->prop.length); in parser_module_handle_module_specifier()
603 …ecma_string_t *path_p = ecma_module_create_normalized_path (context_p->lit_object.literal_p->u.cha… in parser_module_handle_module_specifier()
[all …]
Djs-parser-expr.c556 literal_index = context_p->lit_object.index; in parser_parse_class_literal()
689 uint16_t literal_index = context_p->lit_object.index; in parser_parse_class_literal()
747 class_ident_index = context_p->lit_object.index; in parser_parse_class()
750 class_name_index = context_p->lit_object.index; in parser_parse_class()
768 class_name_index = context_p->lit_object.index; in parser_parse_class()
955 uint16_t literal_index = context_p->lit_object.index; in parser_parse_object_literal()
1039 uint16_t literal_index = context_p->lit_object.index; in parser_parse_object_literal()
1063 …t lexer_lit_location_t *literal_p = (const lexer_lit_location_t *) context_p->lit_object.literal_p; in parser_parse_object_literal()
1079 uint16_t literal_index = context_p->lit_object.index; in parser_parse_object_literal()
1234 context_p->lit_object.literal_p->u.char_p, in parser_parse_function_expression()
[all …]
Djs-scanner-util.c1957 context_p->lit_object.literal_p->status_flags |= LEXER_FLAG_USED; in scanner_check_variables()
1969 parser_emit_cbc_literal (context_p, opcode, context_p->lit_object.index); in scanner_check_variables()
2105 if (context_p->lit_object.index < PARSER_REGISTER_START) in scanner_create_variables()
2139 uint16_t literal_index = context_p->lit_object.index; in scanner_create_variables()
2173 scope_stack_p->map_from = context_p->lit_object.index; in scanner_create_variables()
2184 context_p->lit_object.literal_p->status_flags |= LEXER_FLAG_GLOBAL; in scanner_create_variables()
2230 context_p->lit_object.literal_p->status_flags |= LEXER_FLAG_USED; in scanner_create_variables()
2231 map_to = context_p->lit_object.index; in scanner_create_variables()
2428 scope_stack_p->map_from = context_p->lit_object.index; in scanner_create_variables()
2432 scope_stack_p->map_to = context_p->lit_object.index; in scanner_create_variables()
Djs-lexer.c2375 context_p->lit_object.literal_p = literal_p; in lexer_construct_literal_object()
2376 context_p->lit_object.index = (uint16_t) literal_index; in lexer_construct_literal_object()
2393 context_p->lit_object.index = scanner_decode_map_to (scope_stack_p); in lexer_construct_literal_object()
2446 context_p->lit_object.literal_p = literal_p; in lexer_construct_literal_object()
2447 context_p->lit_object.index = (uint16_t) literal_index; in lexer_construct_literal_object()
2504 context_p->lit_object.index = (uint16_t) int_num; in lexer_construct_number_object()
2522 context_p->lit_object.literal_p = literal_p; in lexer_construct_number_object()
2523 context_p->lit_object.index = (uint16_t) literal_index; in lexer_construct_number_object()
2543 context_p->lit_object.literal_p = literal_p; in lexer_construct_number_object()
2544 context_p->lit_object.index = (uint16_t) literal_index; in lexer_construct_number_object()
[all …]
Djs-parser-statm.c566 uint16_t index = context_p->lit_object.index; in parser_parse_var_statement()
597 uint16_t index = context_p->lit_object.index; in parser_parse_var_statement()
735 lexer_literal_t *name_p = context_p->lit_object.literal_p; in parser_parse_function_statement()
750 uint16_t literal_index = context_p->lit_object.index; in parser_parse_function_statement()
1349 uint16_t literal_index = context_p->lit_object.index; in parser_parse_for_statement_start()
1976 uint16_t literal_index = context_p->lit_object.index; in parser_parse_try_statement_end()
1981 parser_emit_cbc_literal (context_p, CBC_ASSIGN_SET_IDENT, context_p->lit_object.index); in parser_parse_try_statement_end()
2342 …ecma_string_t *local_name_p = ecma_new_ecma_string_from_utf8 (context_p->lit_object.literal_p->u.c… in parser_parse_import_statement()
2343 … context_p->lit_object.literal_p->prop.length); in parser_parse_import_statement()
2391 …ecma_string_t *local_name_p = ecma_new_ecma_string_from_utf8 (context_p->lit_object.literal_p->u.c… in parser_parse_import_statement()
[all …]
Djs-parser-util.c363 context_p->last_cbc.literal_index = context_p->lit_object.index; in parser_emit_cbc_literal_from_token()
395 uint16_t value = context_p->lit_object.index; in parser_emit_cbc_push_number()
Djs-parser.c1849 … if (JERRY_UNLIKELY (context_p->lit_object.literal_p->status_flags & LEXER_FLAG_FUNCTION_ARGUMENT)) in parser_parse_function_arguments()
1864 context_p->lit_object.literal_p->status_flags |= LEXER_FLAG_FUNCTION_ARGUMENT; in parser_parse_function_arguments()
1870 uint16_t literal_index = context_p->lit_object.index; in parser_parse_function_arguments()
Djs-parser-internal.h518 lexer_lit_object_t lit_object; /**< current literal object */ member