Table of Contents

Class WhileStatement

Namespace
DotBoxD.Kernels
Assembly
DotBoxD.Kernels.dll
public sealed record WhileStatement : Statement, IEquatable<Statement>, IEquatable<WhileStatement>
Inheritance
WhileStatement
Implements
Inherited Members

Constructors

WhileStatement(Expression, IReadOnlyList<Statement>, SourceSpan)

public WhileStatement(Expression Condition, IReadOnlyList<Statement> Body, SourceSpan Span)

Parameters

Condition Expression
Body IReadOnlyList<Statement>
Span SourceSpan

Properties

Body

public IReadOnlyList<Statement> Body { get; init; }

Property Value

IReadOnlyList<Statement>

Condition

public Expression Condition { get; init; }

Property Value

Expression