Navigation
API > API/Runtime > API/Runtime/VerseCompiler
Semantically represents a module
| Name | CModule |
| Type | class |
| Header File | /Engine/Source/Runtime/VerseCompiler/Public/uLang/Semantics/SemanticProgram.h |
| Include Path | #include "uLang/Semantics/SemanticProgram.h" |
Syntax
class CModule :
public uLang::CDefinition ,
public uLang::CNominalType ,
public uLang::CLogicalScope ,
public uLang::CAstPackageRef
Inheritance Hierarchy
- CAstPackageRef → CModule
- CAttributable → CDefinition → CModule
- CNamed → CDefinition → CModule
- TAstNodeRef → CDefinition → CModule
- CSharedMix → CDefinition → CModule
- CScope → CLogicalScope → CModule
- CTypeBase → CNormalType → CNominalType → CModule
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| uLang/Semantics/SemanticProgram.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| PartArray | TUPtrArrayG< CModulePart, false, TInlineElementAllocator< 1 > > | uLang/Semantics/SemanticProgram.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| StaticDefinitionKind | const CDefinition::EKind | uLang/Semantics/SemanticProgram.h | |
| StaticTypeKind | const ETypeKind | uLang/Semantics/SemanticProgram.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| _bPersistenceCompatConstraint | bool | uLang/Semantics/SemanticProgram.h | ||
| _Parts | PartArray | The partial modules that make up this module (in 99% of cases there will be just one) | uLang/Semantics/SemanticProgram.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
CModulePart & CreatePart
(
CScope* ParentScope, |
uLang/Semantics/SemanticProgram.h | ||
CExprModuleDefinition * GetAstNode() |
uLang/Semantics/SemanticProgram.h | ||
CExprModuleDefinition * GetIrNode
(
bool bForce |
uLang/Semantics/SemanticProgram.h | ||
const PartArray & GetParts() |
uLang/Semantics/SemanticProgram.h | ||
bool HasParts() |
Handling of partial module definitions. | uLang/Semantics/SemanticProgram.h | |
bool IsExplicitDefinition() |
uLang/Semantics/SemanticProgram.h | ||
void MarkPersistenceCompatConstraint() |
uLang/Semantics/SemanticProgram.h | ||
void SetAstNode
(
CExprModuleDefinition* AstNode |
uLang/Semantics/SemanticProgram.h | ||
void SetIrNode
(
CExprModuleDefinition* AstNode |
uLang/Semantics/SemanticProgram.h |
Overridden from CDefinition
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const CLogicalScope * DefinitionAsLogicalScopeNullable() |
If this definition has a corresponding scope, yield it. | uLang/Semantics/SemanticProgram.h | |
virtual bool IsPersistenceCompatConstraint() |
uLang/Semantics/SemanticProgram.h |
Overridden from CNominalType
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const CDefinition * Definition() |
uLang/Semantics/SemanticProgram.h |
Overridden from CNormalType
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual SmallDefinitionArray FindInstanceMember
(
const CSymbol& Name, |
uLang/Semantics/SemanticProgram.h | ||
virtual bool IsExplicitlyCastable() |
uLang/Semantics/SemanticProgram.h | ||
virtual bool IsExplicitlyConcrete() |
uLang/Semantics/SemanticProgram.h | ||
virtual bool IsPersistable() |
Returns whether this type is `persistable_ | uLang/Semantics/SemanticProgram.h |
Overridden from CTypeBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanBeCustomAccessorDataType() |
uLang/Semantics/SemanticProgram.h |
Overridden from CLogicalScope
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual SmallDefinitionArray FindDefinitions
(
const CSymbol& Name, |
uLang/Semantics/SemanticProgram.h |
Overridden from CScope
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual CSymbol GetScopeName() |
uLang/Semantics/SemanticProgram.h | ||
virtual const CDefinition * ScopeAsDefinition() |
uLang/Semantics/SemanticProgram.h | ||
virtual const CTypeBase * ScopeAsType() |
uLang/Semantics/SemanticProgram.h |