Class OnErrorGoToStatementNode
- Namespace
- RDCore.SDK.Model.AST.Statements
- Assembly
- RDCore.SDK.dll
Represents a statement that defines a locally-scoped error handler label.
public record OnErrorGoToStatementNode : StatementNode, IEquatable<SyntaxNode>, IExecutableNode, IEquatable<StatementNode>, IEquatable<OnErrorGoToStatementNode>
- Inheritance
-
OnErrorGoToStatementNode
- Implements
- Inherited Members
Constructors
OnErrorGoToStatementNode(SyntaxNodeId, SourceLocation, ExpressionNode)
Represents a statement that defines a locally-scoped error handler label.
public OnErrorGoToStatementNode(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.
Properties
LabelExpression
An expression that resolves to a label denoting the error-handling subroutine.
public ExpressionNode LabelExpression { get; init; }