template<typename Reader, typename Eol = eol::lf_crlf, typename Source = std:: string>
buffer_input class
Contents
Public types
- using reader_t = Reader
- using eol_t = Eol
- using source_t = Source
-
using iterator_t = internal::
iterator -
using action_t = internal::
action_input<buffer_ input>
Public static variables
- static tracking_mode tracking_mode_v constexpr
Constructors, destructors, conversion operators
-
template<typename T, typename... As>buffer_input(T&& in_source, const std::
size_t maximum, As && ... as) -
buffer_input(const buffer_
input&) deleted -
buffer_input(buffer_
input&&) deleted - ~buffer_input() defaulted
Public functions
-
void operator=(const buffer_
input&) deleted -
void operator=(buffer_
input&&) deleted - auto empty() -> bool
-
auto size(const std::
size_t amount) -> std:: size_t - auto current() const -> const char* noexcept
-
auto end(const std::
size_t amount) -> const char* -
auto byte() const -> std::
size_t noexcept -
auto line() const -> std::
size_t noexcept -
auto byte_in_line() const -> std::
size_t noexcept - auto source() const -> const Source& noexcept
-
auto peek_char(const std::
size_t offset = 0) const -> char noexcept -
auto peek_byte(const std::
size_t offset = 0) const -> unsigned char noexcept -
void bump(const std::
size_t in_count = 1) noexcept -
void bump_in_this_line(const std::
size_t in_count = 1) noexcept -
void bump_to_next_line(const std::
size_t in_count = 1) noexcept - void discard() noexcept
-
void require(const std::
size_t amount) -
template<rewind_mode M>auto mark() -> internal::
marker<iterator_ t, M> noexcept -
auto position(const iterator_
t& it) const -> TAO_PEGTL_NAMESPACE:: position -
auto position() const -> TAO_PEGTL_NAMESPACE::
position -
auto iterator() const -> const iterator_
t& noexcept