Home
last modified time | relevance | path

Searched refs:LEXER_LITERAL (Results 1 – 8 of 8) sorted by relevance

/third_party/jerryscript/jerry-core/parser/js/
Djs-scanner.c121 if (context_p->token.type == LEXER_LITERAL in scanner_scan_primary_expression()
170 case LEXER_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()
306 if (context_p->token.type != LEXER_LITERAL in scanner_scan_post_primary_expression()
1216 case LEXER_LITERAL: in scanner_scan_statement()
1241 … && (type != LEXER_LITERAL || context_p->token.lit_location.type != LEXER_IDENT_LITERAL)) in scanner_scan_statement()
1325 && context_p->token.type == LEXER_LITERAL in scanner_scan_statement()
1393 if (context_p->token.type != LEXER_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()
1465 if (context_p->token.type == LEXER_LITERAL in scanner_scan_statement()
[all …]
Djs-parser-module.c368 if (context_p->token.type != LEXER_LITERAL in parser_module_parse_export_clause()
388 if (context_p->token.type != LEXER_LITERAL in parser_module_parse_export_clause()
460 if (context_p->token.type != LEXER_LITERAL in parser_module_parse_import_clause()
487 if (context_p->token.type != LEXER_LITERAL in parser_module_parse_import_clause()
572 if (context_p->token.type != LEXER_LITERAL in parser_module_handle_module_specifier()
Djs-lexer.c772 context_p->token.type = LEXER_LITERAL; in lexer_parse_identifier()
1222 context_p->token.type = ((str_end_character != LIT_CHAR_GRAVE_ACCENT) ? LEXER_LITERAL in lexer_parse_string()
1225 context_p->token.type = LEXER_LITERAL; in lexer_parse_string()
1272 context_p->token.type = LEXER_LITERAL; in lexer_parse_number()
2016 if (context_p->token.type == LEXER_LITERAL in lexer_update_await_yield()
2027 context_p->token.type = LEXER_LITERAL; in lexer_update_await_yield()
2036 if (context_p->token.type == LEXER_LITERAL in lexer_update_await_yield()
2047 context_p->token.type = LEXER_LITERAL; in lexer_update_await_yield()
2876 context_p->token.type = LEXER_LITERAL; in lexer_construct_regexp_object()
2907 if (context_p->token.type == LEXER_LITERAL) in lexer_expect_identifier()
[all …]
Djs-scanner-ops.c185 if (context_p->token.type == LEXER_LITERAL in scanner_check_arrow_arg()
278 if (context_p->token.type == LEXER_LITERAL in scanner_check_async_function()
378 case LEXER_LITERAL: in scanner_scan_bracket()
546 while (context_p->token.type == LEXER_LITERAL in scanner_check_directives()
Djs-parser-statm.c517 JERRY_ASSERT (context_p->token.type == LEXER_LITERAL in parser_parse_var_statement()
697 JERRY_ASSERT (context_p->token.type == LEXER_LITERAL in parser_parse_function_statement()
1225 else if (context_p->token.type == LEXER_LITERAL && lexer_token_is_let (context_p)) in parser_parse_for_statement_start()
1346 JERRY_ASSERT (context_p->token.type == LEXER_LITERAL in parser_parse_for_statement_start()
1450 case LEXER_LITERAL: in parser_parse_for_statement_start()
1972 JERRY_ASSERT (context_p->token.type == LEXER_LITERAL in parser_parse_try_statement_end()
2130 && context_p->token.type == LEXER_LITERAL in parser_parse_break_statement()
2216 && context_p->token.type == LEXER_LITERAL in parser_parse_continue_statement()
2327 if (context_p->token.type != LEXER_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()
[all …]
Djs-lexer.h37 LEXER_LITERAL, /**< literal token */ enumerator
Djs-parser-expr.c739 JERRY_ASSERT (context_p->token.type == LEXER_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()
884 if (context_p->token.type != LEXER_LITERAL) in parser_reparse_as_common_identifier()
1219 if (context_p->token.type != LEXER_LITERAL in parser_parse_function_expression()
1612 case LEXER_LITERAL: in parser_parse_unary_expression()
1938 JERRY_ASSERT (context_p->token.type == LEXER_LITERAL in parser_process_unary_expression()
2930 …if (context_p->token.type != LEXER_LITERAL || context_p->token.lit_location.type != LEXER_IDENT_LI… in parser_pattern_process_assignment()
Djs-parser.c1832 if (context_p->token.type != LEXER_LITERAL in parser_parse_function_arguments()