CCF
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
ccf::js::modules::KvBytecodeModuleLoader Class Reference

#include <kv_bytecode_module_loader.h>

Inherits ccf::js::modules::ModuleLoaderInterface.

Public Member Functions

 KvBytecodeModuleLoader (ccf::ModulesQuickJsBytecode::ReadOnlyHandle *mbh, ccf::ModulesQuickJsVersion::ReadOnlyHandle *modules_version_handle)
 
virtual std::optional< js::core::JSWrappedValueget_module (std::string_view module_name, js::core::Context &ctx) override
 
- Public Member Functions inherited from ccf::js::modules::ModuleLoaderInterface
virtual ~ModuleLoaderInterface ()=default
 

Protected Attributes

ccf::ModulesQuickJsBytecode::ReadOnlyHandlemodules_bytecode_handle
 
bool version_ok
 

Constructor & Destructor Documentation

◆ KvBytecodeModuleLoader()

ccf::js::modules::KvBytecodeModuleLoader::KvBytecodeModuleLoader ( ccf::ModulesQuickJsBytecode::ReadOnlyHandle mbh,
ccf::ModulesQuickJsVersion::ReadOnlyHandle modules_version_handle 
)
inline

Member Function Documentation

◆ get_module()

virtual std::optional< js::core::JSWrappedValue > ccf::js::modules::KvBytecodeModuleLoader::get_module ( std::string_view  module_name,
js::core::Context ctx 
)
inlineoverridevirtual

Member Data Documentation

◆ modules_bytecode_handle

ccf::ModulesQuickJsBytecode::ReadOnlyHandle* ccf::js::modules::KvBytecodeModuleLoader::modules_bytecode_handle
protected

◆ version_ok

bool ccf::js::modules::KvBytecodeModuleLoader::version_ok
protected

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