|
typedef uint32_t | SnapshotObjectId |
|
typedef uintptr_t | PersistentContainerValue |
|
typedef void(* | AccessorGetterCallback )(Local< String > property, const PropertyCallbackInfo< Value > &info) |
|
typedef void(* | AccessorSetterCallback )(Local< String > property, Local< Value > value, const PropertyCallbackInfo< void > &info) |
|
typedef void(* | FunctionCallback )(const FunctionCallbackInfo< Value > &info) |
|
typedef void(* | NamedPropertyGetterCallback )(Local< String > property, const PropertyCallbackInfo< Value > &info) |
|
typedef void(* | NamedPropertySetterCallback )(Local< String > property, Local< Value > value, const PropertyCallbackInfo< Value > &info) |
|
typedef void(* | NamedPropertyQueryCallback )(Local< String > property, const PropertyCallbackInfo< Integer > &info) |
|
typedef void(* | NamedPropertyDeleterCallback )(Local< String > property, const PropertyCallbackInfo< Boolean > &info) |
|
typedef void(* | NamedPropertyEnumeratorCallback )(const PropertyCallbackInfo< Array > &info) |
|
typedef void(* | IndexedPropertyGetterCallback )(uint32_t index, const PropertyCallbackInfo< Value > &info) |
|
typedef void(* | IndexedPropertySetterCallback )(uint32_t index, Local< Value > value, const PropertyCallbackInfo< Value > &info) |
|
typedef void(* | IndexedPropertyQueryCallback )(uint32_t index, const PropertyCallbackInfo< Integer > &info) |
|
typedef void(* | IndexedPropertyDeleterCallback )(uint32_t index, const PropertyCallbackInfo< Boolean > &info) |
|
typedef void(* | IndexedPropertyEnumeratorCallback )(const PropertyCallbackInfo< Array > &info) |
|
typedef bool(* | NamedSecurityCallback )(Local< Object > host, Local< Value > key, AccessType type, Local< Value > data) |
|
typedef bool(* | IndexedSecurityCallback )(Local< Object > host, uint32_t index, AccessType type, Local< Value > data) |
|
typedef void(* | FatalErrorCallback )(const char *location, const char *message) |
|
typedef void(* | MessageCallback )(Handle< Message > message, Handle< Value > error) |
|
typedef void(* | LogEventCallback )(const char *name, int event) |
|
typedef int *(* | CounterLookupCallback )(const char *name) |
|
typedef void *(* | CreateHistogramCallback )(const char *name, int min, int max, size_t buckets) |
|
typedef void(* | AddHistogramSampleCallback )(void *histogram, int sample) |
|
typedef void(* | MemoryAllocationCallback )(ObjectSpace space, AllocationAction action, int size) |
|
typedef void(* | CallCompletedCallback )() |
|
typedef void(* | FailedAccessCheckCallback )(Local< Object > target, AccessType type, Local< Value > data) |
|
typedef bool(* | AllowCodeGenerationFromStringsCallback )(Local< Context > context) |
|
typedef void(* | GCPrologueCallback )(GCType type, GCCallbackFlags flags) |
|
typedef void(* | GCEpilogueCallback )(GCType type, GCCallbackFlags flags) |
|
typedef void(* | InterruptCallback )(Isolate *isolate, void *data) |
|
typedef bool(* | EntropySource )(unsigned char *buffer, size_t length) |
|
typedef uintptr_t(* | ReturnAddressLocationResolver )(uintptr_t return_addr_location) |
|
typedef void(* | FunctionEntryHook )(uintptr_t function, uintptr_t return_addr_location) |
|
typedef void(* | JitCodeEventHandler )(const JitCodeEvent *event) |
|
|
enum | DebugEvent {
Break = 1,
Exception = 2,
NewFunction = 3,
BeforeCompile = 4,
AfterCompile = 5,
ScriptCollected = 6,
BreakForCommand = 7
} |
|
enum | PropertyAttribute { None = 0,
ReadOnly = 1 << 0,
DontEnum = 1 << 1,
DontDelete = 1 << 2
} |
|
enum | ExternalArrayType {
kExternalInt8Array = 1,
kExternalUint8Array,
kExternalInt16Array,
kExternalUint16Array,
kExternalInt32Array,
kExternalUint32Array,
kExternalFloat32Array,
kExternalFloat64Array,
kExternalUint8ClampedArray,
kExternalByteArray = kExternalInt8Array,
kExternalUnsignedByteArray = kExternalUint8Array,
kExternalShortArray = kExternalInt16Array,
kExternalUnsignedShortArray = kExternalUint16Array,
kExternalIntArray = kExternalInt32Array,
kExternalUnsignedIntArray = kExternalUint32Array,
kExternalFloatArray = kExternalFloat32Array,
kExternalDoubleArray = kExternalFloat64Array,
kExternalPixelArray = kExternalUint8ClampedArray
} |
|
enum | AccessControl { DEFAULT = 0,
ALL_CAN_READ = 1,
ALL_CAN_WRITE = 1 << 1,
PROHIBITS_OVERWRITING = 1 << 2
} |
|
enum | AccessType {
ACCESS_GET,
ACCESS_SET,
ACCESS_HAS,
ACCESS_DELETE,
ACCESS_KEYS
} |
|
enum | DeclaredAccessorDescriptorDataType {
kDescriptorBoolType,
kDescriptorInt8Type,
kDescriptorUint8Type,
kDescriptorInt16Type,
kDescriptorUint16Type,
kDescriptorInt32Type,
kDescriptorUint32Type,
kDescriptorFloatType,
kDescriptorDoubleType
} |
|
enum | ObjectSpace {
kObjectSpaceNewSpace = 1 << 0,
kObjectSpaceOldPointerSpace = 1 << 1,
kObjectSpaceOldDataSpace = 1 << 2,
kObjectSpaceCodeSpace = 1 << 3,
kObjectSpaceMapSpace = 1 << 4,
kObjectSpaceLoSpace = 1 << 5,
kObjectSpaceAll
} |
|
enum | AllocationAction { kAllocationActionAllocate = 1 << 0,
kAllocationActionFree = 1 << 1,
kAllocationActionAll = kAllocationActionAllocate | kAllocationActionFree
} |
|
enum | GCType { kGCTypeScavenge = 1 << 0,
kGCTypeMarkSweepCompact = 1 << 1,
kGCTypeAll = kGCTypeScavenge | kGCTypeMarkSweepCompact
} |
|
enum | GCCallbackFlags { kNoGCCallbackFlags = 0,
kGCCallbackFlagCompacted = 1 << 0,
kGCCallbackFlagConstructRetainedObjectInfos = 1 << 1,
kGCCallbackFlagForced = 1 << 2
} |
|
enum | JitCodeEventOptions { kJitCodeEventDefault = 0,
kJitCodeEventEnumExisting = 1
} |
|
enum | CompressedStartupDataItems {
kSnapshot = 0,
kSnapshotContext,
kLibraries,
kExperimentalLibraries,
kCompressedStartupDataCount
} |
|
|
void V8_EXPORT | RegisterExtension (Extension *extension) |
|
V8_INLINE Handle< Primitive > | Undefined (Isolate *isolate) |
|
V8_INLINE Handle< Primitive > | Null (Isolate *isolate) |
|
V8_INLINE Handle< Boolean > | True (Isolate *isolate) |
|
V8_INLINE Handle< Boolean > | False (Isolate *isolate) |
|
bool V8_EXPORT | SetResourceConstraints (Isolate *isolate, ResourceConstraints *constraints) |
|
| REGEXP_FLAG_ASSERT_EQ (kNone, NONE) |
|
| REGEXP_FLAG_ASSERT_EQ (kGlobal, GLOBAL) |
|
| REGEXP_FLAG_ASSERT_EQ (kIgnoreCase, IGNORE_CASE) |
|
| REGEXP_FLAG_ASSERT_EQ (kMultiline, MULTILINE) |
|
template<typename ElementType , ExternalArrayType array_type, i::ElementsKind elements_kind> |
i::Handle< i::JSTypedArray > | NewTypedArray (i::Isolate *isolate, Handle< ArrayBuffer > array_buffer, size_t byte_offset, size_t length) |
|
template<typename T > |
T | ToCData (v8::internal::Object *obj) |
|
template<typename T > |
v8::internal::Handle
< v8::internal::Object > | FromCData (v8::internal::Isolate *isolate, T obj) |
|
template<class T > |
T * | ToApi (v8::internal::Handle< v8::internal::Object > obj) |
|
template<class T > |
v8::Local< T > | ToApiHandle (v8::internal::Handle< v8::internal::Object > obj) |
|
void | HandleDebugEvent (const Debug::EventDetails &event_details) |
|
void | RunRemoteDebugger (Isolate *isolate, int port) |
|
bool | operator< (const CounterAndKey &lhs, const CounterAndKey &rhs) |
|
Debugger support for the V8 JavaScript engine.
Profiler support for the V8 JavaScript engine.
Testing support for the V8 JavaScript engine.
Support for Persistent containers.
C++11 embedders can use STL containers with UniquePersistent values, but pre-C++11 does not support the required move semantic and hence may want these container classes.
The v8 JavaScript engine.
Access control specifications.
Some accessors should be accessible across contexts. These accessors have an explicit access control parameter which specifies the kind of cross-context access that should be allowed.
Additionally, for security, accessors can prohibit overwriting by accessors defined in JavaScript. For objects that have such accessors either locally or in their prototype chain it is not possible to overwrite the accessor by using defineGetter or defineSetter from JavaScript code.
Enumerator |
---|
DEFAULT |
|
ALL_CAN_READ |
|
ALL_CAN_WRITE |
|
PROHIBITS_OVERWRITING |
|
Definition at line 2165 of file v8.h.