namespace AspClassic.Parser; /// /// A region marked in the source code. /// public sealed class SourceRegion { private readonly Location _Start; private readonly Location _Finish; private readonly string _Description; /// /// The start location of the region. /// public Location Start => _Start; /// /// The end location of the region. /// public Location Finish => _Finish; /// /// The description of the region. /// public string Description => _Description; /// /// Constructs a new source region. /// /// The start location of the region. /// The end location of the region. /// The description of the region. public SourceRegion(Location start, Location finish, string description) { _Start = start; _Finish = finish; _Description = description; } }