Public Member Functions | Private Attributes | List of all members
lexy::error< Reader, expected_literal > Class Template Reference

#include <error.hpp>

Public Member Functions

constexpr auto character () const noexcept
 
constexpr error (typename Reader::iterator pos, const typename Reader::encoding::char_type *str, std::size_t index, std::size_t length) noexcept
 
constexpr std::size_t index () const noexcept
 
constexpr std::size_t length () const noexcept
 
constexpr auto position () const noexcept
 
constexpr auto string () const noexcept -> const typename Reader::encoding::char_type *
 

Private Attributes

std::size_t _idx
 
std::size_t _length
 
Reader::iterator _pos
 
const Reader::encoding::char_type * _str
 

Detailed Description

template<typename Reader>
class lexy::error< Reader, expected_literal >

Definition at line 77 of file error.hpp.

Constructor & Destructor Documentation

◆ error()

template<typename Reader >
constexpr lexy::error< Reader, expected_literal >::error ( typename Reader::iterator  pos,
const typename Reader::encoding::char_type *  str,
std::size_t  index,
std::size_t  length 
)
inlineexplicitconstexprnoexcept

Definition at line 80 of file error.hpp.

Member Function Documentation

◆ character()

template<typename Reader >
constexpr auto lexy::error< Reader, expected_literal >::character ( ) const
inlineconstexprnoexcept

Definition at line 106 of file error.hpp.

◆ index()

template<typename Reader >
constexpr std::size_t lexy::error< Reader, expected_literal >::index ( ) const
inlineconstexprnoexcept

Definition at line 96 of file error.hpp.

◆ length()

template<typename Reader >
constexpr std::size_t lexy::error< Reader, expected_literal >::length ( ) const
inlineconstexprnoexcept

Definition at line 101 of file error.hpp.

◆ position()

template<typename Reader >
constexpr auto lexy::error< Reader, expected_literal >::position ( ) const
inlineconstexprnoexcept

Definition at line 86 of file error.hpp.

◆ string()

template<typename Reader >
constexpr auto lexy::error< Reader, expected_literal >::string ( ) const -> const typename Reader::encoding::char_type*
inlineconstexprnoexcept

Definition at line 91 of file error.hpp.

Member Data Documentation

◆ _idx

template<typename Reader >
std::size_t lexy::error< Reader, expected_literal >::_idx
private

Definition at line 114 of file error.hpp.

◆ _length

template<typename Reader >
std::size_t lexy::error< Reader, expected_literal >::_length
private

Definition at line 114 of file error.hpp.

◆ _pos

template<typename Reader >
Reader::iterator lexy::error< Reader, expected_literal >::_pos
private

Definition at line 112 of file error.hpp.

◆ _str

template<typename Reader >
const Reader::encoding::char_type* lexy::error< Reader, expected_literal >::_str
private

Definition at line 113 of file error.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