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
IdentitySyntaxNodeIdA unique identifier for this specific syntax node.
SourceLocationSourceLocationThe document location (
Uri+Range) of the bound expression.LabelExpressionExpressionNodeAn 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; }