- Removed obsolete A3::extract_words method.
This commit is contained in:
Paul Beckingham 2014-04-24 12:33:09 -04:00
parent 42c078d0b7
commit 3e7c323086
2 changed files with 0 additions and 22 deletions

View file

@ -609,27 +609,6 @@ const A3 A3::extract_modifications () const
return mods;
}
////////////////////////////////////////////////////////////////////////////////
const std::vector <std::string> A3::extract_words () const
{
std::vector <std::string> words;
std::vector <Arg>::const_iterator arg;
for (arg = this->begin (); arg != this->end (); ++arg)
{
if (arg->_category == Arg::cat_program ||
arg->_category == Arg::cat_rc ||
arg->_category == Arg::cat_override ||
arg->_category == Arg::cat_command ||
arg->_category == Arg::cat_terminator)
;
else
words.push_back (arg->_raw);
}
return words;
}
////////////////////////////////////////////////////////////////////////////////
const A3 A3::tokenize (const A3& input) const
{

View file

@ -62,7 +62,6 @@ public:
const A3 extract_filter () const;
const A3 extract_modifications () const;
const std::vector <std::string> extract_words () const;
const A3 tokenize (const A3&) const;
const A3 infix (const A3&) const;