Home
last modified time | relevance | path

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

/third_party/node/deps/v8/src/regexp/
Dregexp-flags.h31 enum class RegExpFlag { REGEXP_FLAG_LIST(V) }; enum
49 using RegExpFlags = base::Flags<RegExpFlag>;
54 return (f & RegExpFlag::k##Camel) != 0; \
61 c == Char ? RegExpFlag::k##Camel : in REGEXP_FLAG_LIST()
62 constexpr base::Optional<RegExpFlag> TryRegExpFlagFromChar(char c) { in REGEXP_FLAG_LIST()
63 return REGEXP_FLAG_LIST(V) base::Optional<RegExpFlag>{}; in REGEXP_FLAG_LIST()
/third_party/node/deps/v8/src/objects/
Djs-regexp.h85 static constexpr Flag AsJSRegExpFlag(RegExpFlag f) { in AsJSRegExpFlag()
95 static base::Optional<RegExpFlag> FlagFromChar(char c) { in FlagFromChar()
96 base::Optional<RegExpFlag> f = TryRegExpFlagFromChar(c); in FlagFromChar()
98 if (f.value() == RegExpFlag::kLinear && in FlagFromChar()
109 static_cast<int>(RegExpFlag::k##Camel));
Djs-regexp.cc126 base::Optional<RegExpFlag> flag = JSRegExp::FlagFromChar(reader.Get(i)); in FlagsFromString()
/third_party/node/deps/v8/src/regexp/experimental/
Dexperimental-compiler.cc40 RegExpFlag::kGlobal | RegExpFlag::kSticky | RegExpFlag::kMultiline | in AreSuitableFlags()
41 RegExpFlag::kDotAll | RegExpFlag::kLinear; in AreSuitableFlags()
/third_party/node/deps/v8/src/parsing/
Dscanner.cc1000 base::Optional<RegExpFlag> maybe_flag = JSRegExp::FlagFromChar(c0_); in ScanRegExpFlags()
1002 RegExpFlag flag = maybe_flag.value(); in ScanRegExpFlags()