// Copyright (c) Alexandre Mutel. All rights reserved. // Licensed under the BSD-Clause 2 license. // See license.txt file in the project root for full license information. namespace CppAst { /// /// A range of source location. /// public struct CppSourceSpan { /// /// Constructor of a range of source location. /// /// Start of the range /// End of the range public CppSourceSpan(CppSourceLocation start, CppSourceLocation end) { Start = start; End = end; } /// /// Gets or sets the beginning of the range source /// public CppSourceLocation Start; /// /// Gets or sets the end of the range source /// public CppSourceLocation End; /// public override string ToString() { return $"{Start}"; } } }