Home
last modified time | relevance | path

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

/third_party/jerryscript/jerry-core/parser/regexp/
Dre-parser.c365 case LIT_CHAR_BACKSLASH: in re_count_groups()
409 || cp == LIT_CHAR_BACKSLASH in re_is_syntax_char()
557 re_ctx_p->token.value = LIT_CHAR_BACKSLASH; in re_parse_char_escape()
708 case LIT_CHAR_BACKSLASH: in re_parse_next_token()
986 if (*re_ctx_p->input_curr_p == LIT_CHAR_BACKSLASH) in re_parse_char_class()
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-json.c120 if (*current_p == LIT_CHAR_BACKSLASH) in ecma_builtin_json_parse_string()
139 case LIT_CHAR_BACKSLASH: in ecma_builtin_json_parse_string()
787 if (c == LIT_CHAR_BACKSLASH || c == LIT_CHAR_DOUBLE_QUOTE) in ecma_builtin_json_quote()
793 ecma_stringbuilder_append_byte (builder_p, LIT_CHAR_BACKSLASH); in ecma_builtin_json_quote()
802 ecma_stringbuilder_append_byte (builder_p, LIT_CHAR_BACKSLASH); in ecma_builtin_json_quote()
Decma-builtin-regexp-prototype.c185 case LIT_CHAR_BACKSLASH: in ecma_op_escape_regexp_pattern()
188 ecma_stringbuilder_append_char (&builder, LIT_CHAR_BACKSLASH); in ecma_op_escape_regexp_pattern()
/third_party/jerryscript/jerry-core/parser/js/
Djs-lexer.c631 if (*source_p == LIT_CHAR_BACKSLASH) in lexer_parse_identifier()
955 if (*source_p == LIT_CHAR_BACKSLASH) in lexer_parse_string()
1002 if ((*source_p == LIT_CHAR_GRAVE_ACCENT) || (*source_p == LIT_CHAR_BACKSLASH)) in lexer_parse_string()
2069 if (*source_p == LIT_CHAR_BACKSLASH) in lexer_convert_ident_to_cesu8()
2151 if (*source_p == LIT_CHAR_BACKSLASH && !is_raw) in lexer_convert_literal_to_chars()
2295 if ((*source_p == LIT_CHAR_BACKSLASH) && is_raw) in lexer_convert_literal_to_chars()
2298 if ((*(source_p + 1) == LIT_CHAR_GRAVE_ACCENT) || (*(source_p + 1) == LIT_CHAR_BACKSLASH)) in lexer_convert_literal_to_chars()
2752 case LIT_CHAR_BACKSLASH: in lexer_construct_regexp_object()
3213 if (*left_p == LIT_CHAR_BACKSLASH) in lexer_compare_identifier_to_chars()
/third_party/jerryscript/jerry-core/lit/
Dlit-char-helpers.h61 #define LIT_CHAR_BACKSLASH ((ecma_char_t) '\\') /* reverse solidus (backslash) */ macro