Searched refs:lit_location (Results 1 – 11 of 11) sorted by relevance
/third_party/jerryscript/jerry-core/parser/js/ |
D | js-parser-module.c | 369 || context_p->token.lit_location.type != LEXER_IDENT_LITERAL in parser_module_parse_export_clause() 378 …lexer_construct_literal_object (context_p, &context_p->token.lit_location, LEXER_NEW_IDENT_LITERAL… in parser_module_parse_export_clause() 389 || context_p->token.lit_location.type != LEXER_IDENT_LITERAL) in parser_module_parse_export_clause() 394 …lexer_construct_literal_object (context_p, &context_p->token.lit_location, LEXER_NEW_IDENT_LITERAL… in parser_module_parse_export_clause() 461 || context_p->token.lit_location.type != LEXER_IDENT_LITERAL) in parser_module_parse_import_clause() 477 …lexer_construct_literal_object (context_p, &context_p->token.lit_location, LEXER_NEW_IDENT_LITERAL… in parser_module_parse_import_clause() 488 || context_p->token.lit_location.type != LEXER_IDENT_LITERAL) in parser_module_parse_import_clause() 501 …lexer_construct_literal_object (context_p, &context_p->token.lit_location, LEXER_NEW_IDENT_LITERAL… in parser_module_parse_import_clause() 573 || context_p->token.lit_location.type != LEXER_STRING_LITERAL in parser_module_handle_module_specifier() 574 || context_p->token.lit_location.length == 0) in parser_module_handle_module_specifier() [all …]
|
D | js-parser-tagged-template-literal.c | 44 lexer_lit_location_t *lit_loc_p = &context_p->token.lit_location; in parser_tagged_template_literal_append_strings() 62 &context_p->token.lit_location, in parser_tagged_template_literal_append_strings() 72 context_p->source_p = context_p->token.lit_location.char_p - 1; in parser_tagged_template_literal_append_strings() 75 &context_p->token.lit_location, in parser_tagged_template_literal_append_strings()
|
D | js-lexer.c | 774 context_p->token.lit_location.type = LEXER_IDENT_LITERAL; in lexer_parse_identifier() 775 context_p->token.lit_location.has_escape = has_escape; in lexer_parse_identifier() 778 context_p->token.lit_location.char_p = context_p->source_p; in lexer_parse_identifier() 779 context_p->token.lit_location.length = (prop_length_t) length; in lexer_parse_identifier() 793 if (JERRY_UNLIKELY (context_p->token.lit_location.has_escape)) in lexer_parse_identifier() 1229 context_p->token.lit_location.char_p = string_start_p; in lexer_parse_string() 1230 context_p->token.lit_location.length = (prop_length_t) length; in lexer_parse_string() 1231 context_p->token.lit_location.type = LEXER_STRING_LITERAL; in lexer_parse_string() 1232 context_p->token.lit_location.has_escape = has_escape; in lexer_parse_string() 1275 context_p->token.lit_location.char_p = source_p; in lexer_parse_number() [all …]
|
D | js-parser-expr.c | 563 && LEXER_IS_IDENT_OR_STRING (context_p->token.lit_location.type) in parser_parse_class_literal() 671 else if (LEXER_IS_IDENT_OR_STRING (context_p->token.lit_location.type)) in parser_parse_class_literal() 740 && context_p->token.lit_location.type == LEXER_IDENT_LITERAL); in parser_parse_class() 749 … lexer_construct_literal_object (context_p, &context_p->token.lit_location, LEXER_STRING_LITERAL); in parser_parse_class() 764 …if (context_p->token.type == LEXER_LITERAL && context_p->token.lit_location.type == LEXER_IDENT_LI… in parser_parse_class() 767 … lexer_construct_literal_object (context_p, &context_p->token.lit_location, LEXER_STRING_LITERAL); in parser_parse_class() 873 if (context_p->token.lit_location.type != LEXER_IDENT_LITERAL) in parser_reparse_as_common_identifier() 878 context_p->source_p = context_p->token.lit_location.char_p; in parser_reparse_as_common_identifier() 889 JERRY_ASSERT (context_p->token.lit_location.type == LEXER_IDENT_LITERAL); in parser_reparse_as_common_identifier() 892 &context_p->token.lit_location, in parser_reparse_as_common_identifier() [all …]
|
D | js-scanner.c | 122 && 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 …if (context_p->token.type != LEXER_LITERAL || context_p->token.lit_location.type != LEXER_IDENT_LI… 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 …if (context_p->token.type != LEXER_LITERAL || context_p->token.lit_location.type != LEXER_IDENT_LI… in scanner_scan_statement() 1466 && context_p->token.lit_location.type == LEXER_STRING_LITERAL) in scanner_scan_statement() [all …]
|
D | js-scanner-ops.c | 186 && context_p->token.lit_location.type == LEXER_IDENT_LITERAL) in scanner_check_arrow_arg() 267 lexer_lit_location_t async_literal = context_p->token.lit_location; in scanner_check_async_function() 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() 547 && context_p->token.lit_location.type == LEXER_STRING_LITERAL) in scanner_check_directives()
|
D | js-parser-statm.c | 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() 1347 && context_p->token.lit_location.type == LEXER_IDENT_LITERAL); in parser_parse_for_statement_start() 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() 2328 || context_p->token.lit_location.type != LEXER_STRING_LITERAL) in parser_parse_import_statement() 2332 …|| (context_p->token.type == LEXER_LITERAL && context_p->token.lit_location.type == LEXER_IDENT_LI… in parser_parse_import_statement() 2340 … lexer_construct_literal_object (context_p, &context_p->token.lit_location, LEXER_IDENT_LITERAL); in parser_parse_import_statement() 2389 … lexer_construct_literal_object (context_p, &context_p->token.lit_location, LEXER_IDENT_LITERAL); in parser_parse_import_statement() [all …]
|
D | js-lexer.h | 303 lexer_lit_location_t lit_location; /**< extra data for character literals */ member
|
D | js-scanner-util.c | 1180 &context_p->token.lit_location); in scanner_add_literal() 1195 … &context_p->token.lit_location); in scanner_add_reference() 1220 lexer_lit_location_t *literal_location_p = &context_p->token.lit_location; in scanner_append_argument() 1226 if (JERRY_LIKELY (!context_p->token.lit_location.has_escape)) in scanner_append_argument() 1273 *literal_p = context_p->token.lit_location; in scanner_append_argument() 1381 if (JERRY_LIKELY (!context_p->token.lit_location.has_escape)) in scanner_detect_invalid_var()
|
D | js-parser-util.c | 364 context_p->last_cbc.literal_type = context_p->token.lit_location.type; in parser_emit_cbc_literal_from_token()
|
D | js-parser.c | 1833 || context_p->token.lit_location.type != LEXER_IDENT_LITERAL) in parser_parse_function_arguments() 1839 &context_p->token.lit_location, in parser_parse_function_arguments()
|