Public Member Functions | Private Attributes | List of all members
lexy::byte_location_counting< LineWidth > Class Template Reference

Counts bytes for columns, lines end after LineWidth bytes. More...

#include <input_location.hpp>

Public Member Functions

template<typename Reader >
constexpr void match_column (Reader &reader)
 
template<typename Reader >
constexpr bool try_match_newline (Reader &reader)
 

Private Attributes

std::size_t _cur_index = 0
 

Detailed Description

template<std::size_t LineWidth = 16>
class lexy::byte_location_counting< LineWidth >

Counts bytes for columns, lines end after LineWidth bytes.

Definition at line 75 of file input_location.hpp.

Member Function Documentation

◆ match_column()

template<std::size_t LineWidth = 16>
template<typename Reader >
constexpr void lexy::byte_location_counting< LineWidth >::match_column ( Reader &  reader)
inlineconstexpr

Definition at line 99 of file input_location.hpp.

◆ try_match_newline()

template<std::size_t LineWidth = 16>
template<typename Reader >
constexpr bool lexy::byte_location_counting< LineWidth >::try_match_newline ( Reader &  reader)
inlineconstexpr

Definition at line 79 of file input_location.hpp.

Member Data Documentation

◆ _cur_index

template<std::size_t LineWidth = 16>
std::size_t lexy::byte_location_counting< LineWidth >::_cur_index = 0
private

Definition at line 108 of file input_location.hpp.


The documentation for this class was generated from the following file:


behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Jun 28 2024 02:20:09