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

21 lines
750 B
C#

using System.Collections.Generic;
namespace AspClassic.Parser;
/// <summary>
/// A parse tree for a label declaration statement.
/// </summary>
public sealed class LabelStatement : LabelReferenceStatement
{
/// <summary>
/// Constructs a parse tree for a label declaration statement.
/// </summary>
/// <param name="name">The label to branch to, if any.</param>
/// <param name="isLineNumber">Whether the label is a line number.</param>
/// <param name="span">The location of the parse tree.</param>
/// <param name="comments">The comments for the parse tree.</param>
public LabelStatement(SimpleName name, bool isLineNumber, Span span, IList<Comment> comments)
: base(TreeType.LabelStatement, name, isLineNumber, span, comments)
{
}
}