Upload from upload_mods.ps1
This commit is contained in:
26
Scripts/Utilities/ExpressionParser/Sprache/ICommentedOfT.cs
Normal file
26
Scripts/Utilities/ExpressionParser/Sprache/ICommentedOfT.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Sprache
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents a commented result with its leading and trailing comments.
|
||||
/// </summary>
|
||||
/// <typeparam name="T">Type of the matched result.</typeparam>
|
||||
public interface ICommented<T>
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the leading comments.
|
||||
/// </summary>
|
||||
IEnumerable<string> LeadingComments { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the resulting value.
|
||||
/// </summary>
|
||||
T Value { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the trailing comments.
|
||||
/// </summary>
|
||||
IEnumerable<string> TrailingComments { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user