Table of Contents

Class ErrorStatementNode

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

Represents a (legacy) statement that raises a run-time error.

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

Constructors

ErrorStatementNode(SyntaxNodeId, SourceLocation, ExpressionNode)

Represents a (legacy) statement that raises a run-time error.

public ErrorStatementNode(SyntaxNodeId Identity, SourceLocation SourceLocation, ExpressionNode NumberExpression)

Parameters

Identity SyntaxNodeId

A unique identifier for this specific syntax node.

SourceLocation SourceLocation

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

NumberExpression ExpressionNode

The number/code of the run-time error to raise.

Properties

NumberExpression

The number/code of the run-time error to raise.

public ExpressionNode NumberExpression { get; init; }

Property Value

ExpressionNode