progress
This commit is contained in:
parent
16e76d6b31
commit
484dbfc9d9
529 changed files with 113694 additions and 0 deletions
29
AspClassic.Parser/ParameterCollection.cs
Normal file
29
AspClassic.Parser/ParameterCollection.cs
Normal file
|
@ -0,0 +1,29 @@
|
|||
using System.Collections.Generic;
|
||||
|
||||
namespace AspClassic.Parser;
|
||||
|
||||
/// <summary>
|
||||
/// A collection of parameters.
|
||||
/// </summary>
|
||||
public sealed class ParameterCollection : CommaDelimitedTreeCollection<Parameter>
|
||||
{
|
||||
private readonly Location _RightParenthesisLocation;
|
||||
|
||||
/// <summary>
|
||||
/// The location of the ')'.
|
||||
/// </summary>
|
||||
public Location RightParenthesisLocation => _RightParenthesisLocation;
|
||||
|
||||
/// <summary>
|
||||
/// Constructs a new collection of parameters.
|
||||
/// </summary>
|
||||
/// <param name="parameters">The parameters in the collection</param>
|
||||
/// <param name="commaLocations">The locations of the commas.</param>
|
||||
/// <param name="rightParenthesisLocation">The location of the right parenthesis.</param>
|
||||
/// <param name="span">The location of the parse tree.</param>
|
||||
public ParameterCollection(IList<Parameter> parameters, IList<Location> commaLocations, Location rightParenthesisLocation, Span span)
|
||||
: base(TreeType.ParameterCollection, parameters, commaLocations, span)
|
||||
{
|
||||
_RightParenthesisLocation = rightParenthesisLocation;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue