Navigation
API > API/Runtime > API/Runtime/VerseCompiler > API/Runtime/VerseCompiler/uLang > API/Runtime/VerseCompiler/uLang/Semantics
Inheritance Hierarchy
- CDefinition
- CLogicalScope
- CNominalType
- CEnumeration
References
| Module | VerseCompiler |
| Header | /Engine/Source/Runtime/VerseCompiler/Public/uLang/Semantics/SemanticEnumeration.h |
| Include | #include "uLang/Semantics/SemanticEnumeration.h" |
Syntax
class CEnumeration :
public uLang::CDefinition ,
public uLang::CLogicalScope ,
public uLang::CNominalType
Remarks
Enumeration type @jira SOL-1013 : Make enums derive from Class?
Variables
| Type | Name | Description | |
|---|---|---|---|
| CAttributable | _EffectAttributable |
Constructors
| Type | Name | Description | |
|---|---|---|---|
CEnumeration
(
const CSymbol& Name, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| CEnumerator & | CreateEnumerator
(
const CSymbol& EnumeratorName, |
||
| CExprEnumDefinition * | GetAstNode () |
||
| CExprEnumDefinition * | GetIrNode
(
bool bForce |
||
| CSemanticProgram & | GetProgram () |
||
| void | SetAstNode
(
CExprEnumDefinition* AstNode |
||
| void | SetIrNode
(
CExprEnumDefinition* AstNode |
Overridden from CDefinition
| Type | Name | Description | |
|---|---|---|---|
| const CLogicalScope * | If this definition has a corresponding scope, yield it. | ||
| bool |
Overridden from CScope
| Type | Name | Description | |
|---|---|---|---|
| SAccessLevel | |||
| CSymbol | GetScopeName () |
||
| const CDefinition * |
Overridden from CNominalType
| Type | Name | Description | |
|---|---|---|---|
| const CDefinition * | Definition () |
Overridden from CNormalType
| Type | Name | Description | |
|---|---|---|---|
| SmallDefinitionArray | FindTypeMember
(
const CSymbol& Name, |
||
| EComparability | Returns whether this type is comparable for equality | ||
| bool | Returns whether this type is `persistable_ |
Overridden from CTypeBase
| Type | Name | Description | |
|---|---|---|---|
| bool |
Constants
| Name | Description |
|---|---|
| StaticDefinitionKind | |
| StaticTypeKind |