A3
- Removed obsolete A3::extract_words method.
This commit is contained in:
21
src/A3.cpp
21
src/A3.cpp
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user