CLI2: Removed unused ::disqualifyNoOps method
This commit is contained in:
12
src/CLI2.cpp
12
src/CLI2.cpp
@@ -1722,18 +1722,6 @@ bool CLI2::isUUIDList (const std::string& raw) const
|
|||||||
return false;
|
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 (
|
bool CLI2::disqualifyOnlyParenOps (
|
||||||
const std::vector <std::pair <std::string, Lexer::Type>>& lexemes) const
|
const std::vector <std::pair <std::string, Lexer::Type>>& lexemes) const
|
||||||
|
|||||||
@@ -122,7 +122,6 @@ private:
|
|||||||
bool isUUIDList (const std::string&) const;
|
bool isUUIDList (const std::string&) const;
|
||||||
|
|
||||||
// These methods come up iwht reasons not to Lex a token. Probably no longer needed.
|
// 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 disqualifyOnlyParenOps (const std::vector <std::pair <std::string, Lexer::Type>>&) const;
|
||||||
bool disqualifyFirstLastBinary (const std::vector <std::pair <std::string, Lexer::Type>>&) const;
|
bool disqualifyFirstLastBinary (const std::vector <std::pair <std::string, Lexer::Type>>&) const;
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user