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
IdentitySyntaxNodeIdA unique identifier for this specific syntax node.
SourceLocationSourceLocationThe document location (
Uri+Range) of the bound expression.WithExpressionExpressionNodeThe object or UDT expression member accesses inside the block are implicitly qualified with.
BodyStatementBlockThe 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
WithExpression
The object or UDT expression member accesses inside the block are implicitly qualified with.
public ExpressionNode WithExpression { get; init; }