feat: Parser Combinator库和词法分析器 (#2)
All checks were successful
Run unit test / Unit-Test (push) Successful in 41s
All checks were successful
Run unit test / Unit-Test (push) Successful in 41s
Reviewed-on: https://git.bupt-hpc.cn/jackfiled/CanonSharp/pulls/2 Co-authored-by: jackfiled <xcrenchangjun@outlook.com> Co-committed-by: jackfiled <xcrenchangjun@outlook.com>
This commit is contained in:
15
CanonSharp.Combinator/ParseException.cs
Normal file
15
CanonSharp.Combinator/ParseException.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace CanonSharp.Combinator;
|
||||
|
||||
/// <summary>
|
||||
/// 解析过程中的异常
|
||||
/// </summary>
|
||||
public class ParseException : Exception
|
||||
{
|
||||
public ParseException(string message) : base(message)
|
||||
{
|
||||
}
|
||||
|
||||
public ParseException(string message, Exception innerException) : base(message, innerException)
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user