- Removed obsolete ::getWords method.
This commit is contained in:
Paul Beckingham 2014-10-25 22:41:35 -04:00
parent fedafcd525
commit 4cb9330567
2 changed files with 0 additions and 22 deletions

View file

@ -714,27 +714,6 @@ const std::string Parser::getFilterExpression ()
return sequence; 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 std::string Parser::getLimit () const
{ {

View file

@ -67,7 +67,6 @@ public:
Tree* captureLast (const std::string&); Tree* captureLast (const std::string&);
const std::string getFilterExpression (); const std::string getFilterExpression ();
const std::vector <std::string> getWords () const;
std::string getLimit () const; std::string getLimit () const;
std::string getCommand () const; std::string getCommand () const;