mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
A3
- Removed obsolete A3::extract_words method.
This commit is contained in:
parent
42c078d0b7
commit
3e7c323086
2 changed files with 0 additions and 22 deletions
21
src/A3.cpp
21
src/A3.cpp
|
@ -609,27 +609,6 @@ const A3 A3::extract_modifications () const
|
||||||
return mods;
|
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
|
const A3 A3::tokenize (const A3& input) const
|
||||||
{
|
{
|
||||||
|
|
1
src/A3.h
1
src/A3.h
|
@ -62,7 +62,6 @@ public:
|
||||||
|
|
||||||
const A3 extract_filter () const;
|
const A3 extract_filter () const;
|
||||||
const A3 extract_modifications () const;
|
const A3 extract_modifications () const;
|
||||||
const std::vector <std::string> extract_words () const;
|
|
||||||
|
|
||||||
const A3 tokenize (const A3&) const;
|
const A3 tokenize (const A3&) const;
|
||||||
const A3 infix (const A3&) const;
|
const A3 infix (const A3&) const;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue