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

25 lines
1.2 KiB
C#

using System.Collections.Generic;
namespace AspClassic.Parser;
/// <summary>
/// A parse tree for a Module declaration.
/// </summary>
public sealed class ModuleDeclaration : BlockDeclaration
{
/// <summary>
/// Constructs a new parse tree for a Module declaration.
/// </summary>
/// <param name="attributes">The attributes for the parse tree.</param>
/// <param name="modifiers">The modifiers for the parse tree.</param>
/// <param name="keywordLocation">The location of the keyword.</param>
/// <param name="name">The name of the declaration.</param>
/// <param name="declarations">The declarations in the block.</param>
/// <param name="endStatement">The end block declaration, if any.</param>
/// <param name="span">The location of the parse tree.</param>
/// <param name="comments">The comments for the parse tree.</param>
public ModuleDeclaration(AttributeBlockCollection attributes, ModifierCollection modifiers, Location keywordLocation, SimpleName name, DeclarationCollection declarations, EndBlockDeclaration endStatement, Span span, IList<Comment> comments)
: base(TreeType.ModuleDeclaration, attributes, modifiers, keywordLocation, name, declarations, endStatement, span, comments)
{
}
}