Nix 2.30.0
Nix, the purely functional package manager; unstable internal interfaces
|
Public Member Functions | |
virtual void | operator() (std::shared_ptr< Parser > &state, Strings &r)=0 |
Parse the next character(s) | |
Parser (std::string_view s) |
Public Attributes | |
std::string_view | remaining |
Basically this is typedef std::optional<Parser> Parser(std::string_view s, Strings & r);
Except we can't recursively reference the Parser typedef, so we have to write a class.
|
pure virtual |
Parse the next character(s)
Implemented in nix::ParseQuoted, and nix::ParseUnquoted.