using System.Collections.Generic;
namespace Sprache
{
///
/// Represents a commented result with its leading and trailing comments.
///
/// Type of the matched result.
public interface ICommented
{
///
/// Gets the leading comments.
///
IEnumerable LeadingComments { get; }
///
/// Gets the resulting value.
///
T Value { get; }
///
/// Gets the trailing comments.
///
IEnumerable TrailingComments { get; }
}
}