Home
last modified time | relevance | path

Searched refs:LEXER_IDENT_LITERAL (Results 1 – 10 of 10) sorted by relevance

/third_party/jerryscript/jerry-core/parser/js/
Djs-scanner.c122 && context_p->token.lit_location.type == LEXER_IDENT_LITERAL) in scanner_scan_primary_expression()
175 if (context_p->token.lit_location.type == LEXER_IDENT_LITERAL in scanner_scan_primary_expression()
189 if (context_p->token.lit_location.type == LEXER_IDENT_LITERAL) in scanner_scan_primary_expression()
209 …ontext_p->token.type != LEXER_LITERAL || context_p->token.lit_location.type != LEXER_IDENT_LITERAL) in scanner_scan_primary_expression()
307 || context_p->token.lit_location.type != LEXER_IDENT_LITERAL) in scanner_scan_post_primary_expression()
1241 … && (type != LEXER_LITERAL || context_p->token.lit_location.type != LEXER_IDENT_LITERAL)) in scanner_scan_statement()
1326 && context_p->token.lit_location.type == LEXER_IDENT_LITERAL) in scanner_scan_statement()
1394 || context_p->token.lit_location.type != LEXER_IDENT_LITERAL) in scanner_scan_statement()
1431 …ontext_p->token.type != LEXER_LITERAL || context_p->token.lit_location.type != LEXER_IDENT_LITERAL) in scanner_scan_statement()
1474 && context_p->token.lit_location.type == LEXER_IDENT_LITERAL) in scanner_scan_statement()
[all …]
Dcommon.c37 if (literal_p->type == LEXER_IDENT_LITERAL in util_free_literal()
86 if (literal_p->type == LEXER_IDENT_LITERAL) in util_print_literal()
Djs-parser-expr.c120 JERRY_ASSERT (context_p->last_cbc.literal_type == LEXER_IDENT_LITERAL); in parser_check_invalid_assign()
203 && context_p->last_cbc.literal_type == LEXER_IDENT_LITERAL) in parser_emit_unary_lvalue_opcode()
738 lexer_expect_identifier (context_p, LEXER_IDENT_LITERAL); in parser_parse_class()
740 && context_p->token.lit_location.type == LEXER_IDENT_LITERAL); in parser_parse_class()
764 …ontext_p->token.type == LEXER_LITERAL && context_p->token.lit_location.type == LEXER_IDENT_LITERAL) in parser_parse_class()
873 if (context_p->token.lit_location.type != LEXER_IDENT_LITERAL) in parser_reparse_as_common_identifier()
889 JERRY_ASSERT (context_p->token.lit_location.type == LEXER_IDENT_LITERAL); in parser_reparse_as_common_identifier()
893 LEXER_IDENT_LITERAL); in parser_reparse_as_common_identifier()
1064 bool is_proto = ((context_p->token.lit_location.type == LEXER_IDENT_LITERAL in parser_parse_object_literal()
1220 || context_p->token.lit_location.type != LEXER_IDENT_LITERAL) in parser_parse_function_expression()
[all …]
Djs-parser-module.c34 (const uint8_t *) "*default*", 9, LEXER_IDENT_LITERAL, false
369 || context_p->token.lit_location.type != LEXER_IDENT_LITERAL in parser_module_parse_export_clause()
389 || context_p->token.lit_location.type != LEXER_IDENT_LITERAL) in parser_module_parse_export_clause()
461 || context_p->token.lit_location.type != LEXER_IDENT_LITERAL) in parser_module_parse_import_clause()
488 || context_p->token.lit_location.type != LEXER_IDENT_LITERAL) in parser_module_parse_import_clause()
Djs-scanner-ops.c186 && context_p->token.lit_location.type == LEXER_IDENT_LITERAL) in scanner_check_arrow_arg()
279 && context_p->token.lit_location.type == LEXER_IDENT_LITERAL) in scanner_check_async_function()
380 if (context_p->token.lit_location.type != LEXER_IDENT_LITERAL) in scanner_scan_bracket()
Djs-parser-statm.c516 lexer_expect_identifier (context_p, LEXER_IDENT_LITERAL); in parser_parse_var_statement()
518 && context_p->token.lit_location.type == LEXER_IDENT_LITERAL); in parser_parse_var_statement()
698 && context_p->token.lit_location.type == LEXER_IDENT_LITERAL); in parser_parse_function_statement()
1138 && context_p->last_cbc.literal_type == LEXER_IDENT_LITERAL) in parser_check_left_hand_side_expression()
1345 lexer_expect_identifier (context_p, LEXER_IDENT_LITERAL); in parser_parse_for_statement_start()
1347 && context_p->token.lit_location.type == LEXER_IDENT_LITERAL); in parser_parse_for_statement_start()
1971 lexer_expect_identifier (context_p, LEXER_IDENT_LITERAL); in parser_parse_try_statement_end()
1973 && context_p->token.lit_location.type == LEXER_IDENT_LITERAL); in parser_parse_try_statement_end()
2131 && context_p->token.lit_location.type == LEXER_IDENT_LITERAL) in parser_parse_break_statement()
2217 && context_p->token.lit_location.type == LEXER_IDENT_LITERAL) in parser_parse_continue_statement()
[all …]
Dcommon.h51 LEXER_IDENT_LITERAL = 0, /**< identifier literal */ enumerator
Djs-lexer.c774 context_p->token.lit_location.type = LEXER_IDENT_LITERAL; in lexer_parse_identifier()
2121 if (literal_p->type == LEXER_IDENT_LITERAL) in lexer_convert_literal_to_chars()
2354 bool search_scope_stack = (literal_type == LEXER_IDENT_LITERAL); in lexer_construct_literal_object()
2358 literal_type = LEXER_IDENT_LITERAL; in lexer_construct_literal_object()
2361 JERRY_ASSERT (literal_type == LEXER_IDENT_LITERAL in lexer_construct_literal_object()
2364 JERRY_ASSERT (literal_type != LEXER_IDENT_LITERAL || length <= PARSER_MAXIMUM_IDENT_LENGTH); in lexer_construct_literal_object()
2896 || literal_type == LEXER_IDENT_LITERAL in lexer_expect_identifier()
2909 JERRY_ASSERT (context_p->token.lit_location.type == LEXER_IDENT_LITERAL); in lexer_expect_identifier()
3148 && context_p->token.lit_location.type == LEXER_IDENT_LITERAL); in lexer_check_property_modifier()
3334 && context_p->token.lit_location.type == LEXER_IDENT_LITERAL); in lexer_current_is_literal()
[all …]
Djs-parser.c75 case LEXER_IDENT_LITERAL: in parser_compute_indicies()
159 case LEXER_IDENT_LITERAL: in parser_compute_indicies()
220 case LEXER_IDENT_LITERAL: in parser_init_literal_pool()
1570 if ((literal_p->type == LEXER_IDENT_LITERAL || literal_p->type == LEXER_STRING_LITERAL) in parser_post_processing()
1629 JERRY_ASSERT (literal_p->type == LEXER_IDENT_LITERAL); in parser_post_processing()
1833 || context_p->token.lit_location.type != LEXER_IDENT_LITERAL) in parser_parse_function_arguments()
1840 LEXER_IDENT_LITERAL); in parser_parse_function_arguments()
Djs-scanner-util.c1869 (const uint8_t *) "arguments", 9, LEXER_IDENT_LITERAL, false
1944 literal.type = LEXER_IDENT_LITERAL; in scanner_check_variables()
2099 literal.type = LEXER_IDENT_LITERAL; in scanner_create_variables()
2103 lexer_construct_literal_object (context_p, &literal, LEXER_IDENT_LITERAL); in scanner_create_variables()
2124 literal.type = LEXER_IDENT_LITERAL; in scanner_create_variables()