Navigation
API > API/Runtime > API/Runtime/VerseCompiler
Base for expressions that have an array of subexpressions Subclasses: CExprMakeArray, CExprMakeMap, CExprMakeTuple, CExprCodeBlock, CExprConcurrentBlockBase, CExprAwait
| 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
(
TSRef< CExpressionBase >&& SubExpr1, |
uLang/Semantics/Expression.h | ||
CExprCompoundBase
(
TArray< TSRef< 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
(
TSRef< CExpressionBase > SubExpr |
uLang/Semantics/Expression.h | ||
const uLang::CExpressionBase * GetLastSubExpr() |
uLang/Semantics/Expression.h | ||
TArray< TSRef< CExpressionBase > > & GetSubExprs () |
uLang/Semantics/Expression.h | ||
const TArray< TSRef< CExpressionBase > > & GetSubExprs () |
uLang/Semantics/Expression.h | ||
bool IsEmpty() |
uLang/Semantics/Expression.h | ||
void PrependSubExpr
(
TSRef< CExpressionBase > SubExpr |
uLang/Semantics/Expression.h | ||
void ReplaceSubExpr
(
TSRef< CExpressionBase > SubExpr, |
uLang/Semantics/Expression.h | ||
void SetSubExprs
(
TArray< TSRef< CExpressionBase > >&& AnalyzedExprs |
uLang/Semantics/Expression.h | ||
int32_t SubExprNum() |
uLang/Semantics/Expression.h | ||
TArray< TSRef< CExpressionBase > > && TakeSubExprs() |
uLang/Semantics/Expression.h |
Public Virtual
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 |