![]() |
V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
|
Classes | |
| class | BodyDescriptor |
Public Member Functions | |
| DEFINE_FIELD_OFFSET_CONSTANTS (Context::kTodoHeaderSize, NATIVE_CONTEXT_FIELDS_DEF) class BodyDescriptor | |
Public Member Functions inherited from v8::internal::Context | |
| NEVER_READ_ONLY_SPACE V8_INLINE int | length () const |
| V8_INLINE void | set_length (int value) |
| V8_INLINE Object * | get (int index) const |
| V8_INLINE void | set (int index, Object *value) |
| V8_INLINE void | set (int index, Object *value, WriteBarrierMode mode) |
| void | ResetErrorsThrown () |
| void | IncrementErrorsThrown () |
| int | GetErrorsThrown () |
| void | set_scope_info (ScopeInfo scope_info) |
| Context | previous () |
| void | set_previous (Context context) |
| Object * | next_context_link () |
| bool | has_extension () |
| HeapObject * | extension () |
| void | set_extension (HeapObject *object) |
| JSObject * | extension_object () |
| JSReceiver * | extension_receiver () |
| ScopeInfo | scope_info () |
| Module * | module () |
| Context | declaration_context () |
| bool | is_declaration_context () |
| Context | closure_context () |
| JSGlobalProxy * | global_proxy () |
| void | set_global_proxy (JSGlobalProxy *global) |
| V8_EXPORT_PRIVATE JSGlobalObject * | global_object () |
| Context | script_context () |
| NativeContext | native_context () const |
| void | set_native_context (NativeContext context) |
| bool | IsFunctionContext () const |
| bool | IsCatchContext () const |
| bool | IsWithContext () const |
| bool | IsDebugEvaluateContext () const |
| bool | IsAwaitContext () const |
| bool | IsBlockContext () const |
| bool | IsModuleContext () const |
| bool | IsEvalContext () const |
| bool | IsScriptContext () const |
| bool | HasSameSecurityTokenAs (Context that) const |
| void | AddOptimizedCode (Code code) |
| void | SetOptimizedCodeListHead (Object *head) |
| Object * | OptimizedCodeListHead () |
| void | SetDeoptimizedCodeListHead (Object *head) |
| Object * | DeoptimizedCodeListHead () |
| Handle< Object > | ErrorMessageForCodeGenerationFromStrings () |
| Handle< Object > | Lookup (Handle< String > name, ContextLookupFlags flags, int *index, PropertyAttributes *attributes, InitializationFlag *init_flag, VariableMode *variable_mode, bool *is_sloppy_function_name=nullptr) |
| Map | GetInitialJSArrayMap (ElementsKind kind) const |
Public Member Functions inherited from v8::internal::HeapObjectPtr | |
| Map | map () const |
| void | set_map (Map value) |
| void | set_map_after_allocation (Map value, WriteBarrierMode mode=UPDATE_WRITE_BARRIER) |
| void | set_map_no_write_barrier (Map value) |
| ObjectSlot | map_slot () |
| MapWord | map_word () const |
| void | set_map_word (MapWord map_word) |
| void | synchronized_set_map (Map value) |
| void | synchronized_set_map_word (MapWord map_word) |
| WriteBarrierMode | GetWriteBarrierMode (const DisallowHeapAllocation &promise) |
| operator HeapObject * () | |
| operator const HeapObject * () const | |
| bool | is_null () const |
| bool | IsHeapObjectPtr () const |
| ReadOnlyRoots | GetReadOnlyRoots () const |
| Address | address () const |
| int | Size () const |
| int | SizeFromMap (Map map) const |
| ObjectSlot | RawField (int byte_offset) const |
| MaybeObjectSlot | RawMaybeWeakField (int byte_offset) const |
| void | HeapObjectVerify (Isolate *isolate) |
| Address | GetFieldAddress (int field_offset) const |
Public Member Functions inherited from v8::internal::ObjectPtr | |
| constexpr | ObjectPtr (Address ptr) |
| operator Object * () const | |
| bool | operator== (const ObjectPtr other) const |
| bool | operator!= (const ObjectPtr other) const |
| bool | operator< (const ObjectPtr other) const |
| constexpr Address | ptr () const |
| ObjectPtr * | operator-> () |
| const ObjectPtr * | operator-> () const |
| bool | IsHashTableBase () const |
| V8_INLINE bool | IsSmallOrderedHashTable () const |
| bool | IsObject () const |
| double | Number () const |
| bool | ToInt32 (int32_t *value) const |
| bool | ToUint32 (uint32_t *value) const |
| bool | BooleanValue (Isolate *isolate) |
| bool | FilterKey (PropertyFilter filter) |
| Object * | GetHash () |
| Smi | GetOrCreateHash (Isolate *isolate) |
| V8_EXPORT_PRIVATE bool | SameValue (Object *other) |
| V8_WARN_UNUSED_RESULT bool | ToArrayIndex (uint32_t *index) const |
| void | ShortPrint (FILE *out=stdout) |
| void | ShortPrint (std::ostream &os) |
| void | Print () |
| void | Print (std::ostream &os) |
Additional Inherited Members | |
Public Types inherited from v8::internal::Context | |
| enum | Field { SCOPE_INFO_INDEX, PREVIOUS_INDEX, EXTENSION_INDEX, NATIVE_CONTEXT_INDEX, OPTIMIZED_CODE_LIST, DEOPTIMIZED_CODE_LIST, NEXT_CONTEXT_LINK, NATIVE_CONTEXT_SLOTS, FIRST_WEAK_SLOT = OPTIMIZED_CODE_LIST, FIRST_JS_ARRAY_MAP_SLOT = JS_ARRAY_PACKED_SMI_ELEMENTS_MAP_INDEX, MIN_CONTEXT_SLOTS = GLOBAL_PROXY_INDEX, THROWN_OBJECT_INDEX = MIN_CONTEXT_SLOTS, WRAPPED_CONTEXT_INDEX = MIN_CONTEXT_SLOTS, WHITE_LIST_INDEX = MIN_CONTEXT_SLOTS + 1 } |
| typedef FlexibleBodyDescriptor< kStartOfTaggedFieldsOffset > | BodyDescriptor |
Static Public Member Functions inherited from v8::internal::Context | |
| static V8_INLINE constexpr int | SizeFor (int length) |
| static V8_INLINE constexpr int | OffsetOfElementAt (int index) |
| static V8_INLINE constexpr int | SlotOffset (int index) |
| static int | ImportedFieldIndexForName (Handle< String > name) |
| static int | IntrinsicIndexForName (Handle< String > name) |
| static int | IntrinsicIndexForName (const unsigned char *name, int length) |
| static int | FunctionMapIndex (LanguageMode language_mode, FunctionKind kind, bool has_prototype_slot, bool has_shared_name, bool needs_home_object) |
| static int | ArrayMapIndex (ElementsKind elements_kind) |
Static Public Attributes inherited from v8::internal::Context | |
| static const int | FIRST_FUNCTION_MAP_INDEX = SLOPPY_FUNCTION_MAP_INDEX |
| static const int | LAST_FUNCTION_MAP_INDEX = CLASS_FUNCTION_MAP_INDEX |
| static const int | kNoContext = 0 |
| static const int | kInvalidContext = 1 |
| static const int | kNotFound = -1 |
Static Public Attributes inherited from v8::internal::HeapObjectPtr | |
| static const int | kMapOffset = HeapObject::kMapOffset |
| static const int | kHeaderSize = HeapObject::kHeaderSize |
Protected Types inherited from v8::internal::HeapObjectPtr | |
| enum | AllowInlineSmiStorage { kRequireHeapObjectTag, kAllowBeingASmi } |
Protected Member Functions inherited from v8::internal::HeapObjectPtr | |
| HeapObjectPtr (Address ptr, AllowInlineSmiStorage allow_smi) | |
Definition at line 683 of file contexts.h.