Home | History | Annotate | Download | only in src

Lines Matching refs:maybe

1165 Maybe<bool> JSProxy::HasElementWithHandler(Handle<JSProxy> proxy,
1672 // Here we just allow state transitions from undecided or maybe tenure
1673 // to don't tenure, maybe tenure, or tenure.
6646 Maybe<bool> JSReceiver::HasProperty(Handle<JSReceiver> object,
6652 Maybe<PropertyAttributes> result = GetPropertyAttributes(object, name);
6653 if (!result.has_value) return Maybe<bool>();
6654 return maybe(result.value != ABSENT);
6658 Maybe<bool> JSReceiver::HasOwnProperty(Handle<JSReceiver> object,
6664 Maybe<PropertyAttributes> result = GetOwnPropertyAttributes(object, name);
6665 if (!result.has_value) return Maybe<bool>();
6666 return maybe(result.value != ABSENT);
6670 Maybe<PropertyAttributes> JSReceiver::GetPropertyAttributes(
6681 Maybe<PropertyAttributes> JSReceiver::GetElementAttribute(
6718 Maybe<bool> JSReceiver::HasElement(Handle<JSReceiver> object, uint32_t index) {
6723 Maybe<PropertyAttributes> result = JSObject::GetElementAttributeWithReceiver(
6725 if (!result.has_value) return Maybe<bool>();
6726 return maybe(result.value != ABSENT);
6730 Maybe<bool> JSReceiver::HasOwnElement(Handle<JSReceiver> object,
6736 Maybe<PropertyAttributes> result = JSObject::GetElementAttributeWithReceiver(
6738 if (!result.has_value) return Maybe<bool>();
6739 return maybe(result.value != ABSENT);
6743 Maybe<PropertyAttributes> JSReceiver::GetOwnElementAttribute(