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

20 lines
619 B
C#

using System.Collections.Generic;
namespace AspClassic.Parser;
/// <summary>
/// A parse tree for a Throw statement.
/// </summary>
public sealed class ThrowStatement : ExpressionStatement
{
/// <summary>
/// Constructs a new parse tree for a Throw statement.
/// </summary>
/// <param name="expression">The expression.</param>
/// <param name="span">The location of the parse tree.</param>
/// <param name="comments">The comments for the parse tree.</param>
public ThrowStatement(Expression expression, Span span, IList<Comment> comments)
: base(TreeType.ThrowStatement, expression, span, comments)
{
}
}