Files
2026-08-27 10:56:38 -06:00

22 lines
717 B
C#

using System.Collections.Immutable;
using Microsoft.CodeAnalysis.CSharp.Symbols;
namespace Microsoft.CodeAnalysis.CSharp;
internal abstract class BoundConditionalLoopStatement : BoundLoopStatement
{
public ImmutableArray<LocalSymbol> Locals { get; }
public BoundExpression Condition { get; }
public BoundStatement Body { get; }
protected BoundConditionalLoopStatement(BoundKind kind, SyntaxNode syntax, ImmutableArray<LocalSymbol> locals, BoundExpression condition, BoundStatement body, GeneratedLabelSymbol breakLabel, GeneratedLabelSymbol continueLabel, bool hasErrors = false)
: base(kind, syntax, breakLabel, continueLabel, hasErrors)
{
Locals = locals;
Condition = condition;
Body = body;
}
}