Reference/AnyInterpreter

Definition

HeaderFile: UCodeLang/Compliation/ModuleFile.hpp

Is Included In UCodeLang.hpp: No

The UCodeLang Compiler Module System.

class AnyInterpreter;

Example

Methods

FuncionParametersReturnDescription
BuildModule(Compiler& Compiler,const ModuleIndex& Modules,bool IsSubModule = false, OptionalRef LogsOut = {})ModuleRetBuilds The Module Project.
BuildFile(const String& filestring, Compiler& Compiler, const ModuleIndex& Modules)ModuleRetBuilds The Module file using the filestring as a Build Script.
DownloadModules(const ModuleIndex& Modules,OptionalRef LogsOut = {})boolDownloads The Modules Dependencies.

Static Funcions

FuncionParametersReturnDescription
ToFile(const ModuleFile* Lib, const Path& path)boolWrite the Module File to the path and returns true if it succeeded.
FromFile(ModuleFile* Lib, const Path& path)boolGet the Module File from the path and returns true if it succeeded

Fields

TypeNameDescription
ModuleIdentifierModuleNameThe Module identification.
PathThisModuleDirThe working directory of this Module.Is set fom FromFile.
boolForceImportif true the Compiler will Force the Import System to be used
boolRemoveUnSafeif true the Compiler will ban the use of unsafe in the Module.
Vector<ModuleDependencie>ModuleDependenciesModules this Module needs to Compile.

Static Members

Types

Notes