Table of Contents

Class ElseIfBlockStatementNode

Namespace
RDCore.SDK.Model.AST.Statements
Assembly
RDCore.SDK.dll

Represents an ElseIf branch of an If conditional block.

public record ElseIfBlockStatementNode : StatementNode, IEquatable<SyntaxNode>, IExecutableNode, IEquatable<StatementNode>, IEquatable<ElseIfBlockStatementNode>
Inheritance
ElseIfBlockStatementNode
Implements
Inherited Members

Constructors

ElseIfBlockStatementNode(SyntaxNodeId, SourceLocation, ExpressionNode, StatementBlock)

Represents an ElseIf branch of an If conditional block.

public ElseIfBlockStatementNode(SyntaxNodeId Identity, SourceLocation SourceLocation, ExpressionNode ConditionExpression, StatementBlock Body)

Parameters

Identity SyntaxNodeId

A unique identifier for this specific syntax node.

SourceLocation SourceLocation

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

ConditionExpression ExpressionNode

This branch's condition; coerced to Boolean to select this branch.

Body StatementBlock

The executable statements in this branch's body.

Properties

Body

The executable statements in this branch's body.

public StatementBlock Body { get; init; }

Property Value

StatementBlock

ConditionExpression

This branch's condition; coerced to Boolean to select this branch.

public ExpressionNode ConditionExpression { get; init; }

Property Value

ExpressionNode