using System.Collections.Generic;
namespace AspClassic.Parser;
///
/// A parse tree for a Case Else statement.
///
public sealed class CaseElseStatement : Statement
{
private readonly Location _ElseLocation;
///
/// The location of the 'Else'.
///
public Location ElseLocation => _ElseLocation;
///
/// Constructs a new parse tree for a Case Else statement.
///
/// The location of the 'Else'.
/// The location of the parse tree.
/// The comments for the parse tree.
public CaseElseStatement(Location elseLocation, Span span, IList comments)
: base(TreeType.CaseElseStatement, span, comments)
{
_ElseLocation = elseLocation;
}
}