mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Merge from libexpr
- Incorporated Nibbler changes from libexpr.
This commit is contained in:
parent
4efe5d4a52
commit
efae57d56b
3 changed files with 107 additions and 2 deletions
|
@ -63,6 +63,10 @@ public:
|
|||
bool getN (const int, std::string&);
|
||||
bool getQuoted (char, std::string&, bool quote = false);
|
||||
bool getDigit (int&);
|
||||
bool getDigit6 (int&);
|
||||
bool getDigit4 (int&);
|
||||
bool getDigit3 (int&);
|
||||
bool getDigit2 (int&);
|
||||
bool getInt (int&);
|
||||
bool getHex (int&);
|
||||
bool getUnsignedInt (int&);
|
||||
|
@ -76,8 +80,8 @@ public:
|
|||
bool getUUID (std::string&);
|
||||
bool getPartialUUID (std::string&);
|
||||
bool getDateISO (time_t&);
|
||||
#ifdef NIBBLER_FEATURE_DATE
|
||||
bool parseDigits(std::string::size_type&, int&, unsigned int, bool strict = true);
|
||||
#ifdef NIBBLER_FEATURE_DATE
|
||||
bool getDate (const std::string&, time_t&);
|
||||
#endif
|
||||
bool getOneOf (const std::vector <std::string>&, std::string&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue