/// <summary> /// Parses the given symbol followed by any whitespace. Returns the parsed symbol. /// </summary> public static IParser <char> Symbol(char symbol) { return(Lexeme(Chars.Char(symbol))); }
public void Satisfy_PredicateNull_ThrowsException() { Chars.Satisfy(null); }
/// <summary> /// Parses the given symbol followed by any whitespace. Returns the parsed symbol. /// </summary> public static IParser <string> Symbol(string symbol) { return(Lexeme(Chars.String(symbol))); }