Parser
- Removed obsolete ::getWords method.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user