Public Types | Public Member Functions | Private Types | Private Attributes | List of all members
lexy::lexeme_input< ParentInput > Class Template Reference

#include <lexeme_input.hpp>

Public Types

using char_type = typename _lexeme_type::char_type
 
using encoding = typename _lexeme_type::encoding
 
using iterator = typename _lexeme_type::iterator
 

Public Member Functions

_lexeme_type lexeme () const
 
 lexeme_input (const ParentInput &input, _lexeme_type lexeme)
 
 lexeme_input (const ParentInput &input, iterator begin, iterator end)
 
const ParentInput & parent_input () const
 
auto reader () const &noexcept
 

Private Types

using _input_ptr = std::conditional_t< input_is_view< ParentInput >, ParentInput, const ParentInput * >
 
using _lexeme_type = lexeme_for< ParentInput >
 

Private Attributes

_input_ptr _input
 
_lexeme_type _lexeme
 

Detailed Description

template<typename ParentInput>
class lexy::lexeme_input< ParentInput >

Definition at line 13 of file lexeme_input.hpp.

Member Typedef Documentation

◆ _input_ptr

template<typename ParentInput >
using lexy::lexeme_input< ParentInput >::_input_ptr = std::conditional_t<input_is_view<ParentInput>, ParentInput, const ParentInput*>
private

Definition at line 17 of file lexeme_input.hpp.

◆ _lexeme_type

template<typename ParentInput >
using lexy::lexeme_input< ParentInput >::_lexeme_type = lexeme_for<ParentInput>
private

Definition at line 15 of file lexeme_input.hpp.

◆ char_type

template<typename ParentInput >
using lexy::lexeme_input< ParentInput >::char_type = typename _lexeme_type::char_type

Definition at line 21 of file lexeme_input.hpp.

◆ encoding

template<typename ParentInput >
using lexy::lexeme_input< ParentInput >::encoding = typename _lexeme_type::encoding

Definition at line 20 of file lexeme_input.hpp.

◆ iterator

template<typename ParentInput >
using lexy::lexeme_input< ParentInput >::iterator = typename _lexeme_type::iterator

Definition at line 22 of file lexeme_input.hpp.

Constructor & Destructor Documentation

◆ lexeme_input() [1/2]

template<typename ParentInput >
lexy::lexeme_input< ParentInput >::lexeme_input ( const ParentInput &  input,
_lexeme_type  lexeme 
)
inlineexplicit

Definition at line 25 of file lexeme_input.hpp.

◆ lexeme_input() [2/2]

template<typename ParentInput >
lexy::lexeme_input< ParentInput >::lexeme_input ( const ParentInput &  input,
iterator  begin,
iterator  end 
)
inlineexplicit

Definition at line 35 of file lexeme_input.hpp.

Member Function Documentation

◆ lexeme()

template<typename ParentInput >
_lexeme_type lexy::lexeme_input< ParentInput >::lexeme ( ) const
inline

Definition at line 48 of file lexeme_input.hpp.

◆ parent_input()

template<typename ParentInput >
const ParentInput& lexy::lexeme_input< ParentInput >::parent_input ( ) const
inline

Definition at line 40 of file lexeme_input.hpp.

◆ reader()

template<typename ParentInput >
auto lexy::lexeme_input< ParentInput >::reader ( ) const &
inlinenoexcept

Definition at line 54 of file lexeme_input.hpp.

Member Data Documentation

◆ _input

template<typename ParentInput >
_input_ptr lexy::lexeme_input< ParentInput >::_input
private

Definition at line 60 of file lexeme_input.hpp.

◆ _lexeme

template<typename ParentInput >
_lexeme_type lexy::lexeme_input< ParentInput >::_lexeme
private

Definition at line 61 of file lexeme_input.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