21 lines
750 B
C#
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)
|
|
{
|
|
}
|
|
}
|