MCPcopy Create free account
hub / github.com/NativeScript/android / GetHasRegexpGroups

Method GetHasRegexpGroups

test-app/runtime/src/main/cpp/URLPatternImpl.cpp:595–607  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

593}
594
595void URLPatternImpl::GetHasRegexpGroups(v8::Local<v8::Name> property,
596 const v8::PropertyCallbackInfo<v8::Value> &info) {
597 URLPatternImpl *ptr = GetPointer(info.This());
598 if (ptr == nullptr) {
599 info.GetReturnValue().Set(false);
600 return;
601 }
602 auto isolate = info.GetIsolate();
603
604 auto value = ptr->GetPattern()->has_regexp_groups();
605
606 info.GetReturnValue().Set(value);
607}
608
609
610void URLPatternImpl::Test(const v8::FunctionCallbackInfo<v8::Value> &args) {

Callers

nothing calls this directly

Calls 6

ThisMethod · 0.80
GetReturnValueMethod · 0.80
has_regexp_groupsMethod · 0.80
GetPatternMethod · 0.80
SetMethod · 0.45
GetIsolateMethod · 0.45

Tested by

no test coverage detected