V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::ModuleDescriptor Class Reference
Inheritance diagram for v8::internal::ModuleDescriptor:
v8::internal::ZoneObject

Classes

struct  AstRawStringComparer
 
struct  Entry
 
struct  ModuleRequest
 

Public Types

enum  CellIndexKind { kInvalid, kExport, kImport }
 
typedef ZoneMap< const AstRawString *, ModuleRequest, AstRawStringComparerModuleRequestMap
 
typedef ZoneMultimap< const AstRawString *, Entry *, AstRawStringComparerRegularExportMap
 
typedef ZoneMap< const AstRawString *, Entry *, AstRawStringComparerRegularImportMap
 

Public Member Functions

 ModuleDescriptor (Zone *zone)
 
void AddImport (const AstRawString *import_name, const AstRawString *local_name, const AstRawString *module_request, const Scanner::Location loc, const Scanner::Location specifier_loc, Zone *zone)
 
void AddStarImport (const AstRawString *local_name, const AstRawString *module_request, const Scanner::Location loc, const Scanner::Location specifier_loc, Zone *zone)
 
void AddEmptyImport (const AstRawString *module_request, const Scanner::Location specifier_loc)
 
void AddExport (const AstRawString *local_name, const AstRawString *export_name, const Scanner::Location loc, Zone *zone)
 
void AddExport (const AstRawString *export_name, const AstRawString *import_name, const AstRawString *module_request, const Scanner::Location loc, const Scanner::Location specifier_loc, Zone *zone)
 
void AddStarExport (const AstRawString *module_request, const Scanner::Location loc, const Scanner::Location specifier_loc, Zone *zone)
 
bool Validate (ModuleScope *module_scope, PendingCompilationErrorHandler *error_handler, Zone *zone)
 
const ModuleRequestMapmodule_requests () const
 
const ZoneVector< const Entry * > & namespace_imports () const
 
const RegularImportMapregular_imports () const
 
const ZoneVector< const Entry * > & special_exports () const
 
const RegularExportMapregular_exports () const
 
void AddRegularExport (Entry *entry)
 
void AddSpecialExport (const Entry *entry, Zone *zone)
 
void AddRegularImport (Entry *entry)
 
void AddNamespaceImport (const Entry *entry, Zone *zone)
 
Handle< FixedArraySerializeRegularExports (Isolate *isolate, Zone *zone) const
 
void DeserializeRegularExports (Isolate *isolate, AstValueFactory *avfactory, Handle< ModuleInfo > module_info)
 
- Public Member Functions inherited from v8::internal::ZoneObject
void * operator new (size_t size, Zone *zone)
 
void operator delete (void *, size_t)
 
void operator delete (void *pointer, Zone *zone)
 

Static Public Member Functions

static CellIndexKind GetCellIndexKind (int cell_index)
 

Detailed Description

Definition at line 20 of file modules.h.


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