- Implemented ::isAllDigits to distinguish between integers and real numbers.
This commit is contained in:
Paul Beckingham
2015-02-21 10:58:07 -08:00
parent ae6024ef8b
commit 2155bd3969
2 changed files with 7 additions and 0 deletions

View File

@@ -58,6 +58,7 @@ public:
static std::vector <std::pair <std::string, Lexer2::Type>> tokens (const std::string&);
static std::vector <std::string> split (const std::string&);
static std::string typeToString (Lexer2::Type);
static bool isAllDigits (const std::string&);
// Static helpers.
static const std::string typeName (const Lexer2::Type&);