mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
CLI2: Removed unused ::disqualifyNoOps method
This commit is contained in:
parent
d9b15cec2e
commit
5c44929acb
2 changed files with 0 additions and 13 deletions
12
src/CLI2.cpp
12
src/CLI2.cpp
|
@ -1722,18 +1722,6 @@ bool CLI2::isUUIDList (const std::string& raw) const
|
|||
return false;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
bool CLI2::disqualifyNoOps (
|
||||
const std::vector <std::pair <std::string, Lexer::Type>>& lexemes) const
|
||||
{
|
||||
bool foundOP = false;
|
||||
for (auto& lexeme : lexemes)
|
||||
if (lexeme.second == Lexer::Type::op)
|
||||
foundOP = true;
|
||||
|
||||
return ! foundOP;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
bool CLI2::disqualifyOnlyParenOps (
|
||||
const std::vector <std::pair <std::string, Lexer::Type>>& lexemes) const
|
||||
|
|
|
@ -122,7 +122,6 @@ private:
|
|||
bool isUUIDList (const std::string&) const;
|
||||
|
||||
// These methods come up iwht reasons not to Lex a token. Probably no longer needed.
|
||||
bool disqualifyNoOps (const std::vector <std::pair <std::string, Lexer::Type>>&) const;
|
||||
bool disqualifyOnlyParenOps (const std::vector <std::pair <std::string, Lexer::Type>>&) const;
|
||||
bool disqualifyFirstLastBinary (const std::vector <std::pair <std::string, Lexer::Type>>&) const;
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue