Navigation
API > API/Runtime > API/Runtime/VerseCompiler
Loop flow/concurrency primitive/macro - loop {Expr1; Expr2} Loops one or more expressions. For safety/security it must have at least one async expression, break_, or return_ so it is less likely to have an infinite loop within a single update.
| Name | CExprLoop |
| Type | class |
| Header File | /Engine/Source/Runtime/VerseCompiler/Public/uLang/Semantics/Expression.h |
| Include Path | #include "uLang/Semantics/Expression.h" |
Syntax
class CExprLoop : public uLang::CExprSubBlockBase
Inheritance Hierarchy
- CSharedMix → CAstNode → CExpressionBase → CExprSubBlockBase → CExprLoop
- CAttributable → CExpressionBase → CExprSubBlockBase → CExprLoop
Functions
Public
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 CUTF8String GetErrorDesc() |
Text methods. | uLang/Semantics/Expression.h | |
virtual EAstNodeType GetNodeType() |
uLang/Semantics/Expression.h |