using System.Collections.Generic;
namespace AspClassic.Parser;
///
/// A parse tree for a Function declaration.
///
public sealed class FunctionDeclaration : MethodDeclaration
{
///
/// Creates a new parse tree for a Function 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 location of the 'As', if any.
/// The attributes on the result type, if any.
/// The result type, if any.
/// 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 FunctionDeclaration(AttributeBlockCollection attributes, ModifierCollection modifiers, Location keywordLocation, SimpleName name, TypeParameterCollection typeParameters, ParameterCollection parameters, Location asLocation, AttributeBlockCollection resultTypeAttributes, TypeName resultType, NameCollection implementsList, NameCollection handlesList, StatementCollection statements, EndBlockDeclaration endDeclaration, Span span, IList comments)
: base(TreeType.FunctionDeclaration, attributes, modifiers, keywordLocation, name, typeParameters, parameters, asLocation, resultTypeAttributes, resultType, implementsList, handlesList, statements, endDeclaration, span, comments)
{
}
}