Parsnip
parsing library
Loading...
Searching...
No Matches
Data Structures | Namespaces | Functions
parsnip_evaluate.h File Reference

Evaluators for Parsnip command-line parsing. More...

#include <vector>
#include <regex>
#include "parsnip_command.h"
#include "parsnip_schema.h"

Go to the source code of this file.

Data Structures

class  Parsnip::Evaluator
 Evaluator base class. More...
 
class  Parsnip::TerminatorEvaluator
 An evaluator representing abrupt end of the command pattern. More...
 
class  Parsnip::EndOfOptionEvaluator
 An evaluator representing abrupt end of the command pattern. More...
 
class  Parsnip::ValueEvaluator
 Evaluate a value/fill-in field. More...
 
class  Parsnip::StringEvaluator
 Evaluate a string value field. More...
 
class  Parsnip::RegExEvaluator
 Evaluate a string value field. More...
 
class  Parsnip::RawRemainderEvaluator
 Gather the rest of the command line as an untokenized string. More...
 
class  Parsnip::IntegerEvaluator
 Evaluate and validate an integral value field. More...
 
class  Parsnip::RealEvaluator
 Evaluate and validate a numeric value field. More...
 
class  Parsnip::KeywordEvaluator
 Evaluate a keyword in a command line. More...
 
class  Parsnip::RemainderEvaluator
 An evaluator that represents the rest of the command line. More...
 
class  Parsnip::RemainingValuesEvaluator
 Gather the rest of the command line tokens in a list. More...
 
class  Parsnip::OptionEvaluator
 Evaluate remainder with a different parser. More...
 

Namespaces

namespace  Parsnip
 Serialization and parsing library.
 

Functions

void Parsnip::parser_assert (bool requirement, const char *explanation)
 
void Parsnip::parser_assert (bool requirement, const char *explanation, const std::string &detail)
 

Detailed Description

Evaluators for Parsnip command-line parsing.