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