CLI2: Removed unused ::isID method

This commit is contained in:
Paul Beckingham 2015-06-20 09:41:58 -07:00
parent f2b5fb6d93
commit e67b812d35
2 changed files with 1 additions and 8 deletions

View file

@ -2058,12 +2058,6 @@ bool CLI2::isUUIDList (const std::string& raw) const
return false; return false;
} }
////////////////////////////////////////////////////////////////////////////////
bool CLI2::isID (const std::string& raw) const
{
return Lexer::isAllDigits (raw);
}
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
bool CLI2::isPattern (const std::string& raw) const bool CLI2::isPattern (const std::string& raw) const
{ {
@ -2204,7 +2198,7 @@ bool CLI2::disqualifyOnlyParenOps (
isUUIDList (lexeme.first) || isUUIDList (lexeme.first) ||
isUUID (lexeme.first) || // obsolete isUUID (lexeme.first) || // obsolete
isIDSequence (lexeme.first) || // obsolete isIDSequence (lexeme.first) || // obsolete
isID (lexeme.first) || isID (lexeme.first) || // obsolete
isPattern (lexeme.first) || isPattern (lexeme.first) ||
isAttribute (lexeme.first)) isAttribute (lexeme.first))
++opSugarCount; ++opSugarCount;

View file

@ -133,7 +133,6 @@ private:
bool isCommand (const std::string&) const; bool isCommand (const std::string&) const;
bool isTag (const std::string&) const; bool isTag (const std::string&) const;
bool isUUIDList (const std::string&) const; bool isUUIDList (const std::string&) const;
bool isID (const std::string&) const;
bool isPattern (const std::string&) const; bool isPattern (const std::string&) const;
bool isSubstitution (const std::string&) const; bool isSubstitution (const std::string&) const;
bool isAttribute (const std::string&) const; bool isAttribute (const std::string&) const;