parsi/fn/sequence.hpp
-
namespace parsi
Functions
-
namespace fn
-
template<is_parser... Fs>
struct Sequence - #include <sequence.hpp>
Combines multiple parsers in consecutive order.
It starts by passing the incoming stream to the first parser, and on success, its result stream to the second and goes on up to the last parser. If any of the parsers fail, it would return the failed result.
Public Functions
Private Functions
- template<std::size_t I> inline requires (I< sizeof...(Fs)) const expr auto parse_rec(Stream stream) const noexcept -> Result
-
template<is_parser... Fs>
-
namespace fn