progress
This commit is contained in:
parent
16e76d6b31
commit
484dbfc9d9
529 changed files with 113694 additions and 0 deletions
28
AspClassic.Parser/CaseElseStatement.cs
Normal file
28
AspClassic.Parser/CaseElseStatement.cs
Normal file
|
@ -0,0 +1,28 @@
|
|||
using System.Collections.Generic;
|
||||
|
||||
namespace AspClassic.Parser;
|
||||
|
||||
/// <summary>
|
||||
/// A parse tree for a Case Else statement.
|
||||
/// </summary>
|
||||
public sealed class CaseElseStatement : Statement
|
||||
{
|
||||
private readonly Location _ElseLocation;
|
||||
|
||||
/// <summary>
|
||||
/// The location of the 'Else'.
|
||||
/// </summary>
|
||||
public Location ElseLocation => _ElseLocation;
|
||||
|
||||
/// <summary>
|
||||
/// Constructs a new parse tree for a Case Else statement.
|
||||
/// </summary>
|
||||
/// <param name="elseLocation">The location of the 'Else'.</param>
|
||||
/// <param name="span">The location of the parse tree.</param>
|
||||
/// <param name="comments">The comments for the parse tree.</param>
|
||||
public CaseElseStatement(Location elseLocation, Span span, IList<Comment> comments)
|
||||
: base(TreeType.CaseElseStatement, span, comments)
|
||||
{
|
||||
_ElseLocation = elseLocation;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue