mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
CLI2: Removed unused ::isID method
This commit is contained in:
parent
f2b5fb6d93
commit
e67b812d35
2 changed files with 1 additions and 8 deletions
|
@ -2058,12 +2058,6 @@ bool CLI2::isUUIDList (const std::string& raw) const
|
|||
return false;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
bool CLI2::isID (const std::string& raw) const
|
||||
{
|
||||
return Lexer::isAllDigits (raw);
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
bool CLI2::isPattern (const std::string& raw) const
|
||||
{
|
||||
|
@ -2204,7 +2198,7 @@ bool CLI2::disqualifyOnlyParenOps (
|
|||
isUUIDList (lexeme.first) ||
|
||||
isUUID (lexeme.first) || // obsolete
|
||||
isIDSequence (lexeme.first) || // obsolete
|
||||
isID (lexeme.first) ||
|
||||
isID (lexeme.first) || // obsolete
|
||||
isPattern (lexeme.first) ||
|
||||
isAttribute (lexeme.first))
|
||||
++opSugarCount;
|
||||
|
|
|
@ -133,7 +133,6 @@ private:
|
|||
bool isCommand (const std::string&) const;
|
||||
bool isTag (const std::string&) const;
|
||||
bool isUUIDList (const std::string&) const;
|
||||
bool isID (const std::string&) const;
|
||||
bool isPattern (const std::string&) const;
|
||||
bool isSubstitution (const std::string&) const;
|
||||
bool isAttribute (const std::string&) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue