using System.Collections.Generic;
namespace AspClassic.Parser;
///
/// A parse tree for a Sub declaration.
///
public sealed class SubDeclaration : MethodDeclaration
{
///
/// Creates a new parse tree for a Sub declaration.
///
/// The attributes for the parse tree.
/// The modifiers for the parse tree.
/// The location of the keyword.
/// The name of the declaration.
/// The type parameters on the declaration, if any.
/// The parameters of the declaration.
/// The list of implemented members.
/// The list of handled events.
/// The statements in the declaration.
/// The end block declaration, if any.
/// The location of the parse tree.
/// The comments for the parse tree.
public SubDeclaration(AttributeBlockCollection attributes, ModifierCollection modifiers, Location keywordLocation, SimpleName name, TypeParameterCollection typeParameters, ParameterCollection parameters, NameCollection implementsList, NameCollection handlesList, StatementCollection statements, EndBlockDeclaration endDeclaration, Span span, IList comments)
: base(TreeType.SubDeclaration, attributes, modifiers, keywordLocation, name, typeParameters, parameters, default(Location), null, null, implementsList, handlesList, statements, endDeclaration, span, comments)
{
}
}