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

22 lines
859 B
C#

using System.Collections.Generic;
namespace AspClassic.Parser;
/// <summary>
/// A parse tree for an AddHandler statement.
/// </summary>
public sealed class AddHandlerStatement : HandlerStatement
{
/// <summary>
/// Constructs a new parse tree for an AddHandler statement.
/// </summary>
/// <param name="name">The name of the event.</param>
/// <param name="commaLocation">The location of the ','.</param>
/// <param name="delegateExpression">The delegate expression.</param>
/// <param name="span">The location of the parse tree.</param>
/// <param name="comments">The comments for the parse tree.</param>
public AddHandlerStatement(Expression name, Location commaLocation, Expression delegateExpression, Span span, IList<Comment> comments)
: base(TreeType.AddHandlerStatement, name, commaLocation, delegateExpression, span, comments)
{
}
}