21 lines
696 B
C#
21 lines
696 B
C#
using System.Collections.Immutable;
|
|
|
|
namespace Upsilon.Binder
|
|
{
|
|
public class BoundGenericForStatement : BoundStatement
|
|
{
|
|
public ImmutableArray<VariableSymbol> Variables { get; }
|
|
public BoundExpression BoundEnumerableExpression { get; }
|
|
public BoundStatement Block { get; }
|
|
|
|
public BoundGenericForStatement(ImmutableArray<VariableSymbol> variables,
|
|
BoundExpression boundEnumerableExpression, BoundStatement block)
|
|
{
|
|
Variables = variables;
|
|
BoundEnumerableExpression = boundEnumerableExpression;
|
|
Block = block;
|
|
}
|
|
|
|
public override BoundKind Kind => BoundKind.BoundGenericForStatement;
|
|
}
|
|
} |