Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
lexy_ext::shell< Prompt >::input Class Reference

This is both Reader and Input. More...

#include <shell.hpp>

Public Types

using encoding = typename Prompt::encoding
 
using iterator = typename lexy::_detail::buffer_builder< char_type >::stable_iterator
 

Public Member Functions

void bump () noexcept
 
auto peek () const
 
auto position () const noexcept
 
auto reader () const &
 
void set_position (iterator new_pos) noexcept
 

Private Member Functions

 input (shell *s)
 
bool is_eof () const
 

Private Attributes

std::size_t _idx
 
shell_shell
 
friend shell
 

Detailed Description

template<typename Prompt = default_prompt<>>
class lexy_ext::shell< Prompt >::input

This is both Reader and Input.

Definition at line 165 of file shell.hpp.

Member Typedef Documentation

◆ encoding

template<typename Prompt = default_prompt<>>
using lexy_ext::shell< Prompt >::input::encoding = typename Prompt::encoding

Definition at line 168 of file shell.hpp.

◆ iterator

template<typename Prompt = default_prompt<>>
using lexy_ext::shell< Prompt >::input::iterator = typename lexy::_detail::buffer_builder<char_type>::stable_iterator

Definition at line 169 of file shell.hpp.

Constructor & Destructor Documentation

◆ input()

template<typename Prompt = default_prompt<>>
lexy_ext::shell< Prompt >::input::input ( shell s)
inlineexplicitprivate

Definition at line 200 of file shell.hpp.

Member Function Documentation

◆ bump()

template<typename Prompt = default_prompt<>>
void lexy_ext::shell< Prompt >::input::bump ( )
inlinenoexcept

Definition at line 184 of file shell.hpp.

◆ is_eof()

template<typename Prompt = default_prompt<>>
bool lexy_ext::shell< Prompt >::input::is_eof ( ) const
inlineprivate

Definition at line 208 of file shell.hpp.

◆ peek()

template<typename Prompt = default_prompt<>>
auto lexy_ext::shell< Prompt >::input::peek ( ) const
inline

Definition at line 176 of file shell.hpp.

◆ position()

template<typename Prompt = default_prompt<>>
auto lexy_ext::shell< Prompt >::input::position ( ) const
inlinenoexcept

Definition at line 189 of file shell.hpp.

◆ reader()

template<typename Prompt = default_prompt<>>
auto lexy_ext::shell< Prompt >::input::reader ( ) const &
inline

Definition at line 171 of file shell.hpp.

◆ set_position()

template<typename Prompt = default_prompt<>>
void lexy_ext::shell< Prompt >::input::set_position ( iterator  new_pos)
inlinenoexcept

Definition at line 194 of file shell.hpp.

Member Data Documentation

◆ _idx

template<typename Prompt = default_prompt<>>
std::size_t lexy_ext::shell< Prompt >::input::_idx
private

Definition at line 229 of file shell.hpp.

◆ _shell

template<typename Prompt = default_prompt<>>
shell* lexy_ext::shell< Prompt >::input::_shell
private

Definition at line 228 of file shell.hpp.

◆ shell

template<typename Prompt = default_prompt<>>
friend lexy_ext::shell< Prompt >::input::shell
private

Definition at line 231 of file shell.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:10