コード例 #1
0
ファイル: Tokens.cs プロジェクト: Pjanssen/ParsecSharp
 /// <summary>
 /// Applies the parser and succeeds if it is followed by the end of the input.
 /// </summary>
 public static IParser <T> FollowedByEof <T>(this IParser <T> parser)
 {
     return(parser.FollowedBy(Parse.Eof <T>()));
 }