Navigation
API > API/Runtime > API/Runtime/VerseCompiler
Base for expressions that have an array of subexpressions Subclasses: CExprMakeArray, CExprMakeMap, CExprMakeTuple, CExprCodeBlock, CExprConcurrentBlockBase
| Name | CExprCompoundBase |
| Type | class |
| Header File | /Engine/Source/Runtime/VerseCompiler/Public/uLang/Semantics/Expression.h |
| Include Path | #include "uLang/Semantics/Expression.h" |
Syntax
class CExprCompoundBase : public uLang::CExpressionBase
Inheritance Hierarchy
- CSharedMix → CAstNode → CExpressionBase → CExprCompoundBase
- CAttributable → CExpressionBase → CExprCompoundBase
Derived Classes
CExprCompoundBase derived class hierarchy
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
CExprCompoundBase
(
TSPtr< CExpressionBase >&& SubExpr1, |
uLang/Semantics/Expression.h | ||
CExprCompoundBase
(
TSPtrArray< CExpressionBase >&& SubExprs, |
uLang/Semantics/Expression.h | ||
CExprCompoundBase
(
int32_t ReserveSubExprNum, |
uLang/Semantics/Expression.h | ||
| uLang/Semantics/Expression.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AppendSubExpr
(
TSPtr< CExpressionBase > SubExpr |
uLang/Semantics/Expression.h | ||
const uLang::CExpressionBase * GetLastSubExpr() |
uLang/Semantics/Expression.h | ||
TSPtrArray< CExpressionBase > & GetSubExprs () |
uLang/Semantics/Expression.h | ||
const TSPtrArray< CExpressionBase > & GetSubExprs () |
uLang/Semantics/Expression.h | ||
bool IsEmpty() |
uLang/Semantics/Expression.h | ||
void PrependSubExpr
(
TSPtr< CExpressionBase > SubExpr |
uLang/Semantics/Expression.h | ||
void ReplaceSubExpr
(
TSPtr< CExpressionBase > SubExpr, |
uLang/Semantics/Expression.h | ||
void SetSubExprs
(
TSPtrArray< CExpressionBase > AnalyzedExprs |
uLang/Semantics/Expression.h | ||
int32_t SubExprNum() |
uLang/Semantics/Expression.h | ||
TSPtrArray< CExpressionBase > && TakeSubExprs() |
uLang/Semantics/Expression.h |
Overridden from CExpressionBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
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 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 |