v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::SourceTextModuleInfo Class Reference

#include <source-text-module.h>

Inheritance diagram for v8::internal::SourceTextModuleInfo:
Collaboration diagram for v8::internal::SourceTextModuleInfo:

Public Member Functions

Tagged< FixedArraymodule_requests () const
 
Tagged< FixedArrayspecial_exports () const
 
Tagged< FixedArrayregular_exports () const
 
Tagged< FixedArrayregular_imports () const
 
Tagged< FixedArraynamespace_imports () const
 
int RegularExportCount () const
 
Tagged< StringRegularExportLocalName (int i) const
 
int RegularExportCellIndex (int i) const
 
Tagged< FixedArrayRegularExportExportNames (int i) const
 
bool Equals (Tagged< SourceTextModuleInfo > other) const
 
- Public Member Functions inherited from v8::internal::FixedArray
void MoveElements (Isolate *isolate, int dst_index, int src_index, int len, WriteBarrierMode mode)
 
void CopyElements (Isolate *isolate, int dst_index, Tagged< FixedArray > src, int src_index, int len, WriteBarrierMode mode)
 
V8_EXPORT_PRIVATE void RightTrim (Isolate *isolate, int new_capacity)
 
void FillWithHoles (int from, int to)
 
bool is_the_hole (Isolate *isolate, int index)
 
void set_the_hole (Isolate *isolate, int index)
 
void set_the_hole (ReadOnlyRoots ro_roots, int index)
 
template<template< typename > typename HandleType>
requires ( std::is_convertible_v<HandleType<FixedArray>, DirectHandle<FixedArray>>)
HandleType< FixedArraySetAndGrow (Isolate *isolate, HandleType< FixedArray > array, int index, DirectHandle< Object > value)
 
- Public Member Functions inherited from v8::internal::TaggedArrayBase< FixedArray, TaggedArrayShape >
Tagged< ElementTget (int index) const
 
Tagged< ElementTget (int index, RelaxedLoadTag) const
 
Tagged< ElementTget (int index, AcquireLoadTag) const
 
Tagged< ElementTget (int index, SeqCstAccessTag) const
 
void set (int index, Tagged< ElementT > value, WriteBarrierMode mode=kDefaultMode)
 
void set (int index, Tagged< Smi > value)
 
void set (int index, Tagged< ElementT > value, RelaxedStoreTag, WriteBarrierMode mode=kDefaultMode)
 
void set (int index, Tagged< Smi > value, RelaxedStoreTag)
 
void set (int index, Tagged< ElementT > value, ReleaseStoreTag, WriteBarrierMode mode=kDefaultMode)
 
void set (int index, Tagged< Smi > value, ReleaseStoreTag)
 
void set (int index, Tagged< ElementT > value, SeqCstAccessTag, WriteBarrierMode mode=kDefaultMode)
 
void set (int index, Tagged< Smi > value, SeqCstAccessTag)
 
Tagged< ElementTswap (int index, Tagged< ElementT > value, SeqCstAccessTag, WriteBarrierMode mode=kDefaultMode)
 
Tagged< ElementTcompare_and_swap (int index, Tagged< ElementT > expected, Tagged< ElementT > value, SeqCstAccessTag, WriteBarrierMode mode=kDefaultMode)
 
void RightTrim (Isolate *isolate, int new_capacity)
 
int AllocatedSize () const
 
SlotType RawFieldOfFirstElement () const
 
SlotType RawFieldOfElementAt (int index) const
 
Handle< DAllocate (IsolateT *isolate, int capacity, std::optional< DisallowGarbageCollection > *no_gc_out, AllocationType allocation)
 

Static Public Member Functions

template<typename IsolateT >
static DirectHandle< SourceTextModuleInfoNew (IsolateT *isolate, Zone *zone, SourceTextModuleDescriptor *descr)
 
- Static Public Member Functions inherited from v8::internal::FixedArray
template<class IsolateT >
static Handle< FixedArrayNew (IsolateT *isolate, int capacity, AllocationType allocation=AllocationType::kYoung)
 
template<template< typename > typename HandleType>
requires ( std::is_convertible_v<HandleType<FixedArray>, DirectHandle<FixedArray>>)
static V8_EXPORT_PRIVATE HandleType< FixedArraySetAndGrow (Isolate *isolate, HandleType< FixedArray > array, int index, DirectHandle< Object > value)
 
template<template< typename > typename HandleType>
requires ( std::is_convertible_v<HandleType<FixedArray>, DirectHandle<FixedArray>>)
static HandleType< FixedArrayRightTrimOrEmpty (Isolate *isolate, HandleType< FixedArray > array, int new_length)
 
- Static Public Member Functions inherited from v8::internal::TaggedArrayBase< FixedArray, TaggedArrayShape >
static void MoveElements (Isolate *isolate, Tagged< FixedArray > dst, int dst_index, Tagged< FixedArray > src, int src_index, int len, WriteBarrierMode mode=kDefaultMode)
 
static void CopyElements (Isolate *isolate, Tagged< FixedArray > dst, int dst_index, Tagged< FixedArray > src, int src_index, int len, WriteBarrierMode mode=kDefaultMode)
 
static constexpr int SizeFor (int capacity)
 
static constexpr int OffsetOfElementAt (int index)
 

Private Types

enum  {
  kModuleRequestsIndex , kSpecialExportsIndex , kRegularExportsIndex , kNamespaceImportsIndex ,
  kRegularImportsIndex , kLength
}
 
enum  { kRegularExportLocalNameOffset , kRegularExportCellIndexOffset , kRegularExportExportNamesOffset , kRegularExportLength }
 

Friends

template<typename Impl >
class FactoryBase
 
class SourceTextModuleDescriptor
 

Additional Inherited Members

- Public Types inherited from v8::internal::TaggedArrayBase< FixedArray, TaggedArrayShape >
using Header
 
using Shape
 
- Static Public Attributes inherited from v8::internal::FixedArray
static constexpr int kMaxLength = FixedArray::kMaxCapacity
 
static constexpr int kMaxRegularLength = FixedArray::kMaxRegularCapacity
 
- Static Public Attributes inherited from v8::internal::TaggedArrayBase< FixedArray, TaggedArrayShape >
static constexpr bool kElementsAreMaybeObject
 
static constexpr int kElementSize
 
static constexpr int kMaxCapacity
 
static constexpr int kMaxRegularCapacity
 
- Protected Member Functions inherited from v8::internal::TaggedArrayBase< FixedArray, TaggedArrayShape >
bool IsInBounds (int index) const
 
bool IsCowArray () const
 
 FLEXIBLE_ARRAY_MEMBER (ElementMemberT, objects)
 
- Static Protected Member Functions inherited from v8::internal::TaggedArrayBase< FixedArray, TaggedArrayShape >
static Handle< FixedArrayAllocate (IsolateT *isolate, int capacity, std::optional< DisallowGarbageCollection > *no_gc_out, AllocationType allocation=AllocationType::kYoung)
 
static constexpr int NewCapacityForIndex (int index, int old_capacity)
 

Detailed Description

Definition at line 239 of file source-text-module.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
private
Enumerator
kModuleRequestsIndex 
kSpecialExportsIndex 
kRegularExportsIndex 
kNamespaceImportsIndex 
kRegularImportsIndex 
kLength 

Definition at line 263 of file source-text-module.h.

◆ anonymous enum

anonymous enum
private
Enumerator
kRegularExportLocalNameOffset 
kRegularExportCellIndexOffset 
kRegularExportExportNamesOffset 
kRegularExportLength 

Definition at line 271 of file source-text-module.h.

Member Function Documentation

◆ Equals()

bool v8::internal::SourceTextModuleInfo::Equals ( Tagged< SourceTextModuleInfo > other) const
inline

Definition at line 85 of file module-inl.h.

Here is the call graph for this function:

◆ module_requests()

Tagged< FixedArray > v8::internal::SourceTextModuleInfo::module_requests ( ) const
inline

Definition at line 64 of file module-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ namespace_imports()

Tagged< FixedArray > v8::internal::SourceTextModuleInfo::namespace_imports ( ) const
inline

Definition at line 80 of file module-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ New()

template<typename IsolateT >
template DirectHandle< SourceTextModuleInfo > v8::internal::SourceTextModuleInfo::New ( IsolateT * isolate,
Zone * zone,
SourceTextModuleDescriptor * descr )
static

Definition at line 1215 of file scope-info.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ regular_exports()

Tagged< FixedArray > v8::internal::SourceTextModuleInfo::regular_exports ( ) const
inline

Definition at line 72 of file module-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ regular_imports()

Tagged< FixedArray > v8::internal::SourceTextModuleInfo::regular_imports ( ) const
inline

Definition at line 76 of file module-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ RegularExportCellIndex()

int v8::internal::SourceTextModuleInfo::RegularExportCellIndex ( int i) const

Definition at line 1294 of file scope-info.cc.

Here is the call graph for this function:

◆ RegularExportCount()

int v8::internal::SourceTextModuleInfo::RegularExportCount ( ) const

Definition at line 1284 of file scope-info.cc.

Here is the call graph for this function:

◆ RegularExportExportNames()

Tagged< FixedArray > v8::internal::SourceTextModuleInfo::RegularExportExportNames ( int i) const

Definition at line 1299 of file scope-info.cc.

Here is the call graph for this function:

◆ RegularExportLocalName()

Tagged< String > v8::internal::SourceTextModuleInfo::RegularExportLocalName ( int i) const

Definition at line 1289 of file scope-info.cc.

Here is the call graph for this function:

◆ special_exports()

Tagged< FixedArray > v8::internal::SourceTextModuleInfo::special_exports ( ) const
inline

Definition at line 68 of file module-inl.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ FactoryBase

template<typename Impl >
friend class FactoryBase
friend

Definition at line 261 of file source-text-module.h.

◆ SourceTextModuleDescriptor

friend class SourceTextModuleDescriptor
friend

Definition at line 262 of file source-text-module.h.


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