Navigation
API > API/Runtime > API/Runtime/VerseCompiler > API/Runtime/VerseCompiler/uLang > API/Runtime/VerseCompiler/uLang/Semantics
Inheritance Hierarchy
- CAttributable
- CDefinition
- CClassDefinition
- CScopedAccessLevelDefinition
- CDataDefinition
- CEnumeration
- CEnumerator
- CFunction
- CInterface
- CModule
- CModuleAlias
- CTypeAlias
- CTypeVariable
- CExpressionBase
- CExprArchetypeInstantiation
- CExprAssignment
- CExprBinaryOp
- CExprShortCircuitAnd
- CExprShortCircuitOr
- CExprBreak
- CExprChar
- CExprClassDefinition
- CExprCompoundBase
- CExprCodeBlock
- CExprConcurrentBlockBase
- CExprRace
- CExprRush
- CExprSync
- CExprLet
- CExprMakeArray
- CExprMakeMap
- CExprMakeTuple
- CExprDefinition
- CExprDataDefinition
- CExprFunctionDefinition
- CExprIterationPairDefinition
- CExprTypeAliasDefinition
- CExprEnumDefinition
- CExprError
- CExprExternal
- CExprFunctionLiteral
- CExprIdentifierBase
- CExprEnumerationType
- CExprEnumLiteral
- CExprIdentifierBuiltInMacro
- CExprIdentifierClass
- CExprIdentifierData
- CExprIdentifierFunction
- CExprIdentifierModule
- CExprIdentifierModuleAlias
- CExprIdentifierOverloadedFunction
- CExprIdentifierTypeAlias
- CExprIdentifierTypeVariable
- CExprIdentifierUnresolved
- CExprInterfaceType
- CExprLocal
- CExprSelf
- CExprIf
- CExprImport
- CExprInterfaceDefinition
- CExprInvocation
- CExprBinaryArithmetic
- CExprComparison
- CExprQueryValue
- CExprUnaryArithmetic
- CExprInvokeType
- CExprIteration
- CExprConcurrentIteratedBase
- CExprRaceIterated
- CExprRushIterated
- CExprSyncIterated
- CExprLogic
- CExprMacroCall
- CExprMakeNamed
- CExprMakeRange
- CExprModuleDefinition
- CExprNewPointer
- CExprNumber
- CExprPath
- CExprPathPlusSymbol
- CExprPlaceholder
- CExprReturn
- CExprScopedAccessLevelDefinition
- CExprSnippet
- CExprString
- CExprSubBlockBase
- CExprBranch
- CExprDefer
- CExprLoop
- CExprProfileBlock
- CExprSpawn
- CExprTupleElement
- CExprType
- CExprTypeFormer
- CExprArrow
- CExprMapTypeFormer
- CExprTupleType
- CExprUnaryTypeFormer
- CExprArrayTypeFormer
- CExprGeneratorTypeFormer
- CExprOptionTypeFormer
- CExprSubtype
- CExprUnaryOp
- CExprLogicalNot
- CExprMakeOption
- CExprPointerToReference
- CExprReferenceToValue
- CExprSet
- CExprVar
- CIrConvertFromDynamic
- CIrConvertToDynamic
- CExprUsing
- CExprWhere
- CIrArrayAdd
- CIrArrayUnsafeCall
- CIrFor
- CIrForBody
- CIrMapAdd
References
| Module | VerseCompiler |
| Header | /Engine/Source/Runtime/VerseCompiler/Public/uLang/Semantics/Attributable.h |
| Include | #include "uLang/Semantics/Attributable.h" |
Syntax
class CAttributable
Remarks
Base class for everything that can have attributes attached to it (classes, expressions, etc.)
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< SAttribute > | _Attributes |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddAttribute
(
SAttribute Attribute |
||
| void | AddAttributeClass
(
const CClass* AttributeClass |
||
| TOptional< SAttribute > | FindAttribute
(
const CClass* AttributeClass, |
||
| const CExpressionBase * | FindAttributeExpr
(
const CClass* AttributeClass, |
||
| const TArray< CExpressionBase * > | FindAttributeExprs
(
const CClass* AttributeClass, |
||
| TArray< SAttribute > | FindAttributes
(
const CClass* AttributeClass, |
||
| int32_t | GetAttributeClassCount
(
const CClass* AttributeClass, |
||
| TArray< const CExpressionBase * > | GetAttributesWithAttribute
(
const CClass* AttributeClass, |
||
| TOptional< CUTF8String > | GetAttributeTextValue
(
const TArray< SAttribute >& Attributes, |
||
| TOptional< CUTF8String > | GetAttributeTextValue
(
const CClass* AttributeClass, |
@HACK: SOL-972, We need full proper support for compile-time evaluation of attribute types | |
| bool | HasAttributeClass
(
const CClass* AttributeClass, |
||
| bool | HasAttributeClassHack
(
const CClass* AttributeClass, |
||
| bool | HasAttributeFunctionHack
(
const CFunction* AttributeFunction, |
||
| bool | |||
| void | RemoveAttributeClass
(
const CClass* AttributeClass, |
Operators
| Type | Name | Description | |
|---|---|---|---|
| CAttributable & | operator=
(
const CAttributable& Other |
||
| CAttributable & | operator=
(
CAttributable&& Other |
Enums
| Type | Name | Description | |
|---|---|---|---|
| EAttributableScope | Specifies the attribute scope for expressions (e.g. should only respect class-scoped attributes, etc.) |