Home
last modified time | relevance | path

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

/external/v8/test/mjsunit/
Dunicode-test.js9132 var char_class = new RegExp(re, "g"); variable
9133 var munged = text.replace(char_class, "foo");
/external/v8/src/
Dparser.cc4902 CharacterRange RegExpParser::ParseClassAtom(uc16* char_class) { in ParseClassAtom() argument
4903 ASSERT_EQ(0, *char_class); in ParseClassAtom()
4908 *char_class = Next(); in ParseClassAtom()
4931 uc16 char_class, in AddRangeOrEscape() argument
4933 if (char_class != kNoCharClass) { in AddRangeOrEscape()
4934 CharacterRange::AddClassEscape(char_class, ranges); in AddRangeOrEscape()
4954 uc16 char_class = kNoCharClass; in ParseCharacterClass() local
4955 CharacterRange first = ParseClassAtom(&char_class CHECK_FAILED); in ParseCharacterClass()
4963 AddRangeOrEscape(ranges, char_class, first); in ParseCharacterClass()
4969 if (char_class != kNoCharClass || char_class_2 != kNoCharClass) { in ParseCharacterClass()
[all …]
Dparser.h335 CharacterRange ParseClassAtom(uc16* char_class);
Djsregexp.cc750 RegExpCharacterClass* char_class) { in CharClass() argument
752 result.data.u_char_class = char_class; in CharClass()
5150 RegExpCharacterClass* char_class = text.data.u_char_class; in ComputeFirstCharacterSet() local
5151 ZoneList<CharacterRange>* ranges = char_class->ranges(); in ComputeFirstCharacterSet()
5155 if (char_class->is_negated()) { in ComputeFirstCharacterSet()
Djsregexp.h451 static TextElement CharClass(RegExpCharacterClass* char_class); in FOR_EACH_REG_EXP_TREE_TYPE()