Table of Contents

Class PrintOutputItemNode

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

MS-VBAL 5.4.5.8.1 one item of a Print/Write output list — a value (or none, for a bare separator) followed by an optional ;/, column-position separator. A pure AST node; the column-spacing semantics ;/, and Spc/Tab imply are a runtime-layer concern, not this node's.

public sealed record PrintOutputItemNode : ExpressionNode, IEquatable<SyntaxNode>, IExecutableNode, IEquatable<ExpressionNode>, IEquatable<PrintOutputItemNode>
Inheritance
PrintOutputItemNode
Implements
Inherited Members

Constructors

PrintOutputItemNode(SyntaxNodeId, SourceLocation, ExpressionNode?, string?)

MS-VBAL 5.4.5.8.1 one item of a Print/Write output list — a value (or none, for a bare separator) followed by an optional ;/, column-position separator. A pure AST node; the column-spacing semantics ;/, and Spc/Tab imply are a runtime-layer concern, not this node's.

public PrintOutputItemNode(SyntaxNodeId Identity, SourceLocation Location, ExpressionNode? Value, string? Separator)

Parameters

Identity SyntaxNodeId

A unique identifier for this specific syntax node.

Location SourceLocation

The Location (holds the document Uri and a Range) of the bound expression.

Value ExpressionNode

The item's value — a plain expression, or a PrintSpcClauseNode/PrintTabClauseNode — or null for a bare separator with nothing printed before it.

Separator string

The trailing ; or ,, or null for the last item with none.

Properties

Separator

The trailing ; or ,, or null for the last item with none.

public string? Separator { get; init; }

Property Value

string

Value

The item's value — a plain expression, or a PrintSpcClauseNode/PrintTabClauseNode — or null for a bare separator with nothing printed before it.

public ExpressionNode? Value { get; init; }

Property Value

ExpressionNode