Class ElseBlockStatementNode
- Namespace
- RDCore.SDK.Model.AST.Statements
- Assembly
- RDCore.SDK.dll
Represents the Else branch of an If conditional block.
public record ElseBlockStatementNode : StatementNode, IEquatable<SyntaxNode>, IExecutableNode, IEquatable<StatementNode>, IEquatable<ElseBlockStatementNode>
- Inheritance
-
ElseBlockStatementNode
- Implements
- Inherited Members
Constructors
ElseBlockStatementNode(SyntaxNodeId, SourceLocation, StatementBlock)
Represents the Else branch of an If conditional block.
public ElseBlockStatementNode(SyntaxNodeId Identity, SourceLocation SourceLocation, StatementBlock Body)
Parameters
IdentitySyntaxNodeIdA unique identifier for this specific syntax node.
SourceLocationSourceLocationThe document location (
Uri+Range) of the bound expression.BodyStatementBlockThe executable statements in the
Elsebranch's body.
Properties
Body
The executable statements in the Else branch's body.
public StatementBlock Body { get; init; }