Lines Matching refs:RegExp

144 using RegExp = builtins::BuiltinsRegExp;
2026 SetStringTagSymbol(env, regExpIteratorPrototype, "RegExp String Iterator");
2033 // RegExp.prototype
2038 // RegExp.prototype_or_hclass
2041 // RegExp = new Function()
2043 NewBuiltinConstructor(env, regPrototype, RegExp::RegExpConstructor, "RegExp", FunctionLength::TWO));
2045 // initialize RegExp.$1 .. $9 static and read-only attributes
2053 // RegExp.prototype method
2054 JSHandle<JSFunction> execFunc = SetAndReturnFunction(env, regPrototype, "exec", RegExp::Exec, FunctionLength::ONE);
2055 SetFunction(env, regPrototype, "test", RegExp::Test, FunctionLength::ONE);
2056 SetFunction(env, regPrototype, globalConstants->GetHandledToStringString(), RegExp::ToString,
2060 JSHandle<JSTaggedValue> flagsGetter = CreateGetter(env, RegExp::GetFlags, "flags", FunctionLength::ZERO,
2066 JSHandle<JSTaggedValue> sourceGetter = CreateGetter(env, RegExp::GetSource, "source", FunctionLength::ZERO);
2071 JSHandle<JSTaggedValue> globalGetter = CreateGetter(env, RegExp::GetGlobal, "global", FunctionLength::ZERO);
2077 CreateGetter(env, RegExp::GetHasIndices, "hasIndices", FunctionLength::ZERO);
2083 CreateGetter(env, RegExp::GetIgnoreCase, "ignoreCase", FunctionLength::ZERO);
2089 CreateGetter(env, RegExp::GetMultiline, "multiline", FunctionLength::ZERO);
2094 JSHandle<JSTaggedValue> dotAllGetter = CreateGetter(env, RegExp::GetDotAll, "dotAll", FunctionLength::ZERO);
2099 JSHandle<JSTaggedValue> stickyGetter = CreateGetter(env, RegExp::GetSticky, "sticky", FunctionLength::ZERO);
2104 JSHandle<JSTaggedValue> unicodeGetter = CreateGetter(env, RegExp::GetUnicode, "unicode", FunctionLength::ZERO);
2109 // Set RegExp [ @@species ]
2116 // Set RegExp.prototype[@@split]
2118 env, regPrototype, env->GetSplitSymbol(), "[Symbol.split]", RegExp::Split, FunctionLength::TWO);
2119 // Set RegExp.prototype[@@search]
2121 env, regPrototype, env->GetSearchSymbol(), "[Symbol.search]", RegExp::Search, FunctionLength::ONE);
2122 // Set RegExp.prototype[@@match]
2124 env, regPrototype, env->GetMatchSymbol(), "[Symbol.match]", RegExp::Match, FunctionLength::ONE);
2125 // Set RegExp.prototype[@@matchAll]
2127 env, regPrototype, env->GetMatchAllSymbol(), "[Symbol.matchAll]", RegExp::MatchAll, FunctionLength::ONE);
2128 // Set RegExp.prototype[@@replace]
2130 env, regPrototype, env->GetReplaceSymbol(), "[Symbol.replace]", RegExp::Replace, FunctionLength::TWO);
2140 // Set RegExp.prototype hclass
3696 auto accessor1 = factory_->NewInternalAccessor(reinterpret_cast<void *>(RegExp::SetCapture1),
3697 reinterpret_cast<void *>(RegExp::GetCapture1));
3702 auto accessor2 = factory_->NewInternalAccessor(reinterpret_cast<void *>(RegExp::SetCapture2),
3703 reinterpret_cast<void *>(RegExp::GetCapture2));
3708 auto accessor3 = factory_->NewInternalAccessor(reinterpret_cast<void *>(RegExp::SetCapture3),
3709 reinterpret_cast<void *>(RegExp::GetCapture3));
3714 auto accessor4 = factory_->NewInternalAccessor(reinterpret_cast<void *>(RegExp::SetCapture4),
3715 reinterpret_cast<void *>(RegExp::GetCapture4));
3720 auto accessor5 = factory_->NewInternalAccessor(reinterpret_cast<void *>(RegExp::SetCapture5),
3721 reinterpret_cast<void *>(RegExp::GetCapture5));
3726 auto accessor6 = factory_->NewInternalAccessor(reinterpret_cast<void *>(RegExp::SetCapture6),
3727 reinterpret_cast<void *>(RegExp::GetCapture6));
3732 auto accessor7 = factory_->NewInternalAccessor(reinterpret_cast<void *>(RegExp::SetCapture7),
3733 reinterpret_cast<void *>(RegExp::GetCapture7));
3738 auto accessor8 = factory_->NewInternalAccessor(reinterpret_cast<void *>(RegExp::SetCapture8),
3739 reinterpret_cast<void *>(RegExp::GetCapture8));
3744 auto accessor9 = factory_->NewInternalAccessor(reinterpret_cast<void *>(RegExp::SetCapture9),
3745 reinterpret_cast<void *>(RegExp::GetCapture9));