Home
last modified time | relevance | path

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

/third_party/jerryscript/jerry-core/parser/js/
Djs-lexer.c423 const uint8_t *keyword_p; /**< keyword string */ member
807 const keyword_string_t *keyword_p = keyword_list_p + middle; in lexer_parse_identifier() local
808 int compare_result = ident_start_p[0] - keyword_p->keyword_p[0]; in lexer_parse_identifier()
812 compare_result = memcmp (ident_start_p, keyword_p->keyword_p, length); in lexer_parse_identifier()
816 context_p->token.keyword_type = (uint8_t) keyword_p->type; in lexer_parse_identifier()
818 if (JERRY_LIKELY (keyword_p->type < LEXER_FIRST_NON_RESERVED_KEYWORD)) in lexer_parse_identifier()
821 if (JERRY_UNLIKELY (keyword_p->type == LEXER_KEYW_AWAIT)) in lexer_parse_identifier()
849 context_p->token.type = (uint8_t) keyword_p->type; in lexer_parse_identifier()
854 if (keyword_p->type == LEXER_KEYW_LET && (context_p->status_flags & PARSER_IS_STRICT)) in lexer_parse_identifier()
865 …if (keyword_p->type == LEXER_KEYW_YIELD && (context_p->status_flags & PARSER_IS_GENERATOR_FUNCTION… in lexer_parse_identifier()
[all …]