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