mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Parser
- Removed obsolete ::getWords method.
This commit is contained in:
parent
fedafcd525
commit
4cb9330567
2 changed files with 0 additions and 22 deletions
|
@ -714,27 +714,6 @@ const std::string Parser::getFilterExpression ()
|
|||
return sequence;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
const std::vector <std::string> Parser::getWords () const
|
||||
{
|
||||
std::vector <std::string> words;
|
||||
std::vector <Tree*> nodes;
|
||||
collect (nodes, collectAll);
|
||||
std::vector <Tree*>::iterator i;
|
||||
for (i = nodes.begin (); i != nodes.end (); ++i)
|
||||
{
|
||||
if (! (*i)->hasTag ("BINARY") &&
|
||||
! (*i)->hasTag ("RC") &&
|
||||
! (*i)->hasTag ("CONFIG") &&
|
||||
! (*i)->hasTag ("CMD") &&
|
||||
! (*i)->hasTag ("TERMINATOR") &&
|
||||
(*i)->hasTag ("ORIGINAL"))
|
||||
words.push_back ((*i)->attribute ("raw"));
|
||||
}
|
||||
|
||||
return words;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
std::string Parser::getLimit () const
|
||||
{
|
||||
|
|
|
@ -67,7 +67,6 @@ public:
|
|||
Tree* captureLast (const std::string&);
|
||||
|
||||
const std::string getFilterExpression ();
|
||||
const std::vector <std::string> getWords () const;
|
||||
|
||||
std::string getLimit () const;
|
||||
std::string getCommand () const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue