Table of Contents

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

Identity SyntaxNodeId

A unique identifier for this specific syntax node.

SourceLocation SourceLocation

The document location (Uri+Range) of the bound expression.

Body StatementBlock

The executable statements in the Else branch's body.

Properties

Body

The executable statements in the Else branch's body.

public StatementBlock Body { get; init; }

Property Value

StatementBlock