Table of Contents

Class Print

Namespace
flx.SILQ.Statements
Assembly
flx.SILQ.dll

Represents a print statement in the SILQ language. When executed, evaluates the contained expression and outputs its value.

public record Print : Statement, IEquatable<Statement>, IEquatable<Print>
Inheritance
Print
Implements
Inherited Members

Constructors

Print(Expression)

Represents a print statement in the SILQ language. When executed, evaluates the contained expression and outputs its value.

public Print(Expression Expression)

Parameters

Expression Expression

The expression to be printed.

Properties

Expression

The expression to be printed.

public Expression Expression { get; init; }

Property Value

Expression

Methods

Accept(IVisitor)

Accepts a visitor to process this print statement.

public override void Accept(IVisitor visitor)

Parameters

visitor IVisitor

The visitor that will process the print statement.