using System.Collections.Generic; namespace AspClassic.Parser; /// /// A read-only collection of arguments. /// public sealed class ArgumentCollection : CommaDelimitedTreeCollection { private readonly Location _RightParenthesisLocation; /// /// The location of the ')'. /// public Location RightParenthesisLocation => _RightParenthesisLocation; /// /// Constructs a new argument collection. /// /// The arguments in the collection. /// The location of the commas in the collection. /// The location of the ')'. /// The location of the parse tree. public ArgumentCollection(IList arguments, IList commaLocations, Location rightParenthesisLocation, Span span) : base(TreeType.ArgumentCollection, arguments, commaLocations, span) { _RightParenthesisLocation = rightParenthesisLocation; } }