Table of Contents

Class ResumeStatementNode

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

Represents a statement that resumes error handling, optionally at a specified label.

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

Remarks

This statement is only legal with an active error state.

Constructors

ResumeStatementNode(SyntaxNodeId, SourceLocation, ExpressionNode?)

Represents a statement that resumes error handling, optionally at a specified label.

public ResumeStatementNode(SyntaxNodeId Identity, SourceLocation SourceLocation, ExpressionNode? LabelExpression)

Parameters

Identity SyntaxNodeId

A unique identifier for this specific syntax node.

SourceLocation SourceLocation

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

LabelExpression ExpressionNode

An expression that resolves to a label denoting the error-handling subroutine.

Remarks

This statement is only legal with an active error state.

Properties

LabelExpression

An expression that resolves to a label denoting the error-handling subroutine.

public ExpressionNode? LabelExpression { get; init; }

Property Value

ExpressionNode