mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Parsing
- Nibbler now understands parsing from a list of tokens, with getOneOf.
This commit is contained in:
parent
a5feb6ef83
commit
8f20efc739
3 changed files with 37 additions and 1 deletions
|
@ -29,6 +29,7 @@
|
|||
#define L10N // Localization complete.
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
class Nibbler
|
||||
{
|
||||
|
@ -63,6 +64,7 @@ public:
|
|||
bool getUUID (std::string&);
|
||||
bool getDateISO (time_t&);
|
||||
bool getDate (const std::string&, time_t&);
|
||||
bool getOneOf (const std::vector <std::string>&, std::string&);
|
||||
|
||||
bool skipN (const int quantity = 1);
|
||||
bool skip (char);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue