Skip to content

Class WhileStatement

Namespace: DotBoxD.Kernels
Assembly: DotBoxD.Kernels.dll

public sealed record WhileStatement : Statement, IEquatable<Statement>, IEquatable<WhileStatement>

objectStatementWhileStatement

IEquatable<Statement>, IEquatable<WhileStatement>

Statement.Span, object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

WhileStatement(Expression, IReadOnlyList<Statement>, SourceSpan)

Section titled “ WhileStatement(Expression, IReadOnlyList<Statement>, SourceSpan)”
public WhileStatement(Expression Condition, IReadOnlyList<Statement> Body, SourceSpan Span)

Condition Expression

Body IReadOnlyList<Statement>

Span SourceSpan

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

IReadOnlyList<Statement>

public Expression Condition { get; init; }

Expression