Home
last modified time | relevance | path

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

/external/v8/src/regexp/
Dregexp-parser.cc884 CharacterRange RegExpParser::ParseClassAtom(uc16* char_class) { in ParseClassAtom() argument
885 DCHECK_EQ(0, *char_class); in ParseClassAtom()
895 *char_class = Next(); in ParseClassAtom()
918 uc16 char_class, CharacterRange range, in AddRangeOrEscape() argument
920 if (char_class != kNoCharClass) { in AddRangeOrEscape()
921 CharacterRange::AddClassEscape(char_class, ranges, zone); in AddRangeOrEscape()
942 uc16 char_class = kNoCharClass; in ParseCharacterClass() local
943 CharacterRange first = ParseClassAtom(&char_class CHECK_FAILED); in ParseCharacterClass()
951 AddRangeOrEscape(ranges, char_class, first, zone()); in ParseCharacterClass()
957 if (char_class != kNoCharClass || char_class_2 != kNoCharClass) { in ParseCharacterClass()
[all …]
Dregexp-parser.h172 CharacterRange ParseClassAtom(uc16* char_class);
Dregexp-ast.h154 static TextElement CharClass(RegExpCharacterClass* char_class);
169 RegExpCharacterClass* char_class() const { in char_class() function
Djsregexp.cc870 TextElement TextElement::CharClass(RegExpCharacterClass* char_class) { in CharClass() argument
871 return TextElement(CHAR_CLASS, char_class); in CharClass()
2590 RegExpCharacterClass* tree = elm.char_class(); in GetQuickCheckDetails()
2799 RegExpCharacterClass* cc = elm.char_class(); in FilterOneByte()
3264 RegExpCharacterClass* cc = elm.char_class(); in TextEmitPass()
3383 RegExpCharacterClass* cc = elm.char_class(); in MakeCaseIndependent()
3406 RegExpCharacterClass* node = elm.char_class(); in GetSuccessorOfOmnivorousTextNode()
4560 RegExpCharacterClass* node = elm.char_class(); in VisitText()
6120 RegExpCharacterClass* char_class = text.char_class(); in FillInBMInfo() local
6121 ZoneList<CharacterRange>* ranges = char_class->ranges(zone()); in FillInBMInfo()
[all …]
/external/v8/test/mjsunit/
Dunicode-test.js9132 var char_class = new RegExp(re, "g"); variable
9133 var munged = text.replace(char_class, "foo");