|
typedef uint32_t | SnapshotObjectId |
|
typedef void(* | WeakReferenceCallback) (Persistent< Value > object, void *parameter) |
|
typedef Handle< Value >(* | AccessorGetter) (Local< String > property, const AccessorInfo &info) |
|
typedef void(* | AccessorSetter) (Local< String > property, Local< Value > value, const AccessorInfo &info) |
|
typedef Handle< Value >(* | InvocationCallback) (const Arguments &args) |
|
typedef Handle< Value >(* | NamedPropertyGetter) (Local< String > property, const AccessorInfo &info) |
|
typedef Handle< Value >(* | NamedPropertySetter) (Local< String > property, Local< Value > value, const AccessorInfo &info) |
|
typedef Handle< Integer >(* | NamedPropertyQuery) (Local< String > property, const AccessorInfo &info) |
|
typedef Handle< Boolean >(* | NamedPropertyDeleter) (Local< String > property, const AccessorInfo &info) |
|
typedef Handle< Array >(* | NamedPropertyEnumerator) (const AccessorInfo &info) |
|
typedef Handle< Value >(* | IndexedPropertyGetter) (uint32_t index, const AccessorInfo &info) |
|
typedef Handle< Value >(* | IndexedPropertySetter) (uint32_t index, Local< Value > value, const AccessorInfo &info) |
|
typedef Handle< Integer >(* | IndexedPropertyQuery) (uint32_t index, const AccessorInfo &info) |
|
typedef Handle< Boolean >(* | IndexedPropertyDeleter) (uint32_t index, const AccessorInfo &info) |
|
typedef Handle< Array >(* | IndexedPropertyEnumerator) (const AccessorInfo &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 > data) |
|
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(* | GCCallback) () |
|
typedef bool(* | EntropySource) (unsigned char *buffer, size_t length) |
|
typedef uintptr_t(* | ReturnAddressLocationResolver) (uintptr_t return_addr_location) |
|
|
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 {
kExternalByteArray = 1
, kExternalUnsignedByteArray
, kExternalShortArray
, kExternalUnsignedShortArray
,
kExternalIntArray
, kExternalUnsignedIntArray
, kExternalFloatArray
, kExternalDoubleArray
,
kExternalPixelArray
} |
|
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 | 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
} |
|
Debugger support for the V8 JavaScript engine.
Profiler support for the V8 JavaScript engine.
Testing support for the V8 JavaScript engine.
The v8 JavaScript engine.
typedef uintptr_t(* ReturnAddressLocationResolver) (uintptr_t return_addr_location) |
ReturnAddressLocationResolver is used as a callback function when v8 is resolving the location of a return address on the stack. Profilers that change the return address on the stack can use this to resolve the stack location to whereever the profiler stashed the original return address. When invoked, return_addr_location will point to a location on stack where a machine return address resides, this function should return either the same pointer, or a pointer to the profiler's copy of the original return address.
Definition at line 2917 of file v8.h.
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 1446 of file v8.h.