Classes | 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>

Classes

struct  marker
 

Public Types

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

Public Member Functions

void bump () noexcept
 
marker current () const noexcept
 
auto peek () const
 
auto position () const noexcept
 
auto reader () const &
 
void reset (marker m) 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 214 of file shell.hpp.

Member Function Documentation

◆ bump()

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

Definition at line 194 of file shell.hpp.

◆ current()

template<typename Prompt = default_prompt<>>
marker lexy_ext::shell< Prompt >::input::current ( ) const
inlinenoexcept

Definition at line 204 of file shell.hpp.

◆ is_eof()

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

Definition at line 222 of file shell.hpp.

◆ peek()

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

Definition at line 186 of file shell.hpp.

◆ position()

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

Definition at line 199 of file shell.hpp.

◆ reader()

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

Definition at line 181 of file shell.hpp.

◆ reset()

template<typename Prompt = default_prompt<>>
void lexy_ext::shell< Prompt >::input::reset ( marker  m)
inlinenoexcept

Definition at line 208 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 243 of file shell.hpp.

◆ _shell

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

Definition at line 242 of file shell.hpp.

◆ shell

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

Definition at line 245 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 Dec 13 2024 03:19:19