Navigation
API > API/Runtime > API/Runtime/VerseCompiler > API/Runtime/VerseCompiler/uLang > API/Runtime/VerseCompiler/uLang/Semantics
Inheritance Hierarchy
- CAstNode
- CAttributable
- CExpressionBase
- CExprMakeNamed
References
| Module | VerseCompiler |
| Header | /Engine/Source/Runtime/VerseCompiler/Public/uLang/Semantics/Expression.h |
| Include | #include "uLang/Semantics/Expression.h" |
Syntax
class CExprMakeNamed : public uLang::CExpressionBase
Remarks
Represents a named value / default value placeholder in the AST.
Constructors
| Type | Name | Description | |
|---|---|---|---|
CExprMakeNamed
(
CSymbol Name |
|||
CExprMakeNamed
(
CSymbol Name, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const CSymbol & | GetName () |
||
| const TSPtr< CExpressionBase > & | GetValue () |
||
| void | SetValue
(
TSPtr< CExpressionBase > Value |
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& Right |