Navigation
API > API/Runtime > API/Runtime/VerseCompiler
Abstraction of a source file
| Name | ISourceSnippet |
| Type | class |
| Header File | /Engine/Source/Runtime/VerseCompiler/Public/uLang/SourceProject/SourceProject.h |
| Include Path | #include "uLang/SourceProject/SourceProject.h" |
Syntax
class ISourceSnippet : public uLang::CSharedMix
Inheritance Hierarchy
- CSharedMix → ISourceSnippet
Derived Classes
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~ISourceSnippet() |
uLang/SourceProject/SourceProject.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
CUTF8String GetPath() |
Globally unique path of this snippet, e.g. a fully qualified file path | uLang/SourceProject/SourceProject.h | |
virtual uint64_t GetSourceVersion() |
uLang/SourceProject/SourceProject.h | ||
TOptional< CUTF8String > GetText() |
Get text representation of this snippet When the result is EResult::Unspecified, no text representation exists When the result is EResult::Error, text representation exists, but an error occurred retrieving it | uLang/SourceProject/SourceProject.h | |
TOptional< TSRef< Verse::Vst::Snippet > > GetVst() |
Get Vst representation of this snippet When the result is EResult::Unspecified, no Vst representation exists When the result is EResult::Error, Vst representation exists, but an error occurred retrieving it | uLang/SourceProject/SourceProject.h | |
virtual bool IsSnippetValid
(
Verse::Vst::Snippet& Snippet |
Source version tracking to facilitate some VST reuse across compiles By default, all cached snippet VSTs are invalid so we won't reuse them. | uLang/SourceProject/SourceProject.h | |
void SetPath
(
const CUTF8String& Path |
uLang/SourceProject/SourceProject.h | ||
void SetVst
(
TSRef< Verse::Vst::Snippet > Snippet |
uLang/SourceProject/SourceProject.h |