Navigation
API > API/Runtime > API/Runtime/VerseCompiler
A module
| Name | CSourceModule |
| Type | class |
| Header File | /Engine/Source/Runtime/VerseCompiler/Public/uLang/SourceProject/SourceProject.h |
| Include Path | #include "uLang/SourceProject/SourceProject.h" |
Syntax
class CSourceModule : public uLang::CSharedMix
Inheritance Hierarchy
- CSharedMix → CSourceModule
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
CSourceModule
(
const CUTF8StringView& Name |
Construct from name. | uLang/SourceProject/SourceProject.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~CSourceModule() |
uLang/SourceProject/SourceProject.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| _SourceSnippets | TSRefArray< ISourceSnippet > | The source files contained in the module. | uLang/SourceProject/SourceProject.h | |
| _Submodules | TSRefArray< CSourceModule > | Submodules of this module. | uLang/SourceProject/SourceProject.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddSnippet
(
const uLang::TSRef< ISourceSnippet >& Snippet |
uLang/SourceProject/SourceProject.h | ||
TOptional< TSRef< CSourceModule > > FindSubmodule
(
const CUTF8StringView& ModuleName |
uLang/SourceProject/SourceProject.h | ||
virtual const CUTF8String & GetFilePath() |
uLang/SourceProject/SourceProject.h | ||
const CUTF8String & GetName() |
uLang/SourceProject/SourceProject.h | ||
| uLang/SourceProject/SourceProject.h | |||
bool RemoveSnippet
(
const uLang::TSRef< ISourceSnippet >& Snippet, |
uLang/SourceProject/SourceProject.h | ||
bool VisitAll
(
FunctionType&& Lambda |
Visit this module and all its submodules Lambda returns true to continue visiting, false to terminate search Returns true if all modules have been visited, false if search was terminated early | uLang/SourceProject/SourceProject.h | |
bool VisitAll
(
FunctionType&& Lambda |
uLang/SourceProject/SourceProject.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static CUTF8StringView GetNameFromFile
(
const CUTF8StringView& ModuleFilePath |
uLang/SourceProject/SourceProject.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ULANG_FORCEINLINE bool operator==
(
const CUTF8StringView& Name |
For lookup by name. | uLang/SourceProject/SourceProject.h |