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
ExpressionExpressionThe expression to be printed.
Properties
Expression
The expression to be printed.
public Expression Expression { get; init; }
Property Value
Methods
Accept(IVisitor)
Accepts a visitor to process this print statement.
public override void Accept(IVisitor visitor)
Parameters
visitorIVisitorThe visitor that will process the print statement.