Class WhileStatement
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
ConditionExpressionBodyIReadOnlyList<Statement>SpanSourceSpan
Properties
Body
public IReadOnlyList<Statement> Body { get; init; }
Property Value
Condition
public Expression Condition { get; init; }