Navigation
API > API/Runtime > API/Runtime/VerseCompiler > API/Runtime/VerseCompiler/uLang > API/Runtime/VerseCompiler/uLang/Semantics
Inheritance Hierarchy
- CAstNode
- CAttributable
- CExpressionBase
- CIrFor
References
| Module | VerseCompiler |
| Header | /Engine/Source/Runtime/VerseCompiler/Public/uLang/Semantics/Expression.h |
| Include | #include "uLang/Semantics/Expression.h" |
Syntax
class CIrFor : public uLang::CExpressionBase
Remarks
Bounded iteration
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSPtr< CControlScope > | _AssociatedScope | The scope containing the variables used for iterating. | |
| bool | _bCanFail | ||
| bool | _bGenerateResult | ||
| TSPtr< CExpressionBase > | _Body | Expression to evaluate for every iteration that gets past the filters step. | |
| bool | _bOutermost | ||
| const TSRef< CDataDefinition > | _DataMember | ||
| const TSRef< CExprDefinition > | _Definition | ||
| const TSPtr< CDataDefinition > | _KeyMember |
Constructors
| Type | Name | Description | |
|---|---|---|---|
CIrFor
(
const TSRef< CDataDefinition >& DataMember, |
|||
CIrFor
(
const TSRef< CDataDefinition >& KeyMember, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | SetBody
(
TSPtr< CExpressionBase >&& Body |
Overridden from CExpressionBase
| Type | Name | Description | |
|---|---|---|---|
| bool | CanFail () |
Returns whether the expression may fail. | |
| 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. |
Overridden from CAstNode
| Type | Name | Description | |
|---|---|---|---|
| CUTF8String | GetErrorDesc () |
Text methods. | |
| EAstNodeType | GetNodeType () |
||
| void | VisitChildren
(
SAstVisitor& Visitor |
Iterates over this AST node's direct children, calling Visitor.Visit for each child. | |
| void | VisitImmediates
(
SAstVisitor& Visitor |
Iterates over this AST node's immediate fields, calling Visitor.VisitImmediate for each immediate field. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| bool | operator==
(
const CExpressionBase& Other |