Home
last modified time | relevance | path

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

/third_party/node/deps/v8/src/objects/
Djs-regexp.cc267 bool in_char_class = false; in CountAdditionalEscapeChars() local
279 } else if (c == '/' && !in_char_class) { in CountAdditionalEscapeChars()
284 in_char_class = true; in CountAdditionalEscapeChars()
286 in_char_class = false; in CountAdditionalEscapeChars()
303 DCHECK(!in_char_class); in CountAdditionalEscapeChars()
324 bool in_char_class = false; in WriteEscapedRegExpSource() local
337 } else if (c == '/' && !in_char_class) { in WriteEscapedRegExpSource()
341 in_char_class = true; in WriteEscapedRegExpSource()
343 in_char_class = false; in WriteEscapedRegExpSource()
366 DCHECK(!in_char_class); in WriteEscapedRegExpSource()