aspclassic-core/AspClassic.Parser/WhileBlockStatement.cs
Jelle Luteijn 484dbfc9d9 progress
2022-05-15 11:19:49 +02:00

22 lines
889 B
C#

using System.Collections.Generic;
namespace AspClassic.Parser;
/// <summary>
/// A parse tree for a While block statement.
/// </summary>
public sealed class WhileBlockStatement : ExpressionBlockStatement
{
/// <summary>
/// Constructs a new parse tree for a While statement block.
/// </summary>
/// <param name="expression">The expression.</param>
/// <param name="statements">The statements in the block.</param>
/// <param name="endStatement">The End statement for the block, if any.</param>
/// <param name="span">The location of the parse tree.</param>
/// <param name="comments">The comments for the parse tree.</param>
public WhileBlockStatement(Expression expression, StatementCollection statements, EndBlockStatement endStatement, Span span, IList<Comment> comments)
: base(TreeType.WhileBlockStatement, expression, statements, endStatement, span, comments)
{
}
}