Navigation
API > API/Runtime > API/Runtime/VerseCompiler
Represents all definitions (and assignments) supported by Verse. They are: element:valueDomain=value e.g. x:int=5 e.g. f(x:int):int=x*x element:valueDomain e.g. x:int e.g. f(x:int):int element=value e.g. x=5 e.g. f(x:int)=x*x
| Name | CExprDefinition |
| Type | class |
| Header File | /Engine/Source/Runtime/VerseCompiler/Public/uLang/Semantics/Expression.h |
| Include Path | #include "uLang/Semantics/Expression.h" |
Syntax
class CExprDefinition : public uLang::CExpressionBase
Inheritance Hierarchy
- CSharedMix → CAstNode → CExpressionBase → CExprDefinition
- CAttributable → CExpressionBase → CExprDefinition
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
CExprDefinition
(
EVstMappingType VstMappingType |
uLang/Semantics/Expression.h | ||
CExprDefinition
(
TSPtr< CExpressionBase >&& Element, |
uLang/Semantics/Expression.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const TSPtr< CExpressionBase > & Element() |
uLang/Semantics/Expression.h | ||
CSymbol GetName() |
uLang/Semantics/Expression.h | ||
bool IsNamed() |
uLang/Semantics/Expression.h | ||
void SetElement
(
TSRef< CExpressionBase >&& Element |
uLang/Semantics/Expression.h | ||
void SetName
(
CSymbol Name |
uLang/Semantics/Expression.h | ||
void SetValue
(
TSRef< CExpressionBase >&& Value |
uLang/Semantics/Expression.h | ||
void SetValueDomain
(
TSRef< CExpressionBase >&& ValueDomain |
uLang/Semantics/Expression.h | ||
TSPtr< CExpressionBase > TakeElement() |
uLang/Semantics/Expression.h | ||
TSPtr< CExpressionBase > TakeValue() |
uLang/Semantics/Expression.h | ||
TSPtr< CExpressionBase > TakeValueDomain() |
uLang/Semantics/Expression.h | ||
const TSPtr< CExpressionBase > & Value() |
uLang/Semantics/Expression.h | ||
const TSPtr< CExpressionBase > & ValueDomain() |
uLang/Semantics/Expression.h |
Overridden from CExpressionBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CanBePathSegment
(
const TMacroSymbols& MacroSymbols |
True if this expression can be path of a segment. | uLang/Semantics/Expression.h | |
virtual bool CanFail
(
const CAstPackage* Package |
Returns whether the expression may fail. | uLang/Semantics/Expression.h | |
virtual const CExpressionBase * FindFirstAsyncSubExpr
(
const CSemanticProgram& Program |
Returns itself or the first async sub-expression or return nullptr if it and all its sub-expressions are immediate. | uLang/Semantics/Expression.h |
Overridden from CAstNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual CUTF8String GetErrorDesc() |
Text methods. | uLang/Semantics/Expression.h | |
virtual EAstNodeType GetNodeType() |
uLang/Semantics/Expression.h | ||
virtual bool MayHaveAttributes() |
uLang/Semantics/Expression.h | ||
virtual void VisitChildren
(
SAstVisitor& Visitor |
Iterates over this AST node's direct children, calling Visitor.Visit for each child. | uLang/Semantics/Expression.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool operator==
(
const CExpressionBase& Other |
uLang/Semantics/Expression.h |