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

#include <chained_module_loader.h>

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

Public Member Functions

 ChainedModuleLoader (ModuleLoaders &&ml)
 
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

ModuleLoaders sub_loaders
 

Constructor & Destructor Documentation

◆ ChainedModuleLoader()

ccf::js::modules::ChainedModuleLoader::ChainedModuleLoader ( ModuleLoaders &&  ml)
inline

Member Function Documentation

◆ get_module()

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

Member Data Documentation

◆ sub_loaders

ModuleLoaders ccf::js::modules::ChainedModuleLoader::sub_loaders
protected

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