Navigation
API > API/Runtime > API/Runtime/VerseCompiler > API/Runtime/VerseCompiler/uLang > API/Runtime/VerseCompiler/uLang/SourceProject
Inheritance Hierarchy
- CSharedMix
- CSourceModule
- CSourceFileModule
References
| Module | VerseCompiler |
| Header | /Engine/Source/Runtime/VerseCompiler/Public/uLang/SourceProject/SourceProject.h |
| Include | #include "uLang/SourceProject/SourceProject.h" |
Syntax
class CSourceModule : public uLang::CSharedMix
Remarks
A module
Variables
| Type | Name | Description | |
|---|---|---|---|
| CUTF8String | _Name | Name of this module. | |
| TSRefArray< ISourceSnippet > | _SourceSnippets | The source files contained in the module. | |
| TSRefArray< CSourceModule > | _Submodules | Submodules of this module. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
CSourceModule
(
const CUTF8StringView& Name |
Construct from name. |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddSnippet
(
const uLang::TSRef< ISourceSnippet >& Snippet |
||
| TOptional< TSRef< CSourceModule > > | FindSubmodule
(
const CUTF8StringView& ModuleName |
||
| const CUTF8String & | GetFilePath () |
||
| const CUTF8String & | GetName () |
||
| CUTF8StringView | |||
| CUTF8StringView | GetNameFromFile
(
const CUTF8StringView& ModuleFilePath |
||
| bool | RemoveSnippet
(
const uLang::TSRef< ISourceSnippet >& Snippet, |
||
| 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 | |
| bool | VisitAll
(
FunctionType&& Lambda |
Operators
| Type | Name | Description | |
|---|---|---|---|
| ULANG_FORCEINLINE bool | operator==
(
const CUTF8StringView& Name |
For lookup by name. |