Table of Contents

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

Identity SyntaxNodeId

A unique identifier for this specific syntax node.

SourceLocation SourceLocation

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

Token string

The statement's keyword — Print or Write (see Tokens).

FileNumber ExpressionNode

The output file channel, or null for the object-relative bare form.

Items ImmutableArray<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

ExpressionNode

Items

The output list, in source order.

public ImmutableArray<PrintOutputItemNode> Items { get; init; }

Property Value

ImmutableArray<PrintOutputItemNode>

Token

The statement's keyword — Print or Write (see Tokens).

public string Token { get; init; }

Property Value

string