Home
last modified time | relevance | path

Searched refs:LEXER_STRING_LITERAL (Results 1 – 9 of 9) sorted by relevance

/third_party/jerryscript/jerry-core/parser/js/
Dcommon.h52 LEXER_STRING_LITERAL = 1, /**< string literal */ enumerator
65 #define LEXER_IS_IDENT_OR_STRING(literal_type) ((literal_type) <= LEXER_STRING_LITERAL)
Dcommon.c38 || literal_p->type == LEXER_STRING_LITERAL) in util_free_literal()
96 else if (literal_p->type == LEXER_STRING_LITERAL) in util_print_literal()
Djs-parser-expr.c463 (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 …]
Djs-lexer.c1231 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()
Djs-parser-module.c573 || 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()
Djs-scanner-ops.c547 && context_p->token.lit_location.type == LEXER_STRING_LITERAL) in scanner_check_directives()
Djs-parser.c92 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()
Djs-parser-statm.c2328 || 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()
Djs-scanner.c1466 && 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()