Reads input from an interactive shell. More...
#include <shell.hpp>
Classes | |
class | input |
This is both Reader and Input. More... | |
class | writer |
Public Types | |
using | char_type = typename encoding::char_type |
using | encoding = typename Prompt::encoding |
using | prompt_type = Prompt |
Public Member Functions | |
const Prompt & | get_prompt () const noexcept |
Prompt & | get_prompt () noexcept |
bool | is_open () const noexcept |
Whether or not the shell is still open. More... | |
auto | prompt_for_input () |
shell ()=default | |
shell (Prompt prompt) | |
template<typename... Args> | |
auto | write_message (Args &&... args) |
Private Member Functions | |
bool | append_next_line () |
Private Attributes | |
lexy::_detail::buffer_builder< char_type > | _buffer |
LEXY_EMPTY_MEMBER Prompt | _prompt |
Reads input from an interactive shell.
using lexy_ext::shell< Prompt >::char_type = typename encoding::char_type |
using lexy_ext::shell< Prompt >::encoding = typename Prompt::encoding |
using lexy_ext::shell< Prompt >::prompt_type = Prompt |
|
default |
|
inlineexplicit |
|
inlineprivate |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inline |
|
private |
|
private |