#ifndef V8_API_API_ARGUMENTS_INL_H_
#define V8_API_API_ARGUMENTS_INL_H_
#include "src/api/api-arguments.h"
#include "src/api/api-inl.h"
#include "src/debug/debug.h"
#include "src/execution/vm-state-inl.h"
#include "src/logging/runtime-call-stats-scope.h"
#include "src/objects/api-callbacks.h"
#include "src/objects/instance-type.h"
#include "src/objects/slots-inl.h"
namespace v8 {
namespace internal {
CustomArgumentsBase::CustomArgumentsBase(Isolate* isolate)
: … { … }
template <typename T>
CustomArguments<T>::~CustomArguments() { … }
template <typename T>
template <typename V>
Handle<V> CustomArguments<T>::GetReturnValue(Isolate* isolate) const { … }
inline Tagged<JSObject> PropertyCallbackArguments::holder() const { … }
inline Tagged<Object> PropertyCallbackArguments::receiver() const { … }
inline Tagged<JSReceiver> FunctionCallbackArguments::holder() const { … }
#define DCHECK_NAME_COMPATIBLE(interceptor, name) …
#define PREPARE_CALLBACK_INFO_ACCESSOR …
#define PREPARE_CALLBACK_INFO_INTERCEPTOR …
Handle<Object> FunctionCallbackArguments::CallOrConstruct(
Tagged<FunctionTemplateInfo> function, bool is_construct) { … }
PropertyCallbackArguments::~PropertyCallbackArguments(){ … }
Maybe<InterceptorResult> PropertyCallbackArguments::GetBooleanReturnValue(
v8::Intercepted intercepted, const char* callback_kind_for_error_message,
bool ignore_return_value) { … }
Handle<JSObjectOrUndefined> PropertyCallbackArguments::CallNamedEnumerator(
Handle<InterceptorInfo> interceptor) { … }
Handle<Object> PropertyCallbackArguments::CallNamedQuery(
Handle<InterceptorInfo> interceptor, Handle<Name> name) { … }
Handle<JSAny> PropertyCallbackArguments::CallNamedGetter(
Handle<InterceptorInfo> interceptor, Handle<Name> name) { … }
Handle<JSAny> PropertyCallbackArguments::CallNamedDescriptor(
Handle<InterceptorInfo> interceptor, Handle<Name> name) { … }
v8::Intercepted PropertyCallbackArguments::CallNamedSetter(
DirectHandle<InterceptorInfo> interceptor, Handle<Name> name,
Handle<Object> value) { … }
v8::Intercepted PropertyCallbackArguments::CallNamedDefiner(
DirectHandle<InterceptorInfo> interceptor, Handle<Name> name,
const v8::PropertyDescriptor& desc) { … }
v8::Intercepted PropertyCallbackArguments::CallNamedDeleter(
DirectHandle<InterceptorInfo> interceptor, Handle<Name> name) { … }
Handle<JSObjectOrUndefined> PropertyCallbackArguments::CallIndexedEnumerator(
Handle<InterceptorInfo> interceptor) { … }
Handle<Object> PropertyCallbackArguments::CallIndexedQuery(
Handle<InterceptorInfo> interceptor, uint32_t index) { … }
Handle<JSAny> PropertyCallbackArguments::CallIndexedGetter(
Handle<InterceptorInfo> interceptor, uint32_t index) { … }
Handle<JSAny> PropertyCallbackArguments::CallIndexedDescriptor(
Handle<InterceptorInfo> interceptor, uint32_t index) { … }
v8::Intercepted PropertyCallbackArguments::CallIndexedSetter(
DirectHandle<InterceptorInfo> interceptor, uint32_t index,
Handle<Object> value) { … }
v8::Intercepted PropertyCallbackArguments::CallIndexedDefiner(
DirectHandle<InterceptorInfo> interceptor, uint32_t index,
const v8::PropertyDescriptor& desc) { … }
v8::Intercepted PropertyCallbackArguments::CallIndexedDeleter(
Handle<InterceptorInfo> interceptor, uint32_t index) { … }
Handle<JSObjectOrUndefined> PropertyCallbackArguments::CallPropertyEnumerator(
Handle<InterceptorInfo> interceptor) { … }
Handle<JSAny> PropertyCallbackArguments::CallAccessorGetter(
DirectHandle<AccessorInfo> info, Handle<Name> name) { … }
bool PropertyCallbackArguments::CallAccessorSetter(
DirectHandle<AccessorInfo> accessor_info, Handle<Name> name,
Handle<Object> value) { … }
#undef PREPARE_CALLBACK_INFO_ACCESSOR
#undef PREPARE_CALLBACK_INFO_INTERCEPTOR
}
}
#endif