Class OnErrorResumeStatementNode
- Namespace
- RDCore.SDK.Model.AST.Statements
- Assembly
- RDCore.SDK.dll
Represents a statement that disables error handling (On Error Resume Next,
MS-VBAL §5.4.4.1).
public record OnErrorResumeStatementNode : StatementNode, IEquatable<SyntaxNode>, IExecutableNode, IEquatable<StatementNode>, IEquatable<OnErrorResumeStatementNode>
- Inheritance
-
OnErrorResumeStatementNode
- Implements
- Inherited Members
- Extension Methods
Constructors
OnErrorResumeStatementNode(SyntaxNodeId, SourceLocation, bool)
Represents a statement that disables error handling (On Error Resume Next,
MS-VBAL §5.4.4.1).
public OnErrorResumeStatementNode(SyntaxNodeId Identity, SourceLocation SourceLocation, bool IsLocal = false)
Parameters
IdentitySyntaxNodeIdA unique identifier for this specific syntax node.
SourceLocationSourceLocationThe document location (
Uri+Range) of the bound expression.IsLocalbooltruewhen the statement is writtenOn Local Error Resume Next, the archaic form (MS-VBAL §5.4.4.1): every error is local to the procedure it is handled in, so the keyword says nothing, and the two statements are the same.
Properties
IsLocal
true when the statement is written On Local Error Resume Next, the archaic form (MS-VBAL §5.4.4.1): every error is local to the
procedure it is handled in, so the keyword says nothing, and the two statements are the same.
public bool IsLocal { get; init; }