Home
last modified time | relevance | path

Searched refs:parser_context_t (Results 1 – 14 of 14) sorted by relevance

/third_party/jerryscript/jerry-core/parser/js/
Djs-parser-internal.h574 } parser_context_t; typedef
590 void *parser_malloc (parser_context_t *context_p, size_t size);
592 void *parser_malloc_local (parser_context_t *context_p, size_t size);
594 void parser_free_allocated_buffer (parser_context_t *context_p);
600 void parser_cbc_stream_alloc_page (parser_context_t *context_p, parser_mem_data_t *data_p);
607 void *parser_list_append (parser_context_t *context_p, parser_list_t *list_p);
615 void parser_stack_init (parser_context_t *context_p);
616 void parser_stack_free (parser_context_t *context_p);
617 void parser_stack_push_uint8 (parser_context_t *context_p, uint8_t uint8_value);
618 void parser_stack_pop_uint8 (parser_context_t *context_p);
[all …]
Djs-scanner-internal.h347 void scanner_raise_error (parser_context_t *context_p);
349 void scanner_raise_redeclaration_error (parser_context_t *context_p);
352 void *scanner_malloc (parser_context_t *context_p, size_t size);
356 scanner_info_t *scanner_insert_info (parser_context_t *context_p, const uint8_t *source_p, size_t s…
357 scanner_info_t *scanner_insert_info_before (parser_context_t *context_p, const uint8_t *source_p,
359 scanner_literal_pool_t *scanner_push_literal_pool (parser_context_t *context_p, scanner_context_t *…
361 void scanner_pop_literal_pool (parser_context_t *context_p, scanner_context_t *scanner_context_p);
363 void scanner_construct_global_block (parser_context_t *context_p, scanner_context_t *scanner_contex…
365 void scanner_filter_arguments (parser_context_t *context_p, scanner_context_t *scanner_context_p);
366 lexer_lit_location_t *scanner_add_custom_literal (parser_context_t *context_p, scanner_literal_pool…
[all …]
Djs-parser-util.c42 parser_emit_two_bytes (parser_context_t *context_p, /**< context */ in parser_emit_two_bytes()
94 parser_print_literal (parser_context_t *context_p, /**< context */ in parser_print_literal()
146 parser_flush_cbc (parser_context_t *context_p) /**< context */ in parser_flush_cbc()
291 parser_emit_cbc (parser_context_t *context_p, /**< context */ in parser_emit_cbc()
308 parser_emit_cbc_literal (parser_context_t *context_p, /**< context */ in parser_emit_cbc_literal()
329 parser_emit_cbc_literal_value (parser_context_t *context_p, /**< context */ in parser_emit_cbc_literal_value()
352 parser_emit_cbc_literal_from_token (parser_context_t *context_p, /**< context */ in parser_emit_cbc_literal_from_token()
372 parser_emit_cbc_call (parser_context_t *context_p, /**< context */ in parser_emit_cbc_call()
392 parser_emit_cbc_push_number (parser_context_t *context_p, /**< context */ in parser_emit_cbc_push_number()
464 parser_emit_line_info (parser_context_t *context_p, /**< context */ in parser_emit_line_info()
[all …]
Djs-parser-mem.c37 parser_malloc (parser_context_t *context_p, /**< context */ in parser_malloc()
68 parser_malloc_local (parser_context_t *context_p, /**< context */ in parser_malloc_local()
96 parser_free_allocated_buffer (parser_context_t *context_p) /**< context */ in parser_free_allocated_buffer()
167 parser_cbc_stream_alloc_page (parser_context_t *context_p, /**< context */ in parser_cbc_stream_alloc_page()
232 parser_list_append (parser_context_t *context_p, /**< context */ in parser_list_append()
344 parser_stack_init (parser_context_t *context_p) /**< context */ in parser_stack_init()
354 parser_stack_free (parser_context_t *context_p) /**< context */ in parser_stack_free()
370 parser_stack_push_uint8 (parser_context_t *context_p, /**< context */ in parser_stack_push_uint8()
407 parser_stack_pop_uint8 (parser_context_t *context_p) /**< context */ in parser_stack_pop_uint8()
443 parser_stack_push_uint16 (parser_context_t *context_p, /**< context */ in parser_stack_push_uint16()
[all …]
Djs-scanner-util.c66 scanner_raise_error (parser_context_t *context_p) /**< context */ in scanner_raise_error()
79 scanner_raise_redeclaration_error (parser_context_t *context_p) /**< context */ in scanner_raise_redeclaration_error()
95 scanner_malloc (parser_context_t *context_p, /**< context */ in scanner_malloc()
192 scanner_insert_info (parser_context_t *context_p, /**< context */ in scanner_insert_info()
236 scanner_insert_info_before (parser_context_t *context_p, /**< context */ in scanner_insert_info_before()
270 scanner_release_next (parser_context_t *context_p, /**< context */ in scanner_release_next()
283 scanner_set_active (parser_context_t *context_p) /**< context */ in scanner_set_active()
296 scanner_revert_active (parser_context_t *context_p) /**< context */ in scanner_revert_active()
309 scanner_release_active (parser_context_t *context_p, /**< context */ in scanner_release_active()
337 scanner_seek (parser_context_t *context_p) /**< context */ in scanner_seek()
[all …]
Djs-parser-module.c44 parser_module_check_duplicate_import (parser_context_t *context_p, /**< parser context */ in parser_module_check_duplicate_import()
83 parser_module_append_export_name (parser_context_t *context_p) /**< parser context */ in parser_module_append_export_name()
113 parser_module_check_duplicate_export (parser_context_t *context_p, /**< parser context */ in parser_module_check_duplicate_export()
170 parser_module_add_export_node_to_context (parser_context_t *context_p) /**< parser context */ in parser_module_add_export_node_to_context()
231 parser_module_add_import_node_to_context (parser_context_t *context_p) /**< parser context */ in parser_module_add_import_node_to_context()
271 parser_module_add_names_to_node (parser_context_t *context_p, /**< parser context */ in parser_module_add_names_to_node()
342 parser_module_create_module_node (parser_context_t *context_p) /**< parser context */ in parser_module_create_module_node()
354 parser_module_parse_export_clause (parser_context_t *context_p) /**< parser context */ in parser_module_parse_export_clause()
447 parser_module_parse_import_clause (parser_context_t *context_p) /**< parser context */ in parser_module_parse_import_clause()
554 parser_module_check_request_place (parser_context_t *context_p) /**< parser context */ in parser_module_check_request_place()
[all …]
Djs-scanner-ops.c38 scanner_add_async_literal (parser_context_t *context_p, /**< context */ in scanner_add_async_literal()
64 scanner_check_arrow_body (parser_context_t *context_p, /**< context */ in scanner_check_arrow_body()
85 scanner_check_arrow (parser_context_t *context_p, /**< context */ in scanner_check_arrow()
136 scanner_scan_simple_arrow (parser_context_t *context_p, /**< context */ in scanner_scan_simple_arrow()
170 scanner_check_arrow_arg (parser_context_t *context_p, /**< context */ in scanner_check_arrow_arg()
259 scanner_check_async_function (parser_context_t *context_p, /**< context */ in scanner_check_async_function()
318 scanner_check_function_after_if (parser_context_t *context_p, /**< context */ in scanner_check_function_after_if()
352 scanner_scan_bracket (parser_context_t *context_p, /**< context */ in scanner_scan_bracket()
541 scanner_check_directives (parser_context_t *context_p, /**< context */ in scanner_check_directives()
Djs-parser-expr.c87 parser_push_result (parser_context_t *context_p) /**< context */ in parser_push_result()
118 parser_check_invalid_assign (parser_context_t *context_p) /**< context */ in parser_check_invalid_assign()
141 parser_check_invalid_new_target (parser_context_t *context_p, /**< parser context */ in parser_check_invalid_new_target()
164 parser_emit_ident_reference (parser_context_t *context_p, /**< context */ in parser_emit_ident_reference()
199 parser_emit_unary_lvalue_opcode (parser_context_t *context_p, /**< context */ in parser_emit_unary_lvalue_opcode()
282 parser_parse_array_literal (parser_context_t *context_p) /**< context */ in parser_parse_array_literal()
367 parser_append_object_literal_item (parser_context_t *context_p, /**< context */ in parser_append_object_literal_item()
452 parser_parse_array_initializer (parser_context_t *context_p, parser_pattern_flags_t flags);
456 parser_parse_object_initializer (parser_context_t *context_p, parser_pattern_flags_t flags);
488 parser_parse_class_literal (parser_context_t *context_p, /**< context */ in parser_parse_class_literal()
[all …]
Djs-lexer.c225 lexer_skip_spaces (parser_context_t *context_p) /**< context */ in lexer_skip_spaces()
403 lexer_skip_empty_statements (parser_context_t *context_p) /**< context */ in lexer_skip_empty_statements()
618 lexer_parse_identifier (parser_context_t *context_p, /**< context */ in lexer_parse_identifier()
914 lexer_parse_string (parser_context_t *context_p, /**< context */ in lexer_parse_string()
1243 lexer_parse_octal_number (parser_context_t *context_p, /** context */ in lexer_parse_octal_number()
1265 lexer_parse_number (parser_context_t *context_p) /**< context */ in lexer_parse_number()
1508 lexer_next_token (parser_context_t *context_p) /**< context */ in lexer_next_token()
1791 lexer_check_next_character (parser_context_t *context_p, /**< context */ in lexer_check_next_character()
1811 lexer_check_next_characters (parser_context_t *context_p, /**< context */ in lexer_check_next_characters()
1832 lexer_consume_next_character (parser_context_t *context_p) /**< context */ in lexer_consume_next_character()
[all …]
Djs-parser-statm.c310 parser_stack_iterator_init (parser_context_t *context_p, /**< context */ in parser_stack_iterator_init()
333 parser_stack_change_last_uint8 (parser_context_t *context_p, /**< context */ in parser_stack_change_last_uint8()
349 parser_parse_enclosed_expr (parser_context_t *context_p) /**< context */ in parser_parse_enclosed_expr()
376 parser_push_block_context (parser_context_t *context_p, /**< context */ in parser_push_block_context()
425 parser_pop_block_context (parser_context_t *context_p) /**< context */ in parser_pop_block_context()
463 parser_validate_lexical_context (parser_context_t *context_p) /**< context */ in parser_validate_lexical_context()
480 parser_parse_var_statement (parser_context_t *context_p) /**< context */ in parser_parse_var_statement()
630 parser_parse_function_statement (parser_context_t *context_p) /**< context */ in parser_parse_function_statement()
836 parser_parse_if_statement_start (parser_context_t *context_p) /**< context */ in parser_parse_if_statement_start()
858 parser_parse_if_statement_end (parser_context_t *context_p) /**< context */ in parser_parse_if_statement_end()
[all …]
Djs-parser-tagged-template-literal.h38 parser_tagged_template_literal_append_strings (parser_context_t *context_p, ecma_object_t *template…
Djs-parser.c55 parser_compute_indicies (parser_context_t *context_p, /**< context */ in parser_compute_indicies()
208 parser_init_literal_pool (parser_context_t *context_p, /**< context */ in parser_init_literal_pool()
381 parse_update_branches (parser_context_t *context_p, /**< context */ in parse_update_branches()
828 parser_send_breakpoints (parser_context_t *context_p, /**< context */ in parser_send_breakpoints()
845 parser_append_breakpoint_info (parser_context_t *context_p, /**< context */ in parser_append_breakpoint_info()
903 parser_post_processing (parser_context_t *context_p) /**< context */ in parser_post_processing()
1716 parser_parse_function_arguments (parser_context_t *context_p, /**< context */ in parser_parse_function_arguments()
2010 parser_context_t context; in parser_parse_source()
2284 parser_save_context (parser_context_t *context_p, /**< context */ in parser_save_context()
2366 parser_restore_context (parser_context_t *context_p, /**< context */ in parser_restore_context()
[all …]
Djs-parser-tagged-template-literal.c39 parser_tagged_template_literal_append_strings (parser_context_t *context_p, /**< parser context */ in parser_tagged_template_literal_append_strings()
Djs-scanner.c75 scanner_scan_primary_expression (parser_context_t *context_p, /**< context */ in scanner_scan_primary_expression()
295 scanner_scan_post_primary_expression (parser_context_t *context_p, /**< context */ in scanner_scan_post_primary_expression()
384 scanner_scan_primary_expression_end (parser_context_t *context_p, /**< context */ in scanner_scan_primary_expression_end()
1076 scanner_scan_statement (parser_context_t *context_p, /**< context */ in scanner_scan_statement()
1905 scanner_scan_statement_end (parser_context_t *context_p, /**< context */ in scanner_scan_statement_end()
2266 scanner_scan_all (parser_context_t *context_p, /**< context */ in scanner_scan_all()