Parsnip
parsing library
Loading...
Searching...
No Matches
Data Structures | Namespaces | Typedefs
parsnip_command.h File Reference

Parsnip command-line parsing. More...

#include <string>
#include <memory>
#include <vector>
#include <unordered_map>
#include <exception>
#include <functional>
#include "parsnip.h"

Go to the source code of this file.

Data Structures

class  Parsnip::NumberOutOfRange
 NumberOutOfRange: The number was outside the range defined in the command pattern. More...
 
class  Parsnip::NotNumeric
 Not numeric: A command pattern specified a number, but the token was not valid number. More...
 
class  Parsnip::InvalidValue
 A token encountered was not one of the expected keywords. More...
 
class  Parsnip::IncompleteCommand
 More tokens were expected. More...
 
class  Parsnip::RunOnCommand
 There were extra tokens at the end of the command pattern. More...
 
class  Parsnip::DuplicateOption
 An option was supplied twice to an iterating option parser. More...
 
class  Parsnip::NoSchemaDefined
 A schema is not defined for a certain command ID. More...
 
struct  Parsnip::EvaluatorDeleter
 This does what std::default_delete would do, but is required since we haven't defined Evaluator yet. More...
 
class  Parsnip::OptionParser
 A class for parsing command line options (name-value pairs, for instance). More...
 
class  Parsnip::Parser
 A class for parsing command lines. More...
 
struct  Parsnip::Parser::Definition
 
struct  Parsnip::Parser::Result
 
class  Parsnip::Interpreter< ReturnType, ContextType >
 
class  Parsnip::Dispatcher< DispatchReturnType, DispatchContextType >
 
class  Parsnip::SchemaSet
 A schema built to validate JSON messages based on command line patterns. More...
 

Namespaces

namespace  Parsnip
 Serialization and parsing library.
 

Typedefs

using Parsnip::EvaluatorRef = std::unique_ptr< class Evaluator, EvaluatorDeleter >
 
using Parsnip::OptionParserRef = std::shared_ptr< OptionParser >
 
using Parsnip::ParserRef = std::shared_ptr< Parser >
 
using Parsnip::SchemaSetRef = std::shared_ptr< SchemaSet >
 

Detailed Description

Parsnip command-line parsing.