Nix 2.26.3
Nix, the purely functional package manager; unstable internal interfaces
 
Loading...
Searching...
No Matches
nix::ReplInteracter Class Referenceabstract
Inheritance diagram for nix::ReplInteracter:
nix::ReadlineLikeInteracter

Public Types

using Guard = Finally<std::function<void()>>
 

Public Member Functions

virtual Guard init (detail::ReplCompleterMixin *repl)=0
 
virtual bool getLine (std::string &input, ReplPromptType promptType)=0
 

Member Function Documentation

◆ getLine()

virtual bool nix::ReplInteracter::getLine ( std::string & input,
ReplPromptType promptType )
pure virtual

Returns a boolean of whether the interacter got EOF

Implemented in nix::ReadlineLikeInteracter.


The documentation for this class was generated from the following file: