parsi/fn/expect.hpp
-
namespace parsi
Functions
-
inline auto expect(std::string expected) noexcept -> fn::ExpectString
Creates a parser that expects the stream to start with the given string.
-
constexpr auto expect(char expected) noexcept -> fn::ExpectChar
Creates a parser that expects the stream to start with the given character.
-
constexpr auto expect_not(char expected) noexcept -> fn::ExpectChar
Creates a parser that expects the stream to start with the given character.
-
constexpr auto expect(Charset expected) noexcept -> fn::ExpectCharset
Creates a parser that expects the stream to start with a character the is in the given charset.
-
constexpr auto expect_not(Charset expected) noexcept -> fn::ExpectCharset
Creates a parser that expects the stream to start with a character the is in the given charset.
-
inline auto expect(std::string expected) noexcept -> fn::ExpectString