20 lines
523 B
C#
20 lines
523 B
C#
#define DEBUG
|
|
using System.Diagnostics;
|
|
|
|
namespace AspClassic.Parser;
|
|
|
|
/// <summary>
|
|
/// A parse tree for a special name (i.e. 'Global').
|
|
/// </summary>
|
|
public sealed class SpecialName : Name
|
|
{
|
|
/// <summary>
|
|
/// Constructs a new special name parse tree.
|
|
/// </summary>
|
|
/// <param name="span">The location of the parse tree.</param>
|
|
public SpecialName(TreeType type, Span span)
|
|
: base(type, span)
|
|
{
|
|
Debug.Assert(type == TreeType.GlobalNamespaceName || type == TreeType.MeName || type == TreeType.MyBaseName);
|
|
}
|
|
}
|