mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-07 21:07:20 +02:00
Parsing
- Created A3::is_operator to allow for more complex processing. Renamed old A3::is_operator to A3::which_operator.
This commit is contained in:
parent
562fd8ce3c
commit
1994240899
2 changed files with 24 additions and 5 deletions
3
src/A3.h
3
src/A3.h
|
@ -88,6 +88,7 @@ public:
|
|||
static bool is_tag (Nibbler&, std::string&);
|
||||
static bool is_number (Nibbler&, double&);
|
||||
static bool is_integer (Nibbler&, int&);
|
||||
static bool is_operator (std::vector <std::string>&, Nibbler&, std::string&);
|
||||
|
||||
static bool extract_pattern (const std::string&, std::string&);
|
||||
static bool extract_tag (const std::string&, char&, std::string&);
|
||||
|
@ -97,7 +98,7 @@ public:
|
|||
static bool extract_id (const std::string&, std::vector <int>&);
|
||||
static bool extract_uuid (const std::string&, std::vector <std::string>&);
|
||||
|
||||
static bool is_operator (const std::string&, char&, int&, char&);
|
||||
static bool which_operator (const std::string&, char&, int&, char&);
|
||||
|
||||
void dump (const std::string&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue