Table of Contents

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

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.

Properties

LabelExpression

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

public ExpressionNode LabelExpression { get; init; }

Property Value

ExpressionNode