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
IdentitySyntaxNodeIdA unique identifier for this specific syntax node.
LocationSourceLocationThe
Location(holds the documentUriand aRange) of the bound expression.ValueExpressionNodeThe item's value — a plain expression, or a PrintSpcClauseNode/PrintTabClauseNode — or
nullfor a bare separator with nothing printed before it.SeparatorstringThe trailing
;or,, ornullfor 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
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; }