-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathIComment.cs
48 lines (41 loc) · 1.09 KB
/
IComment.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Sprache
{
/// <summary>
/// Represents a customizable comment parser.
/// </summary>
public interface IComment
{
///<summary>
/// Single-line comment header.
///</summary>
string Single { get; set; }
///<summary>
/// Newline character preference.
///</summary>
string NewLine { get; set; }
///<summary>
/// Multi-line comment opener.
///</summary>
string MultiOpen { get; set; }
///<summary>
/// Multi-line comment closer.
///</summary>
string MultiClose { get; set; }
///<summary>
/// Parse a single-line comment.
///</summary>
Parser<string> SingleLineComment { get; }
///<summary>
/// Parse a multi-line comment.
///</summary>
Parser<string> MultiLineComment { get; }
///<summary>
/// Parse a comment.
///</summary>
Parser<string> AnyComment { get; }
}
}