v8  5.1.281 (node 6.17.1)
V8 is Google's open source JavaScript engine
PropertyCallbackInfo< T > Class Template Reference

#include <v8.h>

Public Member Functions

V8_INLINE IsolateGetIsolate () const
 
V8_INLINE Local< ValueData () const
 
V8_INLINE Local< ObjectThis () const
 
V8_INLINE Local< ObjectHolder () const
 
V8_INLINE ReturnValue< T > GetReturnValue () const
 
V8_INLINE bool ShouldThrowOnError () const
 

Static Public Attributes

static const int kArgsLength = 7
 

Protected Member Functions

V8_INLINE PropertyCallbackInfo (internal::Object **args)
 

Protected Attributes

internal::Object ** args_
 

Static Protected Attributes

static const int kShouldThrowOnErrorIndex = 0
 
static const int kHolderIndex = 1
 
static const int kIsolateIndex = 2
 
static const int kReturnValueDefaultValueIndex = 3
 
static const int kReturnValueIndex = 4
 
static const int kDataIndex = 5
 
static const int kThisIndex = 6
 

Friends

class MacroAssembler
 
class internal::PropertyCallbackArguments
 
class internal::CustomArguments< PropertyCallbackInfo >
 

Detailed Description

template<typename T>
class v8::PropertyCallbackInfo< T >

The information passed to a property callback about the context of the property access.

Definition at line 3198 of file v8.h.

Constructor & Destructor Documentation

◆ PropertyCallbackInfo()

V8_INLINE PropertyCallbackInfo ( internal::Object **  args)
inlineprotected

Definition at line 3221 of file v8.h.

References PropertyCallbackInfo< T >::args_.

Member Function Documentation

◆ Data()

◆ GetIsolate()

Isolate * GetIsolate

◆ GetReturnValue()

◆ Holder()

◆ ShouldThrowOnError()

bool ShouldThrowOnError

◆ This()

Friends And Related Function Documentation

◆ internal::CustomArguments< PropertyCallbackInfo >

Definition at line 3211 of file v8.h.

◆ internal::PropertyCallbackArguments

friend class internal::PropertyCallbackArguments
friend

Definition at line 3211 of file v8.h.

◆ MacroAssembler

friend class MacroAssembler
friend

Definition at line 3210 of file v8.h.

Field Documentation

◆ args_

◆ kArgsLength

const int kArgsLength = 7
static

Definition at line 3207 of file v8.h.

◆ kDataIndex

const int kDataIndex = 5
staticprotected

Definition at line 3218 of file v8.h.

Referenced by PropertyCallbackInfo< T >::Data().

◆ kHolderIndex

const int kHolderIndex = 1
staticprotected

Definition at line 3214 of file v8.h.

Referenced by PropertyCallbackInfo< T >::Holder().

◆ kIsolateIndex

const int kIsolateIndex = 2
staticprotected

Definition at line 3215 of file v8.h.

Referenced by PropertyCallbackInfo< T >::GetIsolate().

◆ kReturnValueDefaultValueIndex

const int kReturnValueDefaultValueIndex = 3
staticprotected

Definition at line 3216 of file v8.h.

◆ kReturnValueIndex

const int kReturnValueIndex = 4
staticprotected

Definition at line 3217 of file v8.h.

Referenced by PropertyCallbackInfo< T >::GetReturnValue().

◆ kShouldThrowOnErrorIndex

const int kShouldThrowOnErrorIndex = 0
staticprotected

Definition at line 3213 of file v8.h.

Referenced by PropertyCallbackInfo< T >::ShouldThrowOnError().

◆ kThisIndex

const int kThisIndex = 6
staticprotected

Definition at line 3219 of file v8.h.

Referenced by PropertyCallbackInfo< T >::This().


The documentation for this class was generated from the following file: