Class PrintStatementNode
- Namespace
- RDCore.SDK.Model.AST.Statements
- Assembly
- RDCore.SDK.dll
MS-VBAL 5.4.5.8-9 a Print or Write statement, and the
object-relative bare form (Print "x" invoking the enclosing form/report's own
Print member — MS-VBAL's own grammar comment calls this an
unqualifiedObjectPrintStmt).
public record PrintStatementNode : StatementNode, IEquatable<SyntaxNode>, IExecutableNode, IEquatable<StatementNode>, IEquatable<PrintStatementNode>
- Inheritance
-
PrintStatementNode
- Implements
- Inherited Members
Constructors
PrintStatementNode(SyntaxNodeId, SourceLocation, string, ExpressionNode?, ImmutableArray<PrintOutputItemNode>)
MS-VBAL 5.4.5.8-9 a Print or Write statement, and the
object-relative bare form (Print "x" invoking the enclosing form/report's own
Print member — MS-VBAL's own grammar comment calls this an
unqualifiedObjectPrintStmt).
public PrintStatementNode(SyntaxNodeId Identity, SourceLocation SourceLocation, string Token, ExpressionNode? FileNumber, ImmutableArray<PrintOutputItemNode> Items)
Parameters
IdentitySyntaxNodeIdA unique identifier for this specific syntax node.
SourceLocationSourceLocationThe document location (
Uri+Range) of the bound expression.TokenstringThe statement's keyword —
PrintorWrite(seeTokens).FileNumberExpressionNodeThe output file channel, or
nullfor the object-relative bare form.ItemsImmutableArray<PrintOutputItemNode>The output list, in source order.
Properties
FileNumber
The output file channel, or null for the object-relative bare form.
public ExpressionNode? FileNumber { get; init; }
Property Value
Items
The output list, in source order.
public ImmutableArray<PrintOutputItemNode> Items { get; init; }
Property Value
Token
The statement's keyword — Print or Write (see Tokens).
public string Token { get; init; }