|
Parsnip
parsing library
|
An evaluator representing abrupt end of the command pattern. More...
#include <parsnip_evaluate.h>
Additional Inherited Members | |
Public Types inherited from Parsnip::Evaluator | |
| using | StringType = std::string |
| using | CommandId = int |
Public Member Functions inherited from Parsnip::Evaluator | |
| Evaluator (Evaluator *original) | |
| Upgrade an evaluator. | |
| int | evaluate (ArgvCursor *cursor, Parsnip::Data &result_dict) |
| Evaluate a token in the command line, and recurse if there is more to go. | |
| virtual bool | operator== (const Evaluator &) const |
| Check if two evaluators are the same. | |
| bool | operator!= (const Evaluator &other) const |
Static Public Member Functions inherited from Parsnip::Evaluator | |
| static void | construct (EvaluatorRef &evaluator, const ArgvCursor &cursor, CommandId id, Parser *parent_parser) |
| Construct token handler from the token in a parsing definition. | |
Protected Member Functions inherited from Parsnip::Evaluator | |
| void | setCommandId (CommandId id) |
| Set the command ID in an evaluator. | |
Static Protected Member Functions inherited from Parsnip::Evaluator | |
| static void | set_name (EvaluatorRef &target, const std::string &name) |
| Assign a name by which to store values for value evaluators. | |
Protected Attributes inherited from Parsnip::Evaluator | |
| CommandId | command_id {NoCommand} |
| If this completes a command, the command ID. | |
| std::string | name |
| If not empty, the name by which this value shall be accessed. | |
An evaluator representing abrupt end of the command pattern.