v8  3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Accessors Class Reference

#include <accessors.h>

Inheritance diagram for Accessors:
Collaboration diagram for Accessors:

Public Types

enum  DescriptorId { descriptorCount }
 

Static Public Member Functions

static MUST_USE_RESULT
MaybeObject * 
FunctionGetPrototype (Object *object, void *)
 
static MUST_USE_RESULT
MaybeObject * 
FunctionSetPrototype (JSObject *object, Object *value, void *)
 
static MaybeObject * FunctionGetArguments (Object *object, void *)
 
static Handle< AccessorInfoMakeModuleExport (Handle< String > name, int index, PropertyAttributes attributes)
 

Detailed Description

Definition at line 64 of file accessors.h.

Member Enumeration Documentation

Enumerator
descriptorCount 

Definition at line 72 of file accessors.h.

Member Function Documentation

MaybeObject * FunctionGetPrototype ( Object object,
void *   
)
static

Definition at line 443 of file accessors.cc.

References Heap::AllocateFunctionPrototype(), ASSERT, and v8::internal::NULL.

Referenced by LoadIC::Load(), and KeyedLoadIC::Load().

MaybeObject * FunctionSetPrototype ( JSObject object,
Object value,
void *   
)
static

Definition at line 467 of file accessors.cc.

References ASSERT, NONE, and v8::internal::NULL.

Referenced by v8::internal::RUNTIME_FUNCTION(), and v8::internal::SetPrototype().

Handle< AccessorInfo > MakeModuleExport ( Handle< String name,
int  index,
PropertyAttributes  attributes 
)
static

Definition at line 838 of file accessors.cc.

References v8::FromCData(), Smi::FromInt(), Factory::NewAccessorInfo(), and v8::ReadOnly.

Referenced by Scope::LinkModules().


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