Searched refs:LEXER_STRING_LITERAL (Results 1 – 9 of 9) sorted by relevance
/third_party/jerryscript/jerry-core/parser/js/ |
D | common.h | 52 LEXER_STRING_LITERAL = 1, /**< string literal */ enumerator 65 #define LEXER_IS_IDENT_OR_STRING(literal_type) ((literal_type) <= LEXER_STRING_LITERAL)
|
D | common.c | 38 || literal_p->type == LEXER_STRING_LITERAL) in util_free_literal() 96 else if (literal_p->type == LEXER_STRING_LITERAL) in util_print_literal()
|
D | js-parser-expr.c | 463 (const uint8_t *) "get", 3, LEXER_STRING_LITERAL, false 471 (const uint8_t *) "set", 3, LEXER_STRING_LITERAL, false 548 LEXER_STRING_LITERAL); in parser_parse_class_literal() 749 … lexer_construct_literal_object (context_p, &context_p->token.lit_location, LEXER_STRING_LITERAL); in parser_parse_class() 767 … lexer_construct_literal_object (context_p, &context_p->token.lit_location, LEXER_STRING_LITERAL); in parser_parse_class() 1065 || context_p->token.lit_location.type == LEXER_STRING_LITERAL) in parser_parse_object_literal() 1227 … lexer_construct_literal_object (context_p, &context_p->token.lit_location, LEXER_STRING_LITERAL); in parser_parse_function_expression() 1656 if (type == LEXER_IDENT_LITERAL || type == LEXER_STRING_LITERAL) in parser_parse_unary_expression() 1937 lexer_expect_identifier (context_p, LEXER_STRING_LITERAL); in parser_process_unary_expression() 1939 && context_p->lit_object.literal_p->type == LEXER_STRING_LITERAL); in parser_process_unary_expression() [all …]
|
D | js-lexer.c | 1231 context_p->token.lit_location.type = LEXER_STRING_LITERAL; in lexer_parse_string() 2362 || literal_type == LEXER_STRING_LITERAL); in lexer_construct_literal_object() 2365 JERRY_ASSERT (literal_type != LEXER_STRING_LITERAL || length <= PARSER_MAXIMUM_STRING_LENGTH); in lexer_construct_literal_object() 2895 JERRY_ASSERT (literal_type == LEXER_STRING_LITERAL in lexer_expect_identifier() 2904 …&& lexer_parse_identifier (context_p, (literal_type != LEXER_STRING_LITERAL ? LEXER_PARSE_CHECK_KE… in lexer_expect_identifier() 2915 if (literal_type != LEXER_STRING_LITERAL in lexer_expect_identifier() 3111 LEXER_STRING_LITERAL); in lexer_expect_object_literal_id() 3365 && context_p->token.lit_location.type == LEXER_STRING_LITERAL); in lexer_string_is_use_strict() 3463 || context_p->token.lit_location.type == LEXER_STRING_LITERAL)); in lexer_compare_literal_to_string()
|
D | js-parser-module.c | 573 || context_p->token.lit_location.type != LEXER_STRING_LITERAL in parser_module_handle_module_specifier() 579 lexer_construct_literal_object (context_p, &context_p->token.lit_location, LEXER_STRING_LITERAL); in parser_module_handle_module_specifier()
|
D | js-scanner-ops.c | 547 && context_p->token.lit_location.type == LEXER_STRING_LITERAL) in scanner_check_directives()
|
D | js-parser.c | 92 case LEXER_STRING_LITERAL: in parser_compute_indicies() 168 case LEXER_STRING_LITERAL: in parser_compute_indicies() 228 case LEXER_STRING_LITERAL: in parser_init_literal_pool() 1570 if ((literal_p->type == LEXER_IDENT_LITERAL || literal_p->type == LEXER_STRING_LITERAL) in parser_post_processing()
|
D | js-parser-statm.c | 2328 || context_p->token.lit_location.type != LEXER_STRING_LITERAL) in parser_parse_import_statement() 2639 && context_p->token.lit_location.type == LEXER_STRING_LITERAL) in parser_parse_statements() 2689 lexer_construct_literal_object (context_p, &lit_location, LEXER_STRING_LITERAL); in parser_parse_statements() 2720 || context_p->token.lit_location.type != LEXER_STRING_LITERAL)) in parser_parse_statements() 2722 lexer_construct_literal_object (context_p, &lit_location, LEXER_STRING_LITERAL); in parser_parse_statements()
|
D | js-scanner.c | 1466 && context_p->token.lit_location.type == LEXER_STRING_LITERAL) in scanner_scan_statement() 1614 && context_p->token.lit_location.type != LEXER_STRING_LITERAL) in scanner_scan_statement() 1732 && context_p->token.lit_location.type == LEXER_STRING_LITERAL) in scanner_scan_statement() 1788 && context_p->token.lit_location.type == LEXER_STRING_LITERAL) in scanner_scan_statement()
|