Navigation
API > API/Runtime > API/Runtime/VerseCompiler > API/Runtime/VerseCompiler/uLang > API/Runtime/VerseCompiler/uLang/Semantics
Inheritance Hierarchy
- CScope
- TAstNodeRef
- CAstPackageRef
- CModulePart
References
| Module | VerseCompiler |
| Header | /Engine/Source/Runtime/VerseCompiler/Public/uLang/Semantics/SemanticProgram.h |
| Include | #include "uLang/Semantics/SemanticProgram.h" |
Syntax
class CModulePart :
public uLang::CScope ,
public uLang::TAstNodeRef< CExprModuleDefinition > ,
public uLang::CAstPackageRef
Remarks
Semantically represents a partial module aka a module definition either via vmodule file or module macro Always is directly parented to a CModule
Constructors
| Type | Name | Description | |
|---|---|---|---|
CModulePart
(
CModule& Module, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const CModule * | GetModule () |
This statically overrides CScope::GetModule() for efficiency, calling either override will return the same result. | |
| CModule * | GetModule () |
||
| bool |
Overridden from CScope
| Type | Name | Description | |
|---|---|---|---|
| const CLogicalScope * | Iff this scope is a logical scope, return it a pointer to it. Otherwise, return null. | ||
| CLogicalScope * | |||
| CSymbol | GetScopeName () |
||
| const CDefinition * | |||
| const CTypeBase * | ScopeAsType () |