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
IdentitySyntaxNodeIdA unique identifier for this specific syntax node.
SourceLocationSourceLocationThe document location (
Uri+Range) of the bound expression.ConditionExpressionExpressionNodeThis branch's condition; coerced to
Booleanto select this branch.BodyStatementBlockThe executable statements in this branch's body.
Properties
Body
The executable statements in this branch's body.
public StatementBlock Body { get; init; }
Property Value
ConditionExpression
This branch's condition; coerced to Boolean to select this branch.
public ExpressionNode ConditionExpression { get; init; }