mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-07 22:58:34 +02:00
Parser
- Upgraded the 'bool all' argument to ::collect to a tri-state enum, in a polymorphic method.
This commit is contained in:
parent
118f930fad
commit
4447200357
2 changed files with 44 additions and 0 deletions
|
@ -47,6 +47,8 @@ public:
|
|||
bool exactMatch (const std::string&, const std::string&) const;
|
||||
bool canonicalize (std::string&, const std::string&, const std::string&) const;
|
||||
|
||||
enum collectType {collectLeaf, collectAll, collectUnterminated};
|
||||
void collect (std::vector <Tree*>&, collectType = collectLeaf, Tree* tree = NULL) const;
|
||||
void collect (std::vector <Tree*>&, bool, Tree* tree = NULL) const;
|
||||
|
||||
void findBinary ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue