Navigation
API > API/Runtime > API/Runtime/VerseCompiler > API/Runtime/VerseCompiler/uLang > API/Runtime/VerseCompiler/uLang/Semantics
Inheritance Hierarchy
- CAstNode
- CAttributable
- CExpressionBase
- CExprAssignment
References
| Module | VerseCompiler |
| Header | /Engine/Source/Runtime/VerseCompiler/Public/uLang/Semantics/Expression.h |
| Include | #include "uLang/Semantics/Expression.h" |
Syntax
class CExprAssignment : public uLang::CExpressionBase
Remarks
Assignment expr1 = expr2, expr1 := expr2, expr1 += expr2, etc.
Constructors
| Type | Name | Description | |
|---|---|---|---|
CExprAssignment
(
EOp Op, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const TSPtr< CExpressionBase > & | Lhs () |
||
| EOp | Op () |
||
| const TSPtr< CExpressionBase > & | Rhs () |
||
| void | SetLhs
(
TSPtr< CExpressionBase >&& Lhs |
||
| void | SetRhs
(
TSPtr< CExpressionBase >&& Rhs |
||
| TSPtr< CExpressionBase > && | TakeLhs () |
||
| TSPtr< CExpressionBase > && | TakeRhs () |
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 |
Typedefs
| Name | Description |
|---|---|
| EOp |