Table of Contents

Class WithStatementNode

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

Represents a With...End With block (MS-VBAL §5.4.2.21).

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

Constructors

WithStatementNode(SyntaxNodeId, SourceLocation, ExpressionNode, StatementBlock)

Represents a With...End With block (MS-VBAL §5.4.2.21).

public WithStatementNode(SyntaxNodeId Identity, SourceLocation SourceLocation, ExpressionNode WithExpression, StatementBlock Body)

Parameters

Identity SyntaxNodeId

A unique identifier for this specific syntax node.

SourceLocation SourceLocation

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

WithExpression ExpressionNode

The object or UDT expression member accesses inside the block are implicitly qualified with.

Body StatementBlock

The executable statements in the body of the block.

Properties

Body

The executable statements in the body of the block.

public StatementBlock Body { get; init; }

Property Value

StatementBlock

WithExpression

The object or UDT expression member accesses inside the block are implicitly qualified with.

public ExpressionNode WithExpression { get; init; }

Property Value

ExpressionNode