Lexer: Dead code removal

This commit is contained in:
Paul Beckingham
2015-07-17 14:59:42 -04:00
parent a89c996334
commit fed3b815a0
3 changed files with 5 additions and 59 deletions

View File

@@ -54,7 +54,6 @@ public:
Lexer (const std::string&);
~Lexer ();
bool token (std::string&, Lexer::Type&);
static std::vector <std::pair <std::string, Lexer::Type>> tokens (const std::string&);
static std::vector <std::string> split (const std::string&);
static std::string typeToString (Lexer::Type);
@@ -73,7 +72,6 @@ public:
static bool isHardBoundary (int, int);
static bool isPunctuation (int);
static bool isAllDigits (const std::string&);
static bool isOneWord (const std::string&);
static void dequote (std::string&, const std::string& quotes = "'\"");
static bool wasQuoted (const std::string&);
static bool readWord (const std::string&, const std::string&, std::string::size_type&, std::string&);
@@ -106,7 +104,6 @@ public:
bool isDOM (std::string&, Lexer::Type&);
bool isIdentifier (std::string&, Lexer::Type&);
bool isWord (std::string&, Lexer::Type&);
bool isContiguous (std::string&, Lexer::Type&);
private:
std::string _text;